QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreSpecimen - Mappings

Mappings for the qicore-specimen resource profile.

### Mappings for Mapping to Quality Improvement Domain Analysis Model (http://hl7.org/qidam)

QICoreSpecimen
Specimen |
container |
extension (container-sequenceNumber) | Not in QIDAM, but recognized as important since there are labs where the sequence of the collection is important (e.g., knowing that 1 is the first sample, 2 is the second, etc.).

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

QICoreSpecimen
Specimen | Entity. Role, or Act, Role[classCode=SPEC]
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
accessionIdentifier | .participation[typeCode=SBJ].act[classCode=ACSN, moodCode=EVN].id
status | status
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)
request | outboundRelationship[typeCode=FLFS].target
collection | .participation[typeCode=SBJ].act[classCode=SPECCOLLECT, moodCode=EVN]
id | n/a
extension | n/a
modifierExtension | N/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]
id | n/a
extension | n/a
modifierExtension | N/A
description | .text
procedure | .code
additive | .participation[typeCode=CSM].role[classCode=ADTV].code
time[x] | .effectiveTime
container | .player.scopingRole[classCode=CONT].scoper
id | n/a
modifierExtension | N/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)

QICoreSpecimen
Specimen |
identifier | FiveWs.identifier
accessionIdentifier | FiveWs.identifier
status | FiveWs.status
type | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
receivedTime | FiveWs.done[x]
request | FiveWs.why[x]
collection |
collector | FiveWs.actor
collected[x] | FiveWs.init
duration | FiveWs.init

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

QICoreSpecimen
Specimen |
identifier | SPM-2
accessionIdentifier | SPM-30 (v2.7+)
status | SPM-20
type | SPM-4 and possibly SPM-5
receivedTime | SPM-18
request | ORC? OBR-2/3?
collection | SPM-14
collector | PRT
collected[x] | SPM-17
quantity | SPM-12
method | SPM-7
bodySite | SPM-8 and SPM-9
fastingStatus[x] | OBR-
processing |
additive | SPM-6
container |
identifier | SAC-3
type | SPM-27
capacity | one of: SAC 16, SAC17 and SAC 20, or SAC 21 and SAC 20
specimenQuantity | SAC-23 (value) SAC-24 (units
additive[x] | SAC-27
condition | SPM-24
note | OBX