TEST: OHIE-CR-02-HL7v2
Patient Identity Feed – Auto-fill CX.4 data
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.
Discussion
The primary basis for this test case is based in the nots for implementing ITI-8 (Patient Identity Feed) from the IHE Technical Framework Vol 2a, 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.
Pre-Conditions / Setup
Prior to executing this test, SanteMPI instances should configure:
The
TEST_HARNESS
applicationThe
TEST_HARNESS|TEST
deviceThe
TEST
identity domain is created and the authority to assign is set toTEST_HARNESS
The SanteMPI instance is configured such that
strictCx4
is disabled
If the SanteMPI instance is configured to use Msh8 security and not node authentication, then the MSH-8
value of all test messages must contain TEST_HARNESS+TEST_HARNESS
Register Patient with CX.4.2 and CX.4.3
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.
Expected Behaviour
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
Validate Auto-Fill of CX.1
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.
Expected Behaviour
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
= TESTPID.3.4.2
= 2.16.840.1.113883.3.72.5.9.1PID.3.4.3
= ISO
Register Patient with CX.4.1
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
Expected Behaviour
Receiver Accepts Message with an AA
MSH-5 and MSH-6 matches
TEST_HARNESS|TEST
Validate Patient with CX.4.2 and CX.4.3
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:
Expected Behaviour
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
= TESTPID.3.4.2
= 2.16.840.1.113883.3.72.5.9.1PID.3.4.3
= ISO
Register Patient with no CX.4
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.
Expected Behaviour
Receiver accepts message with an
AA
MSH-5 and MSH-6 contain
TEST_HARNESS|TEST
Validate Auto-Fill of CX.4
Test harness ensures that the patient was registered on client registry an CX.4 is populated based on the sender.
Expected Behaviour
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
= TESTPID.3.4.2
= 2.16.840.1.113883.3.72.5.9.1PID.3.4.3
= ISO
Last updated