Implementation Guide
23.0.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaSpecimen - Mappings

Active as of 2024-09-05

Mappings for the athena-specimen-profile resource profile.

Mappings for athenaFlow (http://unknown.org/athenaFlow)

AthenaSpecimen
SpecimenFHIRR4_SPECIMENVIEW
   idMakeId("SPECIMEN",%SPECIMENID%)
   meta
      versionIdMakeId(%RESOURCEID%)
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("SPECIMENID"),%SPECIMENID%)
   typeMakeSpecimenTypeCodeableConcept(%SPECIMENSNOMEDCODE%,"http://snomed.info/sct",%SPECIMENDESCRIPTION%,%SPECIMENCODE%,"http://terminology.hl7.org/CodeSystem/v2-0487",%SPECIMENDESCRIPTION%)
   subjectMakeReference("PATIENTPROFILE",%PID%,"Patient")
   collection
      collected[x]%WHENCOLLECTED%
      bodySiteMakeConcept(%BODYSITESNOMEDCODE%,"http://snomed.info/sct",%BODYSITEDESCRIPTION%)

Mappings for athenaPractice (http://unknown.org/athenaPractice)

AthenaSpecimen
SpecimenFHIRR4_SPECIMENVIEW
   idMakeId("SPECIMEN",%SPECIMENID%)
   meta
      versionIdMakeId(%RESOURCEID%)
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("SPECIMENID"),%SPECIMENID%)
   typeMakeSpecimenTypeCodeableConcept(%SPECIMENSNOMEDCODE%,"http://snomed.info/sct",%SPECIMENDESCRIPTION%,%SPECIMENCODE%,"http://terminology.hl7.org/CodeSystem/v2-0487",%SPECIMENDESCRIPTION%)
   subjectMakeReference("PERSON",%PID%,"Patient")
   collection
      collected[x]%WHENCOLLECTED%
      bodySiteMakeConcept(%BODYSITESNOMEDCODE%,"http://snomed.info/sct",%BODYSITEDESCRIPTION%)

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

AthenaSpecimen
SpecimenEntity. Role, or Act, Role[classCode=SPEC]
   meta
      idn/a
      extensionn/a
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   accessionIdentifier.participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id
   statusstatus
   type.code
   subject.scoper or .scoper.playsRole
   receivedTime.participation[typeCode=SBJ].act[code=SPCREC, moodCode=EVN].effectiveTime
   parent.scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)
   requestoutboundRelationship[typeCode=FLFS].target
   collection.participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      collector.participation[typeCode=PFM].role
      collected[x].effectiveTime
      quantity.participation[typeCode=SBJ].role[classCode=SPEC].player.quantity
      method.methodCode
      bodySite.targetSiteCode
   processing.participation[typeCode=SBJ].act[code=SPCTRT, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      description.text
      procedure.code
      additive.participation[typeCode=CSM].role[classCode=ADTV].code
      time[x].effectiveTime
   container.player.scopingRole[classCode=CONT].scoper
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier.id
      description.desc
      type.code
      capacity.quantity
      specimenQuantity.playedRole[classCode=CONT].quantity
      additive[x].scopesRole[classCode=ADTV].player
   note.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

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

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

AthenaSpecimen
Specimen
   meta
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
   identifierSPM-2
   accessionIdentifierSPM-30 (v2.7+)
   statusSPM-20
   typeSPM-4 and possibly SPM-5
   receivedTimeSPM-18
   requestORC? OBR-2/3?
   collectionSPM-14
      collectorPRT
      collected[x]SPM-17
      quantitySPM-12
      methodSPM-7
      bodySiteSPM-8 and SPM-9
      fastingStatus[x]OBR-
   processing
      additiveSPM-6
   container
      identifierSAC-3
      typeSPM-27
      capacityone of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20
      specimenQuantitySAC-23 (value) SAC-24 (units
      additive[x]SAC-27
   conditionSPM-24
   noteOBX