HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
0.0.1 - STU1 International flag

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

Resource Profile: PT_Task - Mappings

Active as of 2024-09-23

Mappings for the PTTask resource profile.

Mappings for ()

PT_Task
Task
   priorityTQ1-9

Mappings for ()

PT_Task
Task
   identifierORC-2, ORC-3, ORC-8
      valueORC-2.1, ORC-3.1, ORC-8.1
      assigner
         displayORC-2.2, ORC-3.2, ORC-8.2
   groupIdentifierORC-4, RXE-15
      valueORC-4.1, RXE-15.1
      assigner
         displayORC-4.2
   statusORC-1
   statusReasonORC-16
      coding
         systemORC-16.3
         codeORC-16.1
         displayORC-16.2
      textTranslation to [PT] of display field
   intentMSH-9 -> OMP^O09 = order; RDE^O11 = original-order
   priorityORC-7.6, RXE-1.6
   code
      coding
         codebefore status = "completed" -> code = approve; after status = "completed" -> code = fulfill
   focus
      referenceMedicationRequest/ORC-2.1, ORC-3.1, ORC-8.1
   for
      referencePatient/PID-3 c/ SNS, PID-18.1, PID-3 c/ SONHO
   encounter
      referenceEncounter/PV1-19, PV1-50
   authoredOnORC-15
   lastModifiedORC-9
   owner
      referenceOrganization/MSH-6
   insurance
      referenceCoverage/IN1-2, IN1-3
   input
      value[x]
         referencePractitioner/ORC-11

Mappings for ()

PT_Task
Task
   requester
      referencePractitioner/ORC-12, RXO-14, RXE-13

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

PT_Task
TaskRequest, Event
   identifierRequest.identifier, Event.identifier
   instantiatesCanonicalRequest.instantiatesCanonical, Event.instantiatesCanonical
   instantiatesUriEvent.instantiatesUrl
   basedOnRequest.basedOn, Event.basedOn
   groupIdentifierRequest.groupIdentifier
   partOfEvent.partOf
   statusRequest.status, Event.status
   intentRequest.intent
   priorityRequest.priority
   codeRequest.code, Event.code
   forRequest.subject, Event.subject
   encounterRequest.context, Event.context
   executionPeriodEvent.occurrence[x]
   authoredOnRequest.authoredOn
   requesterRequest.requester
   performerTypeEvent.performer.role, Request.performerType
   ownerEvent.performer.actor, Request.performer
   locationRequest.reasonCode, Event.reasonCode
   reasonCodeEvent.location
   reasonReferenceRequest.reasonReference, Event.reasonReference
   insuranceRequest.insurance
   noteRequest.note, Event.note
   relevantHistoryRequest.relevantHistory

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

PT_Task
TaskEntity. Role, or Act, ControlAct[moodCode=INT]
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/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
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
   partOf.inboundRelationship[typeCode=COMP].source[moodCode=INT]
   status.statusCode
   statusReason.inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.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
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   description.text
   focus.outboundRelationship[typeCode=SUBJ].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   for.participation[typeCode=RCT].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   encounter.inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   executionPeriod.effectiveTime
   authoredOn.participation[typeCode=AUT].time
   lastModified.inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime
   requester.participation[typeCode=AUT].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   performerType.participation[typeCode=PRF].role.code
   owner.participation[typeCode=PRF].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   location.participation[typeCode=LOC].role
   reasonCode.reasonCode
   reasonReference.outboundRelationship[typeCode=RSON].target
   insurance.outboundRelationship[typeCode=COVBY].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   note.inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string)
   relevantHistory.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]
   restrictionInstead of pointing to request, would point to component of request, having these characteristics
      idn/a
      extensionn/a
      modifierExtensionN/A
      repetitions.repeatNumber
      period.effectiveTime(IVL<TS>)
      recipient.participation[typeCode=SBJ].role
   input???
      idn/a
      extensionn/a
      modifierExtensionN/A
      type???
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      value[x]???
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
   output???
      idn/a
      extensionn/a
      modifierExtensionN/A
      type???
      value[x]???

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

PT_Task
Task
   identifierFiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   priorityFiveWs.grade
   codeFiveWs.what[x]
   focusFiveWs.what[x]
   forFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   executionPeriodFiveWs.done[x]
   authoredOnFiveWs.recorded
   requesterFiveWs.author
   performerTypeFiveWs.actor
   ownerFiveWs.actor
   locationFiveWs.where[x]
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

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

PT_Task
Task
   identifier
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   groupIdentifier
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusReason
      codingC*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   code
      codingC*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   reasonCodeEVN.7
   insuranceIN1/IN2
   input
      type
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this