Canonical Resource Management Infrastructure Implementation Guide
1.0.0 - STU1

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

## Resource Profile: CRMISubstanceDefinition - Mappings

Page standards status: Trial-use | Maturity Level: 1

Mappings for the crmi-substancedefinition resource profile.

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

CRMISubstanceDefinition
Substance | Entity. Role, or Act, Material
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .id
status | .statusCode
category | .code
code | .code
description | .player.desc
instance | .player.determinerCode
id | n/a
extension | n/a
modifierExtension | N/A
identifier | .id
expiry | .expiryTime
quantity | .player.quantity
ingredient | .player.scopesRole[classCode=INGR]
id | n/a
extension | n/a
modifierExtension | N/A
quantity | .quantity
substance[x] | .player
substance[x] (substanceReference) | .player
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A

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

CRMISubstanceDefinition
Substance | fhir:Substance rdfs:subClassOf rim:Entity, [ a owl:Restriction; owl:onProperty rim:Act.classCode; owl:allValuesFrom cs:EntityClass\#MAT ].
code | fhir:Substance.code rdfs:subPropertyOf rim:Entity.code

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

CRMISubstanceDefinition
Substance |
identifier | FiveWs.identifier
status | FiveWs.status
category | FiveWs.class
code | FiveWs.what[x]