## Union of http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Substance-drug-pq and http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Substance-drug-pq

This is the set of resources that conform to either of the profiles Substance - Drug PQ (http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Substance-drug-pq) and Substance - Drug PQ (http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Substance-drug-pq). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Substance |  | 0..* |  | A homogeneous material with a definite composition dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (required): IETF language tag for a human language ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | left: Additional content defined by implementations; right: Extension ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 0..* | Identifier | Unique identifier ele-1: All FHIR elements must have a @value or children
instance | ?!Σ | 1..1 | boolean | Is this an instance of a substance or a kind of one ele-1: All FHIR elements must have a @value or children
status | ?!S Σ | 0..1 | code | active | inactive | entered-in-error Binding: ?? (required): A code to indicate if the substance is actively used. ele-1: All FHIR elements must have a @value or children
category | Σ | 0..* | CodeableConcept | What class/type of substance this is Binding: ?? (extensible): Category or classification of substance. ele-1: All FHIR elements must have a @value or children
code | Σ | 1..1 | CodeableReference(SubstanceDefinition) | What substance this is Binding: ?? (example): Substance codes. ele-1: All FHIR elements must have a @value or children
description | Σ | 0..1 | markdown | Textual description of the substance, comments ele-1: All FHIR elements must have a @value or children
expiry | Σ | 0..1 | dateTime | When no longer valid to use ele-1: All FHIR elements must have a @value or children
quantity | Σ | 0..1 | ?? | Amount of substance in the package ele-1: All FHIR elements must have a @value or children
ingredient | Σ | 0..* | BackboneElement | Composition information about the substance ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
quantity | Σ | 0..1 | Ratio | Optional amount (concentration) ele-1: All FHIR elements must have a @value or children
substance[x] | Σ | 1..1 |  | A component of the substance Binding: ?? (example): Substance Ingredient codes. ele-1: All FHIR elements must have a @value or children
substanceCodeableConcept |  |  | CodeableConcept |
substanceReference |  |  | Reference(Substance) |
Documentation for this format