Bidirectional Services eReferral (BSeR)
2.0.0-ballot - STU2 United States of America flag

This page is part of the Bidirectional Services eReferrals (BSeR) (v2.0.0-ballot: STU 2) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

Resource Profile: ReferralTask - Mappings

Active as of 2023-07-31

Mappings for the referral-task resource profile.

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

ReferralTask
TaskRequest, Event
   identifierRequest.identifier, Event.identifier
   identifier (referralInitiatorTaskIdentifier)Request.identifier, Event.identifier
   identifier (referralRecipientTaskIdentifier)Request.identifier, Event.identifier
   instantiatesCanonicalRequest.instantiatesCanonical, Event.instantiatesCanonical
   instantiatesUriEvent.instantiatesUrl
   basedOnRequest.basedOn, Event.basedOn
   groupIdentifierRequest.groupIdentifier
   partOfEvent.partOf
   partOf (supportedPartOf)Event.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)

ReferralTask
TaskEntity. Role, or Act, ControlAct[moodCode=INT]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   identifier (referralInitiatorTaskIdentifier).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
   identifier (referralRecipientTaskIdentifier).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
   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]
   partOf (supportedPartOf).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)
      text./originalText[mediaType/code="text/plain"]/data
   businessStatus.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   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???
      value[x]???

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

ReferralTask
Task
   identifierFiveWs.identifier
   identifier (referralInitiatorTaskIdentifier)FiveWs.identifier
   identifier (referralRecipientTaskIdentifier)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)

ReferralTask
Task
   identifier
   identifier (referralInitiatorTaskIdentifier)
      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)
   identifier (referralRecipientTaskIdentifier)
      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
      textC*E.9. But note many systems use C*E.2 for this
   businessStatus
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   reasonCodeEVN.7
   insuranceIN1/IN2