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 PTTask resource profile.
PT_Task |
Task | |
identifier | ORC-2, ORC-3, ORC-8 |
value | ORC-2.1, ORC-3.1, ORC-8.1 |
assigner | |
display | ORC-2.2, ORC-3.2, ORC-8.2 |
groupIdentifier | ORC-4, RXE-15 |
value | ORC-4.1, RXE-15.1 |
assigner | |
display | ORC-4.2 |
status | ORC-1 |
statusReason | ORC-16 |
coding | |
system | ORC-16.3 |
code | ORC-16.1 |
display | ORC-16.2 |
text | Translation to [PT] of display field |
intent | MSH-9 -> OMP^O09 = order; RDE^O11 = original-order |
priority | ORC-7.6, RXE-1.6 |
code | |
coding | |
code | before status = "completed" -> code = approve; after status = "completed" -> code = fulfill |
focus | |
reference | MedicationRequest/ORC-2.1, ORC-3.1, ORC-8.1 |
for | |
reference | Patient/PID-3 c/ SNS, PID-18.1, PID-3 c/ SONHO |
encounter | |
reference | Encounter/PV1-19, PV1-50 |
authoredOn | ORC-15 |
lastModified | ORC-9 |
owner | |
reference | Organization/MSH-6 |
insurance | |
reference | Coverage/IN1-2, IN1-3 |
input | |
value[x] | |
reference | Practitioner/ORC-11 |
PT_Task |
Task | Request, Event |
identifier | Request.identifier, Event.identifier |
instantiatesCanonical | Request.instantiatesCanonical, Event.instantiatesCanonical |
instantiatesUri | Event.instantiatesUrl |
basedOn | Request.basedOn, Event.basedOn |
groupIdentifier | Request.groupIdentifier |
partOf | Event.partOf |
status | Request.status, Event.status |
intent | Request.intent |
priority | Request.priority |
code | Request.code, Event.code |
for | Request.subject, Event.subject |
encounter | Request.context, Event.context |
executionPeriod | Event.occurrence[x] |
authoredOn | Request.authoredOn |
requester | Request.requester |
performerType | Event.performer.role, Request.performerType |
owner | Event.performer.actor, Request.performer |
location | Request.reasonCode, Event.reasonCode |
reasonCode | Event.location |
reasonReference | Request.reasonReference, Event.reasonReference |
insurance | Request.insurance |
note | Request.note, Event.note |
relevantHistory | Request.relevantHistory |
PT_Task |
Task | Entity. Role, or Act, ControlAct[moodCode=INT] |
text | Act.text? |
contained | 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 |
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 |
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target |
instantiatesUri | .outboundRelationship[typeCode=DEFN].target |
basedOn | .outboundRelationship[typeCode=FLFS].target[moodCode=INT] |
groupIdentifier | .inboundRelationship[typeCode=COMP].source[moodCode=INT].id |
id | n/a |
extension | n/a |
use | Role.code or implied by context |
type | Role.code or implied by context |
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 |
partOf | .inboundRelationship[typeCode=COMP].source[moodCode=INT] |
status | .statusCode |
statusReason | .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode |
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 |
businessStatus | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"] |
intent | .moodCode |
priority | .priorityCode |
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 |
description | .text |
focus | .outboundRelationship[typeCode=SUBJ].target |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
for | .participation[typeCode=RCT].role |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
encounter | .inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN] |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
executionPeriod | .effectiveTime |
authoredOn | .participation[typeCode=AUT].time |
lastModified | .inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime |
requester | .participation[typeCode=AUT].role |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
performerType | .participation[typeCode=PRF].role.code |
owner | .participation[typeCode=PRF].role |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
location | .participation[typeCode=LOC].role |
reasonCode | .reasonCode |
reasonReference | .outboundRelationship[typeCode=RSON].target |
insurance | .outboundRelationship[typeCode=COVBY].target |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
note | .inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string) |
relevantHistory | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN] |
restriction | Instead of pointing to request, would point to component of request, having these characteristics |
id | n/a |
extension | n/a |
modifierExtension | N/A |
repetitions | .repeatNumber |
period | .effectiveTime(IVL<TS>) |
recipient | .participation[typeCode=SBJ].role |
input | ??? |
id | n/a |
extension | n/a |
modifierExtension | N/A |
type | ??? |
id | n/a |
extension | n/a |
coding | union(., ./translation) |
text | ./originalText[mediaType/code="text/plain"]/data |
value[x] | ??? |
id | n/a |
extension | n/a |
reference | N/A |
type | N/A |
identifier | .identifier |
display | N/A |
output | ??? |
id | n/a |
extension | n/a |
modifierExtension | N/A |
type | ??? |
value[x] | ??? |