Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Assertion should be change (3.5.4.UT.2 Unknown Stored Query) to expect error and not empty-registryList

Overview

Verify Document Query search capability without mock-response and verify expected results, and verify Document Retrieve function.

Test Detail

The Document Query (Passthrough) service is running with JMX call script to set the CONNECT application to Passthrough services without application restart.

Document Query

  • Generate Patient ID (FullPatientID)

  • Send Document Query with search-parameter and verify the expected response.

Document Retrieve

  • Generate HCID (CorrectedLocalHCID)

  • Send Document Retrieve request and verify the expected response

DocQueryRetrieveSelfTest

3.3.1.UT.2 Find Patient ID (Single document)

  1. Generate Patient ID for Doc Query

  2. SOAP: Document Query

    • Assert status (Success)

    • Assert count (Document == 1)

3.3.2.UT.2 Find Patient ID (Multiple documents)

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Assert status (Success)

    • Assert count (Document == 3)

3.4.1.UT.1 No Matching Class Code

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set invalid value (XDSDocumentEntryClassCode)

    • Assert count (Document == 0)

3.4.1.UT.2 Class code one

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryClassCode)

    • Assert status (Success)

    • Assert count (Document == 3)

3.4.2.UT.2 No Matching Services Start Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set invalid value (XDSDocumentEntryServiceStartTimeFrom, XDSDocumentEntryServiceStartTimeTo)

    • Assert count (Document == 0)

3.4.2.UT.2 Matching Services Start Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryServiceStartTimeFrom, XDSDocumentEntryServiceStartTimeTo)

    • Assert count (Document == 1)

3.4.2.UT.2 Matching Services Stop Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryServiceStartTimeFrom, XDSDocumentEntryServiceStartTimeTo)

    • Assert count (Document == 2)

    • Assert status (Success)

3.4.3.UT.2 No Matching Creation Time between

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set invalid value (XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 0)

3.4.3.UT.2 Creation Time between

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.3.UT.2 Creation Time Left edge

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.3.UT.2 Creation Time Right edge

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.4.UT.2 Class Code & Service Start Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryClassCode, XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.4.UT.2 Class Code & Service Stop Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryClassCode, XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 2)

    • Assert status (Success)

3.4.5.UT.2 Creation Time & Service Start Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryServiceStartTimeFrom, XDSDocumentEntryServiceStartTimeTo, XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.5.UT.2 Creation Time & Service Stop Time

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryServiceStartTimeFrom, XDSDocumentEntryServiceStartTimeTo, XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.6.UT.2 Creation Time & Class Code

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set valid value (XDSDocumentEntryClassCode, XDSDocumentEntryCreationTimeFrom, XDSDocumentEntryCreationTimeTo)

    • Assert count (Document == 1)

    • Assert status (Success)

3.4.7.UT.2 No Documents Available

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set PatientId with no document

    • Assert count (Document == 0)

3.5.2.UT.2 No Patient Found

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set Invalid PatientID

    • Assert count (Document == 0)

3.5.4.UT.2 Unknown Stored Query

  1. Generate Patient ID for Doc Query

  2. Document Query

    • Set Invalid ID (uuid)

    • Assert count (Document == 0)

    • Expect Error (Unknown Stored Query query id)

11.3.1.UT.2 Single Document

  1. Generate HCID for Doc Retrieve

  2. Document Retrieve

    • Assert Document (Document Id, HCID, Repository ID)

    • Assert status (Success)

11.3.1.UT.4 Document Persistence

  1. Generate HCID for Doc Retrieve

  2. Document Retrieve

    • Assert Document (Document Id, HCID, Repository ID)

    • Assert status (Success)

11.3.2.UT.2 Multiple Documents Unique Community ID one set

  1. Generate HCID for Doc Retrieve

  2. Document Retrieve

    • Assert first Document (Document Id, HCID, Repository ID)

    • Assert second Document (Document Id, HCID, Repository ID)

    • Assert status (Success)

11.4.1.UT.2 Missing Document

  1. Generate HCID for Doc Retrieve

  2. Document Retrieve

    1. Assert status (Failure)

11.3.2.UT.4 Multiple Documents Unique Community ID Multiple Set (Disabled)

  1. Initialize Configurations

  2. Generate HCID for Doc Retrieve

  3. Document Retrieve (Disabled)

3.5.11.UT.2 Missing Patient ID (Disabled)

  1. Initialize Configurations

  2. Document Query (Disabled)

3.5.1.UT.2 Too Many Results (Disabled)

  1. Initialize Configurations

  2. Generate Patient ID for Doc Query

  3. Document Query (Disabled)

  • No labels