CH EMED EPR
3.0.0-ci-build - ci-build Switzerland flag

CH EMED EPR, published by CARA. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/CARA-ch/ch-emed-epr/ and changes regularly. See the Directory of published versions

Resource Profile: PML Changed Medication Request

Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medication-request-changed-list Version: 3.0.0-ci-build
Draft as of 2025-12-04 Computable Name: CHEMEDEPRMedicationRequestChangedList

Copyright/Legal: CC0-1.0

Definition of the changed medication request for the medication list document

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* CHEMEDMedicationRequestChangedList CH EMED MedicationRequest Changed (LIST)
Constraints: ch-dosage-medreq, split-dosage-instruction-unit-must-match-base-dosage-instruction
... contained 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentplan 1..1 (Complex) A reference to the MedicationStatement that introduced this medication
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:parentDocument 1..1 (Complex) CH EMED Extension
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice
.... extension:authorDocument 0..1 (Complex) Optional Extensions Element
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... Slices for extension Content/Rules for all slices
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... identifier 1..1 Identifier MedicationRequest Identifier
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Required Pattern: active
... statusReason D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: order
... category D 0..* CodeableConcept ✕ This element is not supported
Binding: medicationRequest Category Codes (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.
... priority ΣD 0..1 code ✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... reported[x] ΣD 0..1 ✕ This element is not supported
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ 1..1 Reference(CH Core Medication) Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... encounter D 0..1 Reference(Encounter) ✕ This element is not supported
... Slices for supportingInformation 1..* Reference(Resource) Information to support ordering of the medication
Slice: Unordered, Open by profile:resolve()
.... supportingInformation:partOf 1..1 Reference(PML Observation) {r, b} Reference to the Observation from type 'CHANGE'
... authoredOn Σ 1..1 dateTime When request was initially authored
... requester Σ 1..1 Reference(CH EMED EPR PractitionerRole) The author of the medical decision, see also 'Guidance - Authorship'
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... performer D 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) ✕ This element is not supported
... performerType ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... text Σ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation) ✕ This element is not supported
... instantiatesCanonical ΣD 0..* canonical() ✕ This element is not supported
... instantiatesUri ΣD 0..* uri ✕ This element is not supported
... basedOn ΣD 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) ✕ This element is not supported
... groupIdentifier ΣD 0..1 Identifier ✕ This element is not supported
... courseOfTherapyType D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance D 0..* Reference(Coverage | ClaimResponse) ✕ This element is not supported
... Slices for dosageInstruction 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry 1..1 CHEMEDEPRDosageMedicationRequest Base entry of the dosage instruction
.... dosageInstruction:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction
... substitution 0..1 BackboneElement If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed).
.... Slices for allowed[x] 1..1 CodeableConcept Whether substitution is allowed or not
Slice: Unordered, Closed by type:$this
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowed[x]:allowedCodeableConcept 0..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
.... reason D 0..1 CodeableConcept ✕ This element is not supported
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription D 0..1 Reference(MedicationRequest) ✕ This element is not supported
... detectedIssue D 0..* Reference(DetectedIssue) ✕ This element is not supported
... eventHistory D 0..* Reference(Provenance) ✕ This element is not supported

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.statusReason Base example Medication request status reason codes 📦4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📦4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📦4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.0
MedicationRequest.substitution.​allowed[x]:allowedCodeableConcept Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.0

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medreq error MedicationRequest If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosageInstruction.count() > 1 implies dosageInstruction.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-medicationrequest') and sequence = 1).exists()) and (dosageInstruction.count() = 1 implies dosageInstruction.single().sequence.exists().not())
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-instruction-unit-must-match-base-dosage-instruction error MedicationRequest The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosageInstruction.count() > 1) implies dosageInstruction.doseAndRate.dose.ofType(Quantity).code.union(dosageInstruction.doseAndRate.dose.ofType(Range).low.code).union(dosageInstruction.doseAndRate.dose.ofType(Range).high.code).union(dosageInstruction.doseAndRate.rate.numerator.code).count() = 1

