TEST: OHIE-CR-07-FHIR
Full Patient Registration
This test ensures that the Client Registry can properly store key fields related to patient demographics fields, and faithfully return them on subsequent queries using the fields stored within the CR ensuring that the CR properly supports the PDQm query parameters.
References
Discussion
The IHE PDQm transaction is used in scenarios where demographics fields are used to locate candidate demographics entries to/from the client registry's central store. The Client Registry is expected to:
Be capable of storing all demographics fields in the registration message within this test
Perform matching on the provided demographics fields with the fields in its data store
Apply appropriate modifiers to the search query parameters that allow a client to have control over the nature of matching.
Pre-Conditions
Prior to running this test ensure that the pre-conditions from TEST: OHIE-CR-02 and TEST: OHIE-CR-06 have been run.
Create ORGs Domain
The ORG domain is registered to support the identifiers given to organizations in the SanteDB instance.
Create PROVIDERs Domain
The providers domain is registered to support the identifiers given to practitioners / providers.
In SanteDB this can be seeded with a dataset:
Authenticate as TEST_HARNESS
The test harness authenticates against the SanteMPI IdP using a client_credentials grant for the test-harness.
Register Flynn Full Profile
The test harness will register a patient into the client registry which has a complete demographics profile. The patient resource being registered has the following attributes:
Identifier
FHR-070
in domainhttp://ohie.org/test/test
Official Name: Dr. (Prefix) Flynn Full (Given) Profile (Surname) III (Suffix)
Alias: Dr. Profile
Home Address: Unit 32 (Line) 123 Ontario St. (Line) , Beamsville (City), Lincoln (District), Ontario (State), Canada (Country), L0R2A0 (Postal Code)
Workplace Phone: +12039203
Home Email: flynn@ohie.org
Mobile: +10293829343
Gender: Male
Birthdate: 1982-03-02
Marital Status: Married
Contact:
Insurance Company
Name: ACME Insurance Corp.
Organization: Organization/ohie-cr-07-10-fhir
Contact:
Relationship: Next of Kin / Contact
Name: Allison Profile
Address: 123 Ontario St. Beamsville, Lincoln, Ontario, Canada L0R2A0
Gender: Female
Communication: EN (Preferred), FR
General Practitioner: Practitioner/ohie-cr-07-10-fhir
Managing Organization: Organization/ohie-cr-07-10-fhir-emp
Additionally, the message has registration information for Flynn's insurance provider ACME Insurance, Flynn's Wife Allison Profile, Flynn's Practitioner Dr. Andrew Fudd, and his Managing Organization University Medical Centre.
Expected Behaviour
Query By Patient Identifier
The test harness issues a query for patient demographics using the Patient's NID identifier
Expected Behaviour
Retrieve Full Patient Profile
The test harness issues a query for patient demographics using the Patient's NID identifier and instructs the inclusion of all data
Expected Behaviour
Query By Patient Name
The test harness issues a query for patient demographics using the Patient's family and given names.
Alternate: The test harness issues a query for patient using an exact modifier
Expected Behaviour
Query By Approximate Birthdate
The test harness sends a query to the client registry requests results based on a given birth date.
Expected Behaviour
Query By Combination of Parameters
This test is equivalent to OHIE-CR-15
The test harness sends a query to the client registry requests results based on a given birth date, family name, and given name .
Query By Name and Date Of Birth
Query By Gender and Family Name
Query By Gender and Date Of Birth
Expected Behaviour
No-Result Queries
This test step ensures that the demographics query provider behaves appropriately when no results are found. The test harness sends a query for demographics which results in no matches:
Expected Behaviour
Restricting Domains Returned
This step ensures that the PDQm provider implements the behaviour described in 3.78.4.1.2.4
. The test harness sends a PDQm query and requests domains returned, and ensures that the SUT removes non-compatible domains.
Expected Behaviour
Last updated