Union of http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medicationdispense and http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medicationdispense

This is the set of resources that conform to either of the profiles CH Core MedicationDispense (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medicationdispense) and CH Core MedicationDispense (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-medicationdispense). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense C0..*CH Core MedicationDispense
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
mdd-1: whenHandedOver cannot be before whenPrepared
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... text 0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions 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 0..*IdentifierExternal identifier
ele-1: All FHIR elements must have a @value or children
... partOf 0..*Reference(Procedure)Event that dispense is part of
ele-1: All FHIR elements must have a @value or children
... status ?!Σ1..1codepreparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown
Binding: ?? (required): A coded concept specifying the state of the dispense event.


ele-1: All FHIR elements must have a @value or children
... statusReason[x] 0..1Why a dispense was not performed
Binding: ?? (example): A code describing why a dispense was not performed.


ele-1: All FHIR elements must have a @value or children
.... statusReasonCodeableConceptCodeableConcept
.... statusReasonReferenceReference(DetectedIssue)
... category 0..1CodeableConceptType of medication dispense
Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered.


ele-1: All FHIR elements must have a @value or children
... medication[x] Σ1..1What medication was supplied
Binding: ?? (example): A coded concept identifying which substance or product can be dispensed.


ele-1: All FHIR elements must have a @value or children
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(CH Core Medication | #sd-ch-core-medication-ch-core-medication)
... subject Σ0..1Reference(CH Core Patient | Group | #sd-ch-core-patient-ch-core-patient)Who the dispense is for
ele-1: All FHIR elements must have a @value or children
... context 0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with event
ele-1: All FHIR elements must have a @value or children
... supportingInformation 0..*Reference(Resource)Information that supports the dispensing of the medication
ele-1: All FHIR elements must have a @value or children
... performer 0..*BackboneElementWho performed event
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional 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..*ExtensionExtensions 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
.... function 0..1CodeableConceptWho performed the dispense and what they did
Binding: ?? (example): A code describing the role an individual played in dispensing a medication.


ele-1: All FHIR elements must have a @value or children
.... actor 1..1Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization | CH Core Patient | Device | RelatedPerson | #sd-ch-core-practitioner-ch-core-practitioner)Individual who was performing
ele-1: All FHIR elements must have a @value or children
... location 0..1Reference(Location)Where the dispense occurred
ele-1: All FHIR elements must have a @value or children
... authorizingPrescription 0..*Reference(MedicationRequest)Medication order that authorizes the dispense
ele-1: All FHIR elements must have a @value or children
... type 0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.
Binding: ?? (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.


ele-1: All FHIR elements must have a @value or children
... quantity 0..1??Amount dispensed
ele-1: All FHIR elements must have a @value or children
... daysSupply 0..1??Amount of medication expressed as a timing amount
ele-1: All FHIR elements must have a @value or children
... whenPrepared Σ0..1dateTimeWhen product was packaged and reviewed
ele-1: All FHIR elements must have a @value or children
... whenHandedOver 0..1dateTimeWhen product was given out
ele-1: All FHIR elements must have a @value or children
... destination 0..1Reference(Location)Where the medication was sent
ele-1: All FHIR elements must have a @value or children
... receiver 0..*Reference(Patient | Practitioner)Who collected the medication
ele-1: All FHIR elements must have a @value or children
... note 0..*AnnotationInformation about the dispense
ele-1: All FHIR elements must have a @value or children
... dosageInstruction 0..*??CH Core Dosage
ele-1: All FHIR elements must have a @value or children
... substitution C0..1BackboneElementWhether a substitution was performed on the dispense
ele-1: All FHIR elements must have a @value or children
ch-meddis-1: If no substitution was performed, no type is expected.
.... extension 0..*ExtensionAdditional 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..*ExtensionExtensions 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
.... wasSubstituted 1..1booleanWhether a substitution was (true) or was not (false) performed on the dispense
ele-1: All FHIR elements must have a @value or children
.... type 0..1CodeableConceptIf 'wasSubstituted = true', the type can be defined in addition (optional). If 'wasSubstituted = false', no type is expected.
Binding: ?? (preferred)
ele-1: All FHIR elements must have a @value or children
.... reason 0..*CodeableConceptWhy was substitution made
Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.


ele-1: All FHIR elements must have a @value or children
.... responsibleParty 0..*Reference(Practitioner | PractitionerRole)Who is responsible for the substitution
ele-1: All FHIR elements must have a @value or children
... detectedIssue 0..*Reference(DetectedIssue)Clinical issue with action
ele-1: All FHIR elements must have a @value or children
... eventHistory 0..*Reference(Provenance)A list of relevant lifecycle events
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format