This structure is derived from CHEMEDMedicationRequestChangedList

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* CHEMEDMedicationRequestChangedList CH EMED MedicationRequest Changed (LIST)
Constraints: split-dosage-instruction-unit-must-match-base-dosage-instruction
... meta
.... extension D 0..* Extension ✕ This element is not supported
.... versionId D 0..1 id ✕ This element is not supported
.... lastUpdated D 0..1 instant ✕ This element is not supported
.... source D 0..1 uri ✕ This element is not supported
.... security D 0..* Coding ✕ This element is not supported
.... tag D 0..* Coding ✕ This element is not supported
... implicitRules 0..0 A set of rules under which this content was created
... extension 2..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:treatmentplan 1..1 CHEMEDExtTreatmentPlan A reference to the MedicationStatement that introduced this medication
.... extension:parentDocument 1..1 CHEMEDExtPharmaceuticalAdvice CH EMED Extension
.... extension:authorDocument 0..1 Author Optional Extensions Element
..... Slices for value[x] Content/Rules for all slices
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
... modifierExtension 0..0 Extension
... status 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Required Pattern: active
... statusReason D 0..1 CodeableConcept ✕ This element is not supported
... intent 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... category D 0..* CodeableConcept ✕ This element is not supported
... priority D 0..1 code ✕ This element is not supported
... doNotPerform 0..0 True if request is prohibiting action
... reported[x] D 0..1 boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) ✕ This element is not supported
... medication[x] 1..1 Reference(CH Core Medication) Medication to be taken
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
... encounter D 0..1 Reference(Encounter) ✕ This element is not supported
... Slices for supportingInformation Content/Rules for all slices
.... supportingInformation:partOf 1..1 Reference(PML Observation) {r, b} Reference to the Observation from type 'CHANGE'
... requester 1..1 Reference(CH EMED EPR PractitionerRole) The author of the medical decision, see also 'Guidance - Authorship'
... performer D 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) ✕ This element is not supported
... performerType D 0..1 CodeableConcept ✕ This element is not supported
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
.... extension D 0..* Extension ✕ This element is not supported
.... text 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation) ✕ This element is not supported
... instantiatesCanonical D 0..* canonical() ✕ This element is not supported
... instantiatesUri D 0..* uri ✕ This element is not supported
... basedOn D 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) ✕ This element is not supported
... groupIdentifier D 0..1 Identifier ✕ This element is not supported
... courseOfTherapyType D 0..1 CodeableConcept ✕ This element is not supported
... insurance D 0..* Reference(Coverage | ClaimResponse) ✕ This element is not supported
... note
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
.... author[x] D 0..1 Reference(Practitioner | Patient | RelatedPerson | Organization), string ✕ The note author is ignored, as it cannot be different than the document and/or entry's author
.... time D 0..1 dateTime ✕ This element is not supported
.... text 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosageInstruction Content/Rules for all slices
.... dosageInstruction:baseEntry 1..1 CHEMEDEPRDosageMedicationRequest Base entry of the dosage instruction
.... dosageInstruction:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction
... dispenseRequest
.... modifierExtension 0..0 Extension
.... initialFill D 0..1 BackboneElement ✕ This element is not supported
..... modifierExtension 0..0 Extension
..... quantity 0..1 CHEMEDEPRAmountQuantity First fill quantity
.... dispenseInterval D 0..1 Duration ✕ This element is not supported
.... quantity 0..1 CHEMEDEPRAmountQuantity Number of packages
.... expectedSupplyDuration D 0..1 Duration ✕ This element is not supported
.... performer D 0..1 Reference(Organization) ✕ This element is not supported
... substitution 0..1 BackboneElement If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed).
.... modifierExtension 0..0 Extension
.... Slices for allowed[x] Content/Rules for all slices
..... allowed[x]:allowedCodeableConcept 0..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding 0..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
.... reason D 0..1 CodeableConcept ✕ This element is not supported
... priorPrescription D 0..1 Reference(MedicationRequest) ✕ This element is not supported
... detectedIssue D 0..* Reference(DetectedIssue) ✕ This element is not supported
... eventHistory D 0..* Reference(Provenance) ✕ This element is not supported

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.substitution.​allowed[x]:allowedCodeableConcept Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG

Constraints

