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

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)

...

Overview

The TestSuite is to verify both successful and failure criteria of document submission at the adapter level. Bimodal test suite, test the service in both standard and passthrough and will call the JMX in the test case to switch service mode between standard and passthrough without application server restart.

Info

The Adapter level of the application does not have standard or passthrough workflow.

TestCases Detail

The test case is design verify successful and failure response of the document submission criteria at the adapter level.

  • Success: test case is successful submit a document.

  • Success - Multiple Documents: test case is successful submit multiple documents.

  • Failure - XDSUnknownPatientId: test case is fail with unknow patient id.

  • Failure - XDSPatientIdDoesNotMatch: test case is fail with matching patient id.

  • Failure - XDSMissingDocumentMetadata: test case is fail with document data is missing.

  • Failure - XDSMissingDocument: test case is fail with document missing.

  • Failure - XDSMissingDocument: test case is fail with document missing and unknow patient id.