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_ServiceRequest - Mappings

Active as of 2024-09-23

Mappings for the PTServiceRequest resource profile.

Mappings for ()

PT_ServiceRequest
ServiceRequest
   extension (patientTransportNeed)OBR.41
   identifierORC2; ORC3
   basedOnORC.8
   requisitionORC.4
   statusORC1;ORC.5
   categoryORC.4.4
   priorityORC.7.6; OBR.5
   doNotPerformORC.1

When ORC.1='CA'

      extension (notPerformReason)ORC.16

When ORC.1='CA'

      extension (notPerformDecider)ORC.12

When ORC.1='CA'

   codeOBR.4
   orderDetailNTE.3

NTE ao nivel do ORC

   quantity[x]ORC.7.1
      valueOCR.7.1.1
      unitORC.7.1.2
   subjectPID.3
   encounterPV1.19; PV1.50
   occurrence[x]
      eventOBR.6
      repeat
         countOBR.12
   authoredOnORC.15
   requester
      referenceORC.12
   reasonCodeORC.16
   note
      textNTE.3

NTE ao nivel do MSH

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

PT_ServiceRequest
ServiceRequestRequest
   identifierRequest.identifier
   instantiatesCanonicalRequest.instantiatesCanonical
   instantiatesUriRequest.instantiatesUri
   basedOnRequest.basedOn
   replacesRequest.replaces
   requisitionRequest.groupIdentifier
   statusRequest.status
   intentRequest.intent
   priorityRequest.priority
   doNotPerformRequest.doNotPerform
   codeRequest.code
   subjectRequest.subject
   encounterRequest.encounter
   occurrence[x]Request.occurrence[x]
   authoredOnRequest.authoredOn
   requesterRequest.requester
   performerTypeRequest.performerType
   performerRequest.performer
   reasonCodeRequest.reasonCode
   reasonReferenceRequest.reasonReference
   insuranceRequest.insurance
   supportingInfoRequest.supportingInfo
   noteRequest.note
   relevantHistoryRequest.relevantHistory

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

PT_ServiceRequest
ServiceRequestORC
   extension (statusReason)Varies by domain
   identifierORC.2, ORC.3, RF1-6 / RF1-11,
   instantiatesCanonicalVaries by domain
   instantiatesUriVaries by domain
   basedOnORC.8 (plus others)
   replacesHandled by message location of ORC (ORC.1=RO or RU)
   requisitionORC.4
   statusORC.5,RF1-1
   intentN/A
   categoryRF1-5
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   priorityTQ1.9, RF1-2
   codePR1-3 / OBR-4 (varies by domain)
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   orderDetailNTE
   quantity[x]NTE
      valueSN.2 / CQ - N/A
      comparatorSN.1 / CQ.1
      unit(see OBX.6 etc.) / CQ.2
      system(see OBX.6 etc.) / CQ.2
      code(see OBX.6 etc.) / CQ.2
   subjectPID
   encounterPV1
   occurrence[x]TQ1/TQ2, OBR-7/OBR-8
   authoredOnORC.9, RF1-7 / RF1-9
   requesterORC.12, PRT
   performerTypePRT, RF!-3
   performerPRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
   reasonCodeORC.16, RF1-10
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   reasonReferenceORC.16
   insuranceIN1/IN2
   supportingInfoAccompanying segments
   specimenSPM
   bodySiteSPM
   noteNTE
      author[x]N/A
      timeN/A
      textN/A
   patientInstructionNTE
   relevantHistoryN/A

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

PT_ServiceRequest
ServiceRequestEntity. Role, or Act, Act[moodCode<=INT]
   textAct.text?
   containedN/A
   extension (patientTransportNeed)n/a, N/A
   extension (statusReason).inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde
   modifierExtensionN/A
   identifier.identifier
   instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
   instantiatesUri.outboundRelationship[typeCode=DEFN].target
   basedOn.outboundRelationship[typeCode=FLFS].target
   replaces.outboundRelationship[typeCode=RPLC].target
   requisition.inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier
   status.status
   intent.moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
   category.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   priority.priorityCode
   doNotPerform.actionNegationInd
   code.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   orderDetail.code
   quantity[x].quantity
      idn/a
      extensionn/a
      valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
      comparatorIVL properties
      unitPQ.unit
      systemCO.codeSystem, PQ.translation.codeSystem
      codePQ.code, MO.currency, PQ.translation.code
   subject.participation[typeCode=SBJ].role
   encounter.inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
   occurrence[x].effectiveTime
      idn/a
      extensionn/a
      modifierExtensionN/A
      eventQLIST<TS>
      repeatImplies PIVL or EIVL
         idn/a
         extensionn/a
         bounds[x]IVL(TS) used in a QSI
         countPIVL.count
         countMaxPIVL.count
         durationPIVL.phase
         durationMaxPIVL.phase
         durationUnitPIVL.phase.unit
         frequencyPIVL.phase
         frequencyMaxPIVL.phase
         periodPIVL.phase
         periodMaxPIVL.phase
         periodUnitPIVL.phase.unit
         dayOfWeekn/a
         timeOfDayn/a
         whenEIVL.event
         offsetEIVL.offset
      codeQSC.code
   asNeeded[x]boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value
   authoredOn.participation[typeCode=AUT].time
   requester.participation[typeCode=AUT].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   performerType.participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
   performer.participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
   locationCode.participation[typeCode=LOC].role[scoper.determinerCode=KIND].code
   locationReference.participation[typeCode=LOC].role[scoper.determinerCode=INSTANCE]
   reasonCode.reasonCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   reasonReference.outboundRelationship[typeCode=RSON].target
   insurance.outboundRelationship[typeCode=COVBY].target
   supportingInfo.outboundRelationship[typeCode=PERT].target
   specimen.participation[typeCode=SPC].role
   bodySitetargetSiteCode
   note.inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
      idn/a
      extensionn/a
      author[x]Act.participant[typeCode=AUT].role
      timeAct.effectiveTime
      textAct.text
   patientInstruction.text
   relevantHistory.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

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

PT_ServiceRequest
ServiceRequest
   identifierFiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   categoryFiveWs.class
   priorityFiveWs.grade
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   occurrence[x]FiveWs.planned
   authoredOnFiveWs.recorded
   requesterFiveWs.author
   performerTypeFiveWs.actor
   performerFiveWs.actor
   locationCodeFiveWs.actor
   locationReferenceFiveWs.actor
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

Mappings for Quality Improvement and Clinical Knowledge (QUICK) (http://siframework.org/cqf)

PT_ServiceRequest
ServiceRequest
   identifierClinicalStatement.identifier
   statusAction.currentStatus
   codeProcedure.procedureCode
   orderDetailProcedure.procedureCode
   subjectClinicalStatement.subject
   encounterClinicalStatement.encounter
   occurrence[x]Procedure.procedureSchedule
   asNeeded[x]Proposal.prnReason.reason
   authoredOnProposal.proposedAtTime
   requesterClinicalStatement.statementAuthor
   bodySiteProcedure.targetBodySite
   noteClinicalStatement.additionalText