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 UI or by C-FIND on following levels :

  • Patient

  • Study

  • Series

  • Instance

  • Modality Worklist Entry

Additionally, this message is also emitted if a Patient Demographics Query is invoked by the archive acting as a Patient Demographics Consumer to any Patient Demographics Supplier.

7.1.5.1.1.9.2. Message Structure

Table 7.41 Entities in Query Audit Message

Event Identification

Active Participant : Initiator

Not present in Patient Demographics Query triggered by scheduler case

Active Participant : Archive application

Not present in Patient Demographics Query triggered by scheduler case

Active Participant : Patient Demographics Consumer

Present only in Patient Demographics Query case

Active Participant : Patient Demographics Supplier

Present only in Patient Demographics Query case

Active Participant : FHIR Patient Demographics User

Present only in FHIR Patient Demographics Query case

Active Participant : FHIR Patient Demographics Consumer

Present only in FHIR Patient Demographics Query case

Active Participant : FHIR Patient Demographics Supplier

Present only in FHIR Patient Demographics Query case

Audit Source

Participant Object Identification : C-FIND Query

Present only in Query by C-FIND

Participant Object Identification : QIDO Query

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

Table 7.42 Event Identification

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’)
Table 7.43 Active Participant : Initiator

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’
Table 7.44 Active Participant : Archive application

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’
Table 7.45 Active Participant : Patient Demographics Consumer

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’
Table 7.46 Active Participant : Patient Demographics Supplier

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’
Table 7.47 Active Participant : FHIR Patient Demographics User

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’
Table 7.48 Active Participant : FHIR Patient Demographics Consumer

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’
Table 7.49 Active Participant : FHIR Patient Demographics Supplier

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’
Table 7.50 Participant Object Identification : C-FIND Query

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=’”
Table 7.51 Participant Object Identification : QIDO Query

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=’
Table 7.52 Participant Object Identification : Patient Demographics Query

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
Table 7.53 Participant Object Identification : Patient Demographics Query - Patient

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>’

Table 7.54 Participant Object Identification : FHIR Patient Demographics Query - Patient

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 Message

Query triggered using QIDO-RS

<?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="2017-07-27T09:12:21.331+02:00" EventOutcomeIndicator="0">
        <EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
    </EventIdentification>
    <ActiveParticipant UserID="127.0.0.1" UserTypeCode="1" UserIsRequestor="true" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2">
        <RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source"/>
        <UserIDTypeCode csd-code="110182" codeSystemName="DCM" originalText="Node ID"/>
    </ActiveParticipant>
    <ActiveParticipant UserID="/dcm4chee-arc/aets/DCM4CHEE/rs/patients" AlternativeUserID="3390" UserTypeCode="2" UserIsRequestor="false" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
        <RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination"/>
        <UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
    </ActiveParticipant>
    <AuditSourceIdentification AuditSourceID="dcm4chee-arc">
        <AuditSourceTypeCode csd-code="4"/>
    </AuditSourceIdentification>
    <ParticipantObjectIdentification ParticipantObjectID="SearchForPatients" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
        <ParticipantObjectIDTypeCode csd-code="QIDO" originalText="QIDO_Query" codeSystemName="99DCM4CHEE"/>
        <ParticipantObjectQuery>L2RjbTRjaGVlLWFyYy9hZXRzL0RDTTRDSEVFL3JzL3BhdGllbnRzaW5jbHVkZWZpZWxkPWFsbCZvZmZzZXQ9MCZsaW1pdD0yMSZvcmRlcmJ5PVBhdGllbnROYW1l</ParticipantObjectQuery>
        <ParticipantObjectDetail type="QueryEncoding" value="VVRGLTg="/>
    </ParticipantObjectIdentification>
</AuditMessage>

Query triggered using C-FIND

<?xml version="1.0" encoding="UTF-8"?>
<AuditMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
   <EventIdentification EventActionCode="E" EventDateTime="2019-02-05T18:01:25+01:00" EventOutcomeIndicator="0">
      <EventID csd-code="110112" codeSystemName="DCM" originalText="Query" />
   </EventIdentification>
   <ActiveParticipant UserID="FINDSCU" UserIsRequestor="true" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
      <RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID" />
      <UserIDTypeCode csd-code="110119" codeSystemName="DCM" originalText="Station AE Title" />
   </ActiveParticipant>
   <ActiveParticipant UserID="DCM4CHEE" AlternativeUserID="5726" 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>
   <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>CABSAAYAAABTVFVEWSAgAA0ALAAAADIuMjUuMjIzNDk1ODQxNjcyNTIzMjI3ODMyMTMzMTUzNTY3ODg2NjU5ODAx</ParticipantObjectQuery>
      <ParticipantObjectDetail type="TransferSyntax" value="MS4yLjg0MC4xMDAwOC4xLjI=" />
   </ParticipantObjectIdentification>
</AuditMessage>

Patient Demographics Query

