Page Status: updated 2023-11-22
NLLMedicationDispense (MedicationDispense)
Page index
Introduction
The MedicationDispense resource, shown in the profile NLLMedicationDispense, represents a dispense of medication or medical consumable at a pharmacy. The profile NLLMedicationDispense represents the normal scenario, in which the prescription has been registered in the Swedish National Medication List prior to dispensing.
Overview
MedicationDispense | I | MedicationDispense | Element idMedicationDispense A medication dispense to a specific patient authorzied by a prescription DefinitionA medication dispense to a specific patient authorzied by a prescription in electronic format. Medication dispenses authorized by paper based prescriptions must use the profile NLLDetachedDipsense.
| |
id | S Σ | 0..1 | string | Element idMedicationDispense.id Logical id of this artifact DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. This id is identified by the URI http://electronichealth.se/identifier/nllmedicationdispenseid in documentation and external systems.
|
meta | S Σ | 0..1 | Meta | There are no (further) constraints on this element Element idMedicationDispense.meta Metadata about the resource DefinitionThe metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.meta.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.meta.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
versionId | S Σ | 0..1 | id | Element idMedicationDispense.meta.versionId Version specific identifier DefinitionThe version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted. The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
|
lastUpdated | Σ | 0..1 | instant | There are no (further) constraints on this element Element idMedicationDispense.meta.lastUpdated When the resource version last changed DefinitionWhen the resource last changed - e.g. when the version changed. This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.
|
source | Σ | 0..1 | uri | There are no (further) constraints on this element Element idMedicationDispense.meta.source Identifies where the resource comes from DefinitionA uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc. In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.
|
profile | Σ | 0..* | canonical(StructureDefinition) | There are no (further) constraints on this element Element idMedicationDispense.meta.profile Profiles this resource claims to conform to DefinitionA list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url. It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set. canonical(StructureDefinition) Constraints
|
security | Σ | 0..* | CodingBinding | There are no (further) constraints on this element Element idMedicationDispense.meta.security Security Labels applied to this resource DefinitionSecurity labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored. Security Labels from the Healthcare Privacy and Security Classification System.
|
tag | Σ | 0..* | Coding | There are no (further) constraints on this element Element idMedicationDispense.meta.tag Tags applied to this resource DefinitionTags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored. Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
|
implicitRules | Σ ?! | 0..1 | uri | There are no (further) constraints on this element Element idMedicationDispense.implicitRules A set of rules under which this content was created DefinitionA reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
|
language | 0..1 | codeBinding | There are no (further) constraints on this element Element idMedicationDispense.language Language of the resource content DefinitionThe base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute). A human language.
| |
text | 0..1 | Narrative | There are no (further) constraints on this element Element idMedicationDispense.text Text summary of the resource, for human interpretation Alternate namesnarrative, html, xhtml, display DefinitionA human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
| |
contained | 0..* | Resource | There are no (further) constraints on this element Element idMedicationDispense.contained Contained, inline Resources Alternate namesinline resources, anonymous resources, contained resources DefinitionThese resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
| |
extension | I | 3..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
nllNumberOfPackagesDispensed | S I | 0..1 | Extension(positiveInt) | Element idMedicationDispense.extension:nllNumberOfPackagesDispensed Number of packages dispensed Alternate namesextensions, user content DefinitionThe number of packages that were included in the dispense. Shall not be set for dose dispensed dispenses. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesDispensed Constraints
|
nllActorDispatchId | S I | 1..1 | Extension(string) | Element idMedicationDispense.extension:nllActorDispatchId The identifier of the actor's dispatch in which the dispense was made Alternate namesextensions, user content DefinitionOptional Extension Element - found in all resources. Maximum string length: 12 http://electronichealth.se/fhir/StructureDefinition/NLLActorDispatchId Constraints
|
nllDispatchId | S I | 0..1 | Extension(string) | Element idMedicationDispense.extension:nllDispatchId The identifier of the dispatch in which the dispense was made Alternate namesextensions, user content DefinitionValue is treated as an integer, i.e the String can only contain numbers. May be entered by the pharmacy, otherwise it is calculated by the Swedish E-health Agency . The identifier of the dispatch in which the dispense was made. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. http://electronichealth.se/fhir/StructureDefinition/NLLDispatchId Constraints
|
nllBenefitChoiceCode | S I | 1..1 | Extension(code)Binding | Element idMedicationDispense.extension:nllBenefitChoiceCode Benefit choice Alternate namesextensions, user content DefinitionType of benefit for the dispense. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. http://electronichealth.se/fhir/StructureDefinition/NLLBenefitChoiceCode BindingFörmånsval (benefit-choices) (required) Constraints
|
nllDispatchRowNo | S I | 1..1 | Extension(decimal) | Element idMedicationDispense.extension:nllDispatchRowNo Identier for MedicationDispense within dispatch Alternate namesextensions, user content DefinitionUsed when communicationg an error or warning for a MedicationDispense within a dispatch. The DispatchRowNo (ExpeditionsRadNummer) uniquely identifies a MediationDispense within a dispatch. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. http://electronichealth.se/fhir/StructureDefinition/NLLDispatchRowNo Constraints
|
nllDeductedQuantity | S I | 0..1 | Extension(decimal) | Element idMedicationDispense.extension:nllDeductedQuantity Deducted quantity Alternate namesextensions, user content DefinitionThe quantity that is deducted form the prescription's remaining quantity. Only used if the deducted quantity should differ from the dispensed quantity. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. http://electronichealth.se/fhir/StructureDefinition/NLLDeductedQuantity Constraints
|
nllCompletePrescriptionChoice | S I | 0..1 | Extension(code)Binding | Element idMedicationDispense.extension:nllCompletePrescriptionChoice Prescription completion choice Alternate namesextensions, user content DefinitionOnly used for input. When 12% or less of the total quantity of the prescribed medication is left, the prescription will automatically be set to status "Completed". A pharmacist can make a descision to overrule the automatic rules by either choosing to set the prescription status to "Completed" or to keep the status "Active". There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. http://electronichealth.se/fhir/StructureDefinition/NLLCompletePrescriptionChoice BindingBeslut slutexpediering (complete-prescription-choices) (required) Constraints
|
nllDispenseCrediting | S I | 0..1 | Extension(Complex) | Element idMedicationDispense.extension:nllDispenseCrediting Crediting details Alternate namesextensions, user content DefinitionCrediting details for a dispense There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Extension(Complex) Extension URLhttp://electronichealth.se/fhir/StructureDefinition/NLLDispenseCrediting Constraints
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 2..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
creditDate | S I | 1..1 | Extension | Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDate Credit date and time Alternate namesextensions, user content DefinitionThe date and time when the dispense was credited. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDate.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDate.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
url | 1..1 | uriFixed Value | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDate.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. creditDate
| |
value[x] | 1..1 | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDate.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
valueDateTime | dateTime | There are no (further) constraints on this element Data type | ||
creditDispatchId | S I | 1..1 | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchId Credit dispatch id Alternate namesextensions, user content DefinitionThe id of the crediting dispatch. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchId.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchId.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
url | 1..1 | uriFixed Value | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchId.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. creditDispatchId
| |
value[x] | 1..1 | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchId.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
valueString | string | There are no (further) constraints on this element Data type | ||
creditDispatchRowNo | S I | 0..1 | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchRowNo Credit dispatch row number Alternate namesextensions, user content DefinitionNB! New attribute planned in release 21.9. Display only. The row number of the crediting dispatch. Identifier for a dispense within a credited dispatch. The crediting row number is submitted in the attribute 'MedicationDispense.extension:nllDispatchRowNo', but will be displayed in 'creditDispatchRowNo'. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchRowNo.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchRowNo.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
url | 1..1 | uriFixed Value | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchRowNo.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. creditDispatchRowNo
| |
value[x] | 0..1 | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.extension:creditDispatchRowNo.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
valueBase64Binary | base64Binary | There are no (further) constraints on this element Data type | ||
valueBoolean | boolean | There are no (further) constraints on this element Data type | ||
valueCanonical | canonical() | There are no (further) constraints on this element Data type | ||
valueCode | code | There are no (further) constraints on this element Data type | ||
valueDate | date | There are no (further) constraints on this element Data type | ||
valueDateTime | dateTime | There are no (further) constraints on this element Data type | ||
valueDecimal | decimal | There are no (further) constraints on this element Data type | ||
valueId | id | There are no (further) constraints on this element Data type | ||
valueInstant | instant | There are no (further) constraints on this element Data type | ||
valueInteger | integer | There are no (further) constraints on this element Data type | ||
valueMarkdown | markdown | There are no (further) constraints on this element Data type | ||
valueOid | oid | There are no (further) constraints on this element Data type | ||
valuePositiveInt | positiveInt | There are no (further) constraints on this element Data type | ||
valueString | string | There are no (further) constraints on this element Data type | ||
valueTime | time | There are no (further) constraints on this element Data type | ||
valueUnsignedInt | unsignedInt | There are no (further) constraints on this element Data type | ||
valueUri | uri | There are no (further) constraints on this element Data type | ||
valueUrl | url | There are no (further) constraints on this element Data type | ||
valueUuid | uuid | There are no (further) constraints on this element Data type | ||
valueAddress | Address | There are no (further) constraints on this element Data type | ||
valueAge | Age | There are no (further) constraints on this element Data type | ||
valueAnnotation | Annotation | There are no (further) constraints on this element Data type | ||
valueAttachment | Attachment | There are no (further) constraints on this element Data type | ||
valueCodeableConcept | CodeableConcept | There are no (further) constraints on this element Data type | ||
valueCoding | Coding | There are no (further) constraints on this element Data type | ||
valueContactPoint | ContactPoint | There are no (further) constraints on this element Data type | ||
valueCount | Count | There are no (further) constraints on this element Data type | ||
valueDistance | Distance | There are no (further) constraints on this element Data type | ||
valueDuration | Duration | There are no (further) constraints on this element Data type | ||
valueHumanName | HumanName | There are no (further) constraints on this element Data type | ||
valueIdentifier | Identifier | There are no (further) constraints on this element Data type | ||
valueMoney | Money | There are no (further) constraints on this element Data type | ||
valuePeriod | Period | There are no (further) constraints on this element Data type | ||
valueQuantity | Quantity | There are no (further) constraints on this element Data type | ||
valueRange | Range | There are no (further) constraints on this element Data type | ||
valueRatio | Ratio | There are no (further) constraints on this element Data type | ||
valueSampledData | SampledData | There are no (further) constraints on this element Data type | ||
valueSignature | Signature | There are no (further) constraints on this element Data type | ||
valueTiming | Timing | There are no (further) constraints on this element Data type | ||
valueContactDetail | ContactDetail | There are no (further) constraints on this element Data type | ||
valueContributor | Contributor | There are no (further) constraints on this element Data type | ||
valueDataRequirement | DataRequirement | There are no (further) constraints on this element Data type | ||
valueExpression | Expression | There are no (further) constraints on this element Data type | ||
valueParameterDefinition | ParameterDefinition | There are no (further) constraints on this element Data type | ||
valueRelatedArtifact | RelatedArtifact | There are no (further) constraints on this element Data type | ||
valueTriggerDefinition | TriggerDefinition | There are no (further) constraints on this element Data type | ||
valueUsageContext | UsageContext | There are no (further) constraints on this element Data type | ||
valueDosage | Dosage | There are no (further) constraints on this element Data type | ||
valueMeta | Meta | There are no (further) constraints on this element Data type | ||
valueReference | Reference() | There are no (further) constraints on this element Data type | ||
url | 1..1 | uriFixed Value | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. http://electronichealth.se/fhir/StructureDefinition/NLLDispenseCrediting
| |
value[x] | 0..0 | There are no (further) constraints on this element Element idMedicationDispense.extension:nllDispenseCrediting.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
modifierExtension | ?! I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.modifierExtension Extensions that cannot be ignored Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
identifier | 0..* | Identifier | There are no (further) constraints on this element Element idMedicationDispense.identifier External identifier DefinitionIdentifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server. This is a business identifier, not a resource identifier.
| |
partOf | I | 0..* | Reference(Procedure) | There are no (further) constraints on this element Element idMedicationDispense.partOf Event that dispense is part of DefinitionThe procedure that trigger the dispense. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
|
status | S Σ ?! | 1..1 | codeBinding | Element idMedicationDispense.status cancelled | completed DefinitionA code specifying the state of the set of dispense events. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid. A coded concept specifying the state of the dispense event.
|
statusReason[x] | 0..1 | There are no (further) constraints on this element Element idMedicationDispense.statusReason[x] Why a dispense was not performed DefinitionIndicates the reason why a dispense was not performed. A code describing why a dispense was not performed.
| ||
statusReasonCodeableConcept | CodeableConcept | There are no (further) constraints on this element Data type | ||
statusReasonReference | Reference(DetectedIssue) | There are no (further) constraints on this element Data type | ||
category | 0..1 | CodeableConceptBinding | There are no (further) constraints on this element Element idMedicationDispense.category Type of medication dispense DefinitionIndicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)). The category can be used to include where the medication is expected to be consumed or other types of dispenses. Invariants can be used to bind to different value sets when profiling to bind. A code describing where the dispensed medication is expected to be consumed or administered.
| |
medication[x] | S Σ | 1..1 | Binding | Element idMedicationDispense.medication[x] Dispensed medication or reimbursed consumable DefinitionIdentifies the medication or reimbursed consumable being dispensed. The codes used are Swedish NplId for medical products, NplPackId for medicine packages and Varunr for reimbursed consumables. For a medicine package, both the NplId and the NplPackId shall be provided. Varunr is not allowed to use when dispensing a medication. For a reimbursed consumable, only Varunr shall be provided. If more information is required, then the use of the medication resource is recommended. A coded concept identifying which substance or product can be dispensed.
|
medicationCodeableConcept | CodeableConcept | Data type | ||
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.medication[x].extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
coding | S Σ | 1..* | Coding | Element idMedicationDispense.medication[x].coding Code defined by a terminology system DefinitionA reference to a code defined by a terminology system. Allows for alternative encodings within a code system, and translations to other code systems. Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true. Unordered, Open, by system(Value) Constraints
|
nplid | S Σ | 0..1 | Coding | Element idMedicationDispense.medication[x].coding:nplid NPL-id DefinitionA unique identifier of a medical product according to "Nationellt produktregister för läkemedel" provided by the Swedish Medical Products Agency (sv Läkemedelsverket) Allows for alternative encodings within a code system, and translations to other code systems. Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplid.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplid.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
system | S Σ | 1..1 | uriFixed Value | Element idMedicationDispense.medication[x].coding:nplid.system Identity of the terminology system DefinitionThe identification of the code system that defines the meaning of the symbol in the code. Need to be unambiguous about the source of the definition of the symbol. The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
http://electronichealth.se/fhir/NamingSystem/nplid
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplid.version Version of the system - if relevant DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
|
code | S Σ | 1..1 | code | Element idMedicationDispense.medication[x].coding:nplid.code Symbol in syntax defined by the system DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). Need to refer to a particular code in the system. Maximum string length: 14
|
display | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplid.display Representation defined by the system DefinitionA representation of the meaning of the code in the system, following the rules of the system. Need to be able to carry a human-readable meaning of the code for readers that do not know the system. Note that FHIR strings SHALL NOT exceed 1MB in size
|
userSelected | Σ | 0..1 | boolean | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplid.userSelected If this coding was chosen directly by the user DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing. Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
|
nplpackid | S Σ | 0..1 | Coding | Element idMedicationDispense.medication[x].coding:nplpackid NPL-pack-id DefinitionA unique identifier of a medical product package according to "Nationellt produktregister för läkemedel" provided by the Swedish Medical Products Agency (sv Läkemedelsverket). Allows for alternative encodings within a code system, and translations to other code systems. Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplpackid.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplpackid.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
system | S Σ | 1..1 | uriFixed Value | Element idMedicationDispense.medication[x].coding:nplpackid.system Identity of the terminology system DefinitionThe identification of the code system that defines the meaning of the symbol in the code. Need to be unambiguous about the source of the definition of the symbol. The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
http://electronichealth.se/fhir/NamingSystem/nplpackid
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplpackid.version Version of the system - if relevant DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
|
code | S Σ | 1..1 | code | Element idMedicationDispense.medication[x].coding:nplpackid.code Symbol in syntax defined by the system DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). Need to refer to a particular code in the system. Maximum string length: 14
|
display | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplpackid.display Representation defined by the system DefinitionA representation of the meaning of the code in the system, following the rules of the system. Need to be able to carry a human-readable meaning of the code for readers that do not know the system. Note that FHIR strings SHALL NOT exceed 1MB in size
|
userSelected | Σ | 0..1 | boolean | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:nplpackid.userSelected If this coding was chosen directly by the user DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing. Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
|
varunr | S Σ | 0..1 | Coding | Element idMedicationDispense.medication[x].coding:varunr Varunummer DefinitionA unique identifier of a medical consumable according to "Nationellt produktregister för läkemedel" provided by the Swedish Medical Products Agency (sv Läkemedelsverket) Also a non-unique identifier of a medical product package. Allows for alternative encodings within a code system, and translations to other code systems. Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:varunr.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:varunr.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
system | S Σ | 1..1 | uriFixed Value | Element idMedicationDispense.medication[x].coding:varunr.system Identity of the terminology system DefinitionThe identification of the code system that defines the meaning of the symbol in the code. Need to be unambiguous about the source of the definition of the symbol. The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
http://electronichealth.se/fhir/NamingSystem/varunr
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:varunr.version Version of the system - if relevant DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
|
code | S Σ | 1..1 | code | Element idMedicationDispense.medication[x].coding:varunr.code Symbol in syntax defined by the system DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). Need to refer to a particular code in the system. Minimum string length: 6 Maximum string length: 6
|
display | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:varunr.display Representation defined by the system DefinitionA representation of the meaning of the code in the system, following the rules of the system. Need to be able to carry a human-readable meaning of the code for readers that do not know the system. Note that FHIR strings SHALL NOT exceed 1MB in size
|
userSelected | Σ | 0..1 | boolean | There are no (further) constraints on this element Element idMedicationDispense.medication[x].coding:varunr.userSelected If this coding was chosen directly by the user DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing. Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
|
text | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.medication[x].text Plain text representation of the concept DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. Very often the text is the same as a displayName of one of the codings.
|
subject | Σ I | 0..1 | Reference(Patient | Group) | There are no (further) constraints on this element Element idMedicationDispense.subject Who the dispense is for DefinitionA link to a resource representing the person or the group to whom the medication will be given. SubstanceAdministration->subject->Patient.
|
context | I | 0..1 | Reference(Encounter | EpisodeOfCare) | There are no (further) constraints on this element Element idMedicationDispense.context Encounter / Episode associated with event DefinitionThe encounter or episode of care that establishes the context for this event. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. Reference(Encounter | EpisodeOfCare) Constraints
|
supportingInformation | I | 0..* | Reference(Resource) | There are no (further) constraints on this element Element idMedicationDispense.supportingInformation Information that supports the dispensing of the medication DefinitionAdditional information that supports the medication being dispensed. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
|
performer | 0..* | BackboneElement | There are no (further) constraints on this element Element idMedicationDispense.performer Who performed event DefinitionIndicates who or what performed the event.
| |
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.performer.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.performer.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
modifierExtension | Σ ?! I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.performer.modifierExtension Extensions that cannot be ignored even if unrecognized Alternate namesextensions, user content, modifiers DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
function | 0..1 | CodeableConcept | There are no (further) constraints on this element Element idMedicationDispense.performer.function Who performed the dispense and what they did DefinitionDistinguishes the type of performer in the dispense. For example, date enterer, packager, final checker. Allows disambiguation of the types of involvement of different performers. Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. A code describing the role an individual played in dispensing a medication.
| |
actor | I | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | There are no (further) constraints on this element Element idMedicationDispense.performer.actor Individual who was performing DefinitionThe device, practitioner, etc. who performed the action. It should be assumed that the actor is the dispenser of the medication. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) Constraints
|
location | I | 0..1 | Reference(Location) | There are no (further) constraints on this element Element idMedicationDispense.location Where the dispense occurred DefinitionThe principal physical location where the dispense was performed. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
|
authorizingPrescription | S I | 1..1 | Reference(NLLMedicationRequest) | Element idMedicationDispense.authorizingPrescription MedicationRequest that authorizes the dispense DefinitionReference to the MedicationRequest that was dispatched. Note that authorizingprescription must include the version of the medication request. That is done by using the /_history/ suffix. Maps to basedOn in Event logical model. Reference(NLLMedicationRequest) Allowed aggregation: referenced Versioning rules: The reference must be version specific. Constraints
|
type | S | 1..1 | CodeableConceptBinding | Element idMedicationDispense.type Type of dispense DefinitionType is used for specifing if the dispense was a "Standard packing fill" , "Trial fill" (startförpackning) or "Dose dispensed fill" in the Swedish National Medication List. (Trial fill is not used for dose dispensed fills). Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. Indicates the type of dispensing event that is performed, e.g. Standard packing fill, Trial fill or Dose dispense refill
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.type.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.type.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
coding | S Σ | 1..1 | Coding | There are no (further) constraints on this element Element idMedicationDispense.type.coding Code defined by a terminology system DefinitionA reference to a code defined by a terminology system. Allows for alternative encodings within a code system, and translations to other code systems. Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.type.coding.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.type.coding.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
system | S Σ | 0..1 | uri | There are no (further) constraints on this element Element idMedicationDispense.type.coding.system Identity of the terminology system DefinitionThe identification of the code system that defines the meaning of the symbol in the code. Need to be unambiguous about the source of the definition of the symbol. The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
|
version | S Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.type.coding.version Version of the system - if relevant DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
|
code | S Σ | 1..1 | code | There are no (further) constraints on this element Element idMedicationDispense.type.coding.code Symbol in syntax defined by the system DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). Need to refer to a particular code in the system. Note that FHIR strings SHALL NOT exceed 1MB in size
|
display | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.type.coding.display Representation defined by the system DefinitionA representation of the meaning of the code in the system, following the rules of the system. Need to be able to carry a human-readable meaning of the code for readers that do not know the system. Note that FHIR strings SHALL NOT exceed 1MB in size
|
userSelected | Σ | 0..1 | boolean | There are no (further) constraints on this element Element idMedicationDispense.type.coding.userSelected If this coding was chosen directly by the user DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing. Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
|
text | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.type.text Plain text representation of the concept DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. Very often the text is the same as a displayName of one of the codings.
|
quantity | S I | 0..1 | SimpleQuantity | Element idMedicationDispense.quantity Amount dispensed DefinitionThe amount of the article that has been dispensed. When dispensing an article (not for dose dispenses), this will be either set by the pharmacy or calculated based on the number of packages and the package size. <br> If complete packages are dispensed, the quantity is calculated by the Swedish eHealth Agency. In this scenarion only the number of packages should be entered (no quantity).<br> If only a part of a package is dispensed (sv bruten helförpackning), the pharmacy must enter both the quantity and the number of packages that was dispensed. <br>
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.quantity.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.quantity.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
value | S Σ | 1..1 | decimal | There are no (further) constraints on this element Element idMedicationDispense.quantity.value Numerical value (with implicit precision) DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value. Precision is handled implicitly in almost all cases of measurement. The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).
|
comparator | Σ ?! | 0..0 | codeBinding | There are no (further) constraints on this element Element idMedicationDispense.quantity.comparator < | <= | >= | > - how to understand the value DefinitionNot allowed to be used in this context Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology. Note that FHIR strings SHALL NOT exceed 1MB in size If there is no comparator, then there is no modification of the value How the Quantity should be understood and represented.
|
unit | Σ | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.quantity.unit Unit representation DefinitionA human-readable form of the unit. There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms. Note that FHIR strings SHALL NOT exceed 1MB in size
|
system | Σ I | 0..1 | uri | There are no (further) constraints on this element Element idMedicationDispense.quantity.system System that defines coded unit form DefinitionThe identification of the system that provides the coded form of the unit. Need to know the system that defines the coded form of the unit. see http://en.wikipedia.org/wiki/Uniform_resource_identifier
|
code | Σ | 0..1 | code | There are no (further) constraints on this element Element idMedicationDispense.quantity.code Coded form of the unit DefinitionA computer processable form of the unit in some unit representation system. Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest. The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.
|
daysSupply | I | 0..1 | SimpleQuantity | There are no (further) constraints on this element Element idMedicationDispense.daysSupply Amount of medication expressed as a timing amount DefinitionThe amount of medication expressed as a timing amount. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.
|
whenPrepared | Σ | 0..1 | dateTime | There are no (further) constraints on this element Element idMedicationDispense.whenPrepared When product was packaged and reviewed DefinitionThe time when the dispensed product was packaged and reviewed.
|
whenHandedOver | S | 0..1 | dateTime | Element idMedicationDispense.whenHandedOver When product was given out DefinitionThe time the dispensed product was provided to the patient or their representative.
|
destination | I | 0..1 | Reference(Location) | There are no (further) constraints on this element Element idMedicationDispense.destination Where the medication was sent DefinitionIdentification of the facility/location where the medication was shipped to, as part of the dispense event. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.
|
receiver | I | 0..* | Reference(Patient | Practitioner) | There are no (further) constraints on this element Element idMedicationDispense.receiver Who collected the medication DefinitionIdentifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. Reference(Patient | Practitioner) Constraints
|
note | S | 0..1 | Annotation | Element idMedicationDispense.note Pharmacists note DefinitionThe pharmacists note about the dispense. Maximum string length: 1016
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.note.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.note.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
author[x] | Σ | 0..1 | There are no (further) constraints on this element Element idMedicationDispense.note.author[x] Individual responsible for the annotation DefinitionThe individual responsible for making the annotation. Organization is used when there's no need for specific attribution as to who made the comment.
| |
authorString | string | There are no (further) constraints on this element Data type | ||
authorReference | Reference(Practitioner | Patient | RelatedPerson | Organization) | There are no (further) constraints on this element Data type Reference(Practitioner | Patient | RelatedPerson | Organization) | ||
time | Σ | 0..1 | dateTime | There are no (further) constraints on this element Element idMedicationDispense.note.time When the annotation was made DefinitionIndicates when this particular annotation was made.
|
text | S Σ | 1..1 | markdown | There are no (further) constraints on this element Element idMedicationDispense.note.text The annotation - text content (as markdown) DefinitionThe text of the annotation in markdown format. Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
|
dosageInstruction | S | 0..* | NLLDosage | Element idMedicationDispense.dosageInstruction How the medication is/was taken or should be taken DefinitionIndicates how the medication is/was taken or should be taken by the patient. A medication dispense is always based/dispatched on a specific version of a medication request. <br> A dosage instruction must be provided of there is a unique dosage for the medication dispense which differs from the dosage instruction on the medication request version. <br> The dosage instruction on the medication request version is used as the valid dosage if no other dosage instruction is provided on the medication dispense. <br> If a new dosage instruction should be in effect for the current and following medication dispenses, the medication request needs to be updated before the medication dispense is made.<br> For a read-operation on a medication dispense, the dosage instruction must be read from the medication request version if there is no dosage instruction on the specific medication dispense resource.
|
substitution | S | 0..1 | BackboneElement | Element idMedicationDispense.substitution Whether a substitution was performed on the dispense DefinitionIndicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen. If nothing is specified, substitution was not done.
|
id | 0..1 | string | There are no (further) constraints on this element Element idMedicationDispense.substitution.id Unique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
| |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.substitution.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints
|
modifierExtension | Σ ?! I | 0..* | Extension | There are no (further) constraints on this element Element idMedicationDispense.substitution.modifierExtension Extensions that cannot be ignored even if unrecognized Alternate namesextensions, user content, modifiers DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
wasSubstituted | S | 1..1 | boolean | Element idMedicationDispense.substitution.wasSubstituted Whether a substitution was or was not performed on the dispense DefinitionTrue if the dispenser dispensed a different drug or product from what was prescribed.
|
type | 0..1 | CodeableConcept | There are no (further) constraints on this element Element idMedicationDispense.substitution.type Code signifying whether a different drug was dispensed from what was prescribed DefinitionA code signifying whether a different drug was dispensed from what was prescribed. Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. 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 | There are no (further) constraints on this element Element idMedicationDispense.substitution.reason Why was substitution made DefinitionIndicates the reason for the substitution (or lack of substitution) from what was prescribed. Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination. A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.
| |
responsibleParty | I | 0..* | Reference(Practitioner | PractitionerRole) | There are no (further) constraints on this element Element idMedicationDispense.substitution.responsibleParty Who is responsible for the substitution DefinitionThe person or organization that has primary responsibility for the substitution. References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository. Reference(Practitioner | PractitionerRole) Constraints
|
detectedIssue | S I | 0..* | Reference(NLLDetectedIssue) | Element idMedicationDispense.detectedIssue Automatic Format and Constitution Control warning (AFF varning) Alternate namesContraindication, Drug Utilization Review (DUR), Alert DefinitionAccepted warnings can be provided when creating a MedicationDispense. Automatic Format and Constitution Control (AFF) accepted by the pharmacist. NB! The DetectedIssues are never saved by the Swedish eHealth Agency. This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue. Allowed aggregation: contained Constraints
|
eventHistory | I | 0..* | Reference(Provenance) | There are no (further) constraints on this element Element idMedicationDispense.eventHistory A list of relevant lifecycle events DefinitionA summary of the events of interest that have occurred, such as when the dispense was verified. This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).
|
Details
Description of all elements can be found here, Element descriptions.
Mapping of FHIR element names to the National Medication List names can be found here, Element language mappings.
Dosage
The dosageInstruction on a MedicationDispense authorized by a MedicationRequest in electronic format, should only be used if the dosageInstruction on the MedicationDispense differs from the dosageInstruction on the MedicationRequest. Otherwise the dosageInstruction on the MedicationDispense must be empty, which means that the dosageInstruction on the MedicationRequest will be used.
How to use the elements in dosageInstruction (the BackBoneElement Dosage) is described on the page Dosage and in the Handbok för vård- och apotekstjänster. Message examples for dosages are available on the page Dosage - Create
Medication dispense statuses
The following statuses are used within NLL for dispenses.
ValueSet medication-dispense-status
Parameter | Comment |
---|---|
Completed | The dispensed product has been picked up (sv: Expedierat). |
Cancelled | The dispensed product is not picked up by the patient (sv: Borttaget). |
Medication dispense types
The following types are used within NLL for dispenses.
Code | Display |
---|---|
DD | Dose dispensed fill (sv: Dosdispenserat uttag). |
SP | Standard packing fill (sv: Helförpackningsuttag). |
TF | Trial fill (sv: Startförpackning). |
Supported operations
HTTP methods
Operation | Supported | Comment |
---|---|---|
Search (GET, POST) | yes | See below for supported search options. |
Insert (POST) | yes | Create a new dispense. NB! When dispatching more than one dispense at the same occasion, a Bundle conforming to the NLLDispatch profile must be used. |
Update (PUT) | yes | Change a dispense by either adjusting quantity, medication or reversing previous dispense. |
Delete (DEL) | no | |
Operation (GET, POST) | yes | See below for supported extended operations. |
When interacting with this resource a set of HTTP-headers must be included in the request, see HTTP Header and Authorization.
Query operations
Supported queries
The following query alternatives are available for this resource.
../MedicationDispense/[id]
../MedicationDispense/[id]/_history{/[vid]}
../MedicationDispense?[parameters]
Parameter chains:Chain 1
patient._id=[id]
{&hasAuthorizingPrescription=true}
{&nllDispatchId=[string]}
{&whenhandedover=ge[date]}
Chain 2
medicationrequest._id=[id]
{&whenhandedover=ge[date]}
Chain 3
authorizingPrescriptions=[id]{,[id]...}
Compartment searches
Supported searches on a compartment. This kind of search returns a bundle with the related resources.
../MedicationDispense/[id]/Provenance
returns all related provenances.../MedicationRequest/[id]/MedicationDispense
returns all related medication dispenses (NLLMedicationDispenses).
Include & reverse includes
Supported usage of include and revinclude. This kind of search returns a bundle of both the base resource and the related resources specified in the parameter.
../MedicationDispense?[parameters]&_revinclude=Provenance:target:MedicationDispense
returns one or more MedicationDispenses together with their Provenances. The Provenance returned is the one pointing at the returned version of the MedicationDispense. See above for a list of valid parameters.
Example: ../MedicationDispense?patient._id=<uuid>&whenhandedover=ge[date]&_revinclude=Provenance:target:MedicationDispense
returns the patient's medication dispenses made on or after the selected date including one provenance per medication dispense.
For generic information about how to search in FHIR look here.
Search parameters
The table below shows all supported search parameters.
Search parameter | Description | Comment |
---|---|---|
MedicationDispense/[id] | A read based on the logical ID (UUID) of a medication dispense../MedicationDispense/<uuid> |
|
_history | A vread to get all versions of a medication dispense../MedicationDispense/<uuid>/_history |
|
_history/[vid] | A vread to get a specific version of a medication dispense../MedicationDispense/<uuid>/_history/3 |
|
patient._id | UUID of the patient. Either patient reference or medication request reference must be part of the query and they are mutually exclusive..?patient._id=<uuid> |
|
medicationrequest._id | UUID of the authorizing prescription (MedicationRequest). Either prescription reference or patient reference must be part of the query and they are mutually exclusive...?medicationrequest._id=<uuid> |
|
hasAuthorizingPrescription | Dispenses related to an electronic prescription..&hasAuthorizingPrescription=true |
If not specified all type of dispenses are returned |
nllDispatchId | Id of a dispatch..&nllDispatchId=123 |
|
whenhandedover | Date, greater than or equal, when the medication was dispensed at the pharmacy..&whenhandedover=ge2021-08-31 |
Required prefix: ge |
authorizingPrescriptions | A list of UUIDs of authorizing prescriptions (MedicationRequests)..?authorizingPrescriptions=4f0a61d5-c3d9-4803-b4c2-ea53732b086b,05b21687-fe0a-4311-b32f-a42108477b8f |
Other operations
Operation | Comment | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$verify NLLVerify |
Invocations
This operation does NOT change content Parameters (In)
Return Values (Out)
Must be invoked with a HTTP POST. This operation is invoked on MedicationDispense and MedicationRequest resources to verify them according to the Automatic Format and Constitution Control (sv. Automatiska format- och författningskontroller AFF-kontroller). It is also possible to verify a set of MedicationDispenses by using $verify on the service base and providing a NLLDispatch. It is important that the content of the resource parameter matches the end-point of the request. A Provenance object must be included in the HTTP header X-Provenance. |