SENAITEFHIRImplementationGuide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Mappings for the SenaiteDiagnosticReport resource profile.
| Name | Workflow Pattern | FiveWs Pattern Mapping | HL7 V2 Mapping | RIM Mapping |
 DiagnosticReport |
Event |
clinical.diagnostics |
ORU -> OBR |
- Entity
- Role
- or Act
- Observation[classCode=OBS
- moodCode=EVN]
|
  DiagnosticReport / id |
|
|
|
|
  DiagnosticReport / meta |
|
|
|
|
  DiagnosticReport / implicitRules |
|
|
|
|
  DiagnosticReport / language |
|
|
|
|
  DiagnosticReport / text |
|
|
|
Act.text? |
  DiagnosticReport / contained |
|
|
|
N/A |
  DiagnosticReport / extension |
|
|
|
|
  DiagnosticReport / modifierExtension |
|
|
|
|
  DiagnosticReport / Slices for identifier |
Event.identifier |
FiveWs.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 |
   DiagnosticReport / Slices for identifier / identifier:All Slices |
|
|
|
|
    DiagnosticReport / Slices for identifier / identifier:All Slices / id |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:All Slices / extension |
|
|
|
|
    DiagnosticReport / Slices for identifier / identifier:All Slices / use |
|
|
N/A |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:All Slices / type |
|
|
CX.5 |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:All Slices / system |
|
|
CX.4 / EI-2-4 |
II.root or Role.id.root |
    DiagnosticReport / Slices for identifier / identifier:All Slices / value |
|
|
CX.1 / EI.1 |
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
    DiagnosticReport / Slices for identifier / identifier:All Slices / period |
|
|
CX.7 + CX.8 |
Role.effectiveTime or implied by context |
    DiagnosticReport / Slices for identifier / identifier:All Slices / assigner |
|
|
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
   DiagnosticReport / Slices for identifier / identifier:senaiteId |
Event.identifier |
FiveWs.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 |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / id |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / extension |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / use |
|
|
N/A |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / type |
|
|
CX.5 |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / system |
|
|
CX.4 / EI-2-4 |
II.root or Role.id.root |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / value |
|
|
CX.1 / EI.1 |
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / period |
|
|
CX.7 + CX.8 |
Role.effectiveTime or implied by context |
    DiagnosticReport / Slices for identifier / identifier:senaiteId / assigner |
|
|
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
   DiagnosticReport / Slices for identifier / identifier:clientSampleId |
Event.identifier |
FiveWs.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 |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / id |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / extension |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / use |
|
|
N/A |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / type |
|
|
CX.5 |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / system |
|
|
CX.4 / EI-2-4 |
II.root or Role.id.root |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / value |
|
|
CX.1 / EI.1 |
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / period |
|
|
CX.7 + CX.8 |
Role.effectiveTime or implied by context |
    DiagnosticReport / Slices for identifier / identifier:clientSampleId / assigner |
|
|
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
   DiagnosticReport / Slices for identifier / identifier:sampleGroupId |
Event.identifier |
FiveWs.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 |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / id |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / extension |
|
|
|
n/a |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / use |
|
|
N/A |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / type |
|
|
CX.5 |
Role.code or implied by context |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / system |
|
|
CX.4 / EI-2-4 |
II.root or Role.id.root |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / value |
|
|
CX.1 / EI.1 |
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / period |
|
|
CX.7 + CX.8 |
Role.effectiveTime or implied by context |
    DiagnosticReport / Slices for identifier / identifier:sampleGroupId / assigner |
|
|
|
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
  DiagnosticReport / basedOn |
Event.basedOn |
|
ORC? OBR-2/3? |
outboundRelationship[typeCode=FLFS].target |
   DiagnosticReport / basedOn / id |
|
|
|
n/a |
   DiagnosticReport / basedOn / extension |
|
|
|
|
   DiagnosticReport / basedOn / reference |
|
|
|
N/A |
   DiagnosticReport / basedOn / type |
|
|
|
N/A |
   DiagnosticReport / basedOn / identifier |
|
|
|
.identifier |
   DiagnosticReport / basedOn / display |
|
|
|
N/A |
  DiagnosticReport / status |
Event.status |
FiveWs.status |
1 mapping) |
final and amended are distinguished by whether observation is the subject of a ControlAct event of type "revise" |
  DiagnosticReport / category |
|
FiveWs.class |
OBR-24 |
- inboundRelationship[typeCode=COMP].source[classCode=LIST
- moodCode=EVN
- code < LabService].code
|
  DiagnosticReport / code |
Event.code |
FiveWs.what[x] |
OBR-4 (HL7 V2 doesn't provide an easy way to indicate both the ordered test and the performed panel) |
code |
   DiagnosticReport / code / id |
|
|
|
n/a |
   DiagnosticReport / code / extension |
|
|
|
|
   DiagnosticReport / code / coding |
|
|
|
|
    DiagnosticReport / code / coding / id |
|
|
|
n/a |
    DiagnosticReport / code / coding / extension |
|
|
|
|
    DiagnosticReport / code / coding / system |
|
|
C*E.3 |
./codeSystem |
    DiagnosticReport / code / coding / version |
|
|
C*E.7 |
./codeSystemVersion |
    DiagnosticReport / code / coding / code |
|
|
C*E.1 |
./code |
    DiagnosticReport / code / coding / display |
|
|
C*E.2 - but note this is not well followed |
CV.displayName |
    DiagnosticReport / code / coding / userSelected |
|
|
Sometimes implied by being first |
CD.codingRationale |
   DiagnosticReport / code / text |
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
  DiagnosticReport / subject |
Event.subject |
FiveWs.subject[x] |
PID-3 (no HL7 V2 mapping for Group or Device) |
participation[typeCode=SBJ] |
   DiagnosticReport / subject / id |
|
|
|
n/a |
   DiagnosticReport / subject / extension |
|
|
|
|
   DiagnosticReport / subject / reference |
|
|
|
N/A |
   DiagnosticReport / subject / type |
|
|
|
N/A |
   DiagnosticReport / subject / identifier |
|
|
|
.identifier |
   DiagnosticReport / subject / display |
|
|
|
N/A |
  DiagnosticReport / encounter |
Event.encounter |
FiveWs.context |
PV1-19 |
- inboundRelationship[typeCode=COMP].source[classCode=ENC
- moodCode=EVN]
|
  DiagnosticReport / effective[x] |
Event.occurrence[x] |
FiveWs.done[x] |
OBR-7 |
effectiveTime |
  DiagnosticReport / issued |
|
FiveWs.recorded |
OBR-22 |
participation[typeCode=VRF or AUT].time |
  DiagnosticReport / performer |
Event.performer.actor |
FiveWs.actor |
PRT-8 (where this PRT-4-Participation = "PO") |
.participation[typeCode=PRF] |
  DiagnosticReport / resultsInterpreter |
Event.performer.actor |
FiveWs.actor |
- OBR-32
- PRT-8 (where this PRT-4-Participation = "PI")
|
.participation[typeCode=PRF] |
  DiagnosticReport / specimen |
|
|
SPM |
participation[typeCode=SBJ] |
   DiagnosticReport / specimen / id |
|
|
|
n/a |
   DiagnosticReport / specimen / extension |
|
|
|
n/a |
   DiagnosticReport / specimen / reference |
|
|
|
N/A |
   DiagnosticReport / specimen / type |
|
|
|
N/A |
   DiagnosticReport / specimen / identifier |
|
|
|
.identifier |
   DiagnosticReport / specimen / display |
|
|
|
N/A |
  DiagnosticReport / result |
|
|
OBXs |
outboundRelationship[typeCode=COMP].target |
   DiagnosticReport / result / id |
|
|
|
n/a |
   DiagnosticReport / result / extension |
|
|
|
|
   DiagnosticReport / result / reference |
|
|
|
N/A |
   DiagnosticReport / result / type |
|
|
|
N/A |
   DiagnosticReport / result / identifier |
|
|
|
.identifier |
   DiagnosticReport / result / display |
|
|
|
N/A |
  DiagnosticReport / note |
|
|
|
unknown |
  DiagnosticReport / study |
|
|
|
|
  DiagnosticReport / supportingInfo |
|
|
|
|
  DiagnosticReport / media |
|
|
OBX? |
outboundRelationship[typeCode=COMP].target |
  DiagnosticReport / composition |
|
|
|
.value.reference |
  DiagnosticReport / conclusion |
|
|
OBX |
- inboundRelationship[typeCode="SPRT"].source[classCode=OBS
- moodCode=EVN
- 48767-8].value (type=ST)
|
  DiagnosticReport / conclusionCode |
|
|
OBX |
- inboundRelationship[typeCode=SPRT].source[classCode=OBS
- moodCode=EVN
- 54531-9].value (type=CD)
|
  DiagnosticReport / presentedForm |
|
|
OBX |
text (type=ED) |
   DiagnosticReport / presentedForm / id |
|
|
|
n/a |
   DiagnosticReport / presentedForm / extension |
|
|
|
|
   DiagnosticReport / presentedForm / contentType |
|
|
ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used |
|
   DiagnosticReport / presentedForm / language |
|
|
|
./language |
   DiagnosticReport / presentedForm / data |
|
|
ED.5 |
./data |
   DiagnosticReport / presentedForm / url |
|
|
RP.1+RP.2 - if they refer to a URL (see v2.6) |
./reference/literal |
   DiagnosticReport / presentedForm / size |
|
|
|
N/A (needs data type R3 proposal) |
   DiagnosticReport / presentedForm / hash |
|
|
|
:ED/integrityCheckAlgorithm="SHA-1"] |
   DiagnosticReport / presentedForm / title |
|
|
|
./title/data |
   DiagnosticReport / presentedForm / creation |
|
|
|
N/A (needs data type R3 proposal) |
   DiagnosticReport / presentedForm / height |
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="OBS"
- moodCode="EVN"
- code="<CODE>"].value
|
   DiagnosticReport / presentedForm / width |
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="OBS"
- moodCode="EVN"
- code="<CODE>"].value
|
   DiagnosticReport / presentedForm / frames |
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="OBS"
- moodCode="EVN"
- code="<CODE>"].value
|
   DiagnosticReport / presentedForm / duration |
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="OBS"
- moodCode="EVN"
- code="<CODE>"].value
|
   DiagnosticReport / presentedForm / pages |
|
|
|
|
Documentation for this format |