## Profile Comparison between http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition vs http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition

Left: | CRMI SubstanceDefinition (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition)
Right: | CRMI SubstanceDefinition (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0-snapshot' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2024-04-06T06:48:23+11:00' vs '2024-05-31T16:42:56+00:00'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Substance |
copyright |  |
date | 2024-04-06T06:48:23+11:00 | 2024-05-31T16:42:56+00:00 | Values Differ
description | Represents the definition of a substance, suitable for use in various contexts |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | CRMISubstanceDefinition |
publisher | HL7 International / Clinical Decision Support |
purpose |  |
status | active |
title | CRMI SubstanceDefinition |
type | Substance |
url | http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-substancedefinition |
version | 1.0.0-snapshot | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Substance |  | 0..* | Substance | A homogeneous material with a definite composition |  | 0..* | Substance | A homogeneous material with a definite composition |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S Σ | 0..* | Identifier | Unique identifier | S Σ | 0..* | Identifier | Unique identifier |
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: ?? (required): A code to indicate if the substance is actively used. | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: ?? (required): A code to indicate if the substance is actively used. |
category | Σ | 0..* | CodeableConcept | What class/type of substance this is Binding: ?? (extensible): Category or classification of substance. | Σ | 0..* | CodeableConcept | What class/type of substance this is Binding: ?? (extensible): Category or classification of substance. |
code | S Σ | 1..1 | CodeableConcept | What substance this is Binding: ?? (example): Substance codes. | S Σ | 1..1 | CodeableConcept | What substance this is Binding: ?? (example): Substance codes. |
description | Σ | 0..1 | string | Textual description of the substance, comments | Σ | 0..1 | string | Textual description of the substance, comments |
instance | Σ | 0..* | BackboneElement | If this describes a specific package/container of the substance | Σ | 0..* | BackboneElement | If this describes a specific package/container of the substance |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
identifier | Σ | 0..1 | Identifier | Identifier of the package/container | Σ | 0..1 | Identifier | Identifier of the package/container |
expiry | Σ | 0..1 | dateTime | When no longer valid to use | Σ | 0..1 | dateTime | When no longer valid to use |
quantity | Σ | 0..1 | ?? | Amount of substance in the package | Σ | 0..1 | ?? | Amount of substance in the package |
ingredient | S Σ | 0..* | BackboneElement | Composition information about the substance | S Σ | 0..* | BackboneElement | Composition information about the substance |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | Σ | 0..1 | Ratio | Optional amount (concentration) | Σ | 0..1 | Ratio | Optional amount (concentration) |
Slices for substance[x] | S Σ | 1..1 | CodeableConcept, Reference(Substance) | A component of the substance Slice: Unordered, Open by type:$this Binding: ?? (example): Substance Ingredient codes. | S Σ | 1..1 | CodeableConcept, Reference(Substance) | A component of the substance Slice: Unordered, Open by type:$this Binding: ?? (example): Substance Ingredient codes. |
Documentation for this format