CH EMED EPR
1.0.0 - trial-use Switzerland flag

This page is part of the FHIR eMedication exchange formats for the implementation effort of CARA within its EPR community (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: PRE MedicationRequest

Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationrequest Version: 1.0.0
Draft as of 2024-01-26 Computable Name: CHEMEDEPRMedicationRequest

Copyright/Legal: CC0-1.0

Definition of the medication request for the medication prescription document

Usage:

Formal Views of Profile Content

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

This structure is derived from CHEMEDMedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest CHEMEDMedicationRequest
... meta
.... extension D0..*Extension✕ This element is not supported
.... versionId D0..1id✕ This element is not supported
.... lastUpdated D0..1instant✕ This element is not supported
.... source D0..1uri✕ This element is not supported
.... security D0..*Coding✕ This element is not supported
.... tag D0..*Coding✕ This element is not supported
... implicitRules 0..0
... extension 1..*ExtensionExtension
... extension:treatmentplan 1..1CHEMEDExtTreatmentPlanA reference to the MedicationStatement that introduced this medication
... modifierExtension 0..0
... status 1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Required Pattern: active
... statusReason D0..1CodeableConcept✕ This element is not supported
... intent 1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... category D0..*CodeableConcept✕ This element is not supported
... priority D0..1code✕ This element is not supported
... doNotPerform 0..0
... reported[x] D0..1boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)✕ This element is not supported
... medication[x] 1..1Reference(Medication)Medication to be taken
... medication[x]:medicationReference 0..1Reference(CH EMED EPR Medication) {c}Reference to the contained medication
... subject 1..1Reference(CH EMED EPR Patient) {r, b}Patient
... encounter D0..1Reference(Encounter)✕ This element is not supported
... supportingInformation D0..*Reference(Resource)✕ This element is not supported
... requester 1..1Reference(CH EMED EPR PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
... performer D0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)✕ This element is not supported
... performerType D0..1CodeableConcept✕ This element is not supported
... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
.... extension D0..*Extension✕ This element is not supported
.... text 1..1stringPlain text representation of the treatment reason(s)
... reasonReference D0..*Reference(Condition | Observation)✕ This element is not supported
... instantiatesCanonical D0..*canonical()✕ This element is not supported
... instantiatesUri D0..*uri✕ This element is not supported
... basedOn D0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)✕ This element is not supported
... groupIdentifier D0..1Identifier✕ This element is not supported
... courseOfTherapyType D0..1CodeableConcept✕ This element is not supported
... insurance D0..*Reference(Coverage | ClaimResponse)✕ This element is not supported
... note
.... id D0..1string✕ This element is not supported
.... extension D0..*Extension✕ This element is not supported
.... author[x] D0..1Reference(Practitioner | Patient | RelatedPerson | Organization), string✕ The note author is ignored, as it cannot be different than the document and/or entry's author
.... time D0..1dateTime✕ This element is not supported
.... text 1..1markdownThe annotation text content (as raw text, no markdown allowed).
... dosageInstruction:baseEntry 1..1CHEMEDEPRDosageMedicationRequestCH EMED Dosage (MedicationRequest)
... dosageInstruction:additionalEntry 0..*CHEMEDEPRDosageSplitCH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest)
... dispenseRequest
.... modifierExtension 0..0
.... initialFill D0..1BackboneElement✕ This element is not supported
..... modifierExtension 0..0
..... quantity 0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
.... quantity 0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
.... expectedSupplyDuration D0..1Duration✕ This element is not supported
.... performer D0..1Reference(Organization)✕ This element is not supported
... substitution
.... modifierExtension 0..0
.... allowed[x] 1..1CodeableConceptWhether substitution is allowed or not
.... allowed[x]:allowedCodeableConcept 0..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (required)
.... reason D0..1CodeableConcept✕ This element is not supported
... priorPrescription D0..1Reference(MedicationRequest)✕ This element is not supported
... detectedIssue D0..*Reference(DetectedIssue)✕ This element is not supported
... eventHistory D0..*Reference(Provenance)✕ This element is not supported

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.substitution.allowed[x]:allowedCodeableConceptrequiredActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*CHEMEDMedicationRequestCH EMED MedicationRequest (PRE)
... contained 1..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... 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
... identifier 1..1IdentifierMedicationRequest Identifier
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringIdentifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
... status ?!Σ1..1codeactive | 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 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!Σ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


