7.1.5.1.1.9. Query¶
7.1.5.1.1.9.1. Trigger Events¶
This message is emitted by the archive for queries triggered by archive UI / REST APIs or by C-FIND on following levels :
Patient
Study
Series
Instance
Modality Worklist Entry
Modality Performed Procedure Step
Unified Worklist
Additionally, this message is also emitted if a Patient Demographics Query is invoked by the archive acting as a Patient Demographics Consumer to a Patient Demographics Supplier supporting patient demographics query, like
HL7 Patient Demographics Supplier supporting Patient Demographics Query [ITI-21] - QBP^Q22 HL7 messages
FHIR Patient Demographics Supplier supporting Mobile Patient Demographics Query [ITI-78]
7.1.5.1.1.9.2. Message Structure¶
- 1
Depending on the query level triggered by : - QIDO-RS REST APIs - Search / Count Modality Worklists in MWL-RS REST APIs - MPPS-RS REST APIs - Search / Count Workitems in UPS-RS REST APIs may contain either of the following values : - SearchForPatients - SearchForStudies - SearchForSeries - SearchForStudySeries - SearchForInstances - SearchForStudyInstances - SearchForStudySeriesInstances - SearchForSPS (applicable for MWLs - Modality Worklists) - SearchForMPPS - SearchForUPS (applicable for UWLs - Unified Worklists)
- 2
May contain either of the following values depending on the DICOM C-FIND query level - 1.2.840.10008.5.1.4.1.2.1.1 : Patient Root Query/Retrieve Information Model - FIND, SOPClass 1.2.840.10008.5.1.4.1.2.3.1 : Patient/Study Only Query/Retrieve Information Model - FIND (Retired), SOPClass 1.2.840.10008.5.1.4.1.2.2.1 : Study Root Query/Retrieve Information Model - FIND, SOPClass 1.2.840.10008.5.1.4.31 : Modality Worklist Information Model - FIND, SOPClass
Not present in Patient Demographics Query triggered by scheduler case |
|
Not present in Patient Demographics Query triggered by scheduler case |
|
Present only in Patient Demographics Query case |
|
Present only in Patient Demographics Query case |
|
Present only in FHIR Patient Demographics Query case |
|
Present only in FHIR Patient Demographics Query case |
|
Present only in FHIR Patient Demographics Query case |
|
Present only in Query by C-FIND |
|
Present only in QIDO Query |
|
Participant Object Identification : Patient Demographics Query |
Present only in Patient Demographics Query case |
Participant Object Identification : Patient Demographics Query - Patient |
Present only in HL7 Patient Demographics Query case |
Participant Object Identification : FHIR Patient Demographics Query - Patient |
Present only in FHIR HL7 Patient Demographics Query case |
Field Name |
Opt |
Description |
---|---|---|
EventID |
M |
EV (110112, DCM, ‘Query’) |
EventActionCode |
M |
Execute ⇒ ‘E’ |
EventDateTime |
M |
The time at which the event occurred |
EventOutcomeIndicator |
M |
Success ⇒ ‘0’
Minor failure ⇒ ‘4’
|
EventOutcomeDescription |
M |
Error/Exception message when EventOutcomeIndicator ⇒ ‘4’ |
EventTypeCode |
C |
HL7v2 Patient Demographics Query case ⇒ EV (ITI-21, IHE Transactions, ‘Patient Demographics Query’)
HL7 FHIR R4 Patient Demographics Query case ⇒ EV (ITI-78, urn:ihe:event-type-code, ‘Mobile Patient Demographics Query’)
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
Query triggered by C-FIND ⇒ ‘Calling AE title in association’
QIDO or Patient Demographics query triggered by REST services : Secured Archive ⇒ ‘User name of logged in user’
QIDO or Patient Demographics query triggered by REST services : Unsecured Archive ⇒ ‘Remote IP address’
|
UserIDTypeCode |
U |
Query triggered by C-FIND ⇒ EV (110119, DCM, ‘Station AE Title’)
QIDO or Patient Demographics query triggered by REST services : Secured archive ⇒ EV (113871, DCM, ‘Person ID’)
QIDO or Patient Demographics query triggered by REST services : Unsecured archive ⇒ EV (110182, DCM, ‘Node ID’)
|
UserTypeCode |
U |
Query triggered by C-FIND : Application ⇒ ‘2’
QIDO or Patient Demographics query triggered by REST services : Person ⇒ ‘1’
|
UserIsRequestor |
M |
true
|
RoleIDCode |
M |
EV (110153, DCM, ‘Source Role ID’)
|
NetworkAccessPointID |
U |
Hostname/IP Address of calling host
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
Query triggered by C-FIND ⇒ ‘Called AE title in association’
QIDO or Patient Demographics query triggered by REST services ⇒ ‘Request URI’
|
UserIDTypeCode |
U |
Triggered by C-FIND ⇒ EV (110119, DCM, ‘Station AE Title’)
Triggered from UI ⇒ EV (12, RFC-3881, ‘URI’)
|
UserTypeCode |
U |
Application ⇒ ‘2’
|
AlternativeUserID |
MC |
Process ID of Audit logger
|
UserIsRequestor |
M |
false
|
RoleIDCode |
M |
EV (110152, DCM, ‘Destination Role ID’)
|
NetworkAccessPointID |
U |
Hostname/IP Address of the connection referenced by Audit logger
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
‘Sending Application and Facility Name’
|
UserIDTypeCode |
U |
EV (HL7APP, 99DCM4CHEE, ‘Application and Facility’)
|
UserTypeCode |
U |
2
|
UserIsRequestor |
M |
Patient Demographics query triggered by scheduler ⇒ true
Patient Demographics query triggered by REST services ⇒ false
|
RoleIDCode |
M |
EV (110153, DCM, ‘Source Role ID’)
|
NetworkAccessPointID |
U |
Hostname/IP Address of calling host
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
‘Receiving Application and Facility Name’
|
UserIDTypeCode |
U |
EV (HL7APP, 99DCM4CHEE, ‘Application and Facility’)
|
UserTypeCode |
U |
2
|
UserIsRequestor |
M |
false
|
RoleIDCode |
M |
EV (110152, DCM, ‘Destination Role ID’)
|
NetworkAccessPointID |
U |
Hostname/IP Address of calling host
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
For secured archive ⇒ ‘User name of logged in user’
For unsecured archive ⇒ ‘Remote IP address’
|
UserIDTypeCode |
U |
For secured archive ⇒ EV (113871, DCM, ‘Person ID’)
For unsecured archive ⇒ EV (110182, DCM, ‘Node ID’)
|
UserTypeCode |
U |
Person ⇒ ‘1’
|
UserIsRequestor |
M |
true
|
NetworkAccessPointID |
U |
Hostname/IP Address of calling host
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
For scheduler triggered PDQ ⇒ ‘Archive Device Name’
For REST triggered PDQ ⇒ ‘Invoked URL of archive’s PDQ REST service’
|
UserIDTypeCode |
U |
For scheduler triggered PDQ ⇒ ‘EV (113877, DCM, ‘Device Name’)’’
For REST triggered PDQ ⇒ ‘EV (12, RFC-3881, ‘URI’)’
|
UserTypeCode |
U |
2
|
UserIsRequestor |
M |
For scheduler triggered PDQ ⇒ true
For REST triggered PDQ ⇒ false
|
RoleIDCode |
M |
EV (110153, DCM, ‘Source Role ID’)
|
NetworkAccessPointID |
U |
Hostname/IP Address of calling host
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
UserID |
M |
‘Service URL of HL7 FHIR R4 PDQ Service Provider’
|
UserIDTypeCode |
U |
EV (12, RFC-3881, ‘URI’)
|
UserTypeCode |
U |
2
|
UserIsRequestor |
M |
false
|
RoleIDCode |
M |
EV (110152, DCM, ‘Destination Role ID’)
|
NetworkAccessPointID |
U |
Hostname/IP Address of HL7 FHIR R4 PDQ Service Provider host
|
NetworkAccessPointTypeCode |
U |
NetworkAccessPointID is host name ⇒ ‘1’
NetworkAccessPointID is an IP address ⇒ ‘2’
|
Field Name |
Opt |
Description |
---|---|---|
ParticipantObjectID |
M |
For patient query ⇒ ‘1.2.840.10008.5.1.4.1.2.1.1’
For study/series/instance query ⇒ ‘1.2.840.10008.5.1.4.1.2.2.1’
For MWL query ⇒ ‘1.2.840.10008.5.1.4.31’
|
ParticipantObjectTypeCode |
M |
SystemObject ⇒ ‘2’
|
ParticipantObjectTypeCodeRole |
M |
Report ⇒ ‘3’
|
ParticipantObjectIDTypeCode |
M |
EV (110181, DCM, ‘SOP Class UID’)
|
ParticipantObjectQuery |
M |
Base64 encoded value of Query keys
|
ParticipantObjectDetail |
MC |
Base64 encoded value for ImplicitVRLittleEndian ‘1.2.840.10008.1.2’ ⇒ ‘type=TransferSyntax value=MS4yLjg0MC4xMDAwOC4xLjI=’”
|
Field Name |
Opt |
Description |
---|---|---|
ParticipantObjectID |
M |
For patient query ⇒ ‘SearchForPatients’
For study query ⇒ ‘SearchForStudies’
For series query ⇒ ‘SearchForStudySeries’ or ‘SearchForSeries’
For Instance query ⇒ ‘SearchForInstances’ or ‘SearchForStudyInstances’ or ‘SearchForStudySeriesInstances’
For MWL query ⇒ ‘SearchForSPS’
|
ParticipantObjectTypeCode |
M |
SystemObject ⇒ ‘2’
|
ParticipantObjectTypeCodeRole |
M |
Query ⇒ ‘24’
|
ParticipantObjectIDTypeCode |
M |
EV (QIDO, 99DCM4CHEE, ‘QIDO_Query’)
|
ParticipantObjectQuery |
M |
Base64 encoded value of Request URI plus the Query String
|
ParticipantObjectDetail |
MC |
Base64 encoded value for ‘UTF-8’ ⇒ ‘type=QueryEncoding value=VVRGLTg=’
|
Field Name |
Opt |
Description |
---|---|---|
ParticipantObjectID |
M |
Patient Demographics Query triggered by scheduler ⇒ ‘PatientVerificationScheduler’
Patient Demographics Query triggered by Compare Patient Demographics service ⇒ ‘DiffPatientDemographics’
Patient Demographics Query triggered by Update Patient Demographics service ⇒ ‘UpdatePatientDemographics’
Patient Demographics Query triggered by Query Patient Demographics service ⇒ ‘QueryPatientDemographics’
|
ParticipantObjectTypeCode |
M |
SystemObject ⇒ ‘2’
|
ParticipantObjectTypeCodeRole |
M |
Query ⇒ ‘24’
|
ParticipantObjectIDTypeCode |
M |
For HL7v2 PDQ Service Provider ⇒ EV (ITI-21, IHE Transactions, ‘Patient Demographics Query’)
For HL7 FHIR R4 PDQ Service Provider ⇒ EV (ITI-78, IHE Transactions, ‘Mobile Patient Demographics Query’)
|
ParticipantObjectQuery |
M |
For HL7v2 PDQ Service Provider ⇒ Base64 encoded value of complete QBP^Q22 query message
For HL7 FHIR R4 PDQ Service Provider ⇒ Base64 encoded value of query params passed to HL7 FHIR R4 Service Provider
|
Field Name |
Opt |
Description |
---|---|---|
ParticipantObjectID |
M |
Patient ID or <none> if unknown |
ParticipantObjectTypeCode |
M |
Person : ‘1’ |
ParticipantObjectTypeCodeRole |
M |
Patient : ‘1’ |
ParticipantObjectIDTypeCode |
M |
EV (2, RFC-3881, ‘Patient Number’) |
ParticipantObjectName |
U |
Patient Name |
ParticipantObjectDetail |
U |
‘type=HL7v2 Message value=<Base-64 encoded QBP^Q22 HL7 message>’ |
ParticipantObjectDetail |
U |
‘type=HL7v2 Message value=<Base-64 encoded RSP^K22 HL7 response>’ |
ParticipantObjectDetail |
U |
‘type=MSH-9 value=<Base-64 encoded HL7 message type>’ |
ParticipantObjectDetail |
U |
‘type=MSH-10 value=<Base-64 encoded HL7 message control ID>’ |
ParticipantObjectDetail |
U |
‘type=MSH-9 value=<Base-64 encoded HL7 response message type>’ |
ParticipantObjectDetail |
U |
‘type=MSH-10 value=<Base-64 encoded HL7 response message control ID>’ |
Field Name |
Opt |
Description |
---|---|---|
ParticipantObjectID |
M |
Patient ID or <none> if unknown |
ParticipantObjectTypeCode |
M |
Person : ‘1’ |
ParticipantObjectTypeCodeRole |
M |
Patient : ‘1’ |
ParticipantObjectIDTypeCode |
M |
EV (2, RFC-3881, ‘Patient Number’) |
ParticipantObjectName |
U |
Patient Name |
7.1.5.1.1.9.3. Sample Messages¶
7.1.5.1.1.9.3.1. Query¶
7.1.5.1.1.9.3.1.1. Using QIDO-RS REST APIs¶
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AuditMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
<EventIdentification EventActionCode="E" EventDateTime="2025-03-04T16:16:11.168+01:00" EventOutcomeIndicator="0">
<EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
</EventIdentification>
<ActiveParticipant UserID="http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies" AlternativeUserID="234026" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
<UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
</ActiveParticipant>
<ActiveParticipant UserID="127.0.0.1" UserIsRequestor="true" UserTypeCode="1" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="110182" codeSystemName="DCM" originalText="Node ID"/>
</ActiveParticipant>
<AuditSourceIdentification AuditSourceID="dcm4chee-arc">
<AuditSourceTypeCode csd-code="4"/>
</AuditSourceIdentification>
<ParticipantObjectIdentification ParticipantObjectID="SearchForStudies" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
<ParticipantObjectIDTypeCode csd-code="REST" originalText="RESTful Web Service" codeSystemName="99DCM4CHEE"/>
<ParticipantObjectQuery>L2RjbTRjaGVlLWFyYy9hZXRzL0RDTTRDSEVFL3JzL3N0dWRpZXNsaW1pdD0yMSZpbmNsdWRlZmllbGQ9YWxsJm9mZnNldD0wJkFjY2Vzc2lvbk51bWJlcj1BQ0MqJlN0dWR5RGVzY3JpcHRpb249RGVzYyo=</ParticipantObjectQuery>
<ParticipantObjectDetail type="QueryEncoding" value="VVRGLTg="/>
</ParticipantObjectIdentification>
</AuditMessage>
7.1.5.1.1.9.3.1.2. Using DICOM C-FIND¶
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AuditMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
<EventIdentification EventActionCode="E" EventDateTime="2025-03-04T16:17:36.429+01:00" EventOutcomeIndicator="0">
<EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
</EventIdentification>
<ActiveParticipant UserID="DCM4CHEE" AlternativeUserID="234026" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
<UserIDTypeCode csd-code="110119" codeSystemName="DCM" originalText="Station AE Title"/>
</ActiveParticipant>
<ActiveParticipant UserID="FINDSCU" UserIsRequestor="true" UserTypeCode="2" NetworkAccessPointID="view-localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="110119" codeSystemName="DCM" originalText="Station AE Title"/>
</ActiveParticipant>
<AuditSourceIdentification AuditSourceID="dcm4chee-arc">
<AuditSourceTypeCode csd-code="4"/>
</AuditSourceIdentification>
<ParticipantObjectIdentification ParticipantObjectID="1.2.840.10008.5.1.4.1.2.2.1" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="3">
<ParticipantObjectIDTypeCode csd-code="110181" originalText="SOP Class UID" codeSystemName="DCM"/>
<ParticipantObjectQuery>CABQAAQAAABBQ0MqCABSAAYAAABTVFVEWSAIADAQBgAAAERlc2MqIBAAEAAAAAAAEAAgAAAAAAAgAA0AAAAAAA==</ParticipantObjectQuery>
<ParticipantObjectDetail type="TransferSyntax" value="MS4yLjg0MC4xMDAwOC4xLjI="/>
<ParticipantObjectDetail type="Identifier" value="KDAwMDgsMDA1MCkgU0ggW0FDQypdIEFjY2Vzc2lvbk51bWJlcgooMDAwOCwwMDUyKSBDUyBbU1RVRFldIFF1ZXJ5UmV0cmlldmVMZXZlbAooMDAwOCwxMDMwKSBMTyBbRGVzYypdIFN0dWR5RGVzY3JpcHRpb24KKDAwMTAsMDAxMCkgUE4gW10gUGF0aWVudE5hbWUKKDAwMTAsMDAyMCkgTE8gW10gUGF0aWVudElECigwMDIwLDAwMEQpIFVJIFtdIFN0dWR5SW5zdGFuY2VVSUQK"/>
</ParticipantObjectIdentification>
</AuditMessage>
7.1.5.1.1.9.3.2. HL7 Patient Demographics Query¶
7.1.5.1.1.9.3.2.1. Using REST API¶
Applicable for Query Patient Demographics REST API
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AuditMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
<EventIdentification EventActionCode="E" EventOutcomeIndicator="0">
<EventTypeCode csd-code="ITI-21" codeSystemName="IHE Transactions" originalText="Patient Demographics Query"/>
<EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
</EventIdentification>
<ActiveParticipant UserID="HL7SND|DCM4CHEE" AlternativeUserID="16153" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="HL7APP" codeSystemName="99DCM4CHEE" originalText="Application and Facility"/>
</ActiveParticipant>
<ActiveParticipant UserID="HL7RCV|DCM4CHEE" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost">
<RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
<UserIDTypeCode csd-code="HL7APP" codeSystemName="99DCM4CHEE" originalText="Application and Facility"/>
</ActiveParticipant>
<ActiveParticipant UserID="http://localhost:8880/dcm4chee-arc/pdq/HL7PatientDemographicsQuery-to-PatientDemographicsSupplier/patients/PDQ-4713455" AlternativeUserID="16153" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
</ActiveParticipant>
<ActiveParticipant UserID="admin" UserIsRequestor="true" UserTypeCode="1" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2">
<UserIDTypeCode csd-code="113871" codeSystemName="DCM" originalText="Node ID"/>
</ActiveParticipant>
<AuditSourceIdentification AuditSourceID="dcm4chee-arc">
<AuditSourceTypeCode csd-code="4"/>
</AuditSourceIdentification>
<ParticipantObjectIdentification ParticipantObjectID="PDQ-4713455" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
<ParticipantObjectIDTypeCode csd-code="2" originalText="Patient Number" codeSystemName="RFC-3881"/>
<ParticipantObjectName>DOE^JOHN</ParticipantObjectName>
<ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8SEw3U05EfERDTTRDSEVFfEhMN1JDVnxEQ000Q0hFRXwyMDI0MDUwNjEzMzgyNC4yOTh8fFFCUF5RMjJeUUJQX1EyMXwxNjk3OTc4MTkzfFB8Mi41fHx8fHx8VU5JQ09ERSBVVEYtOHx8fA1RUER8SUhFIFBEUSBRdWVyeXxRUlkxNjk3OTc4MTkzfEBQSUQuMy4xXlBEUS00NzEzNDU1fA1SQ1B8SXx8fHx8fA0="/>
<ParticipantObjectDetail type="MSH-9" value="UUJQXlEyMg=="/>
<ParticipantObjectDetail type="MSH-10" value="MTY5Nzk3ODE5Mw=="/>
<ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8SEw3UkNWfERDTTRDSEVFfEhMN1NORHxEQ000Q0hFRXwyMDI0MDUwNjEzMzgyNC4zOTV8fFJTUF5LMjJeUlNQX0syMXwyMDk2NzI2NjkwfFB8Mi41fHx8fHx8VU5JQ09ERSBVVEYtOA1NU0F8QUF8MTY5Nzk3ODE5M3wNUUFLfFFSWTE2OTc5NzgxOTN8T0sNUVBEfElIRSBQRFEgUXVlcnl8UVJZMTY5Nzk3ODE5M3xAUElELjMuMV5QRFEtNDcxMzQ1NXwNUElEfHx8Xl5eJiZ8fERPRV5KT0hOfHwxOTQ3MTExMXxNfHx8U1RSRUVUXl5DSVRZXl40NzExfHx8fHx8fEFDQy00NzExXl5eRENNNENIRS1URVNUJjEuMi40MC4wLjEzLjEuMS45OTkmSVNP"/>
<ParticipantObjectDetail type="MSH-9" value="UlNQXksyMg=="/>
<ParticipantObjectDetail type="MSH-10" value="MjA5NjcyNjY5MA=="/>
</ParticipantObjectIdentification>
<ParticipantObjectIdentification ParticipantObjectID="QueryPatientDemographics" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
<ParticipantObjectIDTypeCode csd-code="ITI-21" originalText="Patient Demographics Query" codeSystemName="IHE Transactions"/>
<ParticipantObjectQuery>TVNIfF5+XCZ8SEw3U05EfERDTTRDSEVFfEhMN1JDVnxEQ000Q0hFRXwyMDI0MDUwNjEzMzgyNC4yOTh8fFFCUF5RMjJeUUJQX1EyMXwxNjk3OTc4MTkzfFB8Mi41fHx8fHx8VU5JQ09ERSBVVEYtOHx8fA1RUER8SUhFIFBEUSBRdWVyeXxRUlkxNjk3OTc4MTkzfEBQSUQuMy4xXlBEUS00NzEzNDU1fA1SQ1B8SXx8fHx8fA0=</ParticipantObjectQuery>
<ParticipantObjectDetail type="MSH-10" value="MTY5Nzk3ODE5Mw=="/>
</ParticipantObjectIdentification>
</AuditMessage>
7.1.5.1.1.9.3.2.2. Scheduler triggered¶
Applicable for HL7 Patient Demographics Query triggered by Patient Verification Scheduler
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AuditMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
<EventIdentification EventActionCode="E" EventOutcomeIndicator="0">
<EventTypeCode csd-code="ITI-21" codeSystemName="IHE Transactions" originalText="Patient Demographics Query"/>
<EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
</EventIdentification>
<ActiveParticipant UserID="HL7SND|DCM4CHEE" AlternativeUserID="16153" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="HL7APP" codeSystemName="99DCM4CHEE" originalText="Application and Facility"/>
</ActiveParticipant>
<ActiveParticipant UserID="HL7RCV|DCM4CHEE" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost">
<RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
<UserIDTypeCode csd-code="HL7APP" codeSystemName="99DCM4CHEE" originalText="Application and Facility"/>
</ActiveParticipant>
<ActiveParticipant UserID="dcm4chee-arc" AlternativeUserID="16153" UserIsRequestor="true" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="113877" codeSystemName="DCM" originalText="Device Name"/>
</ActiveParticipant>
<AuditSourceIdentification AuditSourceID="dcm4chee-arc">
<AuditSourceTypeCode csd-code="4"/>
</AuditSourceIdentification>
<ParticipantObjectIdentification ParticipantObjectID="PDQ-4713455" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
<ParticipantObjectIDTypeCode csd-code="2" originalText="Patient Number" codeSystemName="RFC-3881"/>
<ParticipantObjectName>DOE^JOHN</ParticipantObjectName>
<ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8SEw3U05EfERDTTRDSEVFfEhMN1JDVnxEQ000Q0hFRXwyMDI0MDUwNjEzNDQyNS4yNjZ8fFFCUF5RMjJeUUJQX1EyMXwxNjk3OTc4MTk0fFB8Mi41fHx8fHx8VU5JQ09ERSBVVEYtOHx8fA1RUER8SUhFIFBEUSBRdWVyeXxRUlkxNjk3OTc4MTk0fEBQSUQuMy4xXlBEUS00NzEzNDU1fA1SQ1B8SXx8fHx8fA0="/>
<ParticipantObjectDetail type="MSH-9" value="UUJQXlEyMg=="/>
<ParticipantObjectDetail type="MSH-10" value="MTY5Nzk3ODE5NA=="/>
<ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8SEw3UkNWfERDTTRDSEVFfEhMN1NORHxEQ000Q0hFRXwyMDI0MDUwNjEzNDQyNS4yNzF8fFJTUF5LMjJeUlNQX0syMXwyMDk2NzI2NjkxfFB8Mi41fHx8fHx8VU5JQ09ERSBVVEYtOA1NU0F8QUF8MTY5Nzk3ODE5NHwNUUFLfFFSWTE2OTc5NzgxOTR8T0sNUVBEfElIRSBQRFEgUXVlcnl8UVJZMTY5Nzk3ODE5NHxAUElELjMuMV5QRFEtNDcxMzQ1NXwNUElEfHx8Xl5eJiZ8fERPRV5KT0hOfHwxOTQ3MTExMXxNfHx8U1RSRUVUXl5DSVRZXl40NzExfHx8fHx8fEFDQy00NzExXl5eRENNNENIRS1URVNUJjEuMi40MC4wLjEzLjEuMS45OTkmSVNP"/>
<ParticipantObjectDetail type="MSH-9" value="UlNQXksyMg=="/>
<ParticipantObjectDetail type="MSH-10" value="MjA5NjcyNjY5MQ=="/>
</ParticipantObjectIdentification>
<ParticipantObjectIdentification ParticipantObjectID="PatientVerificationScheduler" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
<ParticipantObjectIDTypeCode csd-code="ITI-21" originalText="Patient Demographics Query" codeSystemName="IHE Transactions"/>
<ParticipantObjectQuery>TVNIfF5+XCZ8SEw3U05EfERDTTRDSEVFfEhMN1JDVnxEQ000Q0hFRXwyMDI0MDUwNjEzNDQyNS4yNjZ8fFFCUF5RMjJeUUJQX1EyMXwxNjk3OTc4MTk0fFB8Mi41fHx8fHx8VU5JQ09ERSBVVEYtOHx8fA1RUER8SUhFIFBEUSBRdWVyeXxRUlkxNjk3OTc4MTk0fEBQSUQuMy4xXlBEUS00NzEzNDU1fA1SQ1B8SXx8fHx8fA0=</ParticipantObjectQuery>
<ParticipantObjectDetail type="MSH-10" value="MTY5Nzk3ODE5NA=="/>
</ParticipantObjectIdentification>
</AuditMessage>
7.1.5.1.1.9.3.3. FHIR Patient Demographics Query¶
7.1.5.1.1.9.3.3.1. Using REST API¶
Applicable for Query Patient Demographics REST API
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AuditMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
<EventIdentification EventActionCode="E" EventDateTime="2022-07-18T13:20:56.601+02:00" EventOutcomeIndicator="0">
<EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
<EventTypeCode csd-code="ITI-78" codeSystemName="urn:ihe:event-type-code" originalText="Mobile Patient Demographics Query"/>
<EventOutcomeDescription>Mobile Patient Demographics Query</EventOutcomeDescription>
</EventIdentification>
<ActiveParticipant UserID="http://localhost:8080/hapi-fhir-jpaserver/fhir/Patient" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
<UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
</ActiveParticipant>
<ActiveParticipant UserID="admin" UserIsRequestor="true" UserTypeCode="1" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2">
<UserIDTypeCode csd-code="113871" codeSystemName="DCM" originalText="Person ID"/>
</ActiveParticipant>
<ActiveParticipant UserID="http://localhost:8880/dcm4chee-arc/pdq/testHAPI/patients/e925b0f3%2D8006%2D43f6%2Daa31%2D94bd215e55e7%5E%5E%5Ehttps%3A%2F%2Fgithub%2Ecom%2Fsynthetichealth%2Fsynthea" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
</ActiveParticipant>
<AuditSourceIdentification AuditSourceID="dcm4chee-arc">
<AuditSourceTypeCode csd-code="4"/>
</AuditSourceIdentification>
<ParticipantObjectIdentification ParticipantObjectID="QueryPatientDemographics" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
<ParticipantObjectIDTypeCode csd-code="ITI-78" originalText="Mobile Patient Demographics Query" codeSystemName="IHE Transactions"/>
<ParticipantObjectQuery>aWRlbnRpZmllcj1odHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZzeW50aGV0aWNoZWFsdGglMkZzeW50aGVhJTdDZTkyNWIwZjMtODAwNi00M2Y2LWFhMzEtOTRiZDIxNWU1NWU3Jl9mb3JtYXQ9eG1s</ParticipantObjectQuery>
<ParticipantObjectDetail type="QueryEncoding" value="VVRGLTg="/>
</ParticipantObjectIdentification>
<ParticipantObjectIdentification ParticipantObjectID="e925b0f3-8006-43f6-aa31-94bd215e55e7^^^https://github.com/synthetichealth/synthea" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
<ParticipantObjectIDTypeCode csd-code="2" originalText="Patient Number" codeSystemName="RFC-3881"/>
<ParticipantObjectName>Koepp^Abdul^^Mr.</ParticipantObjectName>
</ParticipantObjectIdentification>
</AuditMessage>
7.1.5.1.1.9.3.3.2. Scheduler triggered¶
Applicable for HL7 Patient Demographics Query triggered by Patient Verification Scheduler
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AuditMessage
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
<EventIdentification EventActionCode="E" EventDateTime="2022-07-18T13:20:56.601+02:00" EventOutcomeIndicator="0">
<EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
<EventTypeCode csd-code="ITI-78" codeSystemName="urn:ihe:event-type-code" originalText="Mobile Patient Demographics Query"/>
<EventOutcomeDescription>Mobile Patient Demographics Query</EventOutcomeDescription>
</EventIdentification>
<ActiveParticipant UserID="http://localhost:8080/hapi-fhir-jpaserver/fhir" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost">
<RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
<UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
</ActiveParticipant>
<ActiveParticipant UserID="dcm4chee-arc" AlternativeUserID="43631" UserIsRequestor="true" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
<RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID"/>
<UserIDTypeCode csd-code="113877" codeSystemName="DCM" originalText="Device Name"/>
</ActiveParticipant>
<AuditSourceIdentification AuditSourceID="dcm4chee-arc">
<AuditSourceTypeCode csd-code="4"/>
</AuditSourceIdentification>
<ParticipantObjectIdentification ParticipantObjectID="e925b0f3-8006-43f6-aa31-94bd215e55e7^^^https://github.com/synthetichealth/synthea" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
<ParticipantObjectIDTypeCode csd-code="2" originalText="Patient Number" codeSystemName="RFC-3881"/>
<ParticipantObjectName>Koepp^Abdul^^Mr.</ParticipantObjectName>
</ParticipantObjectIdentification>
<ParticipantObjectIdentification ParticipantObjectID="PatientVerificationScheduler" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
<ParticipantObjectIDTypeCode csd-code="ITI-78" originalText="Mobile Patient Demographics Query" codeSystemName="IHE Transactions"/>
<ParticipantObjectQuery>aWRlbnRpZmllcj1lOTI1YjBmMy04MDA2LTQzZjYtYWEzMS05NGJkMjE1ZTU1ZTcmX2Zvcm1hdD14bWw=</ParticipantObjectQuery>
<ParticipantObjectDetail type="QueryEncoding" value="VVRGLTg="/>
</ParticipantObjectIdentification>
</AuditMessage>