PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.examples@5.0.0-snapshot1
    http://hl7.org/fhir/StructureDefinition/Substance
description: A homogeneous material with a definite composition.
package_name: hl7.fhir.r5.examples
derivation: specialization
name: Substance
type: Substance
elements:
  description: {isModifier: false, short: 'Textual description of the substance, comments', type: string, mustSupport: false, isSummary: true, index: 5}
  category:
    isModifier: false
    short: What class/type of substance this is
    type: CodeableConcept
    mustSupport: false
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/substance-category'}
    isSummary: true
    index: 3
  expiry: {isModifier: false, short: When no longer valid to use, type: dateTime, mustSupport: false, isSummary: true, index: 6}
  instance: {isModifier: true, short: Is this an instance of a substance or a kind of one, type: boolean, mustSupport: false, isModifierReason: Not known why this is labelled a modifier, isSummary: true, index: 1}
  ingredient:
    isModifier: false
    short: Composition information about the substance
    index: 8
    type: BackboneElement
    mustSupport: false
    array: true
    elements:
      quantity: {isModifier: false, short: Optional amount (concentration), type: Ratio, mustSupport: false, isSummary: true, index: 9}
      substance:
        isModifier: false
        short: A component of the substance
        mustSupport: false
        choices: [substanceCodeableConcept, substanceReference]
        isSummary: true
        index: 11
      substanceCodeableConcept: {isModifier: false, short: A component of the substance, type: CodeableConcept, mustSupport: false, choiceOf: substance, isSummary: true, index: 12}
      substanceReference:
        isModifier: false
        short: A component of the substance
        index: 13
        refers: ['http://hl7.org/fhir/StructureDefinition/Substance']
        type: Reference
        mustSupport: false
        choiceOf: substance
        isSummary: true
    required: [substance, substanceReference, substanceCodeableConcept]
    isSummary: true
  status:
    isModifier: true
    short: active | inactive | entered-in-error
    type: code
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/substance-status|5.0.0-snapshot1'}
    isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    isSummary: true
    index: 2
  code:
    isModifier: false
    short: What substance this is
    type: CodeableReference
    mustSupport: false
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/substance-code'}
    isSummary: true
    index: 4
  identifier: {isModifier: false, short: Unique identifier, type: Identifier, mustSupport: false, array: true, isSummary: true, index: 0}
  quantity: {isModifier: false, short: Amount of substance in the package, type: Quantity, mustSupport: false, isSummary: true, index: 7}
package_version: 5.0.0-snapshot1
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Substance
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 5.0.0-snapshot1
required: [instance, code]