TEST: OHIE-CR-02-HL7v2
Patient Identity Feed – Auto-fill CX.4 data
Last updated
Was this helpful?
Patient Identity Feed – Auto-fill CX.4 data
Last updated
Was this helpful?
This test validates that the Client Registry is capable of populating the CX.4.1 from CX.4.2 and CX.4.3 or vice-versa given partial data in the CX.4 field. If configured to allow auto-resolution, then the authority of a message missing CX.4 should be assigned.
The primary basis for this test case is based in the nots for implementing ITI-8 (Patient Identity Feed) from the , specifically section 3.8.4.1.3
:
If the PID-3.4 (assigning authority) component is not included in the message (as described in Section 3.8.4.1.2.3) the Patient Identifier Cross-reference Manager shall fill PID-3.4 prior to storing the ID information and performing its cross-referencing activities. The information filled by the Patient Identifier Cross-reference Manager is based on the configuration associating each of the Patient Identity Source Actors with the subcomponents of the correct assigning authority (namespace ID, UID and UID type). (See Section 3.8.4.1.3.1 below for a list of required Patient Identifier Cross-reference Manager configuration parameters).
The cases which are tested in this test are:
The client registry can cross reference PID-3-4-1 with PID-3-4-2 and PID-3-4-3 data
Conversely, the client registry can cross reference PID-3-4-2 and PID-3-4-3 with PID-3-4-1
The client registry, when configured, can auto-resolve PID-3-4 when it is missing.
Prior to executing this test, SanteMPI instances should configure:
The TEST_HARNESS
application
The TEST_HARNESS|TEST
device
The TEST
identity domain is created and the authority to assign is set to TEST_HARNESS
The SanteMPI instance is configured such that strictCx4
is disabled
Test harness sends ADT^A01 message where the CX.4.1 of the PID is missing but the message contains CX.4.2 and CX.4.3. The client registry should use the information in the registration of the authority to fill the other components on the validation step of this test.
Receiver Accepts Message with an AA
Response is ACK^A01
Response is version 2.3.1
MSH-5 and MSH-6 matches TEST_HARNESS|TEST
Test harness ensures that patient was registered and receiver has populated CX.4.1 from the CX.4.2 and CX.4.3 values executing.
Receiver Accepts message with an AA
Response is RSP^K23
Response message contains exactly one PID segment
PID-3
of PID segment contains an identifier having:
PID.3.4.1
= TEST
PID.3.4.2
= 2.16.840.1.113883.3.72.5.9.1
PID.3.4.3
= ISO
Test harness sends ADT^A01 message where the CX.4.2 and CX.4.3 of the PID are missing but the message contains CX.4.1
Receiver Accepts Message with an AA
MSH-5 and MSH-6 matches TEST_HARNESS|TEST
Test harness ensures patient was registered and receiver has populated CX.4.2 and CX.4.3 from the CX.4.1 value provided by executing:
Receiver Accepts message with an AA
Response message contains exactly one PID segment
PID-3 of PID segment contains an identifier having:
PID.3.4.1
= TEST
PID.3.4.2
= 2.16.840.1.113883.3.72.5.9.1
PID.3.4.3
= ISO
The test harness sends a patient registration request with no CX.4 populated. Since TEST_HARNESS|TEST
is configured to be the only assigner of TEST
the client registry must fill the missing components of CX.4.
Receiver accepts message with an AA
MSH-5 and MSH-6 contain TEST_HARNESS|TEST
Test harness ensures that the patient was registered on client registry an CX.4 is populated based on the sender.
Receiver Accepts message with an AA
Response message contains exactly one PID segment
PID-3 of PID segment contains an identifier having:
PID.3.4.1
= TEST
PID.3.4.2
= 2.16.840.1.113883.3.72.5.9.1
PID.3.4.3
= ISO