Id Grade Path(s) Description Expression
split-dosage-instruction-unit-must-match-base-dosage-instruction error MedicationRequest The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosageInstruction.count() > 1) implies dosageInstruction.doseAndRate.dose.ofType(Quantity).code.union(dosageInstruction.doseAndRate.dose.ofType(Range).low.code).union(dosageInstruction.doseAndRate.dose.ofType(Range).high.code).union(dosageInstruction.doseAndRate.rate.numerator.code).count() = 1
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* CHEMEDMedicationRequestChangedList CH EMED MedicationRequest Changed (LIST)
Constraints: ch-dosage-medreq, split-dosage-instruction-unit-must-match-base-dosage-instruction
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... versionId ΣD 0..1 id ✕ This element is not supported
.... lastUpdated ΣD 0..1 instant ✕ This element is not supported
.... source ΣD 0..1 uri ✕ This element is not supported
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security ΣD 0..* Coding ✕ This element is not supported
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag ΣD 0..* Coding ✕ This element is not supported
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... 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 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentplan 1..1 (Complex) A reference to the MedicationStatement that introduced this medication
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:parentDocument 1..1 (Complex) CH EMED Extension
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice
.... extension:authorDocument 0..1 (Complex) Optional Extensions Element
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
....... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
....... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
....... display Σ 0..1 string Text alternative for the resource
... identifier 1..1 Identifier MedicationRequest Identifier
.... id 0..1 string Unique id for inter-element referencing
.... 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: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... 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)
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Required Pattern: active
... statusReason D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: order
... category D 0..* CodeableConcept ✕ This element is not supported
Binding: medicationRequest Category Codes (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.
... priority ΣD 0..1 code ✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... reported[x] ΣD 0..1 ✕ This element is not supported
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ 1..1 Reference(CH Core Medication) Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter D 0..1 Reference(Encounter) ✕ This element is not supported
... Slices for supportingInformation 1..* Reference(Resource) Information to support ordering of the medication
Slice: Unordered, Open by profile:resolve()
.... supportingInformation:partOf 1..1 Reference(PML Observation) {r, b} Reference to the Observation from type 'CHANGE'
... authoredOn Σ 1..1 dateTime When request was initially authored
... requester Σ 1..1 Reference(CH EMED EPR PractitionerRole) The author of the medical decision, see also 'Guidance - Authorship'
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... performer D 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) ✕ This element is not supported
... performerType ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation) ✕ This element is not supported
... instantiatesCanonical ΣD 0..* canonical() ✕ This element is not supported
... instantiatesUri ΣD 0..* uri ✕ This element is not supported
... basedOn ΣD 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) ✕ This element is not supported
... groupIdentifier ΣD 0..1 Identifier ✕ This element is not supported
... courseOfTherapyType D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance D 0..* Reference(Coverage | ClaimResponse) ✕ This element is not supported
... note 0..* Annotation Information about the prescription
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... author[x] ΣD 0..1 ✕ The note author is ignored, as it cannot be different than the document and/or entry's author
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time ΣD 0..1 dateTime ✕ This element is not supported
.... text Σ 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosageInstruction 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry 1..1 CHEMEDEPRDosageMedicationRequest Base entry of the dosage instruction
.... dosageInstruction:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... initialFill D 0..1 BackboneElement ✕ This element is not supported
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... quantity 0..1 CHEMEDEPRAmountQuantity First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval D 0..1 Duration ✕ This element is not supported
.... validityPeriod 0..1 Period Period of validity of the prescription
.... numberOfRepeatsAllowed 0..1 unsignedInt Repeated supply per medication (without initial dispense)
.... quantity 0..1 CHEMEDEPRAmountQuantity Number of packages
.... expectedSupplyDuration D 0..1 Duration ✕ This element is not supported
.... performer D 0..1 Reference(Organization) ✕ This element is not supported
... substitution 0..1 BackboneElement If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed).
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... Slices for allowed[x] 1..1 CodeableConcept Whether substitution is allowed or not
Slice: Unordered, Closed by type:$this
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowed[x]:allowedCodeableConcept 0..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
.... reason D 0..1 CodeableConcept ✕ This element is not supported
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription D 0..1 Reference(MedicationRequest) ✕ This element is not supported
... detectedIssue D 0..* Reference(DetectedIssue) ✕ This element is not supported
... eventHistory D 0..* Reference(Provenance) ✕ This element is not supported

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationRequest.extension:authorDocument.​value[x]:valueReference.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.statusReason Base example Medication request status reason codes 📦4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationRequest.requester.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📦4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📦4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.0
MedicationRequest.substitution.​allowed[x]:allowedCodeableConcept Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.0

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medreq error MedicationRequest If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosageInstruction.count() > 1 implies dosageInstruction.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-medicationrequest') and sequence = 1).exists()) and (dosageInstruction.count() = 1 implies dosageInstruction.single().sequence.exists().not())
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-instruction-unit-must-match-base-dosage-instruction error MedicationRequest The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosageInstruction.count() > 1) implies dosageInstruction.doseAndRate.dose.ofType(Quantity).code.union(dosageInstruction.doseAndRate.dose.ofType(Range).low.code).union(dosageInstruction.doseAndRate.dose.ofType(Range).high.code).union(dosageInstruction.doseAndRate.rate.numerator.code).count() = 1

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* CHEMEDMedicationRequestChangedList CH EMED MedicationRequest Changed (LIST)
Constraints: ch-dosage-medreq, split-dosage-instruction-unit-must-match-base-dosage-instruction
... contained 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentplan 1..1 (Complex) A reference to the MedicationStatement that introduced this medication
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:parentDocument 1..1 (Complex) CH EMED Extension
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice
.... extension:authorDocument 0..1 (Complex) Optional Extensions Element
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... Slices for extension Content/Rules for all slices
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... identifier 1..1 Identifier MedicationRequest Identifier
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Required Pattern: active
... statusReason D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: order
... category D 0..* CodeableConcept ✕ This element is not supported
Binding: medicationRequest Category Codes (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.
... priority ΣD 0..1 code ✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... reported[x] ΣD 0..1 ✕ This element is not supported
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ 1..1 Reference(CH Core Medication) Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... encounter D 0..1 Reference(Encounter) ✕ This element is not supported
... Slices for supportingInformation 1..* Reference(Resource) Information to support ordering of the medication
Slice: Unordered, Open by profile:resolve()
.... supportingInformation:partOf 1..1 Reference(PML Observation) {r, b} Reference to the Observation from type 'CHANGE'
... authoredOn Σ 1..1 dateTime When request was initially authored
... requester Σ 1..1 Reference(CH EMED EPR PractitionerRole) The author of the medical decision, see also 'Guidance - Authorship'
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... performer D 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) ✕ This element is not supported
... performerType ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... text Σ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation) ✕ This element is not supported
... instantiatesCanonical ΣD 0..* canonical() ✕ This element is not supported
... instantiatesUri ΣD 0..* uri ✕ This element is not supported
... basedOn ΣD 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) ✕ This element is not supported
... groupIdentifier ΣD 0..1 Identifier ✕ This element is not supported
... courseOfTherapyType D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance D 0..* Reference(Coverage | ClaimResponse) ✕ This element is not supported
... Slices for dosageInstruction 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry 1..1 CHEMEDEPRDosageMedicationRequest Base entry of the dosage instruction
.... dosageInstruction:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction
... substitution 0..1 BackboneElement If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed).
.... Slices for allowed[x] 1..1 CodeableConcept Whether substitution is allowed or not
Slice: Unordered, Closed by type:$this
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowed[x]:allowedCodeableConcept 0..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
.... reason D 0..1 CodeableConcept ✕ This element is not supported
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription D 0..1 Reference(MedicationRequest) ✕ This element is not supported
... detectedIssue D 0..* Reference(DetectedIssue) ✕ This element is not supported
... eventHistory D 0..* Reference(Provenance) ✕ This element is not supported

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.statusReason Base example Medication request status reason codes 📦4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📦4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📦4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.0
MedicationRequest.substitution.​allowed[x]:allowedCodeableConcept Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.0

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medreq error MedicationRequest If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosageInstruction.count() > 1 implies dosageInstruction.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-medicationrequest') and sequence = 1).exists()) and (dosageInstruction.count() = 1 implies dosageInstruction.single().sequence.exists().not())
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-instruction-unit-must-match-base-dosage-instruction error MedicationRequest The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosageInstruction.count() > 1) implies dosageInstruction.doseAndRate.dose.ofType(Quantity).code.union(dosageInstruction.doseAndRate.dose.ofType(Range).low.code).union(dosageInstruction.doseAndRate.dose.ofType(Range).high.code).union(dosageInstruction.doseAndRate.rate.numerator.code).count() = 1

