Codes, extension, profiles and more
1.0.0 - ci-build Norway flag

Codes, extension, profiles and more - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile: HnBasisServiceRequest - Mappings

Draft as of 2024-06-12

Mappings for the hn-basis-serviceRequest resource profile.

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

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

HnBasisServiceRequest
ServiceRequestORC
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), ORC.2, ORC.3, RF1-6 / RF1-11,
      useN/A
      typeCE/CNE/CWE, CX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodDR, CX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   instantiatesCanonicalVaries by domain
   instantiatesUriVaries by domain
   basedOnORC.8 (plus others)
   replacesHandled by message location of ORC (ORC.1=RO or RU)
   requisitionCX / EI (occasionally, more often EI maps to a resource id or a URL), ORC.4
   statusORC.5,RF1-1
   intentN/A
   categoryCE/CNE/CWE, RF1-5
   priorityTQ1.9, RF1-2
   codeCE/CNE/CWE, PR1-3 / OBR-4 (varies by domain)
   orderDetailCE/CNE/CWE, NTE
   quantity[x]NTE
   subjectPID
      identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
         useN/A
         typeCE/CNE/CWE, CX.5
         systemCX.4 / EI-2-4
         valueCX.1 / EI.1
         periodDR, CX.7 + CX.8
         assignerCX.4 / (CX.4,CX.9,CX.10)
   encounterPV1
   occurrence[x]TQ1/TQ2, OBR-7/OBR-8
   authoredOnORC.9, RF1-7 / RF1-9
   requesterORC.12, PRT
   performerTypeCE/CNE/CWE, PRT, RF!-3
   performerPRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
   locationCodeCE/CNE/CWE
   reasonCodeCE/CNE/CWE, ORC.16, RF1-10
   reasonReferenceORC.16
   insuranceIN1/IN2
   supportingInfoAccompanying segments
   specimenSPM
   bodySiteCE/CNE/CWE, SPM
   noteN/A, NTE
   patientInstructionNTE
   relevantHistoryN/A

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

HnBasisServiceRequest
ServiceRequestEntity. Role, or Act, Act[moodCode<=INT]
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extensionn/a, N/A
   modifierExtensionn/a, N/A
   identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .identifier
      idn/a
      extensionn/a, N/A
      usen/a, Role.code or implied by context
      typen/a, CD, Role.code or implied by context
      systemn/a, II.root or Role.id.root
      valuen/a, II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], Role.effectiveTime or implied by context
      assignern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   instantiatesCanonicaln/a, .outboundRelationship[typeCode=DEFN].target
   instantiatesUrin/a, .outboundRelationship[typeCode=DEFN].target
   basedOnn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=FLFS].target
   replacesn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=RPLC].target
   requisitionn/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier
   statusn/a, .status
   intentn/a, .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
   categoryn/a, CD, .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code
   priorityn/a, .priorityCode
   doNotPerformn/a, .actionNegationInd
   coden/a, CD, .code
   orderDetailn/a, CD, .code
   quantity[x]n/a, .quantity
   subjectn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=SBJ].role
      idn/a
      extensionn/a, N/A
      typen/a, N/A
      identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .identifier
         idn/a
         extensionn/a, N/A
         usen/a, Role.code or implied by context
         typen/a, CD, Role.code or implied by context
         systemn/a, II.root or Role.id.root
         valuen/a, II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
         periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], Role.effectiveTime or implied by context
         assignern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
      displayn/a, N/A
   encountern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
   occurrence[x]n/a, .effectiveTime
   asNeeded[x]n/a, boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value
   authoredOnn/a, .participation[typeCode=AUT].time
   requestern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=AUT].role
   performerTypen/a, CD, .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
   performern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
   locationCoden/a, CD, .participation[typeCode=LOC].role[scoper.determinerCode=KIND].code
   locationReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=LOC].role[scoper.determinerCode=INSTANCE]
   reasonCoden/a, CD, .reasonCode
   reasonReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=RSON].target
   insurancen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COVBY].target
   supportingInfon/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=PERT].target
   specimenn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=SPC].role
   bodySiten/a, CD, targetSiteCode
   noten/a, Act, .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
   patientInstructionn/a, .text
   relevantHistoryn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

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

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

HnBasisServiceRequest
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