HL7 FHIR Implementation Guide: Rwanda HIV
0.1.0 - STU1 International flag

HL7 FHIR Implementation Guide: Rwanda HIV, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/openhie/Rwanda-HIV and changes regularly. See the Directory of published versions

Resource Profile: HIVLabTask - Mappings

Active as of 2023-09-15

Mappings for the hiv-lab-task resource profile.

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

HIVLabTask
TaskRequest, Event
   identifierRequest.identifier, Event.identifier
   identifier (FILL)Request.identifier, Event.identifier
   instantiatesCanonicalRequest.instantiatesCanonical, Event.instantiatesCanonical
   instantiatesUriEvent.instantiatesUri
   basedOnRequest.basedOn, Event.basedOn
   groupIdentifierRequest.groupIdentifier
   partOfEvent.partOf
   statusRequest.status, Event.status
   intentRequest.intent
   priorityRequest.priority
   doNotPerformRequest.code, Event.code
   codeRequest.code, Event.code
   forRequest.subject, Event.subject
   encounterRequest.encounter, Event.encounter
   requestedPeriodRequest.occurrence[x]
   executionPeriodEvent.occurrence[x]
   authoredOnRequest.authoredOn
   requesterRequest.requester
   requestedPerformerEvent.performer.function, Request.performerType
   ownerEvent.performer.actor, Request.performer
   reasonEvent.reason, Request.reason
   insuranceRequest.insurance
   noteRequest.note, Event.note
   relevantHistoryRequest.relevantHistory

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

HIVLabTask
Taskworkflow.order
   identifierFiveWs.identifier
   identifier (FILL)FiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   priorityFiveWs.grade
   doNotPerformFiveWs.what[x]
   codeFiveWs.what[x]
   focusFiveWs.what[x]
   forFiveWs.subject[x]
   encounterFiveWs.context
   executionPeriodFiveWs.done[x]
   authoredOnFiveWs.recorded
   requesterFiveWs.author
   requestedPerformerFiveWs.actor
   ownerFiveWs.actor
   locationFiveWs.where[x]
   reasonFiveWs.why[x]

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

HIVLabTask
TaskEntity, Role, or Act,ControlAct[moodCode=INT]
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
   identifier (FILL).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
         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
      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
   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
   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
      conceptN/A
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      referenceN/A
   businessStatus.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]
   intent.moodCode
   priority.priorityCode
   doNotPerform.code
   code.code
   description.text
   focus.outboundRelationship[typeCode=SUBJ].target
   for.participation[typeCode=RCT].role
   encounter.inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]
   requestedPeriod.effectiveTime
   executionPeriod.effectiveTime
   authoredOn.participation[typeCode=AUT].time
   lastModified.inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime
   requester.participation[typeCode=AUT].role
   requestedPerformer.participation[typeCode=PRF].role.code
   owner.participation[typeCode=PRF].role
   performer
      idn/a
      extensionn/a
      modifierExtensionN/A
   location.participation[typeCode=LOC].role
   reason.reasonCode
   insurance.outboundRelationship[typeCode=COVBY].target
   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???
      value[x]???
   output???
      idn/a
      extensionn/a
      modifierExtensionN/A
      type???
         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
      value[x]???
      value[x] (valueReference)???

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

HIVLabTask
Task
   identifier
   identifier (FILL)
      useN/A
      typeCX.5
         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
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusReason
      concept
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
   reasonEVN.7
   insuranceIN1/IN2
   output
      type
         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