Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

DocRegistryAndRepositoryTestSuite (Standard and Passthrough)

ProvideAndRegister Test

  1. Clear Document

  2. Store Document

  3. Delete Document

DocumentQuery Test

...

Clear Documents

...

Store Document

...

QueryByPatientId

...

QueryByDocUniqueId

...

QueryByEventCode

...

QueryByEventCodeScheme (Disabled)

...

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, it should interact with the DS and DR at the Entity layer.

Overview

The test is design to submit and query document (Registry, Repository) at adapter layer; it also query document by PatientId, DocumentUniqueId and EventCode.

Test Detail

The Bimodal test are design to hit service in standard and passthrough, by calling the JMX console to switch the service mode (Standard, PassThrough) without restarting the server.

DocRegistryAndRepositoryTestSuite

Since the test is hitting the adapter layer there is no standard or passthrough; the test is design to clear the Document Repository DB, submit Document, query Document and clean up the document.

ProvideAndRegisterTest

  1. Clear Document

  2. SOAP: Store Document

    • Match response status (Success)

  3. Delete Document

DocumentQueryTest

  1. Clear Document

  2. SOAP: Store Document

    • Match response status (Success)

  3. SOAP: QueryByPatientId

    • Match ExternalIdentifier (CONNECT0)

    • Count (document)

  4. SOAP: QueryByDocUniqueId

    • Match ExternalIdentifier (CONNECT0)

    • Count (document)

    • Verify CreationTime

    • Verify serviceStartTime

    • Verify serviceStopTime

  5. SOAP: QueryByEventCode

    • Match ExternalIdentifier (CONNECT0)

    • Count (document)

    • Verify CreationTime

    • Verify serviceStartTime

    • Verify serviceStopTime

  6. SOAP: QueryNoResults

    • Count (document == 0)

  7. Delete Document