Differential View

This structure is derived from CHEMEDMedicationRequestChangedList

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* CHEMEDMedicationRequestChangedList CH EMED MedicationRequest Changed (LIST)
Constraints: split-dosage-instruction-unit-must-match-base-dosage-instruction
... meta
.... extension D 0..* Extension ✕ This element is not supported
.... versionId D 0..1 id ✕ This element is not supported
.... lastUpdated D 0..1 instant ✕ This element is not supported
.... source D 0..1 uri ✕ This element is not supported
.... security D 0..* Coding ✕ This element is not supported
.... tag D 0..* Coding ✕ This element is not supported
... implicitRules 0..0 A set of rules under which this content was created
... extension 2..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:treatmentplan 1..1 CHEMEDExtTreatmentPlan A reference to the MedicationStatement that introduced this medication
.... extension:parentDocument 1..1 CHEMEDExtPharmaceuticalAdvice CH EMED Extension
.... extension:authorDocument 0..1 Author Optional Extensions Element
..... Slices for value[x] Content/Rules for all slices
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
... modifierExtension 0..0 Extension
... status 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Required Pattern: active
... statusReason D 0..1 CodeableConcept ✕ This element is not supported
... intent 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... category D 0..* CodeableConcept ✕ This element is not supported
... priority D 0..1 code ✕ This element is not supported
... doNotPerform 0..0 True if request is prohibiting action
... reported[x] D 0..1 boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) ✕ This element is not supported
... medication[x] 1..1 Reference(CH Core Medication) Medication to be taken
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
... encounter D 0..1 Reference(Encounter) ✕ This element is not supported
... Slices for supportingInformation Content/Rules for all slices
.... supportingInformation:partOf 1..1 Reference(PML Observation) {r, b} Reference to the Observation from type 'CHANGE'
... requester 1..1 Reference(CH EMED EPR PractitionerRole) The author of the medical decision, see also 'Guidance - Authorship'
... performer D 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) ✕ This element is not supported
... performerType D 0..1 CodeableConcept ✕ This element is not supported
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
.... extension D 0..* Extension ✕ This element is not supported
.... text 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation) ✕ This element is not supported
... instantiatesCanonical D 0..* canonical() ✕ This element is not supported
... instantiatesUri D 0..* uri ✕ This element is not supported
... basedOn D 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) ✕ This element is not supported
... groupIdentifier D 0..1 Identifier ✕ This element is not supported
... courseOfTherapyType D 0..1 CodeableConcept ✕ This element is not supported
... insurance D 0..* Reference(Coverage | ClaimResponse) ✕ This element is not supported
... note
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
.... author[x] D 0..1 Reference(Practitioner | Patient | RelatedPerson | Organization), string ✕ The note author is ignored, as it cannot be different than the document and/or entry's author
.... time D 0..1 dateTime ✕ This element is not supported
.... text 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosageInstruction Content/Rules for all slices
.... dosageInstruction:baseEntry 1..1 CHEMEDEPRDosageMedicationRequest Base entry of the dosage instruction
.... dosageInstruction:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction
... dispenseRequest
.... modifierExtension 0..0 Extension
.... initialFill D 0..1 BackboneElement ✕ This element is not supported
..... modifierExtension 0..0 Extension
..... quantity 0..1 CHEMEDEPRAmountQuantity First fill quantity
.... dispenseInterval D 0..1 Duration ✕ This element is not supported
.... quantity 0..1 CHEMEDEPRAmountQuantity Number of packages
.... expectedSupplyDuration D 0..1 Duration ✕ This element is not supported
.... performer D 0..1 Reference(Organization) ✕ This element is not supported
... substitution 0..1 BackboneElement If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed).
.... modifierExtension 0..0 Extension
.... Slices for allowed[x] Content/Rules for all slices
..... allowed[x]:allowedCodeableConcept 0..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding 0..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
.... reason D 0..1 CodeableConcept ✕ This element is not supported
... priorPrescription D 0..1 Reference(MedicationRequest) ✕ This element is not supported
... detectedIssue D 0..* Reference(DetectedIssue) ✕ This element is not supported
... eventHistory D 0..* Reference(Provenance) ✕ This element is not supported

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.substitution.​allowed[x]:allowedCodeableConcept Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG

Constraints

Id Grade Path(s) Description Expression
split-dosage-instruction-unit-must-match-base-dosage-instruction error MedicationRequest The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosageInstruction.count() > 1) implies dosageInstruction.doseAndRate.dose.ofType(Quantity).code.union(dosageInstruction.doseAndRate.dose.ofType(Range).low.code).union(dosageInstruction.doseAndRate.dose.ofType(Range).high.code).union(dosageInstruction.doseAndRate.rate.numerator.code).count() = 1

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* CHEMEDMedicationRequestChangedList CH EMED MedicationRequest Changed (LIST)
Constraints: ch-dosage-medreq, split-dosage-instruction-unit-must-match-base-dosage-instruction
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... versionId ΣD 0..1 id ✕ This element is not supported
.... lastUpdated ΣD 0..1 instant ✕ This element is not supported
.... source ΣD 0..1 uri ✕ This element is not supported
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security ΣD 0..* Coding ✕ This element is not supported
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag ΣD 0..* Coding ✕ This element is not supported
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... 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 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentplan 1..1 (Complex) A reference to the MedicationStatement that introduced this medication
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:parentDocument 1..1 (Complex) CH EMED Extension
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice
.... extension:authorDocument 0..1 (Complex) Optional Extensions Element
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
....... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
....... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
....... display Σ 0..1 string Text alternative for the resource
... identifier 1..1 Identifier MedicationRequest Identifier
.... id 0..1 string Unique id for inter-element referencing
.... 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: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... 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)
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
Required Pattern: active
... statusReason D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
Required Pattern: order
... category D 0..* CodeableConcept ✕ This element is not supported
Binding: medicationRequest Category Codes (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.
... priority ΣD 0..1 code ✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... reported[x] ΣD 0..1 ✕ This element is not supported
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ 1..1 Reference(CH Core Medication) Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter D 0..1 Reference(Encounter) ✕ This element is not supported
... Slices for supportingInformation 1..* Reference(Resource) Information to support ordering of the medication
Slice: Unordered, Open by profile:resolve()
.... supportingInformation:partOf 1..1 Reference(PML Observation) {r, b} Reference to the Observation from type 'CHANGE'
... authoredOn Σ 1..1 dateTime When request was initially authored
... requester Σ 1..1 Reference(CH EMED EPR PractitionerRole) The author of the medical decision, see also 'Guidance - Authorship'
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... performer D 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) ✕ This element is not supported
... performerType ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation) ✕ This element is not supported
... instantiatesCanonical ΣD 0..* canonical() ✕ This element is not supported
... instantiatesUri ΣD 0..* uri ✕ This element is not supported
... basedOn ΣD 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) ✕ This element is not supported
... groupIdentifier ΣD 0..1 Identifier ✕ This element is not supported
... courseOfTherapyType D 0..1 CodeableConcept ✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
... insurance D 0..* Reference(Coverage | ClaimResponse) ✕ This element is not supported
... note 0..* Annotation Information about the prescription
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... author[x] ΣD 0..1 ✕ The note author is ignored, as it cannot be different than the document and/or entry's author
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time ΣD 0..1 dateTime ✕ This element is not supported
.... text Σ 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosageInstruction 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry 1..1 CHEMEDEPRDosageMedicationRequest Base entry of the dosage instruction
.... dosageInstruction:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... initialFill D 0..1 BackboneElement ✕ This element is not supported
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... quantity 0..1 CHEMEDEPRAmountQuantity First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval D 0..1 Duration ✕ This element is not supported
.... validityPeriod 0..1 Period Period of validity of the prescription
.... numberOfRepeatsAllowed 0..1 unsignedInt Repeated supply per medication (without initial dispense)
.... quantity 0..1 CHEMEDEPRAmountQuantity Number of packages
.... expectedSupplyDuration D 0..1 Duration ✕ This element is not supported
.... performer D 0..1 Reference(Organization) ✕ This element is not supported
... substitution 0..1 BackboneElement If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed).
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... Slices for allowed[x] 1..1 CodeableConcept Whether substitution is allowed or not
Slice: Unordered, Closed by type:$this
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowed[x]:allowedCodeableConcept 0..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
.... reason D 0..1 CodeableConcept ✕ This element is not supported
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
... priorPrescription D 0..1 Reference(MedicationRequest) ✕ This element is not supported
... detectedIssue D 0..* Reference(DetectedIssue) ✕ This element is not supported
... eventHistory D 0..* Reference(Provenance) ✕ This element is not supported

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationRequest.extension:authorDocument.​value[x]:valueReference.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationRequest.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.statusReason Base example Medication request status reason codes 📦4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.subject.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationRequest.requester.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationRequest.performerType Base example Procedure Performer Role Codes 📦4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📦4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.0
MedicationRequest.substitution.​allowed[x]:allowedCodeableConcept Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.0

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medreq error MedicationRequest If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosageInstruction.count() > 1 implies dosageInstruction.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-medicationrequest') and sequence = 1).exists()) and (dosageInstruction.count() = 1 implies dosageInstruction.single().sequence.exists().not())
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-instruction-unit-must-match-base-dosage-instruction error MedicationRequest The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosageInstruction.count() > 1) implies dosageInstruction.doseAndRate.dose.ofType(Quantity).code.union(dosageInstruction.doseAndRate.dose.ofType(Range).low.code).union(dosageInstruction.doseAndRate.dose.ofType(Range).high.code).union(dosageInstruction.doseAndRate.rate.numerator.code).count() = 1

 

Other representations of profile: CSV, Excel, Schematron