Required Pattern: order
... category 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 Σ0..1code✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... reported[x] Σ0..1✕ This element is not supported
.... reportedBooleanboolean
.... reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ1..1Reference(Medication)Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ0..1Reference(CH EMED EPR Medication) {c}Reference to the contained medication
... subject Σ1..1Reference(CH EMED EPR Patient) {r, b}Patient
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... encounter 0..1Reference(Encounter)✕ This element is not supported
... supportingInformation 0..*Reference(Resource)✕ This element is not supported
... authoredOn Σ1..1dateTimeWhen request was initially authored
... requester Σ1..1Reference(CH EMED EPR PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)✕ This element is not supported
... performerType Σ0..1CodeableConcept✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... text Σ1..1stringPlain text representation of the treatment reason(s)
... reasonReference 0..*Reference(Condition | Observation)✕ This element is not supported
... instantiatesCanonical Σ0..*canonical()✕ This element is not supported
... instantiatesUri Σ0..*uri✕ This element is not supported
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)✕ This element is not supported
... groupIdentifier Σ0..1Identifier✕ This element is not supported
... courseOfTherapyType 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance 0..*Reference(Coverage | ClaimResponse)✕ This element is not supported
... Slices for dosageInstruction 1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry C1..1CHEMEDEPRDosageMedicationRequestCH EMED Dosage (MedicationRequest)
.... dosageInstruction:additionalEntry 0..*CHEMEDEPRDosageSplitCH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest)
... priorPrescription 0..1Reference(MedicationRequest)✕ This element is not supported
... detectedIssue 0..*Reference(DetectedIssue)✕ This element is not supported
... eventHistory 0..*Reference(Provenance)✕ This element is not supported

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
MedicationRequest.statusrequiredPattern: active
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ch-dosage-3errorMedicationRequest.dosageInstruction:baseEntryPatient instruction/free text dosage instruction, timing or as needed has to be specified
: patientInstruction.exists() or timing.exists() or asNeeded.exists()
ch-dosage-4errorMedicationRequest.dosageInstruction:baseEntryFor split dosage timing event and dose/rate are required
: sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists())
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*CHEMEDMedicationRequestCH EMED MedicationRequest (PRE)
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... versionId Σ0..1id✕ This element is not supported
.... lastUpdated Σ0..1instant✕ This element is not supported
.... source Σ0..1uri✕ This element is not supported
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*Coding✕ This element is not supported
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ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..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 1..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... 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
... identifier 1..1IdentifierMedicationRequest Identifier
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringIdentifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!Σ1..1codeactive | 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 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!Σ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


Required Pattern: order
... category 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 Σ0..1code✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... reported[x] Σ0..1✕ This element is not supported
.... reportedBooleanboolean
.... reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ1..1Reference(Medication)Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ0..1Reference(CH EMED EPR Medication) {c}Reference to the contained medication
... subject Σ1..1Reference(CH EMED EPR Patient) {r, b}Patient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... encounter 0..1Reference(Encounter)✕ This element is not supported
... supportingInformation 0..*Reference(Resource)✕ This element is not supported
... authoredOn Σ1..1dateTimeWhen request was initially authored
... requester Σ1..1Reference(CH EMED EPR PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)✕ This element is not supported
... performerType Σ0..1CodeableConcept✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... recorder 0..1Reference(Practitioner | PractitionerRole)Person who entered the request
... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ1..1stringPlain text representation of the treatment reason(s)
... reasonReference 0..*Reference(Condition | Observation)✕ This element is not supported
... instantiatesCanonical Σ0..*canonical()✕ This element is not supported
... instantiatesUri Σ0..*uri✕ This element is not supported
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)✕ This element is not supported
... groupIdentifier Σ0..1Identifier✕ This element is not supported
... courseOfTherapyType 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance 0..*Reference(Coverage | ClaimResponse)✕ This element is not supported
... note 0..*AnnotationInformation about the prescription
.... id 0..1string✕ This element is not supported
.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... author[x] Σ0..1✕ The note author is ignored, as it cannot be different than the document and/or entry's author
..... authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
..... authorStringstring
.... time Σ0..1dateTime✕ This element is not supported
.... text Σ1..1markdownThe annotation text content (as raw text, no markdown allowed).
... Slices for dosageInstruction 1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry C1..1CHEMEDEPRDosageMedicationRequestCH EMED Dosage (MedicationRequest)
.... dosageInstruction:additionalEntry 0..*CHEMEDEPRDosageSplitCH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest)
... dispenseRequest 0..1BackboneElementMedication supply authorization
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... initialFill 0..1BackboneElement✕ This element is not supported
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... quantity C0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
..... duration 0..1DurationFirst fill duration
.... dispenseInterval 0..1DurationMinimum period of time between dispenses
.... validityPeriod 0..1PeriodPeriod of validity of the prescription
.... numberOfRepeatsAllowed 0..1unsignedIntRepeated supply per medication (without initial dispense)
.... quantity C0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
.... expectedSupplyDuration 0..1Duration✕ This element is not supported
.... performer 0..1Reference(Organization)✕ This element is not supported
... substitution 0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... Slices for allowed[x] 1..1CodeableConceptWhether substitution is allowed or not
Slice: Unordered, Closed by type:$this
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