<?xml version="1.0" encoding="UTF-8"?>
<AuditMessage xsi:noNamespaceSchemaLocation="http://www.dcm4che.org/DICOM/audit-message.rnc">
    <EventIdentification EventActionCode="E" EventDateTime="2021-07-05T09:16:21.400+02:00" EventOutcomeIndicator="0">
        <EventID csd-code="110112" codeSystemName="DCM" originalText="Query"/>
        <EventTypeCode csd-code="ITI-21" codeSystemName="IHE Transactions" originalText="Patient Demographics Query"/>
        <EventOutcomeDescription>Patient Demographics Query</EventOutcomeDescription>
    </EventIdentification>
    <ActiveParticipant UserID="HL7RCV|DCM4CHEE" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
        <RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID"/>
        <UserIDTypeCode csd-code="HL7APP" codeSystemName="99DCM4CHEE" originalText="Application and Facility"/>
    </ActiveParticipant>
    <ActiveParticipant UserID="127.0.0.1" UserIsRequestor="true" UserTypeCode="1" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2">
        <UserIDTypeCode csd-code="110182" codeSystemName="DCM" originalText="Node ID"/>
    </ActiveParticipant>
    <ActiveParticipant UserID="http://localhost:8080/dcm4chee-arc/pdq/testhl7pdq/patients/PDQ-4711%5E%5E%5EDCM4CHE-TEST%261.2.40.0.13.1.1.999%26ISO" UserIsRequestor="false" UserTypeCode="2" NetworkAccessPointID="localhost" NetworkAccessPointTypeCode="1">
        <UserIDTypeCode csd-code="12" codeSystemName="RFC-3881" originalText="URI"/>
    </ActiveParticipant>
    <ActiveParticipant UserID="HL7SND|DCM4CHEE" 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>
    <AuditSourceIdentification AuditSourceID="dcm4chee-arc">
        <AuditSourceTypeCode csd-code="4"/>
    </AuditSourceIdentification>
    <ParticipantObjectIdentification ParticipantObjectID="QueryPatientDemographics" ParticipantObjectTypeCode="2" ParticipantObjectTypeCodeRole="24">
        <ParticipantObjectIDTypeCode csd-code="ITI-21" originalText="Patient Demographics Query" codeSystemName="IHE Transactions"/>
        <ParticipantObjectQuery>
            TVNIfF5+XCZ8SEw3U05EfERDTTRDSEVFfEhMN1JDVnxEQ000Q0hFRXwyMDIxMDcwNTA5MTYyMC43ODd8fFFCUF5RMjJeUUJQX1EyMXwyMTI2MTA5NTkzfFB8Mi41fHx8fHx8ODg1OS8xfHx8DVFQRHxJSEUgUERRIFF1ZXJ5fFFSWTIxMjYxMDk1OTN8QFBJRC4zLjFeUERRLTQ3MTF+QFBJRC4zLjQuMV5EQ000Q0hFLVRFU1R+QFBJRC4zLjQuMl4xLjIuNDAuMC4xMy4xLjEuOTk5fkBQSUQuMy40LjNeSVNPfA1SQ1B8SXx8fHx8fA0=
        </ParticipantObjectQuery>
    </ParticipantObjectIdentification>
    <ParticipantObjectIdentification ParticipantObjectID="PDQ-4711^^^DCM4CHE-TEST&1.2.40.0.13.1.1.999&ISO" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
        <ParticipantObjectIDTypeCode csd-code="2" originalText="Patient Number" codeSystemName="RFC-3881"/>
        <ParticipantObjectName>DOE^JOHN</ParticipantObjectName>
        <ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8SEw3U05EfERDTTRDSEVFfEhMN1JDVnxEQ000Q0hFRXwyMDIxMDcwNTA5MTYyMC43ODd8fFFCUF5RMjJeUUJQX1EyMXwyMTI2MTA5NTkzfFB8Mi41fHx8fHx8ODg1OS8xfHx8DVFQRHxJSEUgUERRIFF1ZXJ5fFFSWTIxMjYxMDk1OTN8QFBJRC4zLjFeUERRLTQ3MTF+QFBJRC4zLjQuMV5EQ000Q0hFLVRFU1R+QFBJRC4zLjQuMl4xLjIuNDAuMC4xMy4xLjEuOTk5fkBQSUQuMy40LjNeSVNPfA1SQ1B8SXx8fHx8fA0="/>
        <ParticipantObjectDetail type="MSH-9" value="UUJQXlEyMg=="/>
        <ParticipantObjectDetail type="MSH-10" value="MjEyNjEwOTU5Mw=="/>
        <ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8SEw3UkNWfERDTTRDSEVFfEhMN1NORHxEQ000Q0hFRXwyMDIxMDcwNTA5MTYyMC44MjB8fFJTUF5LMjJeUlNQX0syMXwxMDY0NjIyMjk0fFB8Mi41fHx8fHx8ODg1OS8xDU1TQXxBQXwyMTI2MTA5NTkzfA1RQUt8UVJZMjEyNjEwOTU5M3xPSw1RUER8SUhFIFBEUSBRdWVyeXxRUlkyMTI2MTA5NTkzfEBQSUQuMy4xXlBEUS00NzExfkBQSUQuMy40LjFeRENNNENIRS1URVNUfkBQSUQuMy40LjJeMS4yLjQwLjAuMTMuMS4xLjk5OX5AUElELjMuNC4zXklTT3wNUElEfHx8UERRLTQ3MTFeXl5EQ000Q0hFLVRFU1QmMS4yLjQwLjAuMTMuMS4xLjk5OSZJU098fERPRV5KT0hOfHwxOTQ3MTExMXxNfHx8U1RSRUVUXl5DSVRZXl40NzExfHx8fHx8fEFDQy00NzExXl5eRENNNENIRS1URVNUJjEuMi40MC4wLjEzLjEuMS45OTkmSVNP"/>
        <ParticipantObjectDetail type="MSH-9" value="UlNQXksyMg=="/>
        <ParticipantObjectDetail type="MSH-10" value="MTA2NDYyMjI5NA=="/>
    </ParticipantObjectIdentification>
</AuditMessage>

FHIR Patient Demographics Query

<?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:8780/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="127.0.0.1" UserIsRequestor="true" UserTypeCode="1" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2">
        <UserIDTypeCode csd-code="110182" codeSystemName="DCM" originalText="Node 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>