CH EMED EPR
1.0.0 - trial-use
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
Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationrequest-list | Version: 1.0.0 | |||
Draft as of 2024-01-26 | Computable Name: CHEMEDEPRMedicationRequestList | |||
Copyright/Legal: CC0-1.0 |
Definition of the medication request for the medication list document
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CHEMEDMedicationRequestList
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | CHEMEDMedicationRequestList | |||
meta | ||||
extension | D | 0..* | Extension | ✕ This element is not supported |
versionId | D | 0..1 | id | ✕ This element is not supported |
lastUpdated | D | 0..1 | instant | ✕ This element is not supported |
source | D | 0..1 | uri | ✕ This element is not supported |
security | D | 0..* | Coding | ✕ This element is not supported |
tag | D | 0..* | Coding | ✕ This element is not supported |
implicitRules | 0..0 | |||
extension | 2..* | Extension | Extension | |
extension:treatmentplan | 1..1 | CHEMEDExtTreatmentPlan | A reference to the MedicationStatement that introduced this medication | |
extension:parentDocument | 1..1 | CHEMEDExtPrescription | CH EMED Extension | |
extension:authorDocument | 0..1 | Author | Extension | |
value[x]:valueReference | 1..1 | Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) | Author of the content | |
modifierExtension | 0..0 | |||
statusReason | D | 0..1 | CodeableConcept | ✕ This element is not supported |
intent | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Required Pattern: order | |
category | D | 0..* | CodeableConcept | ✕ This element is not supported |
priority | D | 0..1 | code | ✕ This element is not supported |
doNotPerform | 0..0 | |||
reported[x] | D | 0..1 | boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | ✕ This element is not supported |
medication[x] | 1..1 | Reference(Medication) | Medication to be taken | |
medication[x]:medicationReference | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | |
subject | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | |
encounter | D | 0..1 | Reference(Encounter) | ✕ This element is not supported |
supportingInformation | D | 0..* | Reference(Resource) | ✕ This element is not supported |
requester | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | |
performer | D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported |
performerType | D | 0..1 | CodeableConcept | ✕ This element is not supported |
reasonCode | 0..1 | CodeableConcept | The treatment reason(s) as text, and optionally coded | |
extension | D | 0..* | Extension | ✕ This element is not supported |
text | 1..1 | string | Plain text representation of the treatment reason(s) | |
reasonReference | D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported |
instantiatesCanonical | D | 0..* | canonical() | ✕ This element is not supported |
instantiatesUri | D | 0..* | uri | ✕ This element is not supported |
basedOn | D | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported |
groupIdentifier | D | 0..1 | Identifier | ✕ This element is not supported |
courseOfTherapyType | D | 0..1 | CodeableConcept | ✕ This element is not supported |
insurance | D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported |
note | ||||
id | D | 0..1 | string | ✕ This element is not supported |
extension | D | 0..* | Extension | ✕ This element is not supported |
author[x] | D | 0..1 | Reference(Practitioner | Patient | RelatedPerson | Organization), string | ✕ The note author is ignored, as it cannot be different than the document and/or entry's author |
time | D | 0..1 | dateTime | ✕ This element is not supported |
text | 1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | |
dosageInstruction:baseEntry | 1..1 | CHEMEDEPRDosageMedicationRequest | CH EMED Dosage (MedicationRequest) | |
dosageInstruction:additionalEntry | 0..* | CHEMEDEPRDosageSplit | CH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest) | |
dispenseRequest | ||||
modifierExtension | 0..0 | |||
initialFill | D | 0..1 | BackboneElement | ✕ This element is not supported |
modifierExtension | 0..0 | |||
quantity | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
quantity | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
expectedSupplyDuration | D | 0..1 | Duration | ✕ This element is not supported |
performer | D | 0..1 | Reference(Organization) | ✕ This element is not supported |
substitution | ||||
modifierExtension | 0..0 | |||
allowed[x] | 1..1 | CodeableConcept | Whether substitution is allowed or not | |
allowed[x]:allowedCodeableConcept | 0..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (required) | |
reason | D | 0..1 | CodeableConcept | ✕ This element is not supported |
priorPrescription | D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported |
detectedIssue | D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported |
eventHistory | D | 0..* | Reference(Provenance) | ✕ This element is not supported |
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | CHEMEDMedicationRequestList | CH EMED MedicationRequest (LIST) | |
contained | 1..* | Resource | Contained, inline Resources | |
Slices for extension | 2..* | Extension | Extension 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 | |
parentDocument | 1..1 | (Complex) | CH EMED Extension URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription | |
authorDocument | 0..1 | Reference(CH Core Patient | CH Core PractitionerRole | RelatedPerson) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author | |
extension | 0..0 | |||
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author" | |
Slices for value[x] | 1..1 | Reference() | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueReference | 1..1 | Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) | Author of the content | |
time | 0..1 | dateTime | Timestamp of the authorship/data input URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time | |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | 1..1 | Identifier | MedicationRequest Identifier | |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | Σ | 1..1 | string | Identifier value as UUID Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 |
status | ?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. |
statusReason | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |
intent | ?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order |
category | 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..1 | code | ✕ 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 | |
reportedBoolean | boolean | |||
reportedReference | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||
Slices for medication[x] | Σ | 1..1 | Reference(Medication) | Medication to be taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication |
subject | Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
encounter | 0..1 | Reference(Encounter) | ✕ This element is not supported | |
supportingInformation | 0..* | Reference(Resource) | ✕ This element is not supported | |
authoredOn | Σ | 1..1 | dateTime | When request was initially authored |
requester | Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported | |
performerType | Σ | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. |
reasonCode | 0..1 | CodeableConcept | The treatment reason(s) as text, and optionally coded Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |
text | Σ | 1..1 | string | Plain text representation of the treatment reason(s) |
reasonReference | 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..1 | Identifier | ✕ This element is not supported |
courseOfTherapyType | 0..1 | CodeableConcept | ✕ 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..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |
dosageInstruction:baseEntry | C | 1..1 | CHEMEDEPRDosageMedicationRequest | CH EMED Dosage (MedicationRequest) |
dosageInstruction:additionalEntry | 0..* | CHEMEDEPRDosageSplit | CH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest) | |
priorPrescription | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported | |
detectedIssue | 0..* | Reference(DetectedIssue) | ✕ This element is not supported | |
eventHistory | 0..* | Reference(Provenance) | ✕ This element is not supported | |
Documentation for this format |
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 | medicationrequest Statushttp://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 |
Id | Grade | Path(s) | Details | Requirements |
ch-dosage-3 | error | MedicationRequest.dosageInstruction:baseEntry | Patient instruction/free text dosage instruction, timing or as needed has to be specified : patientInstruction.exists() or timing.exists() or asNeeded.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()) | |
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() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
MedicationRequest | 0..* | CHEMEDMedicationRequestList | CH EMED MedicationRequest (LIST) | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |||||
versionId | Σ | 0..1 | id | ✕ This element is not supported | ||||
lastUpdated | Σ | 0..1 | instant | ✕ This element is not supported | ||||
source | Σ | 0..1 | uri | ✕ 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..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 1..* | Resource | Contained, inline Resources | |||||
Slices for extension | 2..* | Extension | Extension 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 | |||||
parentDocument | 1..1 | (Complex) | CH EMED Extension URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription | |||||
authorDocument | 0..1 | Reference(CH Core Patient | CH Core PractitionerRole | RelatedPerson) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author" | |||||
Slices for value[x] | 1..1 | Reference() | Value of extension Slice: Unordered, Closed by type:$this | |||||
value[x]:valueReference | 1..1 | Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) | Author of the content | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
time | 0..1 | dateTime | Timestamp of the authorship/data input URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
identifier | 1..1 | Identifier | MedicationRequest Identifier | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | ||||
value | Σ | 1..1 | string | Identifier value as UUID Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
status | ?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | ||||
statusReason | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
intent | ?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order | ||||
category | 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..1 | code | ✕ 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 | |||||
reportedBoolean | boolean | |||||||
reportedReference | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||||||
Slices for medication[x] | Σ | 1..1 | Reference(Medication) | Medication to be taken Slice: Unordered, Closed by type:$this | ||||
medication[x]:medicationReference | Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | ||||
subject | Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
encounter | 0..1 | Reference(Encounter) | ✕ This element is not supported | |||||
supportingInformation | 0..* | Reference(Resource) | ✕ This element is not supported | |||||
authoredOn | Σ | 1..1 | dateTime | When request was initially authored | ||||
requester | Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported | |||||
performerType | Σ | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. | ||||
recorder | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | |||||
reasonCode | 0..1 | CodeableConcept | The treatment reason(s) as text, and optionally coded Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
text | Σ | 1..1 | string | Plain text representation of the treatment reason(s) | ||||
reasonReference | 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..1 | Identifier | ✕ This element is not supported | ||||
courseOfTherapyType | 0..1 | CodeableConcept | ✕ 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..* | Annotation | Information about the prescription | |||||
id | 0..1 | string | ✕ 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 | |||||
authorReference | Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
authorString | string | |||||||
time | Σ | 0..1 | dateTime | ✕ This element is not supported | ||||
text | Σ | 1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | ||||
Slices for dosageInstruction | 1..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |||||
dosageInstruction:baseEntry | C | 1..1 | CHEMEDEPRDosageMedicationRequest | CH EMED Dosage (MedicationRequest) | ||||
dosageInstruction:additionalEntry | 0..* | CHEMEDEPRDosageSplit | CH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest) | |||||
dispenseRequest | 0..1 | BackboneElement | Medication supply authorization | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
initialFill | 0..1 | BackboneElement | ✕ This element is not supported | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
quantity | C | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | ||||
duration | 0..1 | Duration | First fill duration | |||||
dispenseInterval | 0..1 | Duration | Minimum period of time between dispenses | |||||
validityPeriod | 0..1 | Period | Period of validity of the prescription | |||||
numberOfRepeatsAllowed | 0..1 | unsignedInt | Repeated supply per medication (without initial dispense) | |||||
quantity | C | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | ||||
expectedSupplyDuration | 0..1 | Duration | ✕ This element is not supported | |||||
performer | 0..1 | Reference(Organization) | ✕ This element is not supported | |||||
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
Slices for allowed[x] | 1..1 | CodeableConcept | Whether substitution is allowed or not Slice: Unordered, Closed by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed. | |||||
allowed[x]:allowedCodeableConcept | 0..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (required) | |||||
reason | 0..1 | CodeableConcept | ✕ This element is not supported Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. | |||||
priorPrescription | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported | |||||
detectedIssue | 0..* | Reference(DetectedIssue) | ✕ This element is not supported | |||||
eventHistory | 0..* | Reference(Provenance) | ✕ This element is not supported | |||||
Documentation for this format |
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 | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
MedicationRequest.extension:authorDocument.value[x]:valueReference.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types | ||||
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 | medicationrequest Statushttp://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 | ||||
MedicationRequest.requester.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types | ||||
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 | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | ||||
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, timing or as needed has to be specified : patientInstruction.exists() or timing.exists() or asNeeded.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()) | |
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() | |
qty-3 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHEMEDMedicationRequestList
Summary
Mandatory: 2 elements (1 nested mandatory element)
Prohibited: 6 elements
Structures
This structure refers to these other structures:
Differential View
This structure is derived from CHEMEDMedicationRequestList
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | CHEMEDMedicationRequestList | |||
meta | ||||
extension | D | 0..* | Extension | ✕ This element is not supported |
versionId | D | 0..1 | id | ✕ This element is not supported |
lastUpdated | D | 0..1 | instant | ✕ This element is not supported |
source | D | 0..1 | uri | ✕ This element is not supported |
security | D | 0..* | Coding | ✕ This element is not supported |
tag | D | 0..* | Coding | ✕ This element is not supported |
implicitRules | 0..0 | |||
extension | 2..* | Extension | Extension | |
extension:treatmentplan | 1..1 | CHEMEDExtTreatmentPlan | A reference to the MedicationStatement that introduced this medication | |
extension:parentDocument | 1..1 | CHEMEDExtPrescription | CH EMED Extension | |
extension:authorDocument | 0..1 | Author | Extension | |
value[x]:valueReference | 1..1 | Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) | Author of the content | |
modifierExtension | 0..0 | |||
statusReason | D | 0..1 | CodeableConcept | ✕ This element is not supported |
intent | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Required Pattern: order | |
category | D | 0..* | CodeableConcept | ✕ This element is not supported |
priority | D | 0..1 | code | ✕ This element is not supported |
doNotPerform | 0..0 | |||
reported[x] | D | 0..1 | boolean, Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | ✕ This element is not supported |
medication[x] | 1..1 | Reference(Medication) | Medication to be taken | |
medication[x]:medicationReference | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | |
subject | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | |
encounter | D | 0..1 | Reference(Encounter) | ✕ This element is not supported |
supportingInformation | D | 0..* | Reference(Resource) | ✕ This element is not supported |
requester | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | |
performer | D | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported |
performerType | D | 0..1 | CodeableConcept | ✕ This element is not supported |
reasonCode | 0..1 | CodeableConcept | The treatment reason(s) as text, and optionally coded | |
extension | D | 0..* | Extension | ✕ This element is not supported |
text | 1..1 | string | Plain text representation of the treatment reason(s) | |
reasonReference | D | 0..* | Reference(Condition | Observation) | ✕ This element is not supported |
instantiatesCanonical | D | 0..* | canonical() | ✕ This element is not supported |
instantiatesUri | D | 0..* | uri | ✕ This element is not supported |
basedOn | D | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | ✕ This element is not supported |
groupIdentifier | D | 0..1 | Identifier | ✕ This element is not supported |
courseOfTherapyType | D | 0..1 | CodeableConcept | ✕ This element is not supported |
insurance | D | 0..* | Reference(Coverage | ClaimResponse) | ✕ This element is not supported |
note | ||||
id | D | 0..1 | string | ✕ This element is not supported |
extension | D | 0..* | Extension | ✕ This element is not supported |
author[x] | D | 0..1 | Reference(Practitioner | Patient | RelatedPerson | Organization), string | ✕ The note author is ignored, as it cannot be different than the document and/or entry's author |
time | D | 0..1 | dateTime | ✕ This element is not supported |
text | 1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | |
dosageInstruction:baseEntry | 1..1 | CHEMEDEPRDosageMedicationRequest | CH EMED Dosage (MedicationRequest) | |
dosageInstruction:additionalEntry | 0..* | CHEMEDEPRDosageSplit | CH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest) | |
dispenseRequest | ||||
modifierExtension | 0..0 | |||
initialFill | D | 0..1 | BackboneElement | ✕ This element is not supported |
modifierExtension | 0..0 | |||
quantity | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
quantity | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | |
expectedSupplyDuration | D | 0..1 | Duration | ✕ This element is not supported |
performer | D | 0..1 | Reference(Organization) | ✕ This element is not supported |
substitution | ||||
modifierExtension | 0..0 | |||
allowed[x] | 1..1 | CodeableConcept | Whether substitution is allowed or not | |
allowed[x]:allowedCodeableConcept | 0..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (required) | |
reason | D | 0..1 | CodeableConcept | ✕ This element is not supported |
priorPrescription | D | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported |
detectedIssue | D | 0..* | Reference(DetectedIssue) | ✕ This element is not supported |
eventHistory | D | 0..* | Reference(Provenance) | ✕ This element is not supported |
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | required | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | CHEMEDMedicationRequestList | CH EMED MedicationRequest (LIST) | |
contained | 1..* | Resource | Contained, inline Resources | |
Slices for extension | 2..* | Extension | Extension 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 | |
parentDocument | 1..1 | (Complex) | CH EMED Extension URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription | |
authorDocument | 0..1 | Reference(CH Core Patient | CH Core PractitionerRole | RelatedPerson) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author | |
extension | 0..0 | |||
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author" | |
Slices for value[x] | 1..1 | Reference() | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueReference | 1..1 | Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) | Author of the content | |
time | 0..1 | dateTime | Timestamp of the authorship/data input URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time | |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | 1..1 | Identifier | MedicationRequest Identifier | |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | Σ | 1..1 | string | Identifier value as UUID Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 |
status | ?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. |
statusReason | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |
intent | ?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order |
category | 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..1 | code | ✕ 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 | |
reportedBoolean | boolean | |||
reportedReference | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||
Slices for medication[x] | Σ | 1..1 | Reference(Medication) | Medication to be taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication |
subject | Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
encounter | 0..1 | Reference(Encounter) | ✕ This element is not supported | |
supportingInformation | 0..* | Reference(Resource) | ✕ This element is not supported | |
authoredOn | Σ | 1..1 | dateTime | When request was initially authored |
requester | Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' |
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported | |
performerType | Σ | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. |
reasonCode | 0..1 | CodeableConcept | The treatment reason(s) as text, and optionally coded Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |
text | Σ | 1..1 | string | Plain text representation of the treatment reason(s) |
reasonReference | 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..1 | Identifier | ✕ This element is not supported |
courseOfTherapyType | 0..1 | CodeableConcept | ✕ 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..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |
dosageInstruction:baseEntry | C | 1..1 | CHEMEDEPRDosageMedicationRequest | CH EMED Dosage (MedicationRequest) |
dosageInstruction:additionalEntry | 0..* | CHEMEDEPRDosageSplit | CH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest) | |
priorPrescription | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported | |
detectedIssue | 0..* | Reference(DetectedIssue) | ✕ This element is not supported | |
eventHistory | 0..* | Reference(Provenance) | ✕ This element is not supported | |
Documentation for this format |
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 | medicationrequest Statushttp://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 |
Id | Grade | Path(s) | Details | Requirements |
ch-dosage-3 | error | MedicationRequest.dosageInstruction:baseEntry | Patient instruction/free text dosage instruction, timing or as needed has to be specified : patientInstruction.exists() or timing.exists() or asNeeded.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()) | |
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() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
MedicationRequest | 0..* | CHEMEDMedicationRequestList | CH EMED MedicationRequest (LIST) | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |||||
versionId | Σ | 0..1 | id | ✕ This element is not supported | ||||
lastUpdated | Σ | 0..1 | instant | ✕ This element is not supported | ||||
source | Σ | 0..1 | uri | ✕ 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..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 1..* | Resource | Contained, inline Resources | |||||
Slices for extension | 2..* | Extension | Extension 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 | |||||
parentDocument | 1..1 | (Complex) | CH EMED Extension URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription | |||||
authorDocument | 0..1 | Reference(CH Core Patient | CH Core PractitionerRole | RelatedPerson) | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author" | |||||
Slices for value[x] | 1..1 | Reference() | Value of extension Slice: Unordered, Closed by type:$this | |||||
value[x]:valueReference | 1..1 | Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) | Author of the content | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
time | 0..1 | dateTime | Timestamp of the authorship/data input URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
identifier | 1..1 | Identifier | MedicationRequest Identifier | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | ||||
value | Σ | 1..1 | string | Identifier value as UUID Example General: 123456 Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
status | ?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | ||||
statusReason | 0..1 | CodeableConcept | ✕ This element is not supported Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
intent | ?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order | ||||
category | 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..1 | code | ✕ 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 | |||||
reportedBoolean | boolean | |||||||
reportedReference | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||||||
Slices for medication[x] | Σ | 1..1 | Reference(Medication) | Medication to be taken Slice: Unordered, Closed by type:$this | ||||
medication[x]:medicationReference | Σ | 0..1 | Reference(CH EMED EPR Medication) {c} | Reference to the contained medication | ||||
subject | Σ | 1..1 | Reference(CH EMED EPR Patient) {r, b} | Patient | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
encounter | 0..1 | Reference(Encounter) | ✕ This element is not supported | |||||
supportingInformation | 0..* | Reference(Resource) | ✕ This element is not supported | |||||
authoredOn | Σ | 1..1 | dateTime | When request was initially authored | ||||
requester | Σ | 1..1 | Reference(CH EMED EPR PractitionerRole) | The author of the medical decision, see also 'Guidance - Authorship' | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | ✕ This element is not supported | |||||
performerType | Σ | 0..1 | CodeableConcept | ✕ This element is not supported Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication. | ||||
recorder | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | |||||
reasonCode | 0..1 | CodeableConcept | The treatment reason(s) as text, and optionally coded Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | ✕ This element is not supported Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system | ||||
text | Σ | 1..1 | string | Plain text representation of the treatment reason(s) | ||||
reasonReference | 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..1 | Identifier | ✕ This element is not supported | ||||
courseOfTherapyType | 0..1 | CodeableConcept | ✕ 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..* | Annotation | Information about the prescription | |||||
id | 0..1 | string | ✕ 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 | |||||
authorReference | Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
authorString | string | |||||||
time | Σ | 0..1 | dateTime | ✕ This element is not supported | ||||
text | Σ | 1..1 | markdown | The annotation text content (as raw text, no markdown allowed). | ||||
Slices for dosageInstruction | 1..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |||||
dosageInstruction:baseEntry | C | 1..1 | CHEMEDEPRDosageMedicationRequest | CH EMED Dosage (MedicationRequest) | ||||
dosageInstruction:additionalEntry | 0..* | CHEMEDEPRDosageSplit | CH EMED Dosage Split (MedicationStatement / MedicationDispense / MedicationRequest) | |||||
dispenseRequest | 0..1 | BackboneElement | Medication supply authorization | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
initialFill | 0..1 | BackboneElement | ✕ This element is not supported | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
quantity | C | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | ||||
duration | 0..1 | Duration | First fill duration | |||||
dispenseInterval | 0..1 | Duration | Minimum period of time between dispenses | |||||
validityPeriod | 0..1 | Period | Period of validity of the prescription | |||||
numberOfRepeatsAllowed | 0..1 | unsignedInt | Repeated supply per medication (without initial dispense) | |||||
quantity | C | 0..1 | CHEMEDEPRAmountQuantity | A fixed quantity (no comparator) | ||||
expectedSupplyDuration | 0..1 | Duration | ✕ This element is not supported | |||||
performer | 0..1 | Reference(Organization) | ✕ This element is not supported | |||||
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
Slices for allowed[x] | 1..1 | CodeableConcept | Whether substitution is allowed or not Slice: Unordered, Closed by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed. | |||||
allowed[x]:allowedCodeableConcept | 0..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (required) | |||||
reason | 0..1 | CodeableConcept | ✕ This element is not supported Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. | |||||
priorPrescription | 0..1 | Reference(MedicationRequest) | ✕ This element is not supported | |||||
detectedIssue | 0..* | Reference(DetectedIssue) | ✕ This element is not supported | |||||
eventHistory | 0..* | Reference(Provenance) | ✕ This element is not supported | |||||
Documentation for this format |
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 | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
MedicationRequest.extension:authorDocument.value[x]:valueReference.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types | ||||
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 | medicationrequest Statushttp://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 | ||||
MedicationRequest.requester.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types | ||||
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 | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | ||||
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, timing or as needed has to be specified : patientInstruction.exists() or timing.exists() or asNeeded.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()) | |
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() | |
qty-3 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | error | MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from CHEMEDMedicationRequestList
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