..... allowed[x]:allowedCodeableConcept 0..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (required)
.... reason 0..1CodeableConcept✕ 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 0..1Reference(MedicationRequest)✕ This element is not supported
... detectedIssue 0..*Reference(DetectedIssue)✕ This element is not supported
... eventHistory 0..*Reference(Provenance)✕ This element is not supported

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
MedicationRequest.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
MedicationRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
MedicationRequest.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.statusrequiredPattern: active
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
MedicationRequest.requester.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.allowed[x]:allowedCodeableConceptrequiredActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
ch-dosage-3errorMedicationRequest.dosageInstruction:baseEntryPatient instruction/free text dosage instruction, timing or as needed has to be specified
: patientInstruction.exists() or timing.exists() or asNeeded.exists()
ch-dosage-4errorMedicationRequest.dosageInstruction:baseEntryFor split dosage timing event and dose/rate are required
: sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists())
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qty-3errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantityThe comparator is not used on a SimpleQuantity
: comparator.empty()

Differential View

This structure is derived from CHEMEDMedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest CHEMEDMedicationRequest
... meta
.... extension D0..*Extension✕ This element is not supported
.... versionId D0..1id✕ This element is not supported
.... lastUpdated D0..1instant✕ This element is not supported
.... source D0..1uri✕ This element is not supported
.... security D0..*Coding✕ This element is not supported
.... tag D0..*Coding✕ This element is not supported
... implicitRules 0..0
... extension 1..*ExtensionExtension
... extension:treatmentplan 1..1CHEMEDExtTreatmentPlanA reference to the MedicationStatement that introduced this medication
... modifierExtension 0..0
... status 1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Required Pattern: active
... statusReason D0..1CodeableConcept✕ This element is not supported
... intent 1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... category D0..*CodeableConcept✕ This element is not supported
... priority D0..1code✕ This element is not supported
... doNotPerform 0..0
... reported[x] D0..1boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)✕ This element is not supported
... medication[x] 1..1Reference(Medication)Medication to be taken
... medication[x]:medicationReference 0..1Reference(CH EMED EPR Medication) {c}Reference to the contained medication
... subject 1..1Reference(CH EMED EPR Patient) {r, b}Patient
... encounter D0..1Reference(Encounter)✕ This element is not supported
... supportingInformation D0..*Reference(Resource)✕ This element is not supported
... requester 1..1Reference(CH EMED EPR PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
... performer D0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)✕ This element is not supported
... performerType D0..1CodeableConcept✕ This element is not supported
... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
.... extension D0..*Extension✕ This element is not supported
.... text 1..1stringPlain text representation of the treatment reason(s)
... reasonReference D0..*Reference(Condition | Observation)✕ This element is not supported
... instantiatesCanonical D0..*canonical()✕ This element is not supported
... instantiatesUri D0..*uri✕ This element is not supported
... basedOn D0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)✕ This element is not supported
... groupIdentifier D0..1Identifier✕ This element is not supported
... courseOfTherapyType D0..1CodeableConcept✕ This element is not supported
... insurance D0..*Reference(Coverage | ClaimResponse)✕ This element is not supported
... note
.... id D0..1string✕ This element is not supported
.... extension D0..*Extension✕ This element is not supported
.... author[x] D0..1Reference(Practitioner | Patient | RelatedPerson | Organization), string✕ The note author is ignored, as it cannot be different than the document and/or entry's author
.... time D0..1dateTime✕ This element is not supported
.... text 1..1markdownThe annotation text content (as raw text, no markdown allowed).
... dosageInstruction:baseEntry 1..1CHEMEDEPRDosageMedicationRequestCH EMED Dosage (MedicationRequest)
... dosageInstruction:additionalEntry 0..*CHEMEDEPRDosageSplitCH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest)
... dispenseRequest
.... modifierExtension 0..0
.... initialFill D0..1BackboneElement✕ This element is not supported
..... modifierExtension 0..0
..... quantity 0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
.... quantity 0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
.... expectedSupplyDuration D0..1Duration✕ This element is not supported
.... performer D0..1Reference(Organization)✕ This element is not supported
... substitution
.... modifierExtension 0..0
.... allowed[x] 1..1CodeableConceptWhether substitution is allowed or not
.... allowed[x]:allowedCodeableConcept 0..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (required)
.... reason D0..1CodeableConcept✕ This element is not supported
... priorPrescription D0..1Reference(MedicationRequest)✕ This element is not supported
... detectedIssue D0..*Reference(DetectedIssue)✕ This element is not supported
... eventHistory D0..*Reference(Provenance)✕ This element is not supported

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.substitution.allowed[x]:allowedCodeableConceptrequiredActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*CHEMEDMedicationRequestCH EMED MedicationRequest (PRE)
... contained 1..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... 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
... identifier 1..1IdentifierMedicationRequest Identifier
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringIdentifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
... status ?!Σ1..1codeactive | 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 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!Σ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


Required Pattern: order
... category 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 Σ0..1code✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... reported[x] Σ0..1✕ This element is not supported
.... reportedBooleanboolean
.... reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ1..1Reference(Medication)Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ0..1Reference(CH EMED EPR Medication) {c}Reference to the contained medication
... subject Σ1..1Reference(CH EMED EPR Patient) {r, b}Patient
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... encounter 0..1Reference(Encounter)✕ This element is not supported
... supportingInformation 0..*Reference(Resource)✕ This element is not supported
... authoredOn Σ1..1dateTimeWhen request was initially authored
... requester Σ1..1Reference(CH EMED EPR PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)✕ This element is not supported
... performerType Σ0..1CodeableConcept✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... text Σ1..1stringPlain text representation of the treatment reason(s)
... reasonReference 0..*Reference(Condition | Observation)✕ This element is not supported
... instantiatesCanonical Σ0..*canonical()✕ This element is not supported
... instantiatesUri Σ0..*uri✕ This element is not supported
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)✕ This element is not supported
... groupIdentifier Σ0..1Identifier✕ This element is not supported
... courseOfTherapyType 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance 0..*Reference(Coverage | ClaimResponse)✕ This element is not supported
... Slices for dosageInstruction 1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry C1..1CHEMEDEPRDosageMedicationRequestCH EMED Dosage (MedicationRequest)
.... dosageInstruction:additionalEntry 0..*CHEMEDEPRDosageSplitCH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest)
... priorPrescription 0..1Reference(MedicationRequest)✕ This element is not supported
... detectedIssue 0..*Reference(DetectedIssue)✕ This element is not supported
... eventHistory 0..*Reference(Provenance)✕ This element is not supported

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
MedicationRequest.statusrequiredPattern: active
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ch-dosage-3errorMedicationRequest.dosageInstruction:baseEntryPatient instruction/free text dosage instruction, timing or as needed has to be specified
: patientInstruction.exists() or timing.exists() or asNeeded.exists()
ch-dosage-4errorMedicationRequest.dosageInstruction:baseEntryFor split dosage timing event and dose/rate are required
: sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists())
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*CHEMEDMedicationRequestCH EMED MedicationRequest (PRE)
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... versionId Σ0..1id✕ This element is not supported
.... lastUpdated Σ0..1instant✕ This element is not supported
.... source Σ0..1uri✕ This element is not supported
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*Coding✕ This element is not supported
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ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..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 1..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... 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
... identifier 1..1IdentifierMedicationRequest Identifier
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription 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..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringIdentifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!Σ1..1codeactive | 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 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!Σ1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


Required Pattern: order
... category 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 Σ0..1code✕ This element is not supported
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... reported[x] Σ0..1✕ This element is not supported
.... reportedBooleanboolean
.... reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... Slices for medication[x] Σ1..1Reference(Medication)Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ0..1Reference(CH EMED EPR Medication) {c}Reference to the contained medication
... subject Σ1..1Reference(CH EMED EPR Patient) {r, b}Patient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... encounter 0..1Reference(Encounter)✕ This element is not supported
... supportingInformation 0..*Reference(Resource)✕ This element is not supported
... authoredOn Σ1..1dateTimeWhen request was initially authored
... requester Σ1..1Reference(CH EMED EPR PractitionerRole)The author of the medical decision, see also 'Guidance - Authorship'
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)✕ This element is not supported
... performerType Σ0..1CodeableConcept✕ This element is not supported
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... recorder 0..1Reference(Practitioner | PractitionerRole)Person who entered the request
... reasonCode 0..1CodeableConceptThe treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ1..1stringPlain text representation of the treatment reason(s)
... reasonReference 0..*Reference(Condition | Observation)✕ This element is not supported
... instantiatesCanonical Σ0..*canonical()✕ This element is not supported
... instantiatesUri Σ0..*uri✕ This element is not supported
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)✕ This element is not supported
... groupIdentifier Σ0..1Identifier✕ This element is not supported
... courseOfTherapyType 0..1CodeableConcept✕ This element is not supported
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance 0..*Reference(Coverage | ClaimResponse)✕ This element is not supported
... note 0..*AnnotationInformation about the prescription
.... id 0..1string✕ This element is not supported
.... extension 0..*Extension✕ This element is not supported
Slice: Unordered, Open by value:url
.... author[x] Σ0..1✕ The note author is ignored, as it cannot be different than the document and/or entry's author
..... authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
..... authorStringstring
.... time Σ0..1dateTime✕ This element is not supported
.... text Σ1..1markdownThe annotation text content (as raw text, no markdown allowed).
... Slices for dosageInstruction 1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosageInstruction:baseEntry C1..1CHEMEDEPRDosageMedicationRequestCH EMED Dosage (MedicationRequest)
.... dosageInstruction:additionalEntry 0..*CHEMEDEPRDosageSplitCH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest)
... dispenseRequest 0..1BackboneElementMedication supply authorization
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... initialFill 0..1BackboneElement✕ This element is not supported
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... quantity C0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
..... duration 0..1DurationFirst fill duration
.... dispenseInterval 0..1DurationMinimum period of time between dispenses
.... validityPeriod 0..1PeriodPeriod of validity of the prescription
.... numberOfRepeatsAllowed 0..1unsignedIntRepeated supply per medication (without initial dispense)
.... quantity C0..1CHEMEDEPRAmountQuantityA fixed quantity (no comparator)
.... expectedSupplyDuration 0..1Duration✕ This element is not supported
.... performer 0..1Reference(Organization)✕ This element is not supported
... substitution 0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... Slices for allowed[x] 1..1CodeableConceptWhether substitution is allowed or not
Slice: Unordered, Closed by type:$this
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

..... allowed[x]:allowedCodeableConcept 0..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (required)
.... reason 0..1CodeableConcept✕ 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 0..1Reference(MedicationRequest)✕ This element is not supported
... detectedIssue 0..*Reference(DetectedIssue)✕ This element is not supported
... eventHistory 0..*Reference(Provenance)✕ This element is not supported

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
MedicationRequest.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
MedicationRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
MedicationRequest.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.statusrequiredPattern: active
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
MedicationRequest.requester.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.allowed[x]:allowedCodeableConceptrequiredActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
ch-dosage-3errorMedicationRequest.dosageInstruction:baseEntryPatient instruction/free text dosage instruction, timing or as needed has to be specified
: patientInstruction.exists() or timing.exists() or asNeeded.exists()
ch-dosage-4errorMedicationRequest.dosageInstruction:baseEntryFor split dosage timing event and dose/rate are required
: sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists())
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qty-3errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantityThe comparator is not used on a SimpleQuantity
: comparator.empty()