PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r2b.examples@1.4.0
    http://hl7.org/fhir/StructureDefinition/Substance
description: Base StructureDefinition for Substance Resource
package_name: hl7.fhir.r2b.examples
derivation: specialization
name: Substance
type: null
elements:
  identifier:
    isModifier: false
    short: Unique identifier
    index: 0
    comments: This identifier is associated with the kind of substance in contrast to the  Substance.instance.identifier which is associated with the package/container.
    type: Identifier
    mustSupport: false
    array: true
    maxLength: 0
    base: {max: '*', min: 0, path: Substance.identifier}
    isSummary: true
  category:
    isModifier: false
    short: What class/type of substance this is
    index: 1
    comments: The level of granularity is defined by the category concepts in the value set.   More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in Substance.code.
    type: CodeableConcept
    mustSupport: false
    array: true
    maxLength: 0
    base: {max: '*', min: 0, path: Substance.category}
    isSummary: true
  code:
    isModifier: false
    short: What substance this is
    index: 2
    comments: This could be a reference to an externally defined code.  It could also be a locally assigned code (e.g. a formulary),  optionally with translations to the standard drug codes.
    type: CodeableConcept
    mustSupport: false
    maxLength: 0
    base: {max: '1', min: 0, path: Substance.code}
    isSummary: true
  description:
    isModifier: false
    short: Textual description of the substance, comments
    type: string
    mustSupport: false
    maxLength: 0
    base: {max: '1', min: 0, path: Substance.description}
    isSummary: true
    index: 3
  instance:
    isModifier: false
    short: If this describes a specific package/container of the substance
    index: 4
    type: BackboneElement
    mustSupport: false
    array: true
    elements:
      identifier:
        isModifier: false
        short: Identifier of the package/container
        type: Identifier
        mustSupport: false
        maxLength: 0
        base: {max: '1', min: 0, path: Substance.instance.identifier}
        isSummary: true
        index: 5
      expiry:
        isModifier: false
        short: When no longer valid to use
        type: dateTime
        mustSupport: false
        maxLength: 0
        base: {max: '1', min: 0, path: Substance.instance.expiry}
        isSummary: true
        index: 6
      quantity:
        isModifier: false
        short: Amount of substance in the package
        type: Quantity
        mustSupport: false
        maxLength: 0
        base: {max: '1', min: 0, path: Substance.instance.quantity}
        isSummary: true
        index: 7
    meaningWhenMissing: If this element is not present, then the substance resource describes a kind of substance
    maxLength: 0
    base: {max: '*', min: 0, path: Substance.instance}
    isSummary: true
  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
        maxLength: 0
        base: {max: '1', min: 0, path: Substance.ingredient.quantity}
        isSummary: true
        index: 9
      substance:
        isModifier: false
        short: A component of the substance
        index: 10
        type: Reference
        mustSupport: false
        maxLength: 0
        base: {max: '1', min: 0, path: Substance.ingredient.substance}
        isSummary: true
    maxLength: 0
    base: {max: '*', min: 0, path: Substance.ingredient}
    required: [substance]
    isSummary: true
package_version: 1.4.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Substance
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null
required: [code]