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: AstacusHumanSpecimen - Mappings

Draft as of 2024-05-23 Maturity Level: 1

Mappings for the astacus-human-specimen resource profile.

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

AstacusHumanSpecimen
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
   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
   identifier (bodyStructureIdentifier)n/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]
      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
   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
      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
      methodn/a, CD, .methodCode
      bodySiten/a, CD, .targetSiteCode
         idn/a
         codingn/a, CV, union(., ./translation)
         textn/a, ./originalText[mediaType/code="text/plain"]/data
      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
   noten/a, Act, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

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

AstacusHumanSpecimen
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
      durationFiveWs.init

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

AstacusHumanSpecimen
Specimen
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), SPM-2
   identifier (bodyStructureIdentifier)CX / EI (occasionally, more often EI maps to a resource id or a URL)
      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)
   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
      durationSN (see also Range) or CQ
      quantitySN (see also Range) or CQ, SPM-12
      methodCE/CNE/CWE, SPM-7
      bodySiteCE/CNE/CWE, SPM-8 and SPM-9
         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
      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
   noteN/A, OBX