This page is part of the Post Acute Orders FHIR IG (v0.2.0: STU 1 Ballot 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
PAO MedicationRequest Profile
The official URL for this profile is:
http://hl7.org/fhir/us/dme-orders/StructureDefinition/PAOX-medication-request
Intro
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from USCoreMedicationRequestProfile
This structure is derived from USCoreMedicationRequestProfile
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group | |
identifier | S | 0..* | Identifier | External ids for this request |
intent | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order | |
category | S | 0..* | CodeableConcept | Type of medication usage |
medication[x] | 1..1 | Medication to be taken | ||
medicationReference | Reference(PAO Medication) | |||
medicationCodeableConcept | CodeableConcept | |||
subject | S | 1..1 | Reference(US Core Patient Profile) | Who or group medication request is for |
supportingInformation | S | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | S | 1..1 | dateTime | When request was initially authored |
requester | S | 1..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile) | Who/What requested the Request |
insurance | S | 0..* | Reference(PAO Coverage) | Associated insurance coverage |
dispenseRequest | S | 0..1 | BackboneElement | Medication supply authorization |
substitution | ||||
allowed[x] | 1..1 | boolean, CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (example) | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | SI | 0..* | Identifier | External ids for this request |
status | ?!SΣI | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
statusReason | I | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example) |
intent | ?!SΣI | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required) Fixed Value: order |
category | SI | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example) |
priority | ΣI | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!ΣI | 0..1 | boolean | True if request is prohibiting action |
reported[x] | SΣI | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson) | |||
medication[x] | SΣI | 1..1 | Medication to be taken Binding: US Core Medication Codes (RxNorm) (extensible) | |
medicationReference | Reference(PAO Medication) | |||
medicationCodeableConcept | CodeableConcept | |||
subject | SΣI | 1..1 | Reference(US Core Patient Profile) | Who or group medication request is for |
encounter | SI | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | SI | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | SΣI | 1..1 | dateTime | When request was initially authored |
requester | SΣI | 1..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile) | Who/What requested the Request |
performer | I | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |
performerType | ΣI | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | I | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |
reasonCode | I | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example) |
reasonReference | I | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | ΣI | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | ΣI | 0..* | uri | Instantiates external protocol or definition |
basedOn | ΣI | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | ΣI | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | I | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example) |
insurance | SI | 0..* | Reference(PAO Coverage) | Associated insurance coverage |
note | I | 0..* | Annotation | Information about the prescription |
dosageInstruction | SI | 0..* | Dosage | How the medication should be taken |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | ΣI | 0..1 | integer | The order of the dosage instructions |
text | SΣI | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | ΣI | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) |
patientInstruction | ΣI | 0..1 | string | Patient or consumer oriented instructions |
timing | ΣI | 0..1 | Timing | When medication should be administered |
asNeeded[x] | ΣI | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site | ΣI | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) |
route | ΣI | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) |
method | ΣI | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) |
doseAndRate | ΣI | 0..* | Element | Amount of medication administered |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
type | ΣI | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example) |
dose[x] | ΣI | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity(SimpleQuantity) | |||
rate[x] | ΣI | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity(SimpleQuantity) | |||
maxDosePerPeriod | ΣI | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per administration |
maxDosePerLifetime | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient |
dispenseRequest | SI | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | I | 0..1 | SimpleQuantity | First fill quantity |
duration | I | 0..1 | Duration | First fill duration |
dispenseInterval | I | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod | I | 0..1 | Period | Time period supply is authorized for |
numberOfRepeatsAllowed | I | 0..1 | unsignedInt | Number of refills authorized |
quantity | I | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
expectedSupplyDuration | I | 0..1 | Duration | Number of days supply per dispense |
performer | I | 0..1 | Reference(Organization) | Intended dispenser |
substitution | I | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | I | 1..1 | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (example) | |
allowedBoolean | boolean | |||
allowedCodeableConcept | CodeableConcept | |||
reason | I | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example) |
priorPrescription | I | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |
detectedIssue | I | 0..* | Reference(DetectedIssue) | Clinical Issue with action |
eventHistory | I | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group |
identifier | I | 0..* | Identifier | External ids for this request |
status | ?!ΣI | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
intent | ?!ΣI | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required) Fixed Value: order |
category | I | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example) |
reported[x] | ΣI | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson) | |||
medication[x] | ΣI | 1..1 | Medication to be taken Binding: US Core Medication Codes (RxNorm) (extensible) | |
medicationReference | Reference(PAO Medication) | |||
medicationCodeableConcept | CodeableConcept | |||
subject | ΣI | 1..1 | Reference(US Core Patient Profile) | Who or group medication request is for |
encounter | I | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | I | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | ΣI | 1..1 | dateTime | When request was initially authored |
requester | ΣI | 1..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile) | Who/What requested the Request |
insurance | I | 0..* | Reference(PAO Coverage) | Associated insurance coverage |
dosageInstruction | I | 0..* | Dosage | How the medication should be taken |
text | ΣI | 0..1 | string | Free text dosage instructions e.g. SIG |
dispenseRequest | I | 0..1 | BackboneElement | Medication supply authorization |
Documentation for this format |
This structure is derived from USCoreMedicationRequestProfile
Differential View
This structure is derived from USCoreMedicationRequestProfile
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group | |
identifier | S | 0..* | Identifier | External ids for this request |
intent | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order | |
category | S | 0..* | CodeableConcept | Type of medication usage |
medication[x] | 1..1 | Medication to be taken | ||
medicationReference | Reference(PAO Medication) | |||
medicationCodeableConcept | CodeableConcept | |||
subject | S | 1..1 | Reference(US Core Patient Profile) | Who or group medication request is for |
supportingInformation | S | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | S | 1..1 | dateTime | When request was initially authored |
requester | S | 1..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile) | Who/What requested the Request |
insurance | S | 0..* | Reference(PAO Coverage) | Associated insurance coverage |
dispenseRequest | S | 0..1 | BackboneElement | Medication supply authorization |
substitution | ||||
allowed[x] | 1..1 | boolean, CodeableConcept | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (example) | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | USCoreMedicationRequestProfile | Ordering of medication for patient or group |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | SI | 0..* | Identifier | External ids for this request |
status | ?!SΣI | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
statusReason | I | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example) |
intent | ?!SΣI | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required) Fixed Value: order |
category | SI | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example) |
priority | ΣI | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!ΣI | 0..1 | boolean | True if request is prohibiting action |
reported[x] | SΣI | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(US Core Patient Profile | US Core Practitioner Profile | PractitionerRole | US Core Organization Profile | RelatedPerson) | |||
medication[x] | SΣI | 1..1 | Medication to be taken Binding: US Core Medication Codes (RxNorm) (extensible) | |
medicationReference | Reference(PAO Medication) | |||
medicationCodeableConcept | CodeableConcept | |||
subject | SΣI | 1..1 | Reference(US Core Patient Profile) | Who or group medication request is for |
encounter | SI | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | SI | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | SΣI | 1..1 | dateTime | When request was initially authored |
requester | SΣI | 1..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile) | Who/What requested the Request |
performer | I | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration |
performerType | ΣI | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | I | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request |
reasonCode | I | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example) |
reasonReference | I | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | ΣI | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | ΣI | 0..* | uri | Instantiates external protocol or definition |
basedOn | ΣI | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | ΣI | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | I | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example) |
insurance | SI | 0..* | Reference(PAO Coverage) | Associated insurance coverage |
note | I | 0..* | Annotation | Information about the prescription |
dosageInstruction | SI | 0..* | Dosage | How the medication should be taken |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | ΣI | 0..1 | integer | The order of the dosage instructions |
text | SΣI | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | ΣI | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) |
patientInstruction | ΣI | 0..1 | string | Patient or consumer oriented instructions |
timing | ΣI | 0..1 | Timing | When medication should be administered |
asNeeded[x] | ΣI | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site | ΣI | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) |
route | ΣI | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) |
method | ΣI | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) |
doseAndRate | ΣI | 0..* | Element | Amount of medication administered |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
type | ΣI | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example) |
dose[x] | ΣI | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity(SimpleQuantity) | |||
rate[x] | ΣI | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity(SimpleQuantity) | |||
maxDosePerPeriod | ΣI | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per administration |
maxDosePerLifetime | ΣI | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient |
dispenseRequest | SI | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | I | 0..1 | SimpleQuantity | First fill quantity |
duration | I | 0..1 | Duration | First fill duration |
dispenseInterval | I | 0..1 | Duration | Minimum period of time between dispenses |
validityPeriod | I | 0..1 | Period | Time period supply is authorized for |
numberOfRepeatsAllowed | I | 0..1 | unsignedInt | Number of refills authorized |
quantity | I | 0..1 | SimpleQuantity | Amount of medication to supply per dispense |
expectedSupplyDuration | I | 0..1 | Duration | Number of days supply per dispense |
performer | I | 0..1 | Reference(Organization) | Intended dispenser |
substitution | I | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | I | 1..1 | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (example) | |
allowedBoolean | boolean | |||
allowedCodeableConcept | CodeableConcept | |||
reason | I | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example) |
priorPrescription | I | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced |
detectedIssue | I | 0..* | Reference(DetectedIssue) | Clinical Issue with action |
eventHistory | I | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet / Code |
MedicationRequest.language | preferred | CommonLanguages Max Binding: AllLanguages |
MedicationRequest.status | required | medicationrequest Status |
MedicationRequest.statusReason | example | medicationRequest Status Reason Codes |
MedicationRequest.intent | required | Fixed Value: order |
MedicationRequest.category | example | medicationRequest Category Codes |
MedicationRequest.priority | required | RequestPriority |
MedicationRequest.medication[x] | extensible | USCoreMedicationCodes |
MedicationRequest.performerType | example | ProcedurePerformerRoleCodes |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodes |
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codes |
MedicationRequest.dosageInstruction.additionalInstruction | example | SNOMEDCTAdditionalDosageInstructions |
MedicationRequest.dosageInstruction.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodes |
MedicationRequest.dosageInstruction.site | example | SNOMEDCTAnatomicalStructureForAdministrationSiteCodes |
MedicationRequest.dosageInstruction.route | example | SNOMEDCTRouteCodes |
MedicationRequest.dosageInstruction.method | example | SNOMEDCTAdministrationMethodCodes |
MedicationRequest.dosageInstruction.doseAndRate.type | example | DoseAndRateType |
MedicationRequest.substitution.allowed[x] | example | 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() | |
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.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.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.subject | 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.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.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dosageInstruction.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dosageInstruction.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dosageInstruction.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dosageInstruction.sequence | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.additionalInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.patientInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.timing | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.asNeeded[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.site | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.route | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.method | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.dosageInstruction.doseAndRate.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.dose[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.doseAndRate.rate[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.maxDosePerPeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.maxDosePerAdministration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dosageInstruction.maxDosePerLifetime | 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.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()) |
Notes