Standard Health Record FHIR Implementation Guide

SHR MedicationRequested Profile

 

The official URL for this profile is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationRequested

An order for a medication to be dispensed and instructions for use.

This profile builds on US Core MedicationRequest Profile.

This profile was published on Wed Dec 20 00:00:00 EST 2017 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

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

Summary

Mandatory: 0 element (1 nested mandatory element)

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element MedicationRequest.medication[x] is sliced based on the value of type:$this

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.medication.MedicationRequested maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest:
  MedicationOrCode maps to medication[x]
  RequestedContext.Reason maps to reasonCode
  RequestedContext.Status maps to status
  RequestedContext.ExpectedPerformanceTime maps to dispenseRequest.validityPeriod
  RequestedContext.Priority maps to priority
  RequestedContext.PerformerInstructions maps to note.text
  RequestedContext.ExpectedPerformer.Organization maps to dispenseRequest.performer
  constrain note to 0..1
  NumberOfRefillsAllowed maps to dispenseRequest.numberOfRepeatsAllowed
  QuantityPerDispense maps to dispenseRequest.quantity
  SupplyDuration maps to dispenseRequest.expectedSupplyDuration
  constrain dosageInstruction to 0..1
  Dosage maps to dosageInstruction

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest SHR MedicationRequested Profile
... medication[x] CodeableConcept, Reference(SHR Medication Profile)Slice: Unordered, Open by type:$this
... medicationCodeableConcept CodeableConceptBinding: Medication Clinical Drug (RxNorm) (extensible)
... note 0..1
... dosageInstruction 0..1SHR Dosage Profile
... dispenseRequest
.... quantity SHR Quantity Profile
.... expectedSupplyDuration SHR Duration Profile
... shr-base-RelatedEncounter-extension 0..1Reference(SHR EncounterPerformed Profile)SHR RelatedEncounter Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension
... shr-base-Author-extension 0..1(Complex)SHR Author Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension
... shr-base-Informant-extension 0..1(Complex)SHR Informant Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension
... shr-entity-Type-extension 0..1CodeableConceptSHR Type Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension
... shr-core-Category-extension 0..*CodeableConceptSHR Category Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension
... shr-action-RequestedContext-extension 1..1(Complex)SHR RequestedContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension
.... extension
..... value[x] Binding: MedicationRequestStatus (required)
.... extension
..... value[x] Binding: MedicationRequestPriority (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*SHR MedicationRequested Profile
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... shr-base-RelatedEncounter-extension 0..1Reference(SHR EncounterPerformed Profile)SHR RelatedEncounter Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension
... shr-base-Author-extension 0..1(Complex)SHR Author Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension
... shr-base-Informant-extension 0..1(Complex)SHR Informant Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension
... shr-entity-Type-extension 0..1CodeableConceptSHR Type Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension
... shr-core-Category-extension 0..*CodeableConceptSHR Category Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension
... shr-action-RequestedContext-extension 1..1(Complex)SHR RequestedContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension
.... id 0..1stringxml:id (or equivalent in JSON)
.... shr-core-Reason-extension 0..*(Complex)SHR Reason Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension
.... shr-action-Status-extension 1..1code, Coding, CodeableConceptSHR Status Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Status-extension
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Status-extension"
..... value[x] 1..1code, Coding, CodeableConceptValue of extension
Binding: MedicationRequestStatus (required)
.... shr-action-RequestIntent-extension 1..1codeSHR RequestIntent Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestIntent-extension
Binding: RequestIntent (required)
.... shr-action-ExpectedPerformanceTime-extension 0..1dateTime, date, Period, SHR Timing ProfileSHR ExpectedPerformanceTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformanceTime-extension
.... shr-action-ExpectedPerformerType-extension 0..1CodeableConceptSHR ExpectedPerformerType Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformerType-extension
.... shr-action-ExpectedPerformer-extension 0..1(Complex)SHR ExpectedPerformer Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformer-extension
.... shr-action-ExpectedMethod-extension 0..1(Complex)SHR ExpectedMethod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedMethod-extension
.... shr-core-Priority-extension 0..1positiveInt, CodeableConceptSHR Priority Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension"
..... value[x] 1..1positiveInt, CodeableConceptValue of extension
Binding: MedicationRequestPriority (required)
.... shr-action-PerformerInstructions-extension 0..1stringSHR PerformerInstructions Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PerformerInstructions-extension
.... shr-action-PatientInstructions-extension 0..1stringSHR PatientInstructions Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PatientInstructions-extension
.... shr-action-CommunicationMethod-extension 0..1CodeableConceptSHR CommunicationMethod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-CommunicationMethod-extension
.... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension"
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal ids for this request
... definition Σ0..*Reference(ActivityDefinition), Reference(PlanDefinition)Protocol or definition
... basedOn Σ0..*Reference(CarePlan), Reference(MedicationRequest), Reference(ProcedureRequest), Reference(ReferralRequest)What request fulfills
... groupIdentifier Σ0..1IdentifierComposite request this is part of
... status ?!SΣ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required)
... intent ?!Σ1..1codeproposal | plan | order | instance-order
Binding: MedicationRequestIntent (required)
... category 0..1CodeableConceptType of medication usage
Binding: MedicationRequestCategory (preferred)
... priority Σ0..1coderoutine | urgent | stat | asap
Binding: MedicationRequestPriority (required)
... medication[x] SΣCodeableConcept, Reference(SHR Medication Profile)Medication to be taken
Slice: Unordered, Open by type:$this
Binding: Medication Clinical Drug (RxNorm) (extensible)
... medicationCodeableConcept Σ1..1CodeableConceptMedication to be taken
Binding: Medication Clinical Drug (RxNorm) (extensible)
... subject SΣ1..1Reference(US Core Patient Profile)Who or group medication request is for
... context 0..1Reference(Encounter), Reference(EpisodeOfCare)Created during encounter/admission/stay
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣ1..1dateTimeWhen request was initially authored
... requester SΣI1..1BackboneElementWho/What requested the Request
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... agent SΣ1..1Reference(US Core Practitioner Profile)Who ordered the initial medication(s)
.... onBehalfOf ΣI0..1Reference(Organization)Organization agent is acting for
... recorder 0..1Reference(Practitioner)Person who entered the request
... reasonCode 0..*CodeableConceptReason or indication for writing the prescription
Binding: Condition/Problem/Diagnosis Codes (example)
... reasonReference 0..*Reference(Condition), Reference(Observation)Condition or Observation that supports why the prescription is being written
... note 0..1AnnotationInformation about the prescription
... dosageInstruction 0..1SHR Dosage ProfileHow the medication should be taken
... dispenseRequest I0..1BackboneElementMedication supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... validityPeriod 0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed 0..1positiveIntNumber of refills authorized
.... quantity 0..1SHR Quantity ProfileAmount of medication to supply per dispense
.... expectedSupplyDuration 0..1SHR Duration ProfileNumber of days supply per dispense
.... performer 0..1Reference(Organization)Intended dispenser
... substitution I0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... allowed ?!1..1booleanWhether substitution is allowed or not
.... reason 0..1CodeableConceptWhy should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example)
... priorPrescription 0..1Reference(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

doco Documentation for this format

Summary

Mandatory: 0 element (1 nested mandatory element)

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element MedicationRequest.medication[x] is sliced based on the value of type:$this

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.medication.MedicationRequested maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest:
  MedicationOrCode maps to medication[x]
  RequestedContext.Reason maps to reasonCode
  RequestedContext.Status maps to status
  RequestedContext.ExpectedPerformanceTime maps to dispenseRequest.validityPeriod
  RequestedContext.Priority maps to priority
  RequestedContext.PerformerInstructions maps to note.text
  RequestedContext.ExpectedPerformer.Organization maps to dispenseRequest.performer
  constrain note to 0..1
  NumberOfRefillsAllowed maps to dispenseRequest.numberOfRepeatsAllowed
  QuantityPerDispense maps to dispenseRequest.quantity
  SupplyDuration maps to dispenseRequest.expectedSupplyDuration
  constrain dosageInstruction to 0..1
  Dosage maps to dosageInstruction

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest SHR MedicationRequested Profile
... medication[x] CodeableConcept, Reference(SHR Medication Profile)Slice: Unordered, Open by type:$this
... medicationCodeableConcept CodeableConceptBinding: Medication Clinical Drug (RxNorm) (extensible)
... note 0..1
... dosageInstruction 0..1SHR Dosage Profile
... dispenseRequest
.... quantity SHR Quantity Profile
.... expectedSupplyDuration SHR Duration Profile
... shr-base-RelatedEncounter-extension 0..1Reference(SHR EncounterPerformed Profile)SHR RelatedEncounter Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension
... shr-base-Author-extension 0..1(Complex)SHR Author Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension
... shr-base-Informant-extension 0..1(Complex)SHR Informant Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension
... shr-entity-Type-extension 0..1CodeableConceptSHR Type Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension
... shr-core-Category-extension 0..*CodeableConceptSHR Category Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension
... shr-action-RequestedContext-extension 1..1(Complex)SHR RequestedContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension
.... extension
..... value[x] Binding: MedicationRequestStatus (required)
.... extension
..... value[x] Binding: MedicationRequestPriority (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest I0..*SHR MedicationRequested Profile
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... shr-base-RelatedEncounter-extension 0..1Reference(SHR EncounterPerformed Profile)SHR RelatedEncounter Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension
... shr-base-Author-extension 0..1(Complex)SHR Author Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension
... shr-base-Informant-extension 0..1(Complex)SHR Informant Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension
... shr-entity-Type-extension 0..1CodeableConceptSHR Type Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension
... shr-core-Category-extension 0..*CodeableConceptSHR Category Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension
... shr-action-RequestedContext-extension 1..1(Complex)SHR RequestedContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension
.... id 0..1stringxml:id (or equivalent in JSON)
.... shr-core-Reason-extension 0..*(Complex)SHR Reason Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension
.... shr-action-Status-extension 1..1code, Coding, CodeableConceptSHR Status Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Status-extension
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Status-extension"
..... value[x] 1..1code, Coding, CodeableConceptValue of extension
Binding: MedicationRequestStatus (required)
.... shr-action-RequestIntent-extension 1..1codeSHR RequestIntent Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestIntent-extension
Binding: RequestIntent (required)
.... shr-action-ExpectedPerformanceTime-extension 0..1dateTime, date, Period, SHR Timing ProfileSHR ExpectedPerformanceTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformanceTime-extension
.... shr-action-ExpectedPerformerType-extension 0..1CodeableConceptSHR ExpectedPerformerType Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformerType-extension
.... shr-action-ExpectedPerformer-extension 0..1(Complex)SHR ExpectedPerformer Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformer-extension
.... shr-action-ExpectedMethod-extension 0..1(Complex)SHR ExpectedMethod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedMethod-extension
.... shr-core-Priority-extension 0..1positiveInt, CodeableConceptSHR Priority Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension
..... id 0..1stringxml:id (or equivalent in JSON)
..... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension"
..... value[x] 1..1positiveInt, CodeableConceptValue of extension
Binding: MedicationRequestPriority (required)
.... shr-action-PerformerInstructions-extension 0..1stringSHR PerformerInstructions Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PerformerInstructions-extension
.... shr-action-PatientInstructions-extension 0..1stringSHR PatientInstructions Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PatientInstructions-extension
.... shr-action-CommunicationMethod-extension 0..1CodeableConceptSHR CommunicationMethod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-CommunicationMethod-extension
.... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension"
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal ids for this request
... definition Σ0..*Reference(ActivityDefinition), Reference(PlanDefinition)Protocol or definition
... basedOn Σ0..*Reference(CarePlan), Reference(MedicationRequest), Reference(ProcedureRequest), Reference(ReferralRequest)What request fulfills
... groupIdentifier Σ0..1IdentifierComposite request this is part of
... status ?!SΣ1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required)
... intent ?!Σ1..1codeproposal | plan | order | instance-order
Binding: MedicationRequestIntent (required)
... category 0..1CodeableConceptType of medication usage
Binding: MedicationRequestCategory (preferred)
... priority Σ0..1coderoutine | urgent | stat | asap
Binding: MedicationRequestPriority (required)
... medication[x] SΣCodeableConcept, Reference(SHR Medication Profile)Medication to be taken
Slice: Unordered, Open by type:$this
Binding: Medication Clinical Drug (RxNorm) (extensible)
... medicationCodeableConcept Σ1..1CodeableConceptMedication to be taken
Binding: Medication Clinical Drug (RxNorm) (extensible)
... subject SΣ1..1Reference(US Core Patient Profile)Who or group medication request is for
... context 0..1Reference(Encounter), Reference(EpisodeOfCare)Created during encounter/admission/stay
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣ1..1dateTimeWhen request was initially authored
... requester SΣI1..1BackboneElementWho/What requested the Request
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... agent SΣ1..1Reference(US Core Practitioner Profile)Who ordered the initial medication(s)
.... onBehalfOf ΣI0..1Reference(Organization)Organization agent is acting for
... recorder 0..1Reference(Practitioner)Person who entered the request
... reasonCode 0..*CodeableConceptReason or indication for writing the prescription
Binding: Condition/Problem/Diagnosis Codes (example)
... reasonReference 0..*Reference(Condition), Reference(Observation)Condition or Observation that supports why the prescription is being written
... note 0..1AnnotationInformation about the prescription
... dosageInstruction 0..1SHR Dosage ProfileHow the medication should be taken
... dispenseRequest I0..1BackboneElementMedication supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... validityPeriod 0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed 0..1positiveIntNumber of refills authorized
.... quantity 0..1SHR Quantity ProfileAmount of medication to supply per dispense
.... expectedSupplyDuration 0..1SHR Duration ProfileNumber of days supply per dispense
.... performer 0..1Reference(Organization)Intended dispenser
... substitution I0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... allowed ?!1..1booleanWhether substitution is allowed or not
.... reason 0..1CodeableConceptWhy should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example)
... priorPrescription 0..1Reference(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

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

Terminology Bindings

PathNameConformanceValueSet
MedicationRequest.languageCommon LanguagesextensibleCommon Languages
MedicationRequest.extension.extension.value[x]MedicationRequestPriorityrequiredMedicationRequestPriority
MedicationRequest.extension.extension.value[x]MedicationRequestPriorityrequiredMedicationRequestPriority
MedicationRequest.statusMedicationRequestStatusrequiredMedicationRequestStatus
MedicationRequest.intentMedicationRequestIntentrequiredMedicationRequestIntent
MedicationRequest.categoryMedicationRequestCategorypreferredMedicationRequestCategory
MedicationRequest.priorityMedicationRequestPriorityrequiredMedicationRequestPriority
MedicationRequest.medication[x]Medication Clinical Drug (RxNorm)extensibleMedication Clinical Drug (RxNorm)
MedicationRequest.medicationCodeableConceptMedication Clinical Drug (RxNorm)extensibleMedication Clinical Drug (RxNorm)
MedicationRequest.reasonCodeCondition/Problem/Diagnosis CodesexampleCondition/Problem/Diagnosis Codes
MedicationRequest.substitution.reasonSubstanceAdminSubstitutionReasonexampleSubstanceAdminSubstitutionReason

 

Constraints

IdPathDetailsRequirements
dom-2MedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1MedicationRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4MedicationRequestIf 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-3MedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1MedicationRequest.requesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
mps-1MedicationRequest.requesteronBehalfOf can only be specified if agent is practitioner or device
: (agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()
ele-1MedicationRequest.dispenseRequestAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1MedicationRequest.substitutionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())