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: GSPathologyReport - Mappings

Draft as of 2024-08-15

Mappings for the gs-pathology-report resource profile.

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

GSPathologyReport
DiagnosticReport | Event
contained (encounter) | Event
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)

GSPathologyReport
DiagnosticReport | ORU -> OBR
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)

GSPathologyReport
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']
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
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)

GSPathologyReport
DiagnosticReport |
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