## Union of http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition and http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition

This is the set of resources that conform to either of the profiles CRMI SubstanceDefinition (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition) and CRMI SubstanceDefinition (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Substance |  | 0..* |  | A homogeneous material with a definite composition dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Extension ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 0..* | Identifier | Unique identifier ele-1: All FHIR elements must have a @value or children
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: ?? (required): A code to indicate if the substance is actively used. ele-1: All FHIR elements must have a @value or children
category | Σ | 0..* | CodeableConcept | What class/type of substance this is Binding: ?? (extensible): Category or classification of substance. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | What substance this is Binding: ?? (example): Substance codes. ele-1: All FHIR elements must have a @value or children
description | Σ | 0..1 | string | Textual description of the substance, comments ele-1: All FHIR elements must have a @value or children
instance | Σ | 0..* | BackboneElement | If this describes a specific package/container of the substance ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | Σ | 0..1 | Identifier | Identifier of the package/container ele-1: All FHIR elements must have a @value or children
expiry | Σ | 0..1 | dateTime | When no longer valid to use ele-1: All FHIR elements must have a @value or children
quantity | Σ | 0..1 | ?? | Amount of substance in the package ele-1: All FHIR elements must have a @value or children
ingredient | S Σ | 0..* | BackboneElement | Composition information about the substance ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
quantity | Σ | 0..1 | Ratio | Optional amount (concentration) ele-1: All FHIR elements must have a @value or children
substance[x] | S Σ | 1..1 |  | A component of the substance Binding: ?? (example): Substance Ingredient codes. ele-1: All FHIR elements must have a @value or children
substanceCodeableConcept |  |  | CodeableConcept |
substanceReference |  |  | Reference(Substance) |
Documentation for this format