description: A homogeneous material with a definite composition. package_name: hl7.fhir.r5.examples derivation: specialization name: Substance type: Substance elements: identifier: {short: Unique identifier, type: Identifier, array: true, isSummary: true, index: 0} status: isModifier: true short: active | inactive | entered-in-error type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/substance-status|4.5.0'} 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: 1 category: short: What class/type of substance this is type: CodeableConcept array: true binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/substance-category'} isSummary: true index: 2 code: short: What substance this is type: CodeableConcept binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/substance-code'} 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: 4.5.0 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/Substance base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 4.5.0 required: [code]