FHIR Osiris Implementation Guide
2.1.0 - ci-build

FHIR Osiris Implementation Guide - Local Development build (v2.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: BiologicalSample - Mappings

Draft as of 2024-03-21

Mappings for the onco-biological-sample resource profile.

Mappings for Fhir-osiris to osiris (Patient)

BiologicalSample
SpecimenBiologicalSample

Biological sample description

   extension
   extension (BiologicalSampleOrigin)
      value[x] (valueCodeableConcept)OSIRIS_pivot_BiologicalSample.BiologicalSample_Origin
   extension (BasedOnCondition)
      value[x] (valueReference)OSIRIS_pivot_BiologicalSample.TumorPathologyEvent_Ref
   identifierOSIRIS_pivot_BiologicalSample.BiologicalSample_ExternalAccession
   typeOSIRIS_pivot_BiologicalSample.BiologicalSample_Nature
   subjectOSIRIS_pivot_BiologicalSample.Patient_Id
   parentOSIRIS_pivot_BiologicalSample.BiologicalSample_ParentExternalAccession
   collection
      collected[x] (collectedDateTime)OSIRIS_pivot_BiologicalSample.BiologicalSample_CollectDate
      quantity
         valueOSIRIS_pivot_BiologicalSample.BiologicalSample_TumorCellularity
      bodySiteOSIRIS_pivot_BiologicalSample.BiologicalSample_TopographyCode
   conditionOSIRIS_pivot_BiologicalSample.BiologicalSample_StorageTemperature

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

BiologicalSample
SpecimenEntity. Role, or Act, Role[classCode=SPEC]
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extension
   extension (BiologicalSampleOrigin)
      idn/a
      urlN/A
      value[x]n/a, N/A
      value[x] (valueCodeableConcept)n/a, N/A
         idn/a
         extensionn/a, N/A
         codingn/a, CV, union(., ./translation)
         textn/a, ./originalText[mediaType/code="text/plain"]/data
   extension (BasedOnCondition)
      idn/a
      urlN/A
      value[x]n/a, N/A
      value[x] (valueReference)n/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
   accessionIdentifiern/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], .participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id
   statusn/a, status
   typen/a, CD, .code
   subjectn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .scoper or .scoper.playsRole
   receivedTimen/a, .participation[typeCode=SBJ].act[code=SPCREC, moodCode=EVN].effectiveTime
   parentn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)
   requestn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), outboundRelationship[typeCode=FLFS].target
   collectionn/a, .participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      collectorn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=PFM].role
      collected[x]n/a, .effectiveTime
      collected[x] (collectedDateTime)n/a, .effectiveTime
      durationn/a, PQ, IVL<PQ>, MO, CO, depending on the values, PQ, IVL<PQ> depending on the values
      quantityn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .participation[typeCode=SBJ].role[classCode=SPEC].player.quantity
         idn/a
         extensionn/a, N/A
         valuen/a, PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
         unitn/a, PQ.unit
         systemn/a, CO.codeSystem, PQ.translation.codeSystem
         coden/a, PQ.code, MO.currency, PQ.translation.code
      methodn/a, CD, .methodCode
      bodySiten/a, CD, .targetSiteCode
      fastingStatus[x]n/a
   processingn/a, .participation[typeCode=SBJ].act[code=SPCTRT, moodCode=EVN]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      descriptionn/a, .text
      proceduren/a, CD, .code
      additiven/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=CSM].role[classCode=ADTV].code
      time[x]n/a, .effectiveTime
   containern/a, .player.scopingRole[classCode=CONT].scoper
      idn/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
      descriptionn/a, .desc
      typen/a, CD, .code
      capacityn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .quantity
      specimenQuantityn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .playedRole[classCode=CONT].quantity
      additive[x]n/a, .scopesRole[classCode=ADTV].player
   conditionn/a, CD
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   noten/a, Act, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

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

BiologicalSample
Specimen
   identifierFiveWs.identifier
   accessionIdentifierFiveWs.identifier
   statusFiveWs.status
   typeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   receivedTimeFiveWs.done[x]
   requestFiveWs.why[x]
   collection
      collectorFiveWs.actor
      collected[x]FiveWs.init
      collected[x] (collectedDateTime)FiveWs.init
      durationFiveWs.init

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

BiologicalSample
Specimen
   extension
   extension (BiologicalSampleOrigin)
      value[x]
      value[x] (valueCodeableConcept)
         codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), SPM-2
   accessionIdentifierCX / EI (occasionally, more often EI maps to a resource id or a URL), SPM-30 (v2.7+)
   statusSPM-20
   typeCE/CNE/CWE, SPM-4 and possibly SPM-5
   receivedTimeSPM-18
   requestORC? OBR-2/3?
   collectionSPM-14
      collectorPRT
      collected[x]SPM-17
      collected[x] (collectedDateTime)SPM-17
      durationSN (see also Range) or CQ
      quantitySN (see also Range) or CQ, SPM-12
         valueSN.2 / CQ - N/A
         unit(see OBX.6 etc.) / CQ.2
         system(see OBX.6 etc.) / CQ.2
         code(see OBX.6 etc.) / CQ.2
      methodCE/CNE/CWE, SPM-7
      bodySiteCE/CNE/CWE, SPM-8 and SPM-9
      fastingStatus[x]OBR-
   processing
      procedureCE/CNE/CWE
      additiveSPM-6
   container
      identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), SAC-3
      typeCE/CNE/CWE, SPM-27
      capacitySN (see also Range) or CQ, one of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20
      specimenQuantitySN (see also Range) or CQ, SAC-23 (value) SAC-24 (units
      additive[x]SAC-27
   conditionCE/CNE/CWE, SPM-24
      codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   noteN/A, OBX