Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

Currently we don’t recommend running this test. This test is designed to hit the adapter layer directly and skipping out on the Entity, NwHIN, Audit, Standard and Passthrough processing. If this test should be redesign, Document Submission Request should be hitting the service at entity layer instead of the adapter.

Table of Contents

Overview

The Test Cases are to verify Document Submission functionality: success and failure criteria; however, the verification is at adapter level.

This Test should be run at the Entity layer with standard, passthrough and spec version.

Test Detail

The Bimodal test are design to hit service in standard and passthrough, by calling the JMX console to switch the service mode without application server restart; to verify the Document Submission success and failure criteria.

XDRAdapter-Tests Suites (Standard and Passthrough)

The SOAP message are being send at the adapter (AdapterDocSubmissionUnsecured) and skipping out on all the CONNECT processing.

Success

  1. SOAP: Success

    • Assert status (Success)

Success - Multiple Documents

  1. SOAP: Success - Multiple Documents

    • Assert status (Success)

Failure - XDSUnknownPatientID

  1. SOAP: Failure - XDSUnknownPatientId

    • Assert status (Failure)

    • Assert errorCode (XDSUnknownPatientId)

    • Assert codeContext (Patient ID referenced in metadata is not known to the Receiving NHIE)

    • Verify error

Failure - XDSPatientDoesNotMatch

  1. SOAP: Failure - XDSPatientDoesNotMatch

    • Assert status (Failure)

    • Assert errorCode (XDSPatientIdDoesNotMatch)

    • Assert codeContext (Patient Ids do not match)

    • Verify error

Failure - XDSMissingDocumentMetaData

  1. SOAP: Failure - XDSMissingDocumentMetaData

    • Assert status (Failure)

    • Assert errorCode (XDSMissingDocumentMetadata)

    • Assert codeContext (Unsupported Mime Type: text/xffffml)

    • Verify error

Failure - XDSMissingDocument

  1. SOAP: Failure - XDSMissingDocument

    • Assert status (Failure)

    • Assert errorCode (XDSMissingDocument)

    • Assert codeContext (DocumentList did not contain any documents)

    • Verify error

Multiple Failure Messages

  1. SOAP: Failure - XDSMissingDocument

    • Verify multiple errors

    • Assert first status (Failure)

    • Assert first errorCode (XDSMissingDocument)

    • Assert first codeContext (Document Id: Document01 exists in metadata with no corresponding attached document)

    • Assert second status (Failure)

    • Assert second errorCode (XDSUnknownPatientId)

    • Assert second codeContext (Patient ID referenced in metadata is not known to the Receiving NHIE)