UNPKG

@upmc-enterprises/atna2fhir

Version:

ATNA (DICOM) AuditMessage to FHIR AuditEvent converter

21 lines (20 loc) 1.6 kB
<AuditMessage> <!-- based on https://ehealthsuisse.ihe-europe.net/EVSClient//detailedResult.seam?type=ATNA&oid=1.3.6.1.4.1.12559.11.25.1.13.43704--> <EventIdentification EventActionCode="U" EventDateTime="2020-08-24T20:00:32.654Z" EventOutcomeIndicator="0"> <EventID csd-code="110110" codeSystemName="DCM" originalText="Patient Record" /> <EventTypeCode csd-code="ITI-8" codeSystemName="IHE Transactions" originalText="Patient Identity Feed" /> </EventIdentification> <ActiveParticipant UserID="root|xyz" UserName="example.com" UserIsRequestor="true" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2"> <RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID" /> </ActiveParticipant> <ActiveParticipant UserID="root|abc" AlternativeUserID="123" UserIsRequestor="false" NetworkAccessPointID="127.0.0.1" NetworkAccessPointTypeCode="2"> <RoleIDCode csd-code="110152" codeSystemName="DCM" originalText="Destination Role ID" /> </ActiveParticipant> <AuditSourceIdentification AuditEnterpriseSiteID="1.2.3" AuditSourceID="123@example.com"> <AuditSourceTypeCode csd-code="9" codeSystemName="DCM" originalText="Other" /> </AuditSourceIdentification> <ParticipantObjectIdentification ParticipantObjectID="123" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1"> <ParticipantObjectIDTypeCode csd-code="2" codeSystemName="RFC-3881" originalText="Patient Number" /> <ParticipantObjectDetail type="MSH-10" value="123" /> </ParticipantObjectIdentification> </AuditMessage>