# Query Patient Demographic Records by Demographics Workflow

## Overview

This transaction allows Point-of-Service (PoS) systems to query for patients that match supplied demographics. The following sequence diagram shows the steps involved.

| **Workflow Maturity**         | <p><img src="https://lh5.googleusercontent.com/Vp6XBRGu-U_Dmd5EKNpCZvEEum0CxOcHOj9NgHh8UMMNLMlXHmLcUE_YWueDRr4uqWLzpPfzSBLJ2k33XQIelLypjQ4wyrD17-t33GtLa8fFxW9AYDvXhiJmBl4VaLgKDg" alt=""></p><p>     <strong>Mature</strong></p> | <p></p><ul><li><strong>One or more OpenHIE implementations of this workflow exist  in one or more countries</strong></li><li><strong>Workflow is defined and ARB approved</strong></li><li><strong>Workflow is supported by mature standards</strong></li></ul>                                                                                                                                                         |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Standards\*                   |                                                                                                                                                                                                                                   | <p>Option 1 </p><ul><li>QBP^Q22 - <a href="https://profiles.ihe.net/ITI/TF/Volume2/ITI-21.html">IHE ITI-21</a></li><li>RSP^K22 - <a href="https://profiles.ihe.net/ITI/TF/Volume2/ITI-21.html">IHE ITI-21</a></li></ul><p>Option 2</p><ul><li>FHIR - <a href="http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_PDQm_Rev1.0_PC_2014-06-06.pdf">Patient Demographics Query IHE ITI PDQm Transaction</a></li></ul> |
| Assumptions and Prerequisites |                                                                                                                                                                                                                                   | The PoS system is a trusted application known by the HIE and it is registered with the interoperability layer to be able to send and receive data securely ([Common message security workflow](https://wiki.ohie.org/display/documents/Common+message+security+workflow)).                                                                                                                                              |
| Actors                        |                                                                                                                                                                                                                                   | <p></p><ul><li>PoS - The point of care system that captures patient identifiers, is responsible for sending the identifiers to the HIE.</li><li>IL - Mediates the transactions between the PoS system and the client registry.</li><li>CR - Manages patient demographics and identifier details</li></ul>                                                                                                               |

## Interaction Description

The following is a description of the interaction steps.

![](https://1995843850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwz1sVRRgmMD5d3DIDoDn%2Fuploads%2Ff332wQSIQeHIY7uZ0Hn6%2FQueryPatientDemographicRecordsByDem.png?alt=media\&token=5e482dda-2f6b-44a6-9840-c85845f2be64)

## Technical details <a href="#querypatientdemographicrecordsbydemographicsworkflow-technicaldetails" id="querypatientdemographicrecordsbydemographicsworkflow-technicaldetails"></a>

<table data-header-hidden><thead><tr><th width="150"></th><th width="150"></th><th width="150"></th><th width="150"></th><th></th></tr></thead><tbody><tr><td>Ref</td><td>Interaction</td><td>Endpoint</td><td>Description</td><td>Transaction Options</td></tr><tr><td>1</td><td>Get patient by demographics</td><td>IL</td><td>The message includes the query criteria which may include one or more patient identifiers and/or one or more demographic attributes.</td><td><p>1.  <a href="https://wiki.ohie.org/display/documents/Patient+Demographics+Query+IHE+ITI-21+Transaction">PDQ ITI-21 transaction QBP-Q22</a></p><p>2.  <a href="http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_PDQm_Rev1.0_PC_2014-06-06.pdf">Patient Demographics Query IHE ITI PDQm Transaction</a></p></td></tr><tr><td>2</td><td>Get patient from CR by demographics</td><td>CR</td><td>The message from the PoS is passed directly through to the CR by the IL.</td><td><p>1.  <a href="https://wiki.ohie.org/display/documents/Patient+Demographics+Query+IHE+ITI-21+Transaction">PDQ ITI-21 transaction QBP-Q22</a></p><p>2.  <a href="http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_PDQm_Rev1.0_PC_2014-06-06.pdf">Patient Demographics Query IHE ITI PDQm Transaction</a></p></td></tr><tr><td>3</td><td>Return patient record</td><td>IL</td><td>The response returns the patient(s) that matched the query criteria. It may consist of zero or more patient demographic records.</td><td><p>1. <a href="https://wiki.ohie.org/display/documents/Patient+Demographics+Query+IHE+ITI-21+Transaction">PDQ ITI-21 transaction RSP-K22</a></p><p>2.  Query Patient Resource Response (ITI TF-2c:3.Y1.4.2): Bundle (Patient)</p></td></tr><tr><td>4</td><td>Return patient record</td><td>PoS</td><td>The message from the CR is passed directly through to the PoS by the IL</td><td><p>1.  <a href="https://wiki.ohie.org/display/documents/Patient+Demographics+Query+IHE+ITI-21+Transaction">PDQ ITI-21 transaction RSP-K22</a></p><p>2.  Query Patient Resource Response (ITI TF-2c:3.Y1.4.2): Bundle (Patient)</p></td></tr></tbody></table>
