Implementation Guide for Astacus project
0.0.1 - ci-build France flag

Implementation Guide for Astacus project - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: AstacusLaboratoryResultObservationProfile - Mappings

Draft as of 2024-05-23

Mappings for the astacus-observation-lab resource profile.

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

AstacusLaboratoryResultObservationProfile
ObservationEvent
   identifierEvent.identifier
   basedOnEvent.basedOn
   partOfEvent.partOf
   statusEvent.status
   codeEvent.code
   subjectEvent.subject
   encounterEvent.context
   effective[x]Event.occurrence[x]
   performerEvent.performer.actor

Mappings for SNOMED CT Concept Domain Binding (http://snomed.info/conceptdomain)

AstacusLaboratoryResultObservationProfile
Observation< 363787002 |Observable entity|
   status< 445584004 |Report by finality status|
   code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
   value[x]< 441742003 |Evaluation finding|
   interpretation< 260245000 |Findings values|
   bodySite< 123037004 |Body structure|
   specimen< 123038009 |Specimen|
   device< 49062001 |Device|
   referenceRange
      type< 260245000 |Findings values| OR < 365860008 |General clinical state finding| OR < 250171008 |Clinical history or observation findings| OR < 415229000 |Racial group| OR < 365400002 |Finding of puberty stage| OR < 443938003 |Procedure carried out on subject|
      appliesTo< 260245000 |Findings values| OR < 365860008 |General clinical state finding| OR < 250171008 |Clinical history or observation findings| OR < 415229000 |Racial group| OR < 365400002 |Finding of puberty stage| OR < 443938003 |Procedure carried out on subject|
   component
      code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
      value[x]363714003 |Interprets| < 441742003 |Evaluation finding|
      interpretation< 260245000 |Findings values|

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

AstacusLaboratoryResultObservationProfile
ObservationOBX
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4.
   basedOnORC
   partOfVaries by domain
   statusOBX-11
   categoryCE/CNE/CWE
   category (Laboratory)CE/CNE/CWE
   codeCE/CNE/CWE, OBX-3
   subjectPID-3
   focusOBX-3
   encounterPV1
   effective[x]OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)
   issuedOBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)
   performerOBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'
   value[x]OBX.2, OBX.5, OBX.6
   dataAbsentReasonCE/CNE/CWE, N/A
   interpretationCE/CNE/CWE, OBX-8
   noteN/A, NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)
   bodySiteCE/CNE/CWE, OBX-20
   methodCE/CNE/CWE, OBX-17
   specimenSPM segment
   deviceOBX-17 / PRT -10
   referenceRangeOBX.7
      lowSN (see also Range) or CQ, OBX-7
      highSN (see also Range) or CQ, OBX-7
      typeCE/CNE/CWE, OBX-10
      appliesToCE/CNE/CWE, OBX-10
      ageNR and also possibly SN (but see also quantity)
      textOBX-7
   hasMemberRelationships established by OBX-4 usage
   derivedFromRelationships established by OBX-4 usage
   componentcontainment by OBX-4?
      codeCE/CNE/CWE, OBX-3
      value[x]OBX.2, OBX.5, OBX.6
      dataAbsentReasonCE/CNE/CWE, N/A
      interpretationCE/CNE/CWE, OBX-8
      referenceRangeOBX.7

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

AstacusLaboratoryResultObservationProfile
ObservationEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   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], id
   basedOnn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=COMP].source[moodCode=EVN]
   partOfn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=FLFS].target
   statusn/a, status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of "revise"
   categoryn/a, CD, .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
   category (Laboratory)n/a, CD, .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
   coden/a, CD, code
   subjectn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), participation[typeCode=RTGT]
   focusn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), participation[typeCode=SBJ]
   encountern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
   effective[x]n/a, effectiveTime
   issuedn/a, participation[typeCode=AUT].time
   performern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), participation[typeCode=PRF]
   value[x]n/a, value
   dataAbsentReasonn/a, CD, value.nullFlavor
   interpretationn/a, CD, interpretationCode
   noten/a, Act, subjectOf.observationEvent[code="annotation"].value
   bodySiten/a, CD, targetSiteCode
   methodn/a, CD, methodCode
   specimenn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), participation[typeCode=SPC].specimen
   devicen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), participation[typeCode=DEV]
   referenceRangen/a, outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      lown/a, PQ, IVL<PQ>, MO, CO, depending on the values, value:IVL_PQ.low
      highn/a, PQ, IVL<PQ>, MO, CO, depending on the values, value:IVL_PQ.high
      typen/a, CD, interpretationCode
      appliesTon/a, CD, interpretationCode
      agen/a, IVL<QTY[not(type="TS")]> [lowClosed="true" and highClosed="true"]or URG<QTY[not(type="TS")]>, outboundRelationship[typeCode=PRCN].targetObservationCriterion[code="age"].value
      textn/a, value:ST
   hasMembern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), outBoundRelationship
   derivedFromn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .targetObservation
   componentn/a, outBoundRelationship[typeCode=COMP]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      coden/a, CD, code
      value[x]n/a, value
      dataAbsentReasonn/a, CD, value.nullFlavor
      interpretationn/a, CD, interpretationCode
      referenceRangeoutboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]

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

AstacusLaboratoryResultObservationProfile
Observation
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   category (Laboratory)FiveWs.class
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   focusFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   effective[x]FiveWs.done[x]
   issuedFiveWs.recorded
   performerFiveWs.actor
   component
      codeFiveWs.what[x]

Mappings for SNOMED CT Attribute Binding (http://snomed.org/attributebinding)

AstacusLaboratoryResultObservationProfile
Observation
   code116680003 |Is a|
   value[x]363714003 |Interprets|
   interpretation363713009 |Has interpretation|
   bodySite718497002 |Inherent location|
   specimen704319004 |Inherent in|
   device424226004 |Using device|
   component
      value[x]363714003 |Interprets|
      interpretation363713009 |Has interpretation|