TEST: OHIE-CR-03-FHIR
Patient Identity Feed - Blocks Unknown Identity Domain / Authority
This test validates that the receiving system rejects messages which contain identifiers which belong to identity domains which are not configured on the receiver.
References
Discussion
The SanteMPI solution must have an understanding about identity domains for which patients may be assigned identifiers. This is how the CR/SanteMPI ensures that data is semantically correct, that the sender has proper authority over the identity domain, and how the SanteMPI solution can validate identifiers prior to persisting and matching.
Pre-Conditions / Setup
Use the Assigning Authority panel to ensure that no domains are registered in either:
http://ohie.org/test/test_block , or
1.3.6.1.4.1.52820.3.72.5.9.4
You can verify this by executing the following queries against the SanteMPI server:
Register patient in invalid Identity Domain (via Url)
The test harness sends a registration request to the receiver with http://ohie.org/test/test_block
domain.
Expected Behaviour
Requirement
Option
Description
MUST
PMIR Only
Return MessageHeader with response.code = fatal-error
MUST
Include an OperationOutcome entry in the response
MUST
Indicate that the identity domain http://ohie.org/test/test_block is not a valid identity domain.
MUST
Carry an HTTP response code in 400 series
SHOULD
Carry an HTTP response code of 422.
Register patient in invalid Identity Domain (via Oid)
The test harness sends a registration request to the receiver with urn:oid:1.3.6.1.4.1.52820.3.72.5.9.4
domain.
Expected Behaviour
Requirement
Option
Description
MUST
PMIR Only
Return MessageHeader with response.code = fatal-error
MUST
Include an OperationOutcome entry in the response
MUST
Indicate that the identity domain urn:oid:2.16.840.1.113883.3.72.5.9.4 is not a valid identity domain.
MUST
Carry an HTTP response code in 400 series
SHOULD
Carry an HTTP response code of 422.
Last updated