TEST: OHIE-CR-02-FHIR

Patient Identity Feed - Resolve Identity Domains

This test is a modified version of OHIE-CR-02 test case for HL7v2. Whereas the HL7v2 PIX behavior is intended to map missing identity domains to an authority, this test ensures that the solution can map between URL and OID identity systems.

References

Discussion

Jurisdictional deployments often use a heterogenous mixture of standards and software. Some software, such as those using HL7v2 or HL7v3/CDA may use OIDs and/or named identity domains for patient identification, whereas FHIR based systems may prefer URLs. These tests ensure that the SanteMPI solution maintains a consistent mapping between OID based identity domains and URL based identity domains.

Pre-Conditions / Setup

Create TEST Domain

Create an AssigningAuthority domain which has the following attributes:

  • URL of http://ohie.org/test/test

  • OID of 1.3.6.1.4.1.52820.3.72.5.9.1

  • Device TEST-HARNESS with authoritative source for identifiers

SanteMPI Seed Data

Authenticate as TEST_HARNESS

The test harness authenticates against the SanteMPI IdP using a client_credentials grant for the test-harness.

Register Olly Oid

The test harness registers a patient using the OID for the TEST domain with the following additional data:

  • Name: Olly Oid

  • Gender: male

  • Identifier: FHR-020 , system: urn:oid:1.3.6.1.4.1.52820.3.72.5.9.1

Expected Behaviour

Requirement

Option

Description

MUST

PMIR Only

Return MessageHeader with response.code = ok

MUST

Return HTTP response code 201 Created

SHOULD

Include created patient object in response

SHOULD

Indicate the identifier of the created patient with URL

SHOULD

Contain a link to the local record created

Query for Olly Oid using Url

The test harness executes a query against the receiver using the URL version of the TEST domain

Expected Behaviour

Requirement

Option

Description

MUST

Accept the message with HTTP 200 OK

MUST

Include a bundle with exactly 1 patient result

MUST

Contain a patient for Olly Oid

MUST

Have an identifier for FHR-020 in system http://ohie.org/test/test

SHOULD

Contain one or more link entries with type seealso

Register Uma Url

The test harness registers a patient using the URL representation of the system for the TEST domain:

  • Name: Uma Url

  • Gender: female

  • Identifier: FHR-021 , system: http://ohie.org/test/test

Expected Behaviour

Requirement

Option

Description

MUST

PMIR Only

Return MessageHeader with response.code = ok

MUST

Return HTTP response code 201 Created

SHOULD

Include created patient object in response

SHOULD

Indicate the identifier of the created patient with URL

SHOULD

Contain a link to the local record created

Query for Uma Url using Oid

The test harness executes a query against the receiver using the OID version of the TEST domain

Expected Behaviour

Requirement

Option

Description

MUST

Accept the message with HTTP 200 OK

MUST

Include a bundle with exactly 1 patient result

MUST

Contain a patient for Uma Url

MUST

Have an identifier for FHR-021 in system http://ohie.org/test/test

SHOULD

Contain one or more link entries with type seealso

Last updated

Was this helpful?