Magentus Practice Management FHIR Implementation Guide
1.2.16 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.16) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: GSImagingReportEntryReport - Mappings

Draft as of 2024-08-15

Mappings for the gs-imagingreport-entry-report resource profile.

### Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

GSImagingReportEntryReport
DiagnosticReport | Event
contained |
contained (encounter) | Event
identifier | Event.identifier
status | Event.status
type | Event.code
serviceType | Event.code
subject | Event.subject
episodeOfCare | Event.context
basedOn | Event.basedOn
participant | Event.performer
type | Event.performer.function
individual | Event.performer.actor
appointment | Event.basedOn
period | Event.occurrence[x]
length | Event.occurrence[x]
reasonCode | Event.reasonCode
reasonReference | Event.reasonCode
diagnosis |
condition | Event.reasonReference
location |
location | Event.location
serviceProvider | Event.performer.actor
partOf | Event.partOf
basedOn | Event.basedOn
status | Event.status
code | Event.code
subject | Event.subject
encounter | Event.encounter
effective[x] | Event.occurrence[x]
effective[x] (effectiveDateTime) | Event.occurrence[x]
performer | Event.performer.actor
resultsInterpreter | Event.performer.actor

### Mappings for HL7 v2 Mapping (http://hl7.org/v2)

GSImagingReportEntryReport
DiagnosticReport | ORU -> OBR
contained |
contained (encounter) |
identifier | PV1-19
status | No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16
class | PV1-2
type | PV1-4 / PV1-18
serviceType | PV1-10
priority | PV2-25
subject | PID-3
episodeOfCare | PV1-54, PV1-53
participant | ROL
type | ROL-3 (or maybe PRT-4)
period | ROL-5, ROL-6 (or maybe PRT-5)
individual | ROL-4
appointment | SCH-1 / SCH-2
period | PV1-44, PV1-45
length | (PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
reasonCode | EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
reasonReference | EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
diagnosis |
condition | Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.
hospitalization |
preAdmissionIdentifier | PV1-5
admitSource | PV1-14
reAdmission | PV1-13
dietPreference | PV1-38
specialCourtesy | PV1-16
specialArrangement | PV1-15 / OBR-30 / OBR-43
destination | PV1-37
dischargeDisposition | PV1-36
location |
location | PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
serviceProvider | PL.6 & PL.1
identifier | CX / EI (occasionally, more often EI maps to a resource id or a URL)
identifier (order-number) | CX / EI (occasionally, more often EI maps to a resource id or a URL)
identifier (report-id) | CX / EI (occasionally, more often EI maps to a resource id or a URL)
identifier (accession-number) | CX / EI (occasionally, more often EI maps to a resource id or a URL)
basedOn | ORC? OBR-2/3?
status | OBR-25 (not 1:1 mapping)
category | OBR-24
code | OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)
subject | PID-3 (no HL7 v2 mapping for Group or Device)
encounter | PV1-19
effective[x] | OBR-7
effective[x] (effectiveDateTime) | OBR-7
issued | OBR-22
performer | PRT-8 (where this PRT-4-Participation = "PO")
resultsInterpreter | OBR-32, PRT-8 (where this PRT-4-Participation = "PI")
specimen | SPM
result | OBXs
media | OBX?
conclusion | OBX
conclusionCode | OBX
presentedForm | OBX
contentType | ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used
data | ED.5
url | RP.1+RP.2 - if they refer to a URL (see v2.6)

### Mappings for RIM Mapping (http://hl7.org/v3)

GSImagingReportEntryReport
DiagnosticReport | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
text | Act.text?
contained | N/A
contained (encounter) | Entity. Role, or Act, Encounter[@moodCode='EVN']
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .id
status | .statusCode
statusHistory | n/a
id | n/a
extension | n/a
modifierExtension | N/A
status | n/a
period | n/a
class | .inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
classHistory | n/a
id | n/a
extension | n/a
modifierExtension | N/A
class | n/a
period | n/a
type | .code
serviceType | n/a
priority | .priorityCode
subject | .participation[typeCode=SBJ]/role[classCode=PAT]
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
episodeOfCare | n/a
basedOn | .reason.ClinicalDocument
participant | .participation[typeCode=PFM]
id | n/a
extension | n/a
modifierExtension | N/A
type | .functionCode
period | .time
individual | .role
appointment | .outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]
period | .effectiveTime (low & high)
length | .lengthOfStayQuantity
reasonCode | .reasonCode
reasonReference | .reasonCode
diagnosis | .outboundRelationship[typeCode=RSON]
id | n/a
extension | n/a
modifierExtension | N/A
condition | .outboundRelationship[typeCode=RSON].target
use | n/a
rank | .outboundRelationship[typeCode=RSON].priority
account | .pertains.A_Account
hospitalization | .outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]
id | n/a
extension | n/a
modifierExtension | N/A
preAdmissionIdentifier | .id
origin | .participation[typeCode=ORG].role
admitSource | .admissionReferralSourceCode
reAdmission | n/a
dietPreference | .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]
specialCourtesy | .specialCourtesiesCode
specialArrangement | .specialArrangementCode
destination | .participation[typeCode=DST]
dischargeDisposition | .dischargeDispositionCode
location | .participation[typeCode=LOC]
id | n/a
extension | n/a
modifierExtension | N/A
location | .role
status | .role.statusCode
period | .time
serviceProvider | .particiaption[typeCode=PFM].role
partOf | .inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]
extension | N/A
modifierExtension | N/A
identifier | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
identifier (order-number) | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
identifier (report-id) | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
identifier (accession-number) | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
basedOn | outboundRelationship[typeCode=FLFS].target
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
status | statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type "revise"
category | inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code
code | code
subject | participation[typeCode=SBJ]
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
encounter | inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
effective[x] | effectiveTime
effective[x] (effectiveDateTime) | effectiveTime
issued | participation[typeCode=VRF or AUT].time
performer | .participation[typeCode=PRF]
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
resultsInterpreter | .participation[typeCode=PRF]
specimen | participation[typeCode=SBJ]
result | outboundRelationship[typeCode=COMP].target
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
imagingStudy | outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]
media | 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 | inboundRelationship[typeCode="SPRT"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)
conclusionCode | inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)
presentedForm | text (type=ED)
id | n/a
extension | n/a
contentType | ./mediaType, ./charset
language | ./language
data | ./data
url | ./reference/literal
size | N/A (needs data type R3 proposal)
hash | .integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"]
title | ./title/data
creation | N/A (needs data type R3 proposal)

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

GSImagingReportEntryReport
DiagnosticReport |
contained |
contained (encounter) |
identifier | FiveWs.identifier
status | FiveWs.status
class | FiveWs.class
type | FiveWs.class
priority | FiveWs.grade
subject | FiveWs.subject[x], FiveWs.subject
episodeOfCare | FiveWs.context
participant |
individual | FiveWs.who
period | FiveWs.done[x]
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]
diagnosis |
condition | FiveWs.why[x]
location |
location | FiveWs.where[x]
status | FiveWs.status
category | FiveWs.class
code | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
effective[x] | FiveWs.done[x]
effective[x] (effectiveDateTime) | FiveWs.done[x]
issued | FiveWs.recorded
performer | FiveWs.actor
resultsInterpreter | FiveWs.actor