PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.8.0
    http://hl7.org/fhir/StructureDefinition/Substance
description: Base StructureDefinition for Substance Resource
package_name: hl7.fhir.core
derivation: specialization
name: Substance
type: Substance
elements:
  identifier: {short: Unique identifier, 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, array: true, isSummary: true, index: 0}
  category: {short: What class/type of substance this is, 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, array: true, isSummary: true, index: 1}
  code: {short: What substance this is, 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, isSummary: true, index: 2}
  description: {short: 'Textual description of the substance, comments', type: string, isSummary: true, index: 3}
  instance:
    short: If this describes a specific package/container of the substance
    type: BackboneElement
    array: true
    meaningWhenMissing: If this element is not present, then the substance resource describes a kind of substance
    isSummary: true
    index: 4
    elements:
      identifier: {short: Identifier of the package/container, type: Identifier, isSummary: true, index: 5}
      expiry: {short: When no longer valid to use, type: dateTime, isSummary: true, index: 6}
      quantity: {short: Amount of substance in the package, type: Quantity, isSummary: true, index: 7}
  ingredient:
    short: Composition information about the substance
    type: BackboneElement
    array: true
    isSummary: true
    index: 8
    elements:
      quantity: {short: Optional amount (concentration), type: Ratio, isSummary: true, index: 9}
      substance:
        short: A component of the substance
        choices: [substanceCodeableConcept, substanceReference]
        isSummary: true
        index: 11
      substanceCodeableConcept: {short: A component of the substance, type: CodeableConcept, choiceOf: substance, isSummary: true, index: 12}
      substanceReference:
        short: A component of the substance
        refers: ['http://hl7.org/fhir/StructureDefinition/Substance']
        type: Reference
        choiceOf: substance
        isSummary: true
        index: 13
    required: [substance, substanceReference, substanceCodeableConcept]
package_version: 1.8.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Substance
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null
required: [code]