HIV Case-Based Surveillance
0.2.0 - CI Build International flag

HIV Case-Based Surveillance, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.2.0). This version is based on the current content of https://github.com/openhie/HIV-CBS and changes regularly. See the Directory of published versions

Resource Profile: HIVLabTask - Mappings

Active as of 2023-04-04

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.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)

HIVLabTask
TaskEntity. Role, or Act, ControlAct[moodCode=INT]
   textAct.text?
   containedN/A
   extensionN/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
   businessStatus.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]
   intent.moodCode
   priority.priorityCode
   code.code
   description.text
   focus.outboundRelationship[typeCode=SUBJ].target
   for.participation[typeCode=RCT].role
   encounter.inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]
   executionPeriod.effectiveTime
   authoredOn.participation[typeCode=AUT].time
   lastModified.inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime
   requester.participation[typeCode=AUT].role
   performerType.participation[typeCode=PRF].role.code
   owner.participation[typeCode=PRF].role
   location.participation[typeCode=LOC].role
   reasonCode.reasonCode
   reasonReference.outboundRelationship[typeCode=RSON].target
   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 FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

HIVLabTask
Task
   identifierFiveWs.identifier
   identifier (FILL)FiveWs.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)

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)
   reasonCodeEVN.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