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