7.1.5.1.1.10. Patient Record

7.1.5.1.1.10.1. Trigger Events

This message is emitted by the archive whenever :

  • Patient is created by UI / HL7 messages / object storage
  • Patient record is updated by UI / HL7 message / PDQ Service
  • Patient records are deleted by UI / scheduler
  • One or more patients are merged by UI / HL7 messages
  • HL7 messages (ADT/Order/ORU) accepted (= also not processed) or processed by archive
  • HL7 messages (ADT/Order/ORU) forwarded by archive to external HL7 receivers
  • Patient created / updated / merged / changePatientID on external archive

7.1.5.1.1.10.2. Message Structure

Table 7.55 Entities in Patient Record Audit Message
Event: Patient Record  
Active Participant : Initiator Not present when patient is deleted by the scheduler
Active Participant : Archive application  
Audit Source  
Participant Object Identification : Patient  
Table 7.56 Event: Patient Record
Field Name Opt Description
EventID M
EV (110110, DCM, ‘Patient Record’)
EventActionCode M
Create : ‘C’
Update : ‘U’
Delete : ‘D’
EventDateTime M
The time at which the event occurred
EventOutcomeIndicator M
Success : ‘0’
Minor failure : ‘4’
EventOutcomeDescription M
Error/Exception message when EventOutcomeIndicator : ‘4’
Table 7.57 Active Participant : Initiator
Field Name Opt Description
UserID M
HL7 messages : ‘Sending Application and Facility’
Triggered from UI : ‘Remote IP address’ or ‘User name of logged in user’
Triggered by object storage : ‘Calling AE title in association’
UserIDTypeCode U
HL7 messages : EV (HL7APP, 99DCM4CHEE, ‘Application and Facility’)
Triggered from UI (secured archive) : EV (113871, DCM, ‘Person ID’)
Triggered from UI (unsecured archive) : EV (110182, DCM, ‘Node ID’)
Triggered by object storage : EV (110119, DCM, ‘Station AE Title’)
UserTypeCode U
Triggered from UI : Person : ‘1’
All other cases : Application : ‘2’
UserIsRequestor M
true
RoleIDCode M
EV (110153, DCM, ‘Source’)
NetworkAccessPointID U
Hostname/IP Address of calling host
NetworkAccessPointTypeCode U
NetworkAccessPointID is host name : ‘1’
NetworkAccessPointID is an IP address : ‘2’
Table 7.58 Active Participant : Archive application
Field Name Opt Description
UserID M
HL7 messages : ‘Receiving Application and Facility’
Triggered from UI : ‘Request URI’
Triggered by object storage : ‘Called AE title in association’
Triggered by scheduler : ‘Archive device name’
UserIDTypeCode U
HL7 messages : EV (HL7APP, 99DCM4CHEE, ‘Application and Facility’)
Triggered from UI : EV (12, RFC-3881, ‘URI’)
Triggered by object storage : EV (110119, DCM, ‘Station AE Title’)
Triggered by scheduler : EV (113877, DCM, ‘Device Name’)
UserTypeCode U
Application : ‘2’
AlternativeUserID MC
Process ID of Audit logger
UserIsRequestor M
Patient deletion triggered by scheduler : ‘true’
All other cases : ‘false’
RoleIDCode M
EV (110152, DCM, ‘Destination’)
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.59 Participant Object Identification : Patient
Field Name Opt Description Note
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  
ParticipantObjectDataLifeCycle U Verification ⇒ ‘4’ Present only for audits triggered by PDQ Service
ParticipantObjectDetail U If Patient record created/updated/deleted by HL7 messages : ‘type=HL7v2 value=<Base-64 encoded HL7 message>’  
ParticipantObjectDetail U If Patient record created/updated/deleted by HL7 messages : ‘type=HL7v2 value=<Base-64 encoded HL7 response>’  

7.1.5.1.1.10.3. Sample Message

<?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="C" EventDateTime="2018-09-11T11:43:05.007+02:00" EventOutcomeIndicator="0">
        <EventID csd-code="110110" codeSystemName="DCM" originalText="Patient Record"/>
    </EventIdentification>

    <ActiveParticipant UserID="DCM4CHEE|DCM4CHEE" AlternativeUserID="9132" 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="PAMSimulator|IHE" UserIsRequestor="true" 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="MEE4-54798^^^MEE4&1.3.6.1.4.1.12559.11.1.4.1.2&ISO^PI" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
        <ParticipantObjectIDTypeCode csd-code="2" originalText="Patient Number" codeSystemName="RFC-3881"/>
        <ParticipantObjectName>Berger^Oliver^^^^^L</ParticipantObjectName>
        <ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8UEFNU2ltdWxhdG9yfElIRXxEQ000Q0hFRXxEQ000Q0hFRXwyMDE2MDYwMjE0Mjg1Nnx8QURUXkEyOF5BRFRfQTA1fDIwMTYwNjAyMTQyODU2fFB8Mi41fHx8fHx8QVNDSUlbQ1JdDQpFVk58fDIwMTYwNjAyMTQyODU2DQpQSUR8fHxNRUU0LTU0Nzk4Xl5eTUVFNCYxLjMuNi4xLjQuMS4xMjU1OS4xMS4xLjQuMS4yJklTT15QSXx8QmVyZ2VyXk9saXZlcl5eXl5eTHxTY2h1c3Rlcl5eXl5eXk18MTk5NDEwMjV8TXx8fEdhc3RlaWd3ZWdeXkhhbGxlaW5eXjU0MDBeQVVUfHxeUFJOXlBIfHx8fENBVHwxMTIyOV5eXklIRVBBTSYxLjMuNi4xLjQuMS4xMjU1OS4xMS4xLjIuMi41JklTT15BTnx8fHx8fHx8fHx8fHxOW0NSXQ0KUFYxfHxO"/>
        <ParticipantObjectDetail type="HL7v2 Message" value="TVNIfF5+XCZ8RENNNENIRUV8RENNNENIRUV8UEFNU2ltdWxhdG9yfElIRXwyMDE4MDkxMTExNDMwNC4yNzR8fEFDS15BMjheQUNLfDE2OTE3ODcwNTN8UHwyLjV8fHx8fHxBU0NJSVtDUl0NTVNBfEFBfDIwMTYwNjAyMTQyODU2fA=="/>
    </ParticipantObjectIdentification>

</AuditMessage>