## Union of http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement and https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication-statement

This is the set of resources that conform to either of the profiles IPA-MedicationStatement (http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement) and FI SMART MedicationStatement (https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-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 |  | 0..* |  | Record of medication being taken by a patient 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: ?? (preferred): 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 | 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 ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | Σ | 0..* | Identifier | External identifier ele-1: All FHIR elements must have a @value or children
basedOn | Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order ele-1: All FHIR elements must have a @value or children
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event ele-1: All FHIR elements must have a @value or children
status | ?!S Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement. ele-1: All FHIR elements must have a @value or children
statusReason | S | 0..* | CodeableConcept | Reason for current status Binding: ?? (example): A coded concept indicating the reason for the status of the statement. ele-1: All FHIR elements must have a @value or children
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. ele-1: All FHIR elements must have a @value or children
medication[x] | S Σ | 1..1 |  | What medication was taken Binding: ?? (example): A coded concept identifying the substance or product being taken. ele-1: All FHIR elements must have a @value or children
medicationCodeableConcept |  |  | CodeableConcept |
medicationReference |  |  | Reference(IPA-Medication) |
subject | S Σ | 1..1 | Reference(IPA-Patient) | Who is/was taking the medication ele-1: All FHIR elements must have a @value or children
context | S Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement ele-1: All FHIR elements must have a @value or children
effective[x] | S Σ | 0..1 |  | The date/time or interval when the medication is/was/will be taken ele-1: All FHIR elements must have a @value or children
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
dateAsserted | Σ | 0..1 | dateTime | When the statement was asserted? ele-1: All FHIR elements must have a @value or children
informationSource | S | 0..1 | Reference(IPA-Practitioner | IPA-PractitionerRole | IPA-Patient | Organization | RelatedPerson), Reference(https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient | https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-practitioner | https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-practitioner-role | https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-organization | RelatedPerson) | Person or organization that provided the information about the taking of this medication ele-1: All FHIR elements must have a @value or children
derivedFrom |  | 0..* | Reference(Resource) | Additional supporting information ele-1: All FHIR elements must have a @value or children
reasonCode |  | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: ?? (example): A coded concept identifying why the medication is being taken. ele-1: All FHIR elements must have a @value or children
reasonReference |  | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken ele-1: All FHIR elements must have a @value or children
note |  | 0..* | Annotation | Further information about the statement ele-1: All FHIR elements must have a @value or children
dosage | S | 0..* | Dosage | Details of how medication is/was taken or should be taken 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
sequence | Σ | 0..1 | integer | The order of the dosage instructions ele-1: All FHIR elements must have a @value or children
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG ele-1: All FHIR elements must have a @value or children
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". ele-1: All FHIR elements must have a @value or children
patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions ele-1: All FHIR elements must have a @value or children
timing | Σ | 0..1 | Timing | When medication should be administered ele-1: All FHIR elements must have a @value or children
asNeeded[x] | Σ | 0..1 |  | Take "as needed" (for x) Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. ele-1: All FHIR elements must have a @value or children
asNeededBoolean |  |  | boolean |
asNeededCodeableConcept |  |  | CodeableConcept |
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body. ele-1: All FHIR elements must have a @value or children
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. ele-1: All FHIR elements must have a @value or children
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: ?? (example): A coded concept describing the technique by which the medicine is administered. ele-1: All FHIR elements must have a @value or children
doseAndRate | Σ | 0..* | Element | Amount of medication administered 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
type | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: ?? (example): The kind of dose or rate specified. ele-1: All FHIR elements must have a @value or children
dose[x] | Σ | 0..1 |  | Amount of medication per dose ele-1: All FHIR elements must have a @value or children
doseRange |  |  | Range |
doseQuantity |  |  | Quantity(SimpleQuantity) |
rate[x] | Σ | 0..1 |  | Amount of medication per unit of time ele-1: All FHIR elements must have a @value or children
rateRatio |  |  | Ratio |
rateRange |  |  | Range |
rateQuantity |  |  | Quantity(SimpleQuantity) |
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time ele-1: All FHIR elements must have a @value or children
maxDosePerAdministration | Σ | 0..1 | ?? | Upper limit on medication per administration ele-1: All FHIR elements must have a @value or children
maxDosePerLifetime | Σ | 0..1 | ?? | Upper limit on medication per lifetime of the patient ele-1: All FHIR elements must have a @value or children
Documentation for this format