## Profile Comparison between http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance vs http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance

Left: | QICore Substance (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance)
Right: | QICore Substance (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance)

### Messages

Error | StructureDefinition.version | Values for version differ: '8.0.0-ballot' vs '7.0.2'
Information | Substance.language | Example/preferred bindings differ at Substance.language using binding from QICoreSubstance
Error | Substance.ingredient.substance[x] | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Substance |
copyright |  |
date | 2018-08-22 |
description | Profile of Substance for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | QICoreSubstance |
publisher | HL7 International / Clinical Quality Information |
purpose |  |
status | active |
title | QICore Substance |
type | Substance |
url | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance |
version | 8.0.0-ballot | 7.0.2 | 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
| Example/preferred bindings differ at Substance.language using binding from QICoreSubstance
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Unique identifier | Σ | 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 | Σ | 1..1 | CodeableConcept | (QI) If this describes a specific package/container of the substance Binding: ?? (preferred): Substance codes | Σ | 1..1 | CodeableConcept | (QI) If this describes a specific package/container of the substance Binding: ?? (preferred): 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 | ?? | (QI) Amount of substance in the package | Σ | 0..1 | ?? | (QI) Amount of substance in the package |
ingredient | Σ | 0..* | BackboneElement | Composition information about the substance | Σ | 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 | (QI) Optional amount (concentration) | Σ | 0..1 | Ratio | (QI) Optional amount (concentration) |
substance[x] | Σ | 1..1 | Reference(QICore Substance) | (QI) A component of the substance | Σ | 1..1 | Reference(QICore Substance) | (QI) A component of the substance | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance]])
Documentation for this format