CH EMED EPR
2.0.0 - trial-use
This page is part of the FHIR eMedication exchange formats for the implementation effort of CARA within its EPR community (v2.0.0: STU2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationrequest-changed | Version: 2.0.0 | |||
Draft as of 2025-01-21 | Computable Name: CHEMEDEPRChangedMedicationRequest | |||
Copyright/Legal: CC0-1.0 |
Definition of the changed medication request for the pharmaceutical advice document
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | CHEMEDMedicationRequestChanged | CH EMED MedicationRequest Changed (PADV) dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management ch-dosage-medreq: 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. split-dosage-instruction-unit-must-match-base-dosage-instruction: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. |
![]() ![]() ![]() |
1..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | A reference to the MedicationStatement that introduced this medication URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
1..1 | Identifier | MedicationRequest Identifier ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identifier value as UUID ele-1: All FHIR elements must have a @value or children Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 |
![]() ![]() ![]() |
?!Σ | 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. ele-1: All FHIR elements must have a @value or children Required Pattern: active |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. ele-1: All FHIR elements must have a @value or children Required Pattern: order |
![]() ![]() ![]() |
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. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | code | ✕ This element is not supported Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH Core Medication) | Medication to be taken Slice: Unordered, Closed by type:$this ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | Reference(Encounter) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve() ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
1..1 | Reference(PADV Observation) {r, b} | Reference to the Observation from type 'CHANGE' ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
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. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Plain text representation of the treatment reason(s) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..* | canonical() | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..* | uri | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | Identifier | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | CHCoreDosage | How the medication should be taken Slice: Unordered, Closed by profile:$this ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
C | 1..1 | CHEMEDEPRDosageMedicationRequest | Base entry of the dosage instruction ele-1: All FHIR elements must have a @value or children ch-dosage-4: For split dosage timing event and dose/rate are required ch-dosage-3: Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified |
![]() ![]() ![]() ![]() |
0..* | CHEMEDEPRDosageSplit | Additional entry of the dosage instruction ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | BackboneElement | If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed). ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Whether substitution is allowed or not Slice: Unordered, Closed by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Whether substitution is allowed or not Binding: Substance Administration Substitution Codes (required) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: N | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: none | |
![]() ![]() ![]() ![]() |
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. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(Provenance) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
MedicationRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1 from the FHIR Standard | |
MedicationRequest.statusReason | example | medicationRequest Status Reason Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason from the FHIR Standard | |
MedicationRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 from the FHIR Standard | |
MedicationRequest.category | example | medicationRequest Category Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-category from the FHIR Standard | |
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 from the FHIR Standard | |
MedicationRequest.performerType | example | ProcedurePerformerRoleCodeshttp://hl7.org/fhir/ValueSet/performer-role from the FHIR Standard | |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard | |
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy from the FHIR Standard | |
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | CHEMEDEprActSubstanceAdminSubstitutionCodehttp://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-substance-admin-substitution-code from this IG | |
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
ch-dosage-3 | error | MedicationRequest.dosageInstruction:baseEntry | Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified : patientInstruction.exists() or (timing.exists() and doseAndRate.exists()) | |
ch-dosage-4 | error | MedicationRequest.dosageInstruction:baseEntry | For split dosage timing event and dose/rate are required : sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists()) | |
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 CHEMEDMedicationRequestChanged
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | CHEMEDMedicationRequestChanged | CH EMED MedicationRequest Changed (PADV) split-dosage-instruction-unit-must-match-base-dosage-instruction: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | id | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | instant | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | uri | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..* | Coding | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..* | Coding | ✕ This element is not supported |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | CHEMEDExtTreatmentPlan | A reference to the MedicationStatement that introduced this medication | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Required Pattern: active | |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Required Pattern: order | |
![]() ![]() ![]() |
D | 0..* | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | code | ✕ This element is not supported |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
D | 0..1 | boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | ✕ This element is not supported |
![]() ![]() ![]() |
1..1 | Reference(CH Core Medication) | Medication to be taken | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | |
![]() ![]() ![]() |
1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | |
![]() ![]() ![]() |
D | 0..1 | Reference(Encounter) | ✕ This element is not supported |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(PADV Observation) {r, b} | Reference to the Observation from type 'CHANGE' | |
![]() ![]() ![]() |
1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | |
![]() ![]() ![]() |
D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
0..* | CodeableConcept | The treatment reason(s) as text, and optionally coded | |
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the treatment reason(s) | |
![]() ![]() ![]() |
D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | canonical() | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | uri | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | Identifier | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
D | 0..1 | dateTime | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | CHEMEDEPRDosageMedicationRequest | Base entry of the dosage instruction | |
![]() ![]() ![]() ![]() |
0..* | CHEMEDEPRDosageSplit | Additional entry of the dosage instruction | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
D | 0..1 | BackboneElement | ✕ This element is not supported |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | First fill quantity | |
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | Number of packages | |
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | Reference(Organization) | ✕ This element is not supported |
![]() ![]() ![]() |
0..1 | BackboneElement | If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed). | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Whether substitution is allowed or not Binding: Substance Administration Substitution Codes (required) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: N | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: none | |
![]() ![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(Provenance) | ✕ This element is not supported |
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | CHEMEDEprActSubstanceAdminSubstitutionCodehttp://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-substance-admin-substitution-code from this IG |
Id | Grade | Path(s) | Details | Requirements |
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 |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | CHEMEDMedicationRequestChanged | CH EMED MedicationRequest Changed (PADV) ch-dosage-medreq: 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. split-dosage-instruction-unit-must-match-base-dosage-instruction: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | id | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | instant | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | uri | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..* | Coding | ✕ This element is not supported Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() |
Σ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". | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
1..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | (Complex) | A reference to the MedicationStatement that introduced this medication URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan | |||||
![]() ![]() ![]() |
1..1 | Identifier | MedicationRequest Identifier | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identifier value as UUID Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
?!Σ | 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 | ||||
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | ||||
![]() ![]() ![]() |
?!Σ | 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 | ||||
![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
ΣD | 0..1 | code | ✕ This element is not supported Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() ![]() |
ΣD | 0..1 | ✕ This element is not supported | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH Core Medication) | Medication to be taken Slice: Unordered, Closed by type:$this | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
D | 0..1 | Reference(Encounter) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
1..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve() | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(PADV Observation) {r, b} | Reference to the Observation from type 'CHANGE' | |||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. | ||||
![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Plain text representation of the treatment reason(s) | ||||
![]() ![]() ![]() |
D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..* | canonical() | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..* | uri | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..1 | Identifier | ✕ This element is not supported | ||||
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio. | ||||
![]() ![]() ![]() |
D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | string | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | ✕ The note author is ignored, as it cannot be different than the document and/or entry's author | |||||
![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | dateTime | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | ||||
![]() ![]() ![]() |
1..* | CHCoreDosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | CHEMEDEPRDosageMedicationRequest | Base entry of the dosage instruction ch-dosage-4: For split dosage timing event and dose/rate are required ch-dosage-3: Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified | ||||
![]() ![]() ![]() ![]() |
0..* | CHEMEDEPRDosageSplit | Additional entry of the dosage instruction | |||||
![]() ![]() ![]() |
0..1 | BackboneElement | Medication supply authorization | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | BackboneElement | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | First fill quantity | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Duration | First fill duration | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | Period of validity of the prescription | |||||
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Repeated supply per medication (without initial dispense) | |||||
![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | Number of packages | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
D | 0..1 | Reference(Organization) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
0..1 | BackboneElement | If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed). | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Whether substitution is allowed or not Slice: Unordered, Closed by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Whether substitution is allowed or not Binding: Substance Administration Substitution Codes (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: N | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: none | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
D | 0..* | Reference(Provenance) | ✕ This element is not supported | ||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
MedicationRequest.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labels from the FHIR Standard | ||||
MedicationRequest.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags from the FHIR Standard | ||||
MedicationRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
MedicationRequest.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
MedicationRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1 from the FHIR Standard | ||||
MedicationRequest.statusReason | example | medicationRequest Status Reason Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason from the FHIR Standard | ||||
MedicationRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 from the FHIR Standard | ||||
MedicationRequest.category | example | medicationRequest Category Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-category from the FHIR Standard | ||||
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 from the FHIR Standard | ||||
MedicationRequest.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
MedicationRequest.requester.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
MedicationRequest.performerType | example | ProcedurePerformerRoleCodeshttp://hl7.org/fhir/ValueSet/performer-role from the FHIR Standard | ||||
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard | ||||
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy from the FHIR Standard | ||||
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | ||||
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | CHEMEDEprActSubstanceAdminSubstitutionCodehttp://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-substance-admin-substitution-code from this IG | ||||
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
ch-dosage-3 | error | MedicationRequest.dosageInstruction:baseEntry | Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified : patientInstruction.exists() or (timing.exists() and doseAndRate.exists()) | |
ch-dosage-4 | error | MedicationRequest.dosageInstruction:baseEntry | For split dosage timing event and dose/rate are required : sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists()) | |
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 CHEMEDMedicationRequestChanged
Summary
Mandatory: 2 elements(1 nested mandatory element)
Prohibited: 6 elements
Structures
This structure refers to these other structures:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | CHEMEDMedicationRequestChanged | CH EMED MedicationRequest Changed (PADV) dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management ch-dosage-medreq: 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. split-dosage-instruction-unit-must-match-base-dosage-instruction: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. |
![]() ![]() ![]() |
1..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
1..1 | (Complex) | A reference to the MedicationStatement that introduced this medication URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
1..1 | Identifier | MedicationRequest Identifier ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Fixed Value: urn:ietf:rfc:3986 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identifier value as UUID ele-1: All FHIR elements must have a @value or children Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 |
![]() ![]() ![]() |
?!Σ | 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. ele-1: All FHIR elements must have a @value or children Required Pattern: active |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. ele-1: All FHIR elements must have a @value or children Required Pattern: order |
![]() ![]() ![]() |
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. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | code | ✕ This element is not supported Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH Core Medication) | Medication to be taken Slice: Unordered, Closed by type:$this ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | Reference(Encounter) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve() ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
1..1 | Reference(PADV Observation) {r, b} | Reference to the Observation from type 'CHANGE' ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
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. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Plain text representation of the treatment reason(s) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..* | canonical() | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..* | uri | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
ΣD | 0..1 | Identifier | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | CHCoreDosage | How the medication should be taken Slice: Unordered, Closed by profile:$this ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
C | 1..1 | CHEMEDEPRDosageMedicationRequest | Base entry of the dosage instruction ele-1: All FHIR elements must have a @value or children ch-dosage-4: For split dosage timing event and dose/rate are required ch-dosage-3: Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified |
![]() ![]() ![]() ![]() |
0..* | CHEMEDEPRDosageSplit | Additional entry of the dosage instruction ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | BackboneElement | If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed). ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Whether substitution is allowed or not Slice: Unordered, Closed by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Whether substitution is allowed or not Binding: Substance Administration Substitution Codes (required) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children Required Pattern: At least the following |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: N | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: none | |
![]() ![]() ![]() ![]() |
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. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
D | 0..* | Reference(Provenance) | ✕ This element is not supported ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
MedicationRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1 from the FHIR Standard | |
MedicationRequest.statusReason | example | medicationRequest Status Reason Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason from the FHIR Standard | |
MedicationRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 from the FHIR Standard | |
MedicationRequest.category | example | medicationRequest Category Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-category from the FHIR Standard | |
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 from the FHIR Standard | |
MedicationRequest.performerType | example | ProcedurePerformerRoleCodeshttp://hl7.org/fhir/ValueSet/performer-role from the FHIR Standard | |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard | |
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy from the FHIR Standard | |
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | CHEMEDEprActSubstanceAdminSubstitutionCodehttp://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-substance-admin-substitution-code from this IG | |
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
ch-dosage-3 | error | MedicationRequest.dosageInstruction:baseEntry | Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified : patientInstruction.exists() or (timing.exists() and doseAndRate.exists()) | |
ch-dosage-4 | error | MedicationRequest.dosageInstruction:baseEntry | For split dosage timing event and dose/rate are required : sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists()) | |
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 CHEMEDMedicationRequestChanged
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | CHEMEDMedicationRequestChanged | CH EMED MedicationRequest Changed (PADV) split-dosage-instruction-unit-must-match-base-dosage-instruction: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | id | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | instant | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | uri | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..* | Coding | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..* | Coding | ✕ This element is not supported |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | CHEMEDExtTreatmentPlan | A reference to the MedicationStatement that introduced this medication | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Required Pattern: active | |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Required Pattern: order | |
![]() ![]() ![]() |
D | 0..* | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | code | ✕ This element is not supported |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
D | 0..1 | boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | ✕ This element is not supported |
![]() ![]() ![]() |
1..1 | Reference(CH Core Medication) | Medication to be taken | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | |
![]() ![]() ![]() |
1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | |
![]() ![]() ![]() |
D | 0..1 | Reference(Encounter) | ✕ This element is not supported |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(PADV Observation) {r, b} | Reference to the Observation from type 'CHANGE' | |
![]() ![]() ![]() |
1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | |
![]() ![]() ![]() |
D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
0..* | CodeableConcept | The treatment reason(s) as text, and optionally coded | |
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
1..1 | string | Plain text representation of the treatment reason(s) | |
![]() ![]() ![]() |
D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | canonical() | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | uri | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | Identifier | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
D | 0..1 | string | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() |
D | 0..1 | dateTime | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | CHEMEDEPRDosageMedicationRequest | Base entry of the dosage instruction | |
![]() ![]() ![]() ![]() |
0..* | CHEMEDEPRDosageSplit | Additional entry of the dosage instruction | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
D | 0..1 | BackboneElement | ✕ This element is not supported |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | First fill quantity | |
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | Number of packages | |
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported |
![]() ![]() ![]() ![]() |
D | 0..1 | Reference(Organization) | ✕ This element is not supported |
![]() ![]() ![]() |
0..1 | BackboneElement | If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed). | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Whether substitution is allowed or not Binding: Substance Administration Substitution Codes (required) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: N | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: none | |
![]() ![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported |
![]() ![]() ![]() |
D | 0..* | Reference(Provenance) | ✕ This element is not supported |
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | CHEMEDEprActSubstanceAdminSubstitutionCodehttp://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-substance-admin-substitution-code from this IG |
Id | Grade | Path(s) | Details | Requirements |
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
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | CHEMEDMedicationRequestChanged | CH EMED MedicationRequest Changed (PADV) ch-dosage-medreq: 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. split-dosage-instruction-unit-must-match-base-dosage-instruction: The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | id | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | instant | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | uri | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..* | Coding | ✕ This element is not supported Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() |
Σ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". | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
1..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | (Complex) | A reference to the MedicationStatement that introduced this medication URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan | |||||
![]() ![]() ![]() |
1..1 | Identifier | MedicationRequest Identifier | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identifier value as UUID Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
?!Σ | 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 | ||||
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | ||||
![]() ![]() ![]() |
?!Σ | 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 | ||||
![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
ΣD | 0..1 | code | ✕ This element is not supported Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() ![]() |
ΣD | 0..1 | ✕ This element is not supported | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH Core Medication) | Medication to be taken Slice: Unordered, Closed by type:$this | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
D | 0..1 | Reference(Encounter) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
1..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve() | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(PADV Observation) {r, b} | Reference to the Observation from type 'CHANGE' | |||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. | ||||
![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Plain text representation of the treatment reason(s) | ||||
![]() ![]() ![]() |
D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..* | canonical() | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..* | uri | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
ΣD | 0..1 | Identifier | ✕ This element is not supported | ||||
![]() ![]() ![]() |
D | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio. | ||||
![]() ![]() ![]() |
D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | string | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
D | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | ✕ The note author is ignored, as it cannot be different than the document and/or entry's author | |||||
![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
ΣD | 0..1 | dateTime | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | ||||
![]() ![]() ![]() |
1..* | CHCoreDosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | CHEMEDEPRDosageMedicationRequest | Base entry of the dosage instruction ch-dosage-4: For split dosage timing event and dose/rate are required ch-dosage-3: Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified | ||||
![]() ![]() ![]() ![]() |
0..* | CHEMEDEPRDosageSplit | Additional entry of the dosage instruction | |||||
![]() ![]() ![]() |
0..1 | BackboneElement | Medication supply authorization | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | BackboneElement | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | First fill quantity | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Duration | First fill duration | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | Period of validity of the prescription | |||||
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Repeated supply per medication (without initial dispense) | |||||
![]() ![]() ![]() ![]() |
0..1 | CHEMEDEPRAmountQuantity | Number of packages | |||||
![]() ![]() ![]() ![]() |
D | 0..1 | Duration | ✕ This element is not supported | ||||
![]() ![]() ![]() ![]() |
D | 0..1 | Reference(Organization) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
0..1 | BackboneElement | If absent, substitution is assumed allowed. If present, the value is fixed to none (not allowed). | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Whether substitution is allowed or not Slice: Unordered, Closed by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Whether substitution is allowed or not Binding: Substance Administration Substitution Codes (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: N | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: none | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() |
D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported | ||||
![]() ![]() ![]() |
D | 0..* | Reference(Provenance) | ✕ This element is not supported | ||||
![]() |
Path | Conformance | ValueSet / Code | URI | |||
MedicationRequest.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labels from the FHIR Standard | ||||
MedicationRequest.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags from the FHIR Standard | ||||
MedicationRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
MedicationRequest.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
MedicationRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1 from the FHIR Standard | ||||
MedicationRequest.statusReason | example | medicationRequest Status Reason Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason from the FHIR Standard | ||||
MedicationRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1 from the FHIR Standard | ||||
MedicationRequest.category | example | medicationRequest Category Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-category from the FHIR Standard | ||||
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 from the FHIR Standard | ||||
MedicationRequest.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
MedicationRequest.requester.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
MedicationRequest.performerType | example | ProcedurePerformerRoleCodeshttp://hl7.org/fhir/ValueSet/performer-role from the FHIR Standard | ||||
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard | ||||
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codeshttp://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy from the FHIR Standard | ||||
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | ||||
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | CHEMEDEprActSubstanceAdminSubstitutionCodehttp://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-substance-admin-substitution-code from this IG | ||||
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
ch-dosage-3 | error | MedicationRequest.dosageInstruction:baseEntry | Patient instruction/free text dosage instruction, or timing and dose/rate has to be specified : patientInstruction.exists() or (timing.exists() and doseAndRate.exists()) | |
ch-dosage-4 | error | MedicationRequest.dosageInstruction:baseEntry | For split dosage timing event and dose/rate are required : sequence.exists() implies (timing.repeat.when.exists() and doseAndRate.dose.exists()) | |
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 CHEMEDMedicationRequestChanged
Summary
Mandatory: 2 elements(1 nested mandatory element)
Prohibited: 6 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron