Polaris FHIR Implementation Guide
1.10.0 - ci-build

Polaris FHIR Implementation Guide - Local Development build (v1.10.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Polaris MedicationRequest Profile Core

Official URL: https://fhir.apps.health/StructureDefinition/polaris-core-medicationrequest Version: 1.10.0
Draft as of 2026-05-26 Computable Name: PolarisCoreMedicationRequest

Defines the Polaris FHIR profile for MedicationRequest resources, based on CA-Core constraints, for aggregating prescription data from multiple EMRs.

Polaris Core MedicationRequest Profile

Overview

The Polaris Core MedicationRequest profile represents prescriptions and medication orders within primary care EMR systems. This profile captures comprehensive prescription details including medication, dosage, route, frequency, and dispensing instructions across the Polaris ecosystem.

Key Features

  • Contained Medication Resources: Uses contained Medication resources for comprehensive medication representation
  • Structured Strength Modeling: Medication strength properly modeled in Medication.ingredient.strength
  • Flexible Dosage Instructions: Supports both free-text sig and structured dosing
  • Route Flexibility: Standard terminology with fallback to source EMR codes
  • Dispense Management: Includes quantity, refills, and pharmacy instructions
  • Prescriber Tracking: Links to practitioner who authored the prescription

Medication Representation Approach

Contained Medication Requirement

Polaris requires all medications to be represented as contained Medication resources. This approach provides:

  1. Comprehensive Medication Details: The contained Medication resource captures all medication details including name, form, strength, and ingredients in a structured way.

  2. FHIR Best Practices: Using contained resources follows FHIR best practices for prescription-specific medication details that don't exist independently.

  3. Strength Modeling: Medication strength is properly modeled using the Medication.ingredient.strength element with numerator and denominator quantities.

Current Approach

The profile requires:

  • medicationReference: Must reference a contained Medication resource
  • Contained Medication: Must include a Medication resource in the contained array with appropriate details
  • Structured Strength: Strength information captured in Medication.ingredient.strength

Prescription Components

Essential elements include:

  • Medication Details: Drug name via CodeableConcept, strength via extension
  • Sig Instructions: Complete dosage instructions as free text (required)
  • Timing: Structured frequency and duration when available
  • Route: How medication should be administered
  • Quantity: Amount to dispense and number of refills

Clinical Workflow Support

The profile supports various prescription scenarios:

  • New prescriptions from encounters
  • Refill authorizations
  • Medication changes and discontinuations
  • Prescription renewals
  • Standing orders and protocols

Status Management

Tracks prescription lifecycle:

  • Active: Current prescriptions being filled
  • Completed: Fully dispensed prescriptions
  • Stopped: Discontinued medications
  • On-hold: Temporarily suspended prescriptions
  • Cancelled: Prescriptions that should not be filled

Future Considerations

Potential enhancements being evaluated:

  • Substitution permissions and requirements
  • Prior authorization tracking
  • Indication for use documentation
  • Complex dosing schedules and tapers
  • Medication therapy management notes

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* MedicationRequest Polaris Medication Request Core
Constraints: medicationrequest-has-polaris-id
... meta Σ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies EMR instance & pipeline version the resource came from
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text S 0..1 Narrative Narrative
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationrequest
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationRequest ID
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
..... system Σ 1..1 uri Polaris medicationrequest identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationrequest ID value: unique in source system
Example General: 123456
.... identifier:rawCode S 0..* Identifier Source EMR medicationrequest identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary
..... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-raw-code
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... status ?!SΣ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft
Binding: medicationrequest Status (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!SΣ 1..1 code proposal | plan | order | instance-order
Binding: medicationRequest Intent (required)
Fixed Value: order
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... Slices for medication[x] SΣ 1..1 Reference(Medication) Reference to contained medication
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]:medicationReference SΣ 1..1 Reference(Medication) Reference to the contained medication in `contained` property
..... reference SΣC 1..1 string Must match the `id` property of the contained Medication
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the medication is for
... encounter S 0..1 Reference(Polaris Encounter Profile Core) Encounter during which prescription was written
... authoredOn SΣ 1..1 dateTime When prescription was written
... requester SΣ 0..1 Reference(Polaris PractitionerRole Core) Who prescribed the medication
... dosageInstruction S 0..* Dosage How medication should be taken
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text SΣ 1..1 string Free text dosage instructions (sig)
.... timing SΣ 0..1 Timing When medication should be taken
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... route SΣ 0..1 CodeableConcept Route of administration with raw code support
Binding: SNOMEDCTRouteCodes (preferred)
..... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
...... coding:standard SΣ 0..* Coding Standard route code (SNOMED CT)
....... system Σ 1..1 uri Standard terminology system URI
....... code Σ 1..1 code Symbol in syntax defined by the system
...... coding:rawCode SΣ 0..* Coding Source EMR route code
....... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-route-raw-code
....... code Σ 1..1 code EMR-specific route code
....... display Σ 1..1 string EMR's display text for this route
..... text SΣ 1..1 string Human-readable route description (required)
... dispenseRequest S 0..1 BackboneElement Pharmacy dispensing instructions
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... numberOfRepeatsAllowed S 0..1 unsignedInt Number of refills authorized
.... quantity S 0..1 SimpleQuantity Amount to dispense

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status
From the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent
From the FHIR Standard
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.routepreferredSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
medicationrequest-has-polaris-iderrorMedicationRequestMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationrequest-identifier$'))

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* MedicationRequest Polaris Medication Request Core
Constraints: medicationrequest-has-polaris-id
... meta
.... source S 0..1 uri Identifies EMR instance & pipeline version the resource came from
... text S 0..1 Narrative Narrative
... contained S 1..1 Resource Contains PolarisContainedMedicationCore when using medicationReference
.... identifier:polarisId S 1..1 Identifier Polaris MedicationRequest ID
..... use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: official
..... system 1..1 uri Polaris medicationrequest identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-identifier
..... value 1..1 string The actual Polaris medicationrequest ID value: unique in source system
.... identifier:rawCode S 0..* Identifier Source EMR medicationrequest identifier
..... use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: secondary
..... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-raw-code
..... value 1..1 string The value that is unique
... status S 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft
Binding: medicationrequest Status (required)
... statusReason 0..1 CodeableConcept Reason for current status
... intent S 1..1 code proposal | plan | order | instance-order
Binding: medicationRequest Intent (required)
Fixed Value: order
... Slices for medication[x] S 1..1 Reference(Medication) Reference to contained medication
Slice: Unordered, Open by type:$this
.... medication[x]:medicationReference S 1..1 Reference(Medication) Reference to the contained medication in `contained` property
..... reference S 1..1 string Must match the `id` property of the contained Medication
... subject S 1..1 Reference(Polaris Patient Core) Who the medication is for
... encounter S 0..1 Reference(Polaris Encounter Profile Core) Encounter during which prescription was written
... authoredOn S 1..1 dateTime When prescription was written
... requester S 0..1 Reference(Polaris PractitionerRole Core) Who prescribed the medication
... dosageInstruction S 0..* Dosage How medication should be taken
.... text S 1..1 string Free text dosage instructions (sig)
.... timing S 0..1 Timing When medication should be taken
..... repeat
...... Slices for bounds[x] 0..1 Duration, Range, Period Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... bounds[x]:boundsPeriod 0..1 Period Length/Range of lengths, or (Start and/or end) limits
....... bounds[x]:boundsDuration 0..1 Duration Length/Range of lengths, or (Start and/or end) limits
.... route S 0..1 CodeableConcept Route of administration with raw code support
Binding: SNOMEDCTRouteCodes (preferred)
..... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
...... coding:standard S 0..* Coding Standard route code (SNOMED CT)
....... system 1..1 uri Standard terminology system URI
....... code 1..1 code Symbol in syntax defined by the system
...... coding:rawCode S 0..* Coding Source EMR route code
....... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-route-raw-code
....... code 1..1 code EMR-specific route code
....... display 1..1 string EMR's display text for this route
..... text S 1..1 string Human-readable route description (required)
.... doseAndRate
..... Slices for dose[x] 0..1 Range, SimpleQuantity Amount of medication per dose
Slice: Unordered, Open by type:$this
...... dose[x]:doseQuantity 0..1 SimpleQuantity Patient-administered dose quantity (e.g., 2 tablets)
....... value 1..1 decimal Numerical value (with implicit precision)
....... unit 1..1 string Unit representation
....... code 0..1 code Coded form of the unit
Binding: UCUMCodes (required)
...... dose[x]:doseRange 0..1 Range Patient-administered dose range (e.g., 2-5 tablets)
... dispenseRequest S 0..1 BackboneElement Pharmacy dispensing instructions
.... numberOfRepeatsAllowed S 0..1 unsignedInt Number of refills authorized
.... quantity S 0..1 SimpleQuantity Amount to dispense
.... expectedSupplyDuration
..... value 1..1 decimal Numerical value (with implicit precision)
..... unit 1..1 string Unit representation
..... system 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code 1..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent
From the FHIR Standard
MedicationRequest.dosageInstruction.routepreferredSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.coderequiredUCUMCodes(a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
medicationrequest-has-polaris-iderrorMedicationRequestMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationrequest-identifier$'))
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* MedicationRequest Polaris Medication Request Core
Constraints: medicationrequest-has-polaris-id
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies EMR instance & pipeline version the resource came from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text S 0..1 Narrative Narrative
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained S 1..1 Resource Contains PolarisContainedMedicationCore when using medicationReference
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationrequest
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationRequest ID
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Polaris medicationrequest identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationrequest ID value: unique in source system
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)
.... identifier:rawCode S 0..* Identifier Source EMR medicationrequest identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-raw-code
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
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
Binding: medicationrequest Status (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!SΣ 1..1 code proposal | plan | order | instance-order
Binding: medicationRequest Intent (required)
Fixed Value: 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] SΣ 1..1 Reference(Medication) Reference to contained medication
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]:medicationReference SΣ 1..1 Reference(Medication) Reference to the contained medication in `contained` property
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference SΣC 1..1 string Must match the `id` property of the contained Medication
..... 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
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the medication is for
... encounter S 0..1 Reference(Polaris Encounter Profile Core) Encounter during which prescription was written
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn SΣ 1..1 dateTime When prescription was written
... requester SΣ 0..1 Reference(Polaris PractitionerRole Core) Who prescribed the medication
... 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..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... 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 0..* Annotation Information about the prescription
... dosageInstruction S 0..* Dosage How medication should be taken
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text SΣ 1..1 string Free text dosage instructions (sig)
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing SΣ 0..1 Timing When medication should be taken
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... event Σ 0..* dateTime When the event occurs
..... repeat ΣC 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
....... bounds[x]:boundsPeriod Σ 0..1 Period Length/Range of lengths, or (Start and/or end) limits
....... bounds[x]:boundsDuration Σ 0..1 Duration Length/Range of lengths, or (Start and/or end) limits
...... count Σ 0..1 positiveInt Number of times to repeat
...... countMax Σ 0..1 positiveInt Maximum number of times to repeat
...... duration Σ 0..1 decimal How long when it happens
...... durationMax Σ 0..1 decimal How long when it happens (Max)
...... durationUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... frequency Σ 0..1 positiveInt Event occurs frequency times per period
...... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
...... period Σ 0..1 decimal Event occurs frequency times per period
...... periodMax Σ 0..1 decimal Upper limit of period (3-4 hours)
...... periodUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... dayOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay Σ 0..* time Time of day for action
...... when Σ 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.
...... offset Σ 0..1 unsignedInt Minutes from event (before or after)
..... code Σ 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route SΣ 0..1 CodeableConcept Route of administration with raw code support
Binding: SNOMEDCTRouteCodes (preferred)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
...... coding:standard SΣ 0..* Coding Standard route code (SNOMED CT)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Standard terminology system URI
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:rawCode SΣ 0..* Coding Source EMR route code
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-route-raw-code
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code EMR-specific route code
....... display Σ 1..1 string EMR's display text for this route
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 1..1 string Human-readable route description (required)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... Slices for dose[x] Σ 0..1 Amount of medication per dose
Slice: Unordered, Closed by type:$this
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
...... dose[x]:doseQuantity Σ 0..1 SimpleQuantity Patient-administered dose quantity (e.g., 2 tablets)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value Σ 1..1 decimal Numerical value (with implicit precision)
....... unit Σ 1..1 string Unit representation
....... system ΣC 0..1 uri System that defines coded unit form
....... code Σ 0..1 code Coded form of the unit
Binding: UCUMCodes (required)
...... dose[x]:doseRange Σ 0..1 Range Patient-administered dose range (e.g., 2-5 tablets)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity Upper limit on medication per lifetime of the patient
... dispenseRequest S 0..1 BackboneElement Pharmacy dispensing instructions
.... 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 0..1 unsignedInt Number of refills authorized
.... quantity S 0..1 SimpleQuantity Amount to dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ 1..1 decimal Numerical value (with implicit precision)
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
..... unit Σ 1..1 string Unit representation
..... system ΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code Σ 1..1 code Coded form of the unit
.... performer 0..1 Reference(Organization) Intended dispenser
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
From the FHIR Standard
MedicationRequest.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
From the FHIR Standard
MedicationRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.identifier:polarisId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationRequest.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.identifier:rawCode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status
From the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent
From the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
From the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
From the FHIR Standard
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationRequest.medication[x]:medicationReference.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
From the FHIR Standard
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
From the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
From the FHIR Standard
MedicationRequest.dosageInstruction.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.whenrequiredEventTiming
http://hl7.org/fhir/ValueSet/event-timing|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
From the FHIR Standard
MedicationRequest.dosageInstruction.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
From the FHIR Standard
MedicationRequest.dosageInstruction.siteexampleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
http://hl7.org/fhir/ValueSet/approach-site-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.routepreferredSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.methodexampleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://hl7.org/fhir/ValueSet/dose-rate-type
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.coderequiredUCUMCodes(a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
From the FHIR Standard
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
medicationrequest-has-polaris-iderrorMedicationRequestMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationrequest-identifier$'))
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from MedicationRequest

Summary

Mandatory: 8 elements(15 nested mandatory elements)
Must-Support: 25 elements
Fixed: 2 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier
  • The element 1 is sliced based on the value of MedicationRequest.medication[x]
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.timing.repeat.bounds[x]
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.route.coding
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.doseAndRate.dose[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* MedicationRequest Polaris Medication Request Core
Constraints: medicationrequest-has-polaris-id
... meta Σ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies EMR instance & pipeline version the resource came from
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text S 0..1 Narrative Narrative
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationrequest
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationRequest ID
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
..... system Σ 1..1 uri Polaris medicationrequest identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationrequest ID value: unique in source system
Example General: 123456
.... identifier:rawCode S 0..* Identifier Source EMR medicationrequest identifier
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary
..... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-raw-code
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... status ?!SΣ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft
Binding: medicationrequest Status (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!SΣ 1..1 code proposal | plan | order | instance-order
Binding: medicationRequest Intent (required)
Fixed Value: order
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... Slices for medication[x] SΣ 1..1 Reference(Medication) Reference to contained medication
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]:medicationReference SΣ 1..1 Reference(Medication) Reference to the contained medication in `contained` property
..... reference SΣC 1..1 string Must match the `id` property of the contained Medication
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the medication is for
... encounter S 0..1 Reference(Polaris Encounter Profile Core) Encounter during which prescription was written
... authoredOn SΣ 1..1 dateTime When prescription was written
... requester SΣ 0..1 Reference(Polaris PractitionerRole Core) Who prescribed the medication
... dosageInstruction S 0..* Dosage How medication should be taken
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text SΣ 1..1 string Free text dosage instructions (sig)
.... timing SΣ 0..1 Timing When medication should be taken
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... route SΣ 0..1 CodeableConcept Route of administration with raw code support
Binding: SNOMEDCTRouteCodes (preferred)
..... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
...... coding:standard SΣ 0..* Coding Standard route code (SNOMED CT)
....... system Σ 1..1 uri Standard terminology system URI
....... code Σ 1..1 code Symbol in syntax defined by the system
...... coding:rawCode SΣ 0..* Coding Source EMR route code
....... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-route-raw-code
....... code Σ 1..1 code EMR-specific route code
....... display Σ 1..1 string EMR's display text for this route
..... text SΣ 1..1 string Human-readable route description (required)
... dispenseRequest S 0..1 BackboneElement Pharmacy dispensing instructions
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... numberOfRepeatsAllowed S 0..1 unsignedInt Number of refills authorized
.... quantity S 0..1 SimpleQuantity Amount to dispense

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status
From the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent
From the FHIR Standard
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.routepreferredSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
medicationrequest-has-polaris-iderrorMedicationRequestMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationrequest-identifier$'))

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* MedicationRequest Polaris Medication Request Core
Constraints: medicationrequest-has-polaris-id
... meta
.... source S 0..1 uri Identifies EMR instance & pipeline version the resource came from
... text S 0..1 Narrative Narrative
... contained S 1..1 Resource Contains PolarisContainedMedicationCore when using medicationReference
.... identifier:polarisId S 1..1 Identifier Polaris MedicationRequest ID
..... use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: official
..... system 1..1 uri Polaris medicationrequest identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-identifier
..... value 1..1 string The actual Polaris medicationrequest ID value: unique in source system
.... identifier:rawCode S 0..* Identifier Source EMR medicationrequest identifier
..... use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: secondary
..... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-raw-code
..... value 1..1 string The value that is unique
... status S 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft
Binding: medicationrequest Status (required)
... statusReason 0..1 CodeableConcept Reason for current status
... intent S 1..1 code proposal | plan | order | instance-order
Binding: medicationRequest Intent (required)
Fixed Value: order
... Slices for medication[x] S 1..1 Reference(Medication) Reference to contained medication
Slice: Unordered, Open by type:$this
.... medication[x]:medicationReference S 1..1 Reference(Medication) Reference to the contained medication in `contained` property
..... reference S 1..1 string Must match the `id` property of the contained Medication
... subject S 1..1 Reference(Polaris Patient Core) Who the medication is for
... encounter S 0..1 Reference(Polaris Encounter Profile Core) Encounter during which prescription was written
... authoredOn S 1..1 dateTime When prescription was written
... requester S 0..1 Reference(Polaris PractitionerRole Core) Who prescribed the medication
... dosageInstruction S 0..* Dosage How medication should be taken
.... text S 1..1 string Free text dosage instructions (sig)
.... timing S 0..1 Timing When medication should be taken
..... repeat
...... Slices for bounds[x] 0..1 Duration, Range, Period Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... bounds[x]:boundsPeriod 0..1 Period Length/Range of lengths, or (Start and/or end) limits
....... bounds[x]:boundsDuration 0..1 Duration Length/Range of lengths, or (Start and/or end) limits
.... route S 0..1 CodeableConcept Route of administration with raw code support
Binding: SNOMEDCTRouteCodes (preferred)
..... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
...... coding:standard S 0..* Coding Standard route code (SNOMED CT)
....... system 1..1 uri Standard terminology system URI
....... code 1..1 code Symbol in syntax defined by the system
...... coding:rawCode S 0..* Coding Source EMR route code
....... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-route-raw-code
....... code 1..1 code EMR-specific route code
....... display 1..1 string EMR's display text for this route
..... text S 1..1 string Human-readable route description (required)
.... doseAndRate
..... Slices for dose[x] 0..1 Range, SimpleQuantity Amount of medication per dose
Slice: Unordered, Open by type:$this
...... dose[x]:doseQuantity 0..1 SimpleQuantity Patient-administered dose quantity (e.g., 2 tablets)
....... value 1..1 decimal Numerical value (with implicit precision)
....... unit 1..1 string Unit representation
....... code 0..1 code Coded form of the unit
Binding: UCUMCodes (required)
...... dose[x]:doseRange 0..1 Range Patient-administered dose range (e.g., 2-5 tablets)
... dispenseRequest S 0..1 BackboneElement Pharmacy dispensing instructions
.... numberOfRepeatsAllowed S 0..1 unsignedInt Number of refills authorized
.... quantity S 0..1 SimpleQuantity Amount to dispense
.... expectedSupplyDuration
..... value 1..1 decimal Numerical value (with implicit precision)
..... unit 1..1 string Unit representation
..... system 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code 1..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent
From the FHIR Standard
MedicationRequest.dosageInstruction.routepreferredSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.coderequiredUCUMCodes(a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
medicationrequest-has-polaris-iderrorMedicationRequestMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationrequest-identifier$'))

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest C 0..* MedicationRequest Polaris Medication Request Core
Constraints: medicationrequest-has-polaris-id
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies EMR instance & pipeline version the resource came from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text S 0..1 Narrative Narrative
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained S 1..1 Resource Contains PolarisContainedMedicationCore when using medicationReference
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationrequest
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationRequest ID
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Polaris medicationrequest identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationrequest ID value: unique in source system
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)
.... identifier:rawCode S 0..* Identifier Source EMR medicationrequest identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-raw-code
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
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
Binding: medicationrequest Status (required)
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
... intent ?!SΣ 1..1 code proposal | plan | order | instance-order
Binding: medicationRequest Intent (required)
Fixed Value: 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] SΣ 1..1 Reference(Medication) Reference to contained medication
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
.... medication[x]:medicationReference SΣ 1..1 Reference(Medication) Reference to the contained medication in `contained` property
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference SΣC 1..1 string Must match the `id` property of the contained Medication
..... 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
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the medication is for
... encounter S 0..1 Reference(Polaris Encounter Profile Core) Encounter during which prescription was written
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn SΣ 1..1 dateTime When prescription was written
... requester SΣ 0..1 Reference(Polaris PractitionerRole Core) Who prescribed the medication
... 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..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
... 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 0..* Annotation Information about the prescription
... dosageInstruction S 0..* Dosage How medication should be taken
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text SΣ 1..1 string Free text dosage instructions (sig)
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing SΣ 0..1 Timing When medication should be taken
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... event Σ 0..* dateTime When the event occurs
..... repeat ΣC 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
Slice: Unordered, Open by type:$this
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
....... bounds[x]:boundsPeriod Σ 0..1 Period Length/Range of lengths, or (Start and/or end) limits
....... bounds[x]:boundsDuration Σ 0..1 Duration Length/Range of lengths, or (Start and/or end) limits
...... count Σ 0..1 positiveInt Number of times to repeat
...... countMax Σ 0..1 positiveInt Maximum number of times to repeat
...... duration Σ 0..1 decimal How long when it happens
...... durationMax Σ 0..1 decimal How long when it happens (Max)
...... durationUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... frequency Σ 0..1 positiveInt Event occurs frequency times per period
...... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
...... period Σ 0..1 decimal Event occurs frequency times per period
...... periodMax Σ 0..1 decimal Upper limit of period (3-4 hours)
...... periodUnit Σ 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... dayOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay Σ 0..* time Time of day for action
...... when Σ 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.
...... offset Σ 0..1 unsignedInt Minutes from event (before or after)
..... code Σ 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route SΣ 0..1 CodeableConcept Route of administration with raw code support
Binding: SNOMEDCTRouteCodes (preferred)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
...... coding:standard SΣ 0..* Coding Standard route code (SNOMED CT)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Standard terminology system URI
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... coding:rawCode SΣ 0..* Coding Source EMR route code
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationrequest-route-raw-code
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code EMR-specific route code
....... display Σ 1..1 string EMR's display text for this route
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text SΣ 1..1 string Human-readable route description (required)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... Slices for dose[x] Σ 0..1 Amount of medication per dose
Slice: Unordered, Closed by type:$this
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
...... dose[x]:doseQuantity Σ 0..1 SimpleQuantity Patient-administered dose quantity (e.g., 2 tablets)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value Σ 1..1 decimal Numerical value (with implicit precision)
....... unit Σ 1..1 string Unit representation
....... system ΣC 0..1 uri System that defines coded unit form
....... code Σ 0..1 code Coded form of the unit
Binding: UCUMCodes (required)
...... dose[x]:doseRange Σ 0..1 Range Patient-administered dose range (e.g., 2-5 tablets)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity Upper limit on medication per lifetime of the patient
... dispenseRequest S 0..1 BackboneElement Pharmacy dispensing instructions
.... 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 0..1 unsignedInt Number of refills authorized
.... quantity S 0..1 SimpleQuantity Amount to dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ 1..1 decimal Numerical value (with implicit precision)
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
..... unit Σ 1..1 string Unit representation
..... system ΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code Σ 1..1 code Coded form of the unit
.... performer 0..1 Reference(Organization) Intended dispenser
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
From the FHIR Standard
MedicationRequest.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
From the FHIR Standard
MedicationRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.identifier:polarisId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationRequest.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.identifier:rawCode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status
From the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent
From the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
From the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
From the FHIR Standard
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationRequest.medication[x]:medicationReference.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
From the FHIR Standard
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
From the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
From the FHIR Standard
MedicationRequest.dosageInstruction.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.whenrequiredEventTiming
http://hl7.org/fhir/ValueSet/event-timing|4.0.1
From the FHIR Standard
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
From the FHIR Standard
MedicationRequest.dosageInstruction.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
From the FHIR Standard
MedicationRequest.dosageInstruction.siteexampleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
http://hl7.org/fhir/ValueSet/approach-site-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.routepreferredSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.methodexampleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://hl7.org/fhir/ValueSet/dose-rate-type
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.coderequiredUCUMCodes(a valid code from UCUM)
http://hl7.org/fhir/ValueSet/ucum-units
From the FHIR Standard
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
medicationrequest-has-polaris-iderrorMedicationRequestMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationrequest-identifier$'))
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from MedicationRequest

Summary

Mandatory: 8 elements(15 nested mandatory elements)
Must-Support: 25 elements
Fixed: 2 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier
  • The element 1 is sliced based on the value of MedicationRequest.medication[x]
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.timing.repeat.bounds[x]
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.route.coding
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.doseAndRate.dose[x]

 

Other representations of profile: CSV, Excel, Schematron