Union of http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest and https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient-medication-request

This is the set of resources that conform to either of the profiles IPA-MedicationRequest (http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationrequest) and FI Base Patient MedicationRequest (https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient-medication-request). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*Ordering of medication for patient or group
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..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..*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
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 ids for this request
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: ?? (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


ele-1: All FHIR elements must have a @value or children
... statusReason 0..1CodeableConceptReason for current status
Binding: ?? (example): Identifies the reasons for a given status.


ele-1: All FHIR elements must have a @value or children
... intent ?!SΣ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: ?? (required): The kind of medication order.


ele-1: All FHIR elements must have a @value or children
... category 0..*CodeableConceptType of medication usage
Binding: ?? (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


ele-1: All FHIR elements must have a @value or children
... priority Σ0..1coderoutine | urgent | asap | stat
Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request.


ele-1: All FHIR elements must have a @value or children
... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
ele-1: All FHIR elements must have a @value or children
... reported[x] SΣ0..1Reported rather than primary record
ele-1: All FHIR elements must have a @value or children
.... reportedBooleanboolean
.... reportedReferenceReference(IPA-Patient | IPA-Practitioner | IPA-PractitionerRole)
... medication[x] SΣ1..1Medication to be taken
Binding: ?? (example): A coded concept identifying substance or product that can be ordered.


ele-1: All FHIR elements must have a @value or children
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(IPA-Medication)
... subject SΣ1..1Reference(IPA-Patient)Who or group medication request is for
ele-1: All FHIR elements must have a @value or children
... encounter S0..1Reference(Encounter)Encounter created as part of encounter/admission/stay
ele-1: All FHIR elements must have a @value or children
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
ele-1: All FHIR elements must have a @value or children
... authoredOn SΣ0..1dateTimeWhen request was initially authored
ele-1: All FHIR elements must have a @value or children
... requester SΣ0..1Reference(IPA-Practitioner | IPA-PractitionerRole | IPA-Patient)Who/What requested the Request
ele-1: All FHIR elements must have a @value or children
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration
ele-1: All FHIR elements must have a @value or children
... performerType Σ0..1CodeableConceptDesired kind of performer of the medication administration
Binding: ?? (example): Identifies the type of individual that is desired to administer the medication.


ele-1: All FHIR elements must have a @value or children
... recorder 0..1Reference(Practitioner | PractitionerRole)Person who entered the request
ele-1: All FHIR elements must have a @value or children
... reasonCode 0..*CodeableConceptReason or indication for ordering or not ordering the medication
Binding: ?? (example): A coded concept indicating why the medication was ordered.


ele-1: All FHIR elements must have a @value or children
... reasonReference 0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
ele-1: All FHIR elements must have a @value or children
... instantiatesCanonical Σ0..*canonical()Instantiates FHIR protocol or definition
ele-1: All FHIR elements must have a @value or children
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
ele-1: All FHIR elements must have a @value or children
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
ele-1: All FHIR elements must have a @value or children
... groupIdentifier Σ0..1IdentifierComposite request this is part of
ele-1: All FHIR elements must have a @value or children
... courseOfTherapyType 0..1CodeableConceptOverall pattern of medication administration
Binding: ?? (example): Identifies the overall pattern of medication administratio.


ele-1: All FHIR elements must have a @value or children
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
ele-1: All FHIR elements must have a @value or children
... note 0..*AnnotationInformation about the prescription
ele-1: All FHIR elements must have a @value or children
... dosageInstruction S0..*DosageHow the medication should be taken
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
.... sequence Σ0..1integerThe order of the dosage instructions
ele-1: All FHIR elements must have a @value or children
.... text SΣ0..1stringFree text dosage instructions e.g. SIG
ele-1: All FHIR elements must have a @value or children
.... additionalInstruction Σ0..*CodeableConceptSupplemental 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..1stringPatient or consumer oriented instructions
ele-1: All FHIR elements must have a @value or children
.... timing Σ0..1TimingWhen medication should be administered
ele-1: All FHIR elements must have a @value or children
.... asNeeded[x] Σ0..1Take "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
..... asNeededBooleanboolean
..... asNeededCodeableConceptCodeableConcept
.... site Σ0..1CodeableConceptBody 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..1CodeableConceptHow 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..1CodeableConceptTechnique 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..*ElementAmount of medication administered
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
..... type Σ0..1CodeableConceptThe 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..1Amount of medication per dose
ele-1: All FHIR elements must have a @value or children
...... doseRangeRange
...... doseQuantityQuantity(SimpleQuantity)
..... rate[x] Σ0..1Amount of medication per unit of time
ele-1: All FHIR elements must have a @value or children
...... rateRatioRatio
...... rateRangeRange
...... rateQuantityQuantity(SimpleQuantity)
.... maxDosePerPeriod Σ0..1RatioUpper 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
... dispenseRequest 0..1BackboneElementMedication supply authorization
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
.... initialFill 0..1BackboneElementFirst fill details
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
..... quantity 0..1??First fill quantity
ele-1: All FHIR elements must have a @value or children
..... duration 0..1DurationFirst fill duration
ele-1: All FHIR elements must have a @value or children
.... dispenseInterval 0..1DurationMinimum period of time between dispenses
ele-1: All FHIR elements must have a @value or children
.... validityPeriod 0..1PeriodTime period supply is authorized for
ele-1: All FHIR elements must have a @value or children
.... numberOfRepeatsAllowed 0..1unsignedIntNumber of refills authorized
ele-1: All FHIR elements must have a @value or children
.... quantity 0..1??Amount of medication to supply per dispense
ele-1: All FHIR elements must have a @value or children
.... expectedSupplyDuration 0..1DurationNumber of days supply per dispense
ele-1: All FHIR elements must have a @value or children
.... performer 0..1Reference(Organization)Intended dispenser
ele-1: All FHIR elements must have a @value or children
... substitution 0..1BackboneElementAny restrictions on medication substitution
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
.... allowed[x] 1..1Whether substitution is allowed or not
Binding: ?? (example): Identifies the type of substitution allowed.


ele-1: All FHIR elements must have a @value or children
..... allowedBooleanboolean
..... allowedCodeableConceptCodeableConcept
.... reason 0..1CodeableConceptWhy should (not) substitution be 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
... priorPrescription 0..1Reference(MedicationRequest)An order/prescription that is being replaced
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 events of interest in the lifecycle
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format