The official URL for this profile is:
http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-pre-medicationrequest
Profile on MedicationRequest for Prescription
This profile builds on CHEMEDMedicationRequest.
This profile was published on Wed Jun 30 14:02:48 CEST 2021 as a draft by IG eMediplan.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from CHEMEDMedicationRequest
Summary
Must-Support: 18 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from CHEMEDMedicationRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | CHEMEDMedicationRequest | Ordering of medication for patient | |
contained | S | 1..1 | Resource | Medication inline resource |
chmed20af-privatefield | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
identifier | S | 1..1 | Identifier | Prescription item ID |
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | identifier value as uuid |
status | S | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown |
medicationReference | S | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | S | 1..1 | Reference(Patient Pre) | Patient |
note | S | 0..1 | Annotation | Annotation |
dosageInstruction | S | 1..* | Dosage | How the medication should be taken |
dosageInstruction:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosageInstruction:structurednormal | S | 0..1 | PreDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosageInstruction:structuredsplit | S | 0..* | PreDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
dispenseRequest | S | 1..1 | BackboneElement | Medication supply authorization |
numberOfRepeatsAllowed | S | 1..1 | unsignedInt | Repeated supply per medication |
quantity | S | 0..1 | SimpleQuantity | Number of packages |
substitution | S | 0..1 | BackboneElement | Any restrictions on medication substitution |
allowedCodeableConcept | S | 1..1 | CodeableConcept | Whether substitution is allowed or not |
Documentation for this format |
This structure is derived from CHEMEDMedicationRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | CHEMEDMedicationRequest | Ordering of medication for patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | S | 1..1 | Resource | Medication inline resource |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ch-emed-ext-treatmentplan | 0..1 | (Complex) | Reference to the medication treatment plan URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan | |
chmed20af-privatefield | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..1 | Identifier | Prescription item ID |
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 | |
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 | SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | SΣ | 1..1 | string | identifier value as uuid Example General: 123456 |
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 | ?!SΣ | 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. Fixed Value: completed |
statusReason | 0..1 | CodeableConcept | Reason for current status 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. |
category | 0..* | CodeableConcept | Type of medication usage 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 | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. |
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action |
reported[x] | Σ | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||
Slices for medication[x] | Σ | 1..1 | Reference() | Medication to be taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | SΣ | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | SΣ | 1..1 | Reference(Patient Pre) | Patient |
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 | |
reference | ΣI | 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) | Encounter created as part of encounter/admission/stay | |
supportingInformation | 0..* | Reference(Resource) | Information to support ordering of the medication | |
authoredOn | Σ | 0..1 | dateTime | When request was initially authored |
requester | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request |
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration | |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration 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 | Treatment reason Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |
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 | |
coding | Σ | 0..* | Coding | Code defined by a terminology system |
text | Σ | 0..1 | string | Plain text representation of the concept |
reasonReference | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written | |
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio. | |
insurance | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |
note | S | 0..1 | Annotation | Annotation |
Slices for dosageInstruction | S | 1..* | Dosage | How the medication should be taken Slice: Unordered, Open by profile:$this |
dosageInstruction:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosageInstruction:structurednormal | S | 0..1 | PreDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosageInstruction:structuredsplit | S | 0..* | PreDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
dispenseRequest | S | 1..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | 0..1 | BackboneElement | First fill details | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | 0..1 | SimpleQuantity | First fill quantity | |
duration | 0..1 | Duration | First fill duration | |
dispenseInterval | 0..1 | Duration | Minimum period of time between dispenses | |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | S | 1..1 | unsignedInt | Repeated supply per medication |
quantity | S | 0..1 | SimpleQuantity | Number of packages |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
performer | 0..1 | Reference(Organization) | Intended dispenser | |
substitution | S | 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 | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
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 | S | 1..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (preferred) |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made 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) | An order/prescription that is being replaced | |
detectedIssue | 0..* | Reference(DetectedIssue) | Clinical Issue with action | |
eventHistory | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |
Documentation for this format |
This structure is derived from CHEMEDMedicationRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | CHEMEDMedicationRequest | Ordering of medication for patient |
contained | 1..1 | Resource | Medication inline resource | |
chmed20af-privatefield | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield | |
identifier | 1..1 | Identifier | Prescription item ID | |
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | Σ | 1..1 | string | identifier value as uuid |
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. Fixed Value: completed |
medication[x]:medicationReference | Σ | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | Σ | 1..1 | Reference(Patient Pre) | Patient |
note | 0..1 | Annotation | Annotation | |
Slices for dosageInstruction | 1..* | Dosage | How the medication should be taken Slice: Unordered, Open by profile:$this | |
dosageInstruction:nonstructured | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured | |
dosageInstruction:structurednormal | 0..1 | PreDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken | |
dosageInstruction:structuredsplit | 0..* | PreDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken | |
dispenseRequest | 1..1 | BackboneElement | Medication supply authorization | |
numberOfRepeatsAllowed | 1..1 | unsignedInt | Repeated supply per medication | |
quantity | 0..1 | SimpleQuantity | Number of packages | |
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |
allowed[x]:allowedCodeableConcept | 1..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (preferred) | |
Documentation for this format |
This structure is derived from CHEMEDMedicationRequest
Summary
Must-Support: 18 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from CHEMEDMedicationRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | CHEMEDMedicationRequest | Ordering of medication for patient | |
contained | S | 1..1 | Resource | Medication inline resource |
chmed20af-privatefield | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
identifier | S | 1..1 | Identifier | Prescription item ID |
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | identifier value as uuid |
status | S | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown |
medicationReference | S | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | S | 1..1 | Reference(Patient Pre) | Patient |
note | S | 0..1 | Annotation | Annotation |
dosageInstruction | S | 1..* | Dosage | How the medication should be taken |
dosageInstruction:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosageInstruction:structurednormal | S | 0..1 | PreDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosageInstruction:structuredsplit | S | 0..* | PreDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
dispenseRequest | S | 1..1 | BackboneElement | Medication supply authorization |
numberOfRepeatsAllowed | S | 1..1 | unsignedInt | Repeated supply per medication |
quantity | S | 0..1 | SimpleQuantity | Number of packages |
substitution | S | 0..1 | BackboneElement | Any restrictions on medication substitution |
allowedCodeableConcept | S | 1..1 | CodeableConcept | Whether substitution is allowed or not |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | CHEMEDMedicationRequest | Ordering of medication for patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | S | 1..1 | Resource | Medication inline resource |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ch-emed-ext-treatmentplan | 0..1 | (Complex) | Reference to the medication treatment plan URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan | |
chmed20af-privatefield | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..1 | Identifier | Prescription item ID |
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 | |
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 | SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | SΣ | 1..1 | string | identifier value as uuid Example General: 123456 |
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 | ?!SΣ | 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. Fixed Value: completed |
statusReason | 0..1 | CodeableConcept | Reason for current status 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. |
category | 0..* | CodeableConcept | Type of medication usage 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 | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. |
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action |
reported[x] | Σ | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | |||
Slices for medication[x] | Σ | 1..1 | Reference() | Medication to be taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | SΣ | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | SΣ | 1..1 | Reference(Patient Pre) | Patient |
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 | |
reference | ΣI | 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) | Encounter created as part of encounter/admission/stay | |
supportingInformation | 0..* | Reference(Resource) | Information to support ordering of the medication | |
authoredOn | Σ | 0..1 | dateTime | When request was initially authored |
requester | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request |
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration | |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration 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 | Treatment reason Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |
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 | |
coding | Σ | 0..* | Coding | Code defined by a terminology system |
text | Σ | 0..1 | string | Plain text representation of the concept |
reasonReference | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written | |
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio. | |
insurance | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |
note | S | 0..1 | Annotation | Annotation |
Slices for dosageInstruction | S | 1..* | Dosage | How the medication should be taken Slice: Unordered, Open by profile:$this |
dosageInstruction:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosageInstruction:structurednormal | S | 0..1 | PreDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosageInstruction:structuredsplit | S | 0..* | PreDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
dispenseRequest | S | 1..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | 0..1 | BackboneElement | First fill details | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | 0..1 | SimpleQuantity | First fill quantity | |
duration | 0..1 | Duration | First fill duration | |
dispenseInterval | 0..1 | Duration | Minimum period of time between dispenses | |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | S | 1..1 | unsignedInt | Repeated supply per medication |
quantity | S | 0..1 | SimpleQuantity | Number of packages |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
performer | 0..1 | Reference(Organization) | Intended dispenser | |
substitution | S | 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 | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
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 | S | 1..1 | CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (preferred) |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made 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) | An order/prescription that is being replaced | |
detectedIssue | 0..* | Reference(DetectedIssue) | Clinical Issue with action | |
eventHistory | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
MedicationRequest.language | preferred | CommonLanguages Max Binding: AllLanguages |
MedicationRequest.identifier.use | required | IdentifierUse |
MedicationRequest.identifier.type | extensible | Identifier Type Codes |
MedicationRequest.status | required | Fixed Value: completed |
MedicationRequest.statusReason | example | medicationRequest Status Reason Codes |
MedicationRequest.intent | required | medicationRequest Intent |
MedicationRequest.category | example | medicationRequest Category Codes |
MedicationRequest.priority | required | RequestPriority |
MedicationRequest.subject.type | extensible | ResourceType |
MedicationRequest.performerType | example | ProcedurePerformerRoleCodes |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodes |
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codes |
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCode |
MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | preferred | ActSubstanceAdminSubstitutionCode |
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReason |
Id | Path | Details | Requirements |
dom-2 | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | 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 | 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 | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | MedicationRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ch-dosage-2 | MedicationRequest | If dosing is structured it must be normal or split dosing : dosageInstruction.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-structured-normal')).count()=0 or dosageInstruction.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-structured-split')).count()=0 | |
ele-1 | MedicationRequest.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.extension:treatmentplan | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension:treatmentplan | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.extension:privatefield | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension:privatefield | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.identifier.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.identifier.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.identifier.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.identifier.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.identifier.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.identifier.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.identifier.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.identifier.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.intent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.priority | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.doNotPerform | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reported[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.medication[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.medication[x]:medicationReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.subject.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.subject.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.subject.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.subject.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.subject.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.subject.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.supportingInformation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.authoredOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.requester | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.performerType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.recorder | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reasonCode.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.reasonCode.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.reasonCode.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reasonCode.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.instantiatesCanonical | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.instantiatesUri | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.groupIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.courseOfTherapyType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.insurance | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction:nonstructured | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction:structurednormal | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction:structuredsplit | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.initialFill | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.initialFill.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dispenseRequest.initialFill.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.initialFill.duration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.dispenseInterval | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.validityPeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.expectedSupplyDuration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.substitution.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.substitution.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.substitution.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.substitution.allowed[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution.allowed[x]:allowedCodeableConcept | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution.reason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.priorPrescription | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.detectedIssue | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.eventHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |