Implementation Guide
25.0.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaDiagnosticReport - Mappings

Active as of 2022-03-01

Mappings for the athena-diagnosticreport-profile resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameathenaFlowathenaPracticeWorkflow PatternHL7 v2 MappingRIM MappingFiveWs Pattern Mappingdoco
.. DiagnosticReport
FHIRR4_DIAGNOSTICREPORTVIEW
FHIRR4_DIAGNOSTICREPORTVIEW
Event
ORU -> OBR
  • Observation[classCode=OBS
  • moodCode=EVN]
... id
MakeId(%RESOURCEID%)
MakeId(%RESOURCEID%)
... meta
.... id
n/a
.... extension
n/a
.... versionId
.... lastUpdated
%WHENUPDATED%
%WHENUPDATED%
.... source
.... Slices for profile
..... profile:us-core-diagnosticreport
  • IfEqual(%CATEGORY%
  • //hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab")
  • IfEqual(%CATEGORY%
  • //hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab")
..... profile:us-core-diagnosticreport
  • IfNotEqual(%CATEGORY%
  • //hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note")
  • IfNotEqual(%CATEGORY%
  • //hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note")
..... profile:athena-diagnosticreport-profile
.... Slices for security
..... security:SENSITIVECHART
CheckSensitive(%SENSITIVECHART%)
CheckSensitive(%SENSITIVECHART%)
..... security:CONFABBR
...... id
n/a
...... extension
n/a
...... system
getSiteCodeSystem("ConfidentialDocument")
getSiteCodeSystem("ConfidentialDocument")
C*E.3
./codeSystem
...... version
C*E.7
./codeSystemVersion
...... code
%CONFABBR%
%CONFABBR%
C*E.1
./code
...... display
C*E.2 - but note this is not well followed
CV.displayName
...... userSelected
Sometimes implied by being first
CD.codingRationale
.... tag
MakeChangeTagList(%CHANGE%)
MakeChangeTagList(%CHANGE%)
... implicitRules
... text
Act.text?
... contained
N/A
... extension
N/A
... modifierExtension
N/A
... identifier
Event.identifier
  • OBR-51/ for globally unique filler ID - OBR-3
  • For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4
id
FiveWs.identifier
... basedOn
  • MakeReference("ORDERS"
  • %ORDERID%
  • "ServiceRequest")
  • MakeReference("ORDERS"
  • %ORDERID%
  • "ServiceRequest")
Event.basedOn
ORC? OBR-2/3?
outboundRelationship[typeCode=FLFS].target
... status
  • MapCode(%DRSTATUS%
  • "DIAGNOSTICREPORTSTATUS")
  • MapCode(%DRSTATUS%
  • "DIAGNOSTICREPORTSTATUS")
Event.status
1 mapping)
final and amended are distinguished by whether observation is the subject of a ControlAct event of type "revise"
FiveWs.status
... category
  • MapConcept(%CATEGORY%
  • "DIAGNOSTICREPORTCATEGORY")
  • MapConcept(%CATEGORY%
  • "DIAGNOSTICREPORTCATEGORY")
OBR-24
  • inboundRelationship[typeCode=COMP].source[classCode=LIST
  • moodCode=EVN
  • code < LabService].code
FiveWs.class
... code
Event.code
OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)
code
FiveWs.what[x]
.... id
n/a
.... extension
n/a
.... Slices for coding
  • C*E.1-8
  • C*E.10-22
  • union(.
  • ./translation)
..... coding:other
  • IfNotEqual(%CATEGORY%
  • "LAB").Then(MapCodingList(%TYPE%
  • "DOCUMENTTYPE"))
  • IfNotEqual(%CATEGORY%
  • "LAB").Then(MapCodingList(%TYPE%
  • "DOCUMENTTYPE"))
  • C*E.1-8
  • C*E.10-22
  • union(.
  • ./translation)
..... coding:lab
  • IfEqual( %CATEGORY%
  • "LAB").Then(MakeCodingForObsList(%OBSLIST%
  • //loinc.org"))
  • IfEqual( %CATEGORY%
  • "LAB").Then(MakeCodingForObsList(%OBSLIST%
  • //loinc.org"))
  • C*E.1-8
  • C*E.10-22
  • union(.
  • ./translation)
.... text
%SUMMARY%
%SUMMARY%
C*E.9. But note many systems use C*E.2 for this
./originalText[mediaType/code="text/plain"]/data
... subject
  • MakeReference("PERSON"
  • %PID%
  • "Patient")
  • MakeReference("PATIENTPROFILE"
  • %PID%
  • "Patient")
Event.subject
PID-3 (no HL7 v2 mapping for Group or Device)
participation[typeCode=SBJ]
FiveWs.subject
... encounter
  • MakeReference("DOCUMENT"
  • %RESOURCEID%
  • "Encounter")
  • MakeReference("DOCUMENT"
  • %RESOURCEID%
  • "Encounter")
Event.encounter
PV1-19
  • inboundRelationship[typeCode=COMP].source[classCode=ENC
  • moodCode=EVN]
FiveWs.context
... effective[x]
%STARTDATE%
%STARTDATE%
Event.occurrence[x]
OBR-7
effectiveTime
FiveWs.done[x]
... issued
%WHENCREATED%
%WHENCREATED%
OBR-22
participation[typeCode=VRF or AUT].time
FiveWs.recorded
... performer
  • MakeReference("USR"
  • %CREATOR%
  • "Practitioner")
  • MakeReference("USR"
  • %CREATOR%
  • "Practitioner")
Event.performer.actor
PRT-8 (where this PRT-4-Participation = "PO")
.participation[typeCode=PRF]
FiveWs.actor
... resultsInterpreter
Event.performer.actor
  • OBR-32
  • PRT-8 (where this PRT-4-Participation = "PI")
.participation[typeCode=PRF]
FiveWs.actor
... specimen
SPM
participation[typeCode=SBJ]
... result
  • MakeReferenceList("OBS"
  • %OBSLIST%
  • "Observation")
  • MakeReferenceList("OBS"
  • %OBSLIST%
  • "Observation")
OBXs
outboundRelationship[typeCode=COMP].target
... imagingStudy
  • outboundRelationship[typeCode=COMP].target[classsCode=DGIMG
  • moodCode=EVN]
... media
MakeMediaList(%MEDIALIST%)
MakeMediaList(%MEDIALIST%)
OBX?
outboundRelationship[typeCode=COMP].target
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... comment
  • .inboundRelationship[typeCode=COMP].source[classCode=OBS
  • moodCode=EVN
  • code="annotation"].value
.... link
.value.reference
... conclusion
OBX
  • inboundRelationship[typeCode="SPRT"].source[classCode=OBS
  • moodCode=EVN
  • 48767-8].value (type=ST)
... conclusionCode
OBX
  • inboundRelationship[typeCode=SPRT].source[classCode=OBS
  • moodCode=EVN
  • 54531-9].value (type=CD)
... Slices for presentedForm
OBX
text (type=ED)
.... presentedForm:InternalAttachment
  • MakeDiagReportContentComponentForBinary(%INTREFERENCE%
  • %INTREFERENCEFORMAT%
  • ihe:iti:xds:2017:mimeTypeSufficient"
  • oid:1.3.6.1.4.1.19376.1.2.3"
  • "MimeType Sufficient")
  • MakeDiagReportContentComponentForBinary(%INTREFERENCE%
  • %INTREFERENCEFORMAT%
  • ihe:iti:xds:2017:mimeTypeSufficient"
  • oid:1.3.6.1.4.1.19376.1.2.3"
  • "MimeType Sufficient")
OBX
text (type=ED)
.... presentedForm:InternalAttachment2
  • MakeDiagReportContentComponentForBinary(%INTREFERENCE2%
  • %INTREFERENCEFORMAT2%
  • oid:1.3.6.1.4.1.19376.1.2.3"
  • hl7-org:sdwg:ccda-structuredBody:2.1"
  • "Documents following C-CDA constraints using a structured body")
  • MakeDiagReportContentComponentForBinary(%INTREFERENCE2%
  • %INTREFERENCEFORMAT2%
  • oid:1.3.6.1.4.1.19376.1.2.3"
  • hl7-org:sdwg:ccda-structuredBody:2.1"
  • "Documents following C-CDA constraints using a structured body")
OBX
text (type=ED)

doco Documentation for this format