OpenELIS Global FHIR Implementation Guide
0.2.2 - ci-build International flag

OpenELIS Global FHIR Implementation Guide - Local Development build (v0.2.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OpenELIS Specimen - Mappings

Draft as of 2026-10-14

Mappings for the openelis-specimen resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameOpenELIS Global data modelRIM MappingFiveWs Pattern MappingHL7 v2 Mappingdoco
Specimen
SampleItem (SpecimenTransformServiceImpl)
Role[classCode=SPEC]
Specimen / id
SampleItem.fhirUuid
Specimen / meta
Specimen / implicitRules
Specimen / language
Specimen / text
Act.text?
Specimen / contained
N/A
Specimen / extension
N/A
Specimen / modifierExtension
N/A
Specimen / Slices for identifier
.id
FiveWs.identifier
SPM-2
Specimen / Slices for identifier / identifier:sampleItemUuid
SampleItem.fhirUuid
.id
FiveWs.identifier
SPM-2
Specimen / Slices for identifier / identifier:sampleItemUuid / id
n/a
Specimen / Slices for identifier / identifier:sampleItemUuid / extension
n/a
Specimen / Slices for identifier / identifier:sampleItemUuid / use
Role.code or implied by context
N/A
Specimen / Slices for identifier / identifier:sampleItemUuid / type
Role.code or implied by context
CX.5
Specimen / Slices for identifier / identifier:sampleItemUuid / system
II.root or Role.id.root
CX.4 / EI-2-4
Specimen / Slices for identifier / identifier:sampleItemUuid / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Specimen / Slices for identifier / identifier:sampleItemUuid / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Specimen / Slices for identifier / identifier:sampleItemUuid / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
Specimen / Slices for identifier / identifier:facility
.id
FiveWs.identifier
SPM-2
Specimen / Slices for identifier / identifier:facility / id
n/a
Specimen / Slices for identifier / identifier:facility / extension
n/a
Specimen / Slices for identifier / identifier:facility / use
Role.code or implied by context
N/A
Specimen / Slices for identifier / identifier:facility / type
Role.code or implied by context
CX.5
Specimen / Slices for identifier / identifier:facility / system
II.root or Role.id.root
CX.4 / EI-2-4
Specimen / Slices for identifier / identifier:facility / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Specimen / Slices for identifier / identifier:facility / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Specimen / Slices for identifier / identifier:facility / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
Specimen / accessionIdentifier
Sample.accessionNumber + '-' + SampleItem.sortOrder
  • .participation[typeCode=SBJ].act[classCode=ACSN
  • moodCode=EVN].id
FiveWs.identifier
SPM-30 (v2.7+)
Specimen / accessionIdentifier / id
n/a
Specimen / accessionIdentifier / extension
n/a
Specimen / accessionIdentifier / use
Role.code or implied by context
N/A
Specimen / accessionIdentifier / type
Role.code or implied by context
CX.5
Specimen / accessionIdentifier / system
II.root or Role.id.root
CX.4 / EI-2-4
Specimen / accessionIdentifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Specimen / accessionIdentifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Specimen / accessionIdentifier / assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
Specimen / status
SampleItem.statusId
status
FiveWs.status
SPM-20
Specimen / type
SampleItem.typeOfSample (+ terminology mappings)
.code
FiveWs.what[x]
SPM-4 and possibly SPM-5
Specimen / type / id
n/a
Specimen / type / extension
n/a
Specimen / type / Slices for coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
Specimen / type / Slices for coding / coding:oeSampleType
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
Specimen / type / Slices for coding / coding:oeSampleType / id
n/a
Specimen / type / Slices for coding / coding:oeSampleType / extension
n/a
Specimen / type / Slices for coding / coding:oeSampleType / system
./codeSystem
C*E.3
Specimen / type / Slices for coding / coding:oeSampleType / version
./codeSystemVersion
C*E.7
Specimen / type / Slices for coding / coding:oeSampleType / code
./code
C*E.1
Specimen / type / Slices for coding / coding:oeSampleType / display
CV.displayName
C*E.2 - but note this is not well followed
Specimen / type / Slices for coding / coding:oeSampleType / userSelected
CD.codingRationale
Sometimes implied by being first
Specimen / type / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
Specimen / subject
SampleHuman.patient
.scoper or .scoper.playsRole
FiveWs.subject
Specimen / receivedTime
SampleItem.receivedDate
  • .participation[typeCode=SBJ].act[code=SPCREC
  • moodCode=EVN].effectiveTime
FiveWs.done[x]
SPM-18
Specimen / parent
.scoper (if parent) .player.scopesRole[classCode=SPEC].player (if child)
Specimen / request
Analysis (all analyses on the sample item)
outboundRelationship[typeCode=FLFS].target
FiveWs.why[x]
ORC? OBR-2/3?
Specimen / collection
  • .participation[typeCode=SBJ].act[classCode=SPECCOLLECT
  • moodCode=EVN]
SPM-14
Specimen / collection / id
n/a
Specimen / collection / Slices for extension
Specimen / collection / Slices for extension / extension:gps
Sample.gpsLatitude / gpsLongitude / gpsAccuracyMeters / gpsCaptureMethod / gpsCaptureTimestamp
Specimen / collection / modifierExtension
N/A
Specimen / collection / collector
.participation[typeCode=PFM].role
FiveWs.actor
PRT
Specimen / collection / collected[x]
SampleItem.collectionDate
.effectiveTime
FiveWs.init
SPM-17
Specimen / collection / duration
FiveWs.init
Specimen / collection / quantity
.participation[typeCode=SBJ].role[classCode=SPEC].player.quantity
SPM-12
Specimen / collection / method
SampleItem.collectionConditions
.methodCode
SPM-7
Specimen / collection / bodySite
SampleItem.sourceOfSample / sourceOther
.targetSiteCode
SPM-8 and SPM-9
Specimen / collection / fastingStatus[x]
OBR-
Specimen / processing
  • .participation[typeCode=SBJ].act[code=SPCTRT
  • moodCode=EVN]
Specimen / processing / id
n/a
Specimen / processing / extension
n/a
Specimen / processing / modifierExtension
N/A
Specimen / processing / description
.text
Specimen / processing / procedure
.code
Specimen / processing / additive
.participation[typeCode=CSM].role[classCode=ADTV].code
SPM-6
Specimen / processing / time[x]
.effectiveTime
Specimen / container
.player.scopingRole[classCode=CONT].scoper
Specimen / container / id
n/a
Specimen / container / extension
n/a
Specimen / container / modifierExtension
N/A
Specimen / container / identifier
.id
SAC-3
Specimen / container / description
.desc
Specimen / container / type
.code
SPM-27
Specimen / container / capacity
.quantity
  • SAC 16
  • SAC17 and SAC 20
  • or SAC 21 and SAC 20
Specimen / container / specimenQuantity
SampleItem.quantity + unitOfMeasure
.playedRole[classCode=CONT].quantity
SAC-23 (value) SAC-24 (units
Specimen / container / additive[x]
.scopesRole[classCode=ADTV].player
SAC-27
Specimen / condition
ObservationHistory SAMPLE_CONDITION
SPM-24
Specimen / note
SampleItem.collectionConditions
  • .inboundRelationship[typeCode=SUBJ].source[classCode=OBS
  • moodCode=EVN
  • code="annotation"].value
OBX

doco Documentation for this format