HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/core/ and changes regularly. See the Directory of published versions
Mappings for the PTDiagnosticReportLaboratory resource profile.
PT_DiagnosticReportLaboratory |
DiagnosticReport | ORU -> OBR |
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 |
use | N/A |
type | CX.5 |
coding | C*E.1-8, C*E.10-22 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
text | C*E.9. But note many systems use C*E.2 for this |
system | CX.4 / EI-2-4 |
value | CX.1 / EI.1 |
period | CX.7 + CX.8 |
assigner | CX.4 / (CX.4,CX.9,CX.10) |
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) |
coding | C*E.1-8, C*E.10-22 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
text | C*E.9. But note many systems use C*E.2 for this |
subject | PID-3 (no HL7 v2 mapping for Group or Device) |
encounter | PV1-19 |
effective[x] | 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) |
PT_DiagnosticReportLaboratory |
DiagnosticReport | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN] |
text | Act.text? |
contained | N/A |
extension | N/A |
modifierExtension | N/A |
identifier | id |
id | n/a |
extension | n/a |
use | Role.code or implied by context |
type | Role.code or implied by context |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
system | II.root or Role.id.root |
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
period | Role.effectiveTime or implied by context |
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
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 |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
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 |
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] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
specimen | participation[typeCode=SBJ] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
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) |