PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r2.examples@1.0.2
    http://hl7.org/fhir/StructureDefinition/Substance
description: Base StructureDefinition for Substance Resource
package_name: hl7.fhir.r2.examples
name: Substance
type: null
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: {type: string, short: 'Textual description of the substance, comments', 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: {type: Identifier, short: Identifier of the package/container, isSummary: true, index: 5}
      expiry: {type: dateTime, short: When no longer valid to use, isSummary: true, index: 6}
      quantity: {type: Quantity, short: Amount of substance in the package, isSummary: true, index: 7}
  ingredient:
    type: BackboneElement
    short: Composition information about the substance
    isSummary: true
    array: true
    index: 8
    elements:
      quantity: {type: Ratio, short: Optional amount (concentration), isSummary: true, index: 9}
      substance: {type: Reference, short: A component of the substance, isSummary: true, index: 10}
    required: [substance]
package_version: 1.0.2
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Substance
version: null
required: [code]