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 Medication Dispense Core

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

Polaris profile for MedicationDispense resources, primarily for recording dispense events. Aligns with CII N1/N2 requirements and Polaris standards.

Polaris Core MedicationDispense Profile

Overview

The Polaris Core MedicationDispense profile represents medication dispensing events within primary care and pharmacy systems. This profile captures the actual provision of medications to patients, tracking what was dispensed, when, by whom, and in what quantity across the Polaris ecosystem.

Key Features

  • Medication Tracking: Supports DIN, RxNorm, and source EMR medication codes
  • Dispense Documentation: Records quantity, days supply, and dispensing dates
  • Performer Attribution: Tracks pharmacist or organization performing dispense
  • Prescription Linkage: Connects to authorizing MedicationRequest
  • Status Management: Tracks preparation, completion, and cancellation states

Dispense Workflow

Common dispense states include:

  • Preparation: Medication being prepared
  • In-progress: Dispensing underway
  • On-hold: Temporarily suspended
  • Completed: Successfully dispensed to patient
  • Cancelled: Dispense cancelled before completion
  • Entered-in-error: Erroneous entry to be ignored
  • Stopped: Dispense terminated

Clinical Components

Essential dispense elements:

  • Medication Details: What was dispensed (name, code, strength)
  • Quantity: Amount provided to patient
  • Days Supply: Expected duration of dispensed quantity
  • When Handed Over: Actual dispense date (CII N2 mapping)
  • Dosage Instructions: How patient should take medication

Pharmacy Integration

The profile supports:

  • Retail pharmacy dispensing
  • Hospital pharmacy workflows
  • Mail-order pharmacy processes
  • Partial fills and refills
  • Medication synchronization programs

Quality and Safety

Enables tracking of:

  • Medication adherence patterns
  • Refill compliance
  • Days supply calculations
  • Dispensing patterns
  • Medication therapy management

Relationships

MedicationDispense connects to:

  • MedicationRequest: The prescription being filled
  • Patient: Who received the medication
  • Practitioner/Organization: Who dispensed
  • Location: Where dispensing occurred
  • Encounter: Related clinical visit

Future Considerations

Potential enhancements being evaluated:

  • Substitution documentation
  • Insurance and payment information
  • Counseling documentation
  • Delivery method tracking
  • Compound medication details
  • Lot numbers and expiration dates

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

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
.. MedicationDispense C 0..* MedicationDispense Polaris Medication Dispense Core
Constraints: mdd-1, medicationdispense-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
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationdispense
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationDispense 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 medicationdispense identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationdispense ID value: unique in source system
Example General: 123456
.... identifier:rawCode S 0..* Identifier Source EMR medicationdispense 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>-medicationdispense-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 preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped
Binding: MedicationDispense Status Codes (required)
... category S 0..1 CodeableConcept Dispense category with raw code support
Binding: MedicationDispense Category Codes (preferred): A code describing where the dispensed medication is expected to be consumed or administered.
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard dispense category code
...... 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 dispense category code
...... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-category-raw-code
...... code Σ 1..1 code EMR-specific dispense category code
...... display Σ 1..1 string EMR's display text for this category
... medication[x] SΣ 1..1 CodeableConcept Medication with raw code support
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard medication code (DIN, RxNorm)
...... 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 medication code
...... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-medication-raw-code
...... code Σ 1..1 code EMR-specific medication code
...... display Σ 1..1 string EMR's display text for this medication
.... text SΣ 1..1 string Human-readable medication name (required)
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the dispense is for
... performer S 0..* BackboneElement Who performed the dispense
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor S 1..1 Reference(Polaris PractitionerRole Core | Polaris Organization Core) Individual or organization who performed dispense
... authorizingPrescription S 0..* Reference(Polaris MedicationRequest Profile Core) Prescription that authorized this dispense
... type S 0..1 CodeableConcept Dispense type with raw code support
Binding: ActPharmacySupplyType (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard dispense type code
...... 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 dispense type code
...... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-type-raw-code
...... code Σ 1..1 code EMR-specific dispense type code
...... display Σ 1..1 string EMR's display text for this type
... quantity 0..1 SimpleQuantity Amount dispensed
... daysSupply 0..1 SimpleQuantity Amount of medication for period of time
... whenPrepared Σ 0..1 dateTime When product was prepared
... whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date
... note 0..* Annotation Additional information about dispense
... dosageInstruction 0..* Dosage How medication should be taken

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationDispense.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.statusrequiredMedicationDispense Status Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status
From the FHIR Standard
MedicationDispense.categorypreferredMedicationDispense Category Codes
http://hl7.org/fhir/ValueSet/medicationdispense-category
From the FHIR Standard
MedicationDispense.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationDispense.typeexampleActPharmacySupplyType
http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared
medicationdispense-has-polaris-iderrorMedicationDispenseMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationdispense-identifier$'))

This structure is derived from MedicationDispense

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Polaris Medication Dispense Core
Constraints: medicationdispense-has-polaris-id
... meta
.... source S 0..1 uri Identifies EMR instance & pipeline version the resource came from
... text S 0..1 Narrative Narrative
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationdispense
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationDispense ID
..... use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: official
..... system 1..1 uri Polaris medicationdispense identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-identifier
..... value 1..1 string The actual Polaris medicationdispense ID value: unique in source system
.... identifier:rawCode S 0..* Identifier Source EMR medicationdispense 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>-medicationdispense-raw-code
..... value 1..1 string The value that is unique
... category S 0..1 CodeableConcept Dispense category with raw code support
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard S 0..* Coding Standard dispense category code
...... 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 dispense category code
...... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-category-raw-code
...... code 1..1 code EMR-specific dispense category code
...... display 1..1 string EMR's display text for this category
... medication[x] S 1..1 CodeableConcept Medication with raw code support
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard S 0..* Coding Standard medication code (DIN, RxNorm)
...... 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 medication code
...... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-medication-raw-code
...... code 1..1 code EMR-specific medication code
...... display 1..1 string EMR's display text for this medication
.... text S 1..1 string Human-readable medication name (required)
... subject S 1..1 Reference(Polaris Patient Core) Who the dispense is for
... performer S 0..* BackboneElement Who performed the dispense
.... actor S 1..1 Reference(Polaris PractitionerRole Core | Polaris Organization Core) Individual or organization who performed dispense
... authorizingPrescription S 0..* Reference(Polaris MedicationRequest Profile Core) Prescription that authorized this dispense
... type S 0..1 CodeableConcept Dispense type with raw code support
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard S 0..* Coding Standard dispense type code
...... 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 dispense type code
...... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-type-raw-code
...... code 1..1 code EMR-specific dispense type code
...... display 1..1 string EMR's display text for this type
... quantity 0..1 SimpleQuantity Amount dispensed
... daysSupply 0..1 SimpleQuantity Amount of medication for period of time
... whenPrepared 0..1 dateTime When product was prepared
... whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date
... note 0..* Annotation Additional information about dispense
... dosageInstruction 0..* Dosage How medication should be taken

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationDispense.statusrequiredMedicationDispense Status Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
medicationdispense-has-polaris-iderrorMedicationDispenseMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationdispense-identifier$'))
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Polaris Medication Dispense Core
Constraints: mdd-1, medicationdispense-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 0..* Resource Contained, inline Resources
... 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 medicationdispense
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationDispense 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 medicationdispense identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationdispense 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 medicationdispense 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>-medicationdispense-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)
... partOf 0..* Reference(Procedure) Event that dispense is part of
... status ?!SΣ 1..1 code preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped
Binding: MedicationDispense Status Codes (required)
... statusReason[x] 0..1 Why a dispense was not performed
Binding: MedicationDispense Status Reason Codes (example): A code describing why a dispense was not performed.
.... statusReasonCodeableConcept CodeableConcept
.... statusReasonReference Reference(DetectedIssue)
... category S 0..1 CodeableConcept Dispense category with raw code support
Binding: MedicationDispense Category Codes (preferred): A code describing where the dispensed medication is expected to be consumed or 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
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard dispense category 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 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 dispense category 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>-medicationdispense-category-raw-code
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code EMR-specific dispense category code
...... display Σ 1..1 string EMR's display text for this category
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... medication[x] SΣ 1..1 CodeableConcept Medication with raw code support
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
.... 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 medication code (DIN, RxNorm)
...... 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 medication 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>-medicationdispense-medication-raw-code
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code EMR-specific medication code
...... display Σ 1..1 string EMR's display text for this medication
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 1..1 string Human-readable medication name (required)
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the dispense is for
... context 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
... supportingInformation 0..* Reference(Resource) Information that supports the dispensing of the medication
... performer S 0..* BackboneElement Who performed the dispense
.... 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
.... function 0..1 CodeableConcept Who performed the dispense and what they did
Binding: MedicationDispense Performer Function Codes (example): A code describing the role an individual played in dispensing a medication.
.... actor S 1..1 Reference(Polaris PractitionerRole Core | Polaris Organization Core) Individual or organization who performed dispense
... location 0..1 Reference(Location) Where the dispense occurred
... authorizingPrescription S 0..* Reference(Polaris MedicationRequest Profile Core) Prescription that authorized this dispense
... type S 0..1 CodeableConcept Dispense type with raw code support
Binding: ActPharmacySupplyType (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
.... 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 dispense type 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 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 dispense type 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>-medicationdispense-type-raw-code
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code EMR-specific dispense type code
...... display Σ 1..1 string EMR's display text for this type
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... quantity 0..1 SimpleQuantity Amount dispensed
... daysSupply 0..1 SimpleQuantity Amount of medication for period of time
... whenPrepared Σ 0..1 dateTime When product was prepared
... whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date
... destination 0..1 Reference(Location) Where the medication was sent
... receiver 0..* Reference(Patient | Practitioner) Who collected the medication
... note 0..* Annotation Additional information about dispense
... dosageInstruction 0..* Dosage How medication should be taken
... substitution 0..1 BackboneElement Whether a substitution was performed on the dispense
.... 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
.... wasSubstituted 1..1 boolean Whether a substitution was or was not performed on the dispense
.... type 0..1 CodeableConcept Code signifying whether a different drug was dispensed from what was prescribed
Binding: ActSubstanceAdminSubstitutionCode (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.
.... reason 0..* CodeableConcept Why was substitution made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
.... responsibleParty 0..* Reference(Practitioner | PractitionerRole) Who is responsible for the substitution
... detectedIssue 0..* Reference(DetectedIssue) Clinical issue with action
... eventHistory 0..* Reference(Provenance) A list of relevant lifecycle events

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationDispense.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
From the FHIR Standard
MedicationDispense.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
From the FHIR Standard
MedicationDispense.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationDispense.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.identifier:polarisId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationDispense.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.identifier:rawCode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationDispense.statusrequiredMedicationDispense Status Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status
From the FHIR Standard
MedicationDispense.statusReason[x]exampleMedicationDispense Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status-reason
From the FHIR Standard
MedicationDispense.categorypreferredMedicationDispense Category Codes
http://hl7.org/fhir/ValueSet/medicationdispense-category
From the FHIR Standard
MedicationDispense.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationDispense.performer.functionexampleMedicationDispense Performer Function Codes
http://hl7.org/fhir/ValueSet/medicationdispense-performer-function
From the FHIR Standard
MedicationDispense.typeexampleActPharmacySupplyType
http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType
MedicationDispense.substitution.typeexampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationDispense.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared
medicationdispense-has-polaris-iderrorMedicationDispenseMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationdispense-identifier$'))

This structure is derived from MedicationDispense

Summary

Mandatory: 7 elements(17 nested mandatory elements)
Must-Support: 21 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 MedicationDispense.identifier
  • The element 1 is sliced based on the value of MedicationDispense.category.coding
  • The element 1 is sliced based on the value of MedicationDispense.medication[x].coding
  • The element 1 is sliced based on the value of MedicationDispense.type.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Polaris Medication Dispense Core
Constraints: mdd-1, medicationdispense-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
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationdispense
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationDispense 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 medicationdispense identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationdispense ID value: unique in source system
Example General: 123456
.... identifier:rawCode S 0..* Identifier Source EMR medicationdispense 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>-medicationdispense-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 preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped
Binding: MedicationDispense Status Codes (required)
... category S 0..1 CodeableConcept Dispense category with raw code support
Binding: MedicationDispense Category Codes (preferred): A code describing where the dispensed medication is expected to be consumed or administered.
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard dispense category code
...... 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 dispense category code
...... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-category-raw-code
...... code Σ 1..1 code EMR-specific dispense category code
...... display Σ 1..1 string EMR's display text for this category
... medication[x] SΣ 1..1 CodeableConcept Medication with raw code support
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard medication code (DIN, RxNorm)
...... 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 medication code
...... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-medication-raw-code
...... code Σ 1..1 code EMR-specific medication code
...... display Σ 1..1 string EMR's display text for this medication
.... text SΣ 1..1 string Human-readable medication name (required)
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the dispense is for
... performer S 0..* BackboneElement Who performed the dispense
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor S 1..1 Reference(Polaris PractitionerRole Core | Polaris Organization Core) Individual or organization who performed dispense
... authorizingPrescription S 0..* Reference(Polaris MedicationRequest Profile Core) Prescription that authorized this dispense
... type S 0..1 CodeableConcept Dispense type with raw code support
Binding: ActPharmacySupplyType (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard dispense type code
...... 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 dispense type code
...... system Σ 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-type-raw-code
...... code Σ 1..1 code EMR-specific dispense type code
...... display Σ 1..1 string EMR's display text for this type
... quantity 0..1 SimpleQuantity Amount dispensed
... daysSupply 0..1 SimpleQuantity Amount of medication for period of time
... whenPrepared Σ 0..1 dateTime When product was prepared
... whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date
... note 0..* Annotation Additional information about dispense
... dosageInstruction 0..* Dosage How medication should be taken

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationDispense.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.statusrequiredMedicationDispense Status Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status
From the FHIR Standard
MedicationDispense.categorypreferredMedicationDispense Category Codes
http://hl7.org/fhir/ValueSet/medicationdispense-category
From the FHIR Standard
MedicationDispense.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationDispense.typeexampleActPharmacySupplyType
http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared
medicationdispense-has-polaris-iderrorMedicationDispenseMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationdispense-identifier$'))

Differential View

This structure is derived from MedicationDispense

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Polaris Medication Dispense Core
Constraints: medicationdispense-has-polaris-id
... meta
.... source S 0..1 uri Identifies EMR instance & pipeline version the resource came from
... text S 0..1 Narrative Narrative
... Slices for identifier S 1..* Identifier Business identifier(s) for medicationdispense
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationDispense ID
..... use 0..1 code usual | official | temp | secondary | old (If known)
Required Pattern: official
..... system 1..1 uri Polaris medicationdispense identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-identifier
..... value 1..1 string The actual Polaris medicationdispense ID value: unique in source system
.... identifier:rawCode S 0..* Identifier Source EMR medicationdispense 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>-medicationdispense-raw-code
..... value 1..1 string The value that is unique
... category S 0..1 CodeableConcept Dispense category with raw code support
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard S 0..* Coding Standard dispense category code
...... 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 dispense category code
...... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-category-raw-code
...... code 1..1 code EMR-specific dispense category code
...... display 1..1 string EMR's display text for this category
... medication[x] S 1..1 CodeableConcept Medication with raw code support
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard S 0..* Coding Standard medication code (DIN, RxNorm)
...... 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 medication code
...... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-medication-raw-code
...... code 1..1 code EMR-specific medication code
...... display 1..1 string EMR's display text for this medication
.... text S 1..1 string Human-readable medication name (required)
... subject S 1..1 Reference(Polaris Patient Core) Who the dispense is for
... performer S 0..* BackboneElement Who performed the dispense
.... actor S 1..1 Reference(Polaris PractitionerRole Core | Polaris Organization Core) Individual or organization who performed dispense
... authorizingPrescription S 0..* Reference(Polaris MedicationRequest Profile Core) Prescription that authorized this dispense
... type S 0..1 CodeableConcept Dispense type with raw code support
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard S 0..* Coding Standard dispense type code
...... 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 dispense type code
...... system 1..1 uri Source system URI or https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-type-raw-code
...... code 1..1 code EMR-specific dispense type code
...... display 1..1 string EMR's display text for this type
... quantity 0..1 SimpleQuantity Amount dispensed
... daysSupply 0..1 SimpleQuantity Amount of medication for period of time
... whenPrepared 0..1 dateTime When product was prepared
... whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date
... note 0..* Annotation Additional information about dispense
... dosageInstruction 0..* Dosage How medication should be taken

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationDispense.statusrequiredMedicationDispense Status Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status
From the FHIR Standard

Constraints

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

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Polaris Medication Dispense Core
Constraints: mdd-1, medicationdispense-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 0..* Resource Contained, inline Resources
... 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 medicationdispense
Slice: Unordered, Open by pattern:system
.... identifier:polarisId S 1..1 Identifier Polaris MedicationDispense 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 medicationdispense identifier system: https://fhir.apps.health/NamingSystem/<instance-id>-medicationdispense-identifier
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The actual Polaris medicationdispense 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 medicationdispense 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>-medicationdispense-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)
... partOf 0..* Reference(Procedure) Event that dispense is part of
... status ?!SΣ 1..1 code preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped
Binding: MedicationDispense Status Codes (required)
... statusReason[x] 0..1 Why a dispense was not performed
Binding: MedicationDispense Status Reason Codes (example): A code describing why a dispense was not performed.
.... statusReasonCodeableConcept CodeableConcept
.... statusReasonReference Reference(DetectedIssue)
... category S 0..1 CodeableConcept Dispense category with raw code support
Binding: MedicationDispense Category Codes (preferred): A code describing where the dispensed medication is expected to be consumed or 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
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:standard SΣ 0..* Coding Standard dispense category 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 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 dispense category 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>-medicationdispense-category-raw-code
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code EMR-specific dispense category code
...... display Σ 1..1 string EMR's display text for this category
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... medication[x] SΣ 1..1 CodeableConcept Medication with raw code support
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
.... 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 medication code (DIN, RxNorm)
...... 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 medication 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>-medicationdispense-medication-raw-code
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code EMR-specific medication code
...... display Σ 1..1 string EMR's display text for this medication
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 1..1 string Human-readable medication name (required)
... subject SΣ 1..1 Reference(Polaris Patient Core) Who the dispense is for
... context 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
... supportingInformation 0..* Reference(Resource) Information that supports the dispensing of the medication
... performer S 0..* BackboneElement Who performed the dispense
.... 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
.... function 0..1 CodeableConcept Who performed the dispense and what they did
Binding: MedicationDispense Performer Function Codes (example): A code describing the role an individual played in dispensing a medication.
.... actor S 1..1 Reference(Polaris PractitionerRole Core | Polaris Organization Core) Individual or organization who performed dispense
... location 0..1 Reference(Location) Where the dispense occurred
... authorizingPrescription S 0..* Reference(Polaris MedicationRequest Profile Core) Prescription that authorized this dispense
... type S 0..1 CodeableConcept Dispense type with raw code support
Binding: ActPharmacySupplyType (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
.... 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 dispense type 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 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 dispense type 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>-medicationdispense-type-raw-code
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code EMR-specific dispense type code
...... display Σ 1..1 string EMR's display text for this type
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... quantity 0..1 SimpleQuantity Amount dispensed
... daysSupply 0..1 SimpleQuantity Amount of medication for period of time
... whenPrepared Σ 0..1 dateTime When product was prepared
... whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date
... destination 0..1 Reference(Location) Where the medication was sent
... receiver 0..* Reference(Patient | Practitioner) Who collected the medication
... note 0..* Annotation Additional information about dispense
... dosageInstruction 0..* Dosage How medication should be taken
... substitution 0..1 BackboneElement Whether a substitution was performed on the dispense
.... 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
.... wasSubstituted 1..1 boolean Whether a substitution was or was not performed on the dispense
.... type 0..1 CodeableConcept Code signifying whether a different drug was dispensed from what was prescribed
Binding: ActSubstanceAdminSubstitutionCode (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.
.... reason 0..* CodeableConcept Why was substitution made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
.... responsibleParty 0..* Reference(Practitioner | PractitionerRole) Who is responsible for the substitution
... detectedIssue 0..* Reference(DetectedIssue) Clinical issue with action
... eventHistory 0..* Reference(Provenance) A list of relevant lifecycle events

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationDispense.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
From the FHIR Standard
MedicationDispense.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
From the FHIR Standard
MedicationDispense.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationDispense.identifier:polarisId.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.identifier:polarisId.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationDispense.identifier:rawCode.userequiredPattern Value: secondary
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationDispense.identifier:rawCode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
MedicationDispense.statusrequiredMedicationDispense Status Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status
From the FHIR Standard
MedicationDispense.statusReason[x]exampleMedicationDispense Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationdispense-status-reason
From the FHIR Standard
MedicationDispense.categorypreferredMedicationDispense Category Codes
http://hl7.org/fhir/ValueSet/medicationdispense-category
From the FHIR Standard
MedicationDispense.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
MedicationDispense.performer.functionexampleMedicationDispense Performer Function Codes
http://hl7.org/fhir/ValueSet/medicationdispense-performer-function
From the FHIR Standard
MedicationDispense.typeexampleActPharmacySupplyType
http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType
MedicationDispense.substitution.typeexampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationDispense.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared
medicationdispense-has-polaris-iderrorMedicationDispenseMust have at least one identifier with a canonical Polaris system URI
: identifier.exists(system.matches('^https://fhir.apps.health/NamingSystem/[A-Za-z0-9._-]+-medicationdispense-identifier$'))

This structure is derived from MedicationDispense

Summary

Mandatory: 7 elements(17 nested mandatory elements)
Must-Support: 21 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 MedicationDispense.identifier
  • The element 1 is sliced based on the value of MedicationDispense.category.coding
  • The element 1 is sliced based on the value of MedicationDispense.medication[x].coding
  • The element 1 is sliced based on the value of MedicationDispense.type.coding

 

Other representations of profile: CSV, Excel, Schematron