## Union of https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement and https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement

This is the set of resources that conform to either of the profiles EPA MedicationStatement (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement) and EPA MedicationStatement (https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationStatement | C | 0..* |  | Record of medication being taken by a patient Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, epa-med-statement-status
meta | S Σ | 0..1 | Meta | Metadata about the resource
extension |  | 0..* | Extension | Additional content defined by implementations
versionId | S Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension | S | 1..* | Extension | Extension
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | External identifier
basedOn | S Σ C | 0..* | Reference(EPA MedicationRequest | eMP MedicationRequest | #sd+250-epa-medication-request-epa-medication-request) | Fulfils plan, proposal or order Constraints: ref-1
extension | S | 0..* | Extension | left: Additional content defined by implementations; right: Extension
reference | S Σ | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known .
type | S Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | S Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | S Σ | 0..1 | string | Text alternative for the resource
partOf | Σ C | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event Constraints: ref-1
status | ?!S Σ | 1..1 | code | unknown | entered-in-error | intended Binding: ?? (required)
statusReason |  | 0..* | CodeableConcept | Reason for current status Binding: ?? (example): A coded concept indicating the reason for the status of the statement.
category | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
medication[x] | S Σ | 1..1 | Reference(EPA Medication | #sd+237-epa-medication-epa-medication) | Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | S Σ | 0..1 | string | Text alternative for the resource
subject | S Σ C | 1..1 | Reference(Patient) | Who is/was taking the medication Constraints: ref-1
extension |  | 0..* | Extension | Additional content defined by implementations
reference | Σ | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 1..1 | ?? | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
context | Σ C | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement Constraints: ref-1
effective[x] | S Σ | 0..1 |  | effective[x] gibt den Zeitpunkt oder Zeitraum der Gültigkeit der Medikation an
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
dateAsserted | S Σ C | 0..1 | dateTime | When the statement was asserted? Constraints: epa-datetime
informationSource | C | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication Constraints: ref-1
derivedFrom | S C | 0..* | Reference(EPA MedicationRequest | EPA MedicationDispense | #sd+250-epa-medication-request-epa-medication-request) | Information des Verschreibungs- und Dispensierprozesses Constraints: ref-1
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | S Σ | 0..1 | string | Text alternative for the resource
reasonCode |  | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: ?? (example): A coded concept identifying why the medication is being taken.
reasonReference | C | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken Constraints: ref-1
note |  | 0..* | Annotation | Further information about the statement
dosage | S | 0..* | ?? | Strukturierte Dosierung/Gebrauchsanweisung
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text | S Σ | 0..1 | string | Freitext-Dosierungsanweisungen, z. B. 'Maximal 3x täglich 1 Stück bei Bedarf'
timing | S Σ | 0..1 | ?? | Wann das Medikament verabreicht werden soll
doseAndRate | S Σ | 0..1 | Element | Menge des verabreichten Medikaments
Documentation for this format