PDQ - Patient Demographic Query


This transaction involves a request by the Patient Demographics Consumer Actor for information about patients whose demographic data match data provided in the query message (e.g. query on demographics to identify candidate patient(s), or by a primary (definitional) or secondary (informational) ID to identify a single patient). The request is received by the Patient Demographics Supplier Actor. The Patient Demographics Supplier Actor immediately processes the request and returns a response in the form of demographic information for matching patients.

 

This transaction is the combined equivalent of the Pan-Canadian HL7v3 Get Client Demographics and Find Candidates interactions.


Message Type

ITI-21

Category

Query

Standard

HL7v2



Input:

Search by Primary ID:

Get by one of these...

  1. PCR Enterprise ID (EID) aka Enterprise Client ID (ECID)
  2. Health Card Number (HCN)
  3. Corporate ID (CORPID) for corporate model hospitals
  4. Medical Record Number (MRN) for standard model hospitals

 

Search by Secondary ID:

  1. Health Card Number (HCN) as defined by the client’s record in the MOH RPDB and across hospitals.

   OR

  1. Medical Record Number (MRN) as defined under a corporate or standard model hospital (i.e. used when corporate ID is not known).

 

Note1: A source OID (ID Issuer) & corresponding ID value must be provided for any secondary IDs in the request.  For example, for MRN:

OID (ID Issuer) = 2.16.840.1.113883.3.239.18.3 (Brantford Community Healthcare System - Brantford Willett Site)

ID = 123456

Note2: If an ID is defined in the request, any demographics provided will be ignored.

  

Search by Demographics:

  1. First Name + Last Name + Date-of-Birth

    OR

  1. First Name + Last Name + Address (minimum of Postal Code)

 

Note3: The MOH & IPC have mandated minimum search criteria and maximum candidates returned when querying based on demographics.  The minimum criteria is to query by primary or secondary ID, or demographics (First Name + Last Name + Date-of-Birth, or First Name + Last Name + Address (minimum of Postal Code)).  Additional scored criteria (e.g. Gender or Phone Number) may be applied on top of the minimum criteria to further refine a search (i.e. drive the highest scoring candidate to the top of the returned list through additional scored criteria).  The maximum number of returned clients in the candidate list is 5.

 

Output:

Using Primay ID Search:

Based on exact matching the primary ID for a given active member record, return the entity view for that single client.  Response includes the entity view for that client when they have at least one active member record in the entity.  Detailed ‘golden record’ for the client is returned including the most up-to-date demographics across all active members in the entity, and all active identifiers.

 

Returns the following business attributes (where they exist, depending on PCR data density for the given client):

  • PCR EID
  • Ontario Health Card Number
  • Non-Ontario (Out-of-Province) Health Card Number(s)
  • Corporate ID(s)
  • Medical Record Number(s)
  • Legal Name
  • Alias Name
  • Date of Birth
  • Gender
  • Address(es):
    • Home
    • Mailing
    • Temporary
  • Phone Number(s):
    • Home
    • Work
    • Emergency
    • Other
  • Next of Kin Name
  • Primary (Communication) Language
  • Death Indicator
  • Death Date
  • Confidentiality Indicator

 

Using Secondary ID or Demographics Search:

Based on exact matching the secondary ID, or probabilistically matching the demographics, pull the entity view for one or more matching clients, up to a maximum of 5 candidates.  For each matching candidate, return the entity view for that client.  Summary ‘golden record’ returned for each client includes the most up-to-date demographics (summary info to select the appropriate candidate from the returned list) across all active members in the entity, and all active identifiers.

 

Return the following business attributes (where they exist depending on PCR data density for the given candidate client):

  • PCR EID
  • Ontario Health Card Number
  • Non-Ontario (Out-of-Province) Health Card Number(s)
  • Corporate ID(s)
  • Medical Record Number(s)
  • Legal Name
  • Date of Birth
  • Gender
  • Address(es):
    • Home
    • Mailing

Note1: Given PCR employs probabilistic logic to match on demographics, more than 1 candidate client may be returned in the response.  Returned candidates are defined in the result set in order of matching score (i.e. highest scoring / most probable candidate first, to lowest scoring candidate / least probable candidate last), up to a maximum of 5 candidates (per MOH / IPC mandate).

Note2: When querying on secondary ID, PCR is expected to return a single client.

 


Sample Message

MSH|^~\&|UniqueSenderIdentifier|^2.16.840.1.113883.3.239.23.270^ISO|^2.16.840.1.113883.3.239.2^ISO |^2.16.840.1.113883.3.239^ISO|20160414143744||QBP^Q22^QBP_Q21|f723c0e8-1de0-4e54-b865-e9b16c17b31b|T|2.5

QPD|IHE PDQ Query|This is my PDQ Query Tag|@PID.5.1.1^MOORE~@PID.5.2^Samuel~@PID.7.1^20150411

RCP|I|2

ZIL|I hereby accept the service agreement here: https://innovation-lab.ca/media/1147/innovation-lab-terms-of-use.pdf