Page Status: updated 2025-02-07

MedicationRequest

Page index

Introduction

In the Swedish National Medication List, the MedicationRequest resource, shown in the profile NLLMedicationRequest, represents a prescription. This resource is used when prescribing medicinal products and medical consumables.

The profile is used for both ordinary packaged prescriptions (sv helförpackningsförskrivning) and for dose dispensed prescriptions (sv: dosdipenserad förskrivning).

A prescription can be issued to a patient identified with a Swedish personal identity number or by name and birth date.

When the patient has a Swedish personal identity number (sv: personnummer) the "subject" element is a literal reference to the Patient. If the perscription is issued to a patient identified by name and birthdate, the "subject" element is an inline reference to a Patient, i.e. a contained Patient, and the prescription must be adressed to a specific pharmacy (by the element nllReceivingPharmacy).

The prescriber (the "requester" element) is always handled as a contained Practitioner.

When a prescription is renewed (sv: förnyad), replaced (sv: ersatt) or when a new parallell prescrioption is registered (sv: registrera), the new prescription is linked to the preceeding prescription in a prescription chain. (More information about parallell prescriptions is available in this section below: Parallell prescriptions in a prescription chain).
All prescriptions in a prescription chain have the same prescription chain-id (in the element nllPrescriptionChain).

For every change in a patient's medication list (medication requests, medication dispenses, multi dose dispenses, multi dose consents) meta data about the change is saved as a Provenance.

Regarding information about how the "must support"-property is used in the Swedish National MedicationList, please refer to the page Resources

Overview

idS Σ0..1string
id0..1string
extensionI0..*Extension
versionIdS Σ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileΣ0..*canonical(StructureDefinition)
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
nllPatientTreatmentReasonS I0..1Extension(string)
nllPrescriptionChainS I0..1Extension(uuid)
nllPrescriptionFormatS I1..1Extension(code)Binding
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
url1..1uriFixed Value
nllRegistrationBasisS I1..1Extension(code)Binding
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
url1..1uriFixed Value
nllCompletePrescriptionChoiceS I0..1Extension(code)Binding
nllOrdinationsIdS I0..1Extension(decimal)
nllTidigareOrdinationsidS I0..1Extension(decimal)
modifierExtension?! I0..*Extension
id0..1string
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valuePositiveIntpositiveInt
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valuePositiveIntpositiveInt
url1..1uriFixed Value
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uriFixed Value
valueS Σ0..1string
periodΣ0..1Period
assignerΣ0..1Reference(Organization)
statusS Σ ?!1..1codeBinding
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ1..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
intentS Σ ?!1..1codeBindingFixed Value
category0..*CodeableConcept
priorityS Σ0..1codeBinding
doNotPerformΣ ?!0..1boolean
reportedBooleanboolean
reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionI0..*Extension
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionI0..*Extension
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
subjectS Σ1..1Reference(NLLPatient)
encounter0..1Reference(Encounter)
supportingInformation0..*Reference(Resource)
authoredOnS Σ1..1dateTime
requesterS Σ1..1Reference(NLLPractitioner)
performer0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)
performerTypeΣ0..1CodeableConcept
recorder0..1Reference(Practitioner | PractitionerRole)
id0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueCodecode
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
reasonReference0..*Reference(Condition | Observation)
instantiatesCanonicalΣ0..*canonical()
instantiatesUriΣ0..*uri
basedOnΣ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)
groupIdentifierΣ0..1Identifier
courseOfTherapyType0..1CodeableConcept
insurance0..*Reference(Coverage | ClaimResponse)
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueCodecode
authorStringstring
authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
timeΣ0..1dateTime
textS Σ1..1markdown
id0..1string
nllObservandumDoseS I0..1Extension(boolean)
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
nllSubSequenceS I0..1Extension(integer)
nllDosageTypeS I0..1Extension(code)
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
modifierExtensionΣ ?! I0..*Extension
sequenceS Σ1..1integer
textS Σ0..1string
id0..1string
extensionI0..*Extension
codingΣ0..*Coding
textS Σ0..1string
patientInstructionS Σ1..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
eventΣ0..*dateTime
id0..1string
nllSubSequenceDurationS I0..1Extension(Quantity)
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1codeBindingFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1codeBindingFixed Value
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1codeBindingFixed Value
countS Σ0..1positiveInt
countMaxΣ0..1positiveInt
durationS Σ0..1decimal
durationMaxΣ0..1decimal
durationUnitS Σ0..1codeBinding
frequencyS Σ0..1positiveInt
frequencyMaxS Σ0..1positiveInt
periodS Σ0..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ0..1codeBinding
dayOfWeekS Σ0..*codeBinding
timeOfDayS Σ0..*time
whenS Σ0..*codeBinding
offsetΣ0..1unsignedInt
codeΣ0..1CodeableConceptBinding
asNeededBooleanboolean
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uri
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
id0..1string
extensionI0..*Extension
typeΣ0..1CodeableConcept
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1code
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1code
id0..1string
extensionI0..*Extension
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
id0..1string
extensionI0..*Extension
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1code
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
valueS Σ0..1decimal
comparatorΣ ?!0..1codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1code
id0..1string
extensionI0..*Extension
valueS Σ0..1decimalFixed Value
comparatorΣ ?!0..1codeBinding
unitΣ0..1string
systemS Σ I0..1uriFixed Value
codeS Σ0..1codeFixed Value
maxDosePerAdministrationΣ0..1SimpleQuantity
maxDosePerLifetimeΣ0..1SimpleQuantity
id0..1string
nllNumberOfPackagesPrescribedS I0..1Extension(positiveInt)
nllDosePackagingS I1..1Extension(boolean)
nllPrescriptionCommunicableDiseasesActS I0..1Extension(boolean)
nllPatientPharmaceuticalBenefitsActS I1..1Extension(boolean)
nllConditionsPharmaceuticalBenefitsActS I0..1Extension(boolean)
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
url1..1uriFixed Value
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
url1..1uriFixed Value
nllNumberOfFillsRemainingS I0..1Extension(unsignedInt)
nllReceivingPharmacyS I0..1Extension(Reference(NLLPharmacyLocation))
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ0..1uriFixed Value
valueS Σ1..1string
periodΣ0..1Period
assignerΣ0..1Reference(Organization)
nllSubstitutionOpposedS I0..1Extension(code)Binding
nllNumberOfDispensesAllowedS I0..1Extension(unsignedInt)
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
modifierExtensionΣ ?! I0..*Extension
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
id0..1string
extensionI0..*Extension
valueS Σ1..1decimalFixed Value
comparatorΣ ?!0..0codeBinding
unitS Σ0..1stringFixed Value
systemS Σ I0..1uriFixed Value
codeS Σ1..1codeFixed Value
duration0..0Duration
id0..1string
extensionI0..*Extension
valueS Σ1..1decimal
comparatorΣ ?!0..1codeBinding
unitΣ0..1string
systemS Σ I0..1uri
codeS Σ1..1codeBinding
id0..1string
nllFirstDispenseBeforeS I0..1Extension(date)
startΣ I0..1dateTime
endS Σ I0..1dateTime
numberOfRepeatsAllowedS0..1unsignedInt
id0..1string
extensionI0..*Extension
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
expectedSupplyDuration0..1Duration
performer0..1Reference(Organization)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
allowedBooleanboolean
reason0..1CodeableConcept
priorPrescriptionS0..1Reference(NLLMedicationRequest)
detectedIssueS0..*Reference(NLLDetectedIssue)
eventHistory0..*Reference(Provenance)
MedicationRequest
DefinitionMedicationRequest in the National Swedish Medication List is used for prescriptions for a patient. A prescription can be made for either a medicine package or for a reimbursed consumable.
Cardinality0...*
AliasPrescription, Order
Invariants
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
  • dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • dom-6: A resource should have narrative for robust management
    text.`div`.exists()
Mappings
  • rim: Entity. Role, or Act
  • workflow: Request
  • script10.6: Message/Body/NewRx
  • rim: CombinedMedicationRequest
MedicationRequest.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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/nllmedicationrequestid in documentation and external systems.

Mappings
  • EHM: Förskrivnings-id
MedicationRequest.meta
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.
Cardinality0...1
TypeMeta
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.meta.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.meta.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.meta.versionId
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.
Cardinality0...1
Typeid
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • EHM: Förskrivningsversion
MedicationRequest.meta.lastUpdated
DefinitionWhen the resource last changed - e.g. when the version changed.
Cardinality0...1
Typeinstant
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.meta.source
DefinitionA uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) 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.
Cardinality0...1
Typeuri
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.meta.profile
DefinitionA list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
Cardinality0...*
Typecanonical(StructureDefinition)
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.meta.security
DefinitionSecurity labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
Cardinality0...*
TypeCoding
Binding

Security Labels from the Healthcare Privacy and Security Classification System.

security-labels (extensible)
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.meta.security.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.meta.security.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.meta.security.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.meta.security.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.meta.security.code
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).
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.meta.security.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.meta.security.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.meta.tag
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.
Cardinality0...*
TypeCoding
Binding

Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".

CommonTags (example)
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.implicitRules
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.
Cardinality0...1
Typeuri
ModifierTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.language
DefinitionThe base language in which the resource is written.
Cardinality0...1
Typecode
Binding

A human language.

CommonLanguages (preferred)
Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
MedicationRequest.text
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.
Cardinality0...1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Act.text?
MedicationRequest.contained
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.
Cardinality0...*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

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.

Mappings
  • rim: N/A
MedicationRequest.extension
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.
Cardinality2...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.extension:nllPatientTreatmentReason
DefinitionThe reason for the treatment described in a way that is understood by the patient (behandlingsändamål). A text can be selected from "Nationell källa för ordinationsorsak" (NKOO). It is also possible to enter free text. NKOO is a code system that is defined by the Swedish National Board of Health and Welfare (Socialstyrelsen). The code system consists of SnomedCT codes for reasons (behandlingsorsak). Each medical product has a selection of valid SnomedCT reason codes, and in connection with the codes are the available patient reasons. The corresponding patient text could be entered here in "nllPatientTreatmentReason", and the SnomedCT reason code (behandlingsorsak) should be entered in "reasonCode".
Cardinality0...1
TypeExtension(string)
Must SupportTrue
Aliasextensions, user content
Comments

Maximum string length: 256

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: Behandlingsändamål
MedicationRequest.extension:nllPrescriptionChain
DefinitionId used to identify all prescriptions in one prescription chain. A prescription chain is a set of prescriptions that are linked together in chronological order (The attribute priorPrescription is used to find the previos prescription.) A prescription chain is created ie when a prescription is renewed or replaced. The purpose is to be able to provide a grouping of related prescriptions. If a Prescription chain id is not provided in a POST of a MedicationRequest, a new prescription chain id is set by the Swedish eHealth Agency when the prescription is created. Prescription chain id is available on all prescriptions.
Cardinality0...1
TypeExtension(uuid)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: Förskrivningskedje-id
MedicationRequest.extension:nllPrescriptionFormat
DefinitionCurrent prescription format can be either "electronic" (Elektroniskt) or "paper" (Papper). If the prescription has been printed out on paper, i.e. the format is "paper" , then the patient needs to bring the print-out with him to the pharmacy to be able to get a dispense.
Cardinality1...1
TypeExtension(code)
Bindingprescription-formats (required)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: Aktuellt format
MedicationRequest.extension:nllTreatmentDates
DefinitionTreatment dates as defined by the Swedish law "Lag (2018:1212) om nationell läkemedelslista", chapter 3, 8§, section 5. The latest date when the medical treatment should be either reviewed or ended.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate
DefinitionThe latest date at which a review of the ongoing treatment must be made.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Senaste datum för uppföljning av behandling
MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

treatmentReviewDate

Mappings
  • rim: N/A
MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate
DefinitionThe latest date at which the prescriber orders that the treatment must end.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Senaste datum för avslut av behandling
MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

treatmentEndDate

Mappings
  • rim: N/A
MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllTreatmentDates.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates

Mappings
  • rim: N/A
MedicationRequest.extension:nllTreatmentDates.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllRegistrationBasis
DefinitionThe format of the basis for the registration of the prescription. A prescriber can only register prescriptions in electronic format in the Swedish National Medication List. A pharmacy can also register a prescription based on paper prescription, or based on a phone call from a prescriber. This value is entered when creating the prescription, and is never updated.
Cardinality1...1
TypeExtension(code)
Bindingregistration-basis (required)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: Typ av registreringsunderlag
MedicationRequest.extension:nllUsageDates
DefinitionDates that are used for scheduling the use of the prescribed article.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
MedicationRequest.extension:nllUsageDates.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:usageStartDate
DefinitionThe date when the patient should start administering the medication according to the prescription.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Första doseringsdag
MedicationRequest.extension:nllUsageDates.extension:usageStartDate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:usageStartDate.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:usageStartDate.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

usageStartDate

Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.extension:usageStartDate.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.extension:usageEndDate
DefinitionThe date when the patient should stop administering the medication according to current prescription.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Sista doseringsdag
MedicationRequest.extension:nllUsageDates.extension:usageEndDate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:usageEndDate.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:usageEndDate.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

usageEndDate

Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.extension:usageEndDate.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate
DefinitionSet by the Swedish eHealth Agency. Date used in renewed prescriptions whith repeating dosages for calculating the current day in the schedule. Used for repeating dosages with "time of day" or "when" (sv tillfällesdosering) and a UsageStartDate (första doseringsdag).
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

Schedule Start Date is a mechanism for calculating the current day in the schedule when a prescription with a repeating schedule has been renewed once or several times. Schedule Start Date is the original Usage Start Date form the first prescription when the schedule was defined. Example: The first prescription had a Usage Start Date which was 2020-08-23 and the schedule repeats every second day ("Take every second day"). Then the Schedule Start Date will be set to 2020-08-23 and togehter with the instructions of the schedule it is possible calculate which day of the schedule any given date will correspond to, ie a day when the patient should take the medication or a day when no medication should be administered.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Schemastartdag
MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

scheduleStartDate

Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates

Mappings
  • rim: N/A
MedicationRequest.extension:nllUsageDates.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.extension:nllCompletePrescriptionChoice
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".
Cardinality0...1
TypeExtension(code)
Bindingcomplete-prescription-choices (required)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: Beslut slutexpediering
MedicationRequest.extension:nllOrdinationsId
DefinitionCalculated by the Swedish eHealth Agency. Not used for input. Legacy id used for identifying prescriptions which is used in the OR (Receptdepå human) API. In OR this corresponds to ordinationsId, which is unique for each version of the prescription. This attribute will be removed after the end of the transition period.
Cardinality0...1
TypeExtension(decimal)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: OR-OrdinationsId
MedicationRequest.extension:nllTidigareOrdinationsid
DefinitionCalculated by the Swedish eHealth Agency. Not used for input. Legacy id used for identifying prescriptions which is used in the OR (Receptdepå human) API. "Tidigare OrdinationsId" is used for identifying a prior prescription originally created in OR (Receptdepå Human) . In OR this corresponds to tidigareOrdinationsId. This attribute will be removed after the end of the transition period.
Cardinality0...1
TypeExtension(decimal)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
  • EHM: Referens till tidigare OR-ordinations-id
MedicationRequest.modifierExtension
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).
Cardinality0...*
TypeExtension
ModifierTrue
Aliasextensions, user content
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.identifier
DefinitionIdentifiers associated with this medication request 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.
Cardinality0...*
TypeIdentifier
Must SupportTrue
Comments

This is a business identifier, not a resource identifier.

SlicingUnordered, Open, by system(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.identifier
  • script10.6: Message/Header/PrescriberOrderNumber
  • w5: FiveWs.identifier
  • v2: ORC-2-Placer Order Number / ORC-3-Filler Order Number
  • rim: .id
MedicationRequest.identifier:NEF
DefinitionIds used for identifying prescriptions originally created in NEF or OR. In OR this corresponds to originalOrdinationsId, which is the same as PrescriptionSetId in NEF. In OR a originalOrdinationsId/PrescriptionSetId always correspons to one unique prescription. In NEF the combination of PrescriptionSetId-PrescriptionItemId corresponds to one unique prescription. PrescriptionItemId is made up from RowId-ProductRowId. originalOrdinationsId/PrescriptionSetId is in the form of a UUID. RowId and ProductRowId are counters. These attributes will be removed after the end of the transition period.
Cardinality0...1
TypeIdentifier
Must SupportTrue
Comments

This is a business identifier, not a resource identifier.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.identifier
  • script10.6: Message/Header/PrescriberOrderNumber
  • w5: FiveWs.identifier
  • v2: ORC-2-Placer Order Number / ORC-3-Filler Order Number
  • rim: .id
MedicationRequest.identifier:NEF.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts
DefinitionIDs used by the old e-prescription format NEF, Nationell E-receptförvaltning and OR, Receptdepå Human.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension
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.
Cardinality1...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId
DefinitionNEF: PrescriptionSetId, OR: Originalordinationsid is a legacy identifier used by NEF/PIRR and OR. Every prescription created by systems connected before Swedish National Medication List will have a PrescriptionSetId/orignalordinationsid. However, it does not allways identify a unique prescription. To search for a unique prescriptions the RowId/radnummer and ProductRowId/produktradnummer may be needed as well.
Cardinality1...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

Maximum string length: 36

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Originalordinations-id
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

PrescriptionSetId

Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId
DefinitionNEF: PrescriptionItemId the first part of ReceptradId that corresponds to sekvensnummer/radnummer.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Radnummer
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

RowId

Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypepositiveInt
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId
DefinitionNEF: PrescriptionItemId the second part of ReceptradId that corresponds to löpnummer/produktradnummer.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Produktradnummer
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

ProductRowId

Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypepositiveInt
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLNEFId

Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.extension:NEFIdParts.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.identifier:NEF.use
DefinitionThe purpose of this identifier.
Cardinality0...1
Typecode
Binding

Identifies the purpose for this identifier, if known .

IdentifierUse (required)
ModifierTrue
SummaryTrue
Requirements

Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

Comments

Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Role.code or implied by context
MedicationRequest.identifier:NEF.type
DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
Cardinality0...1
TypeCodeableConcept
Binding

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier Type Codes (extensible)
SummaryTrue
Requirements

Allows users to make use of identifiers when the identifier system is not known.

Comments

This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.5
  • rim: Role.code or implied by context
MedicationRequest.identifier:NEF.system
DefinitionEstablishes the namespace for the value - that is, a URL that describes a set values that are unique.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

Comments

Identifier.system is always case sensitive.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/NEFId

Mappings
  • v2: CX.4 / EI-2-4
  • rim: II.root or Role.id.root
  • servd: ./IdentifierType
MedicationRequest.identifier:NEF.value
DefinitionCalculated by the Swedish eHealth Agency. The complete NEFid for the specific prescribed article, i.e. a combination of PrescriptionSetId and PrescriptionItemId where applicable. PrescriptionItemId is made up from RowId-ProductRowId. In OR only PrescriptionSetId/originalOrdinationsId is used. originalOrdinationsId/PrescriptionSetId is in the form of a UUID. RowId and ProductRowId are counters. The format is "PrescriptionSetId/Originalordinationsid - PrescriptionItemid/RadnummerNEF", i.e. UUID-x-y. Example 123e4567-e89b-12d3-a456-426655440000-2-1, where the ending "2-1" are RowId-ProductRowId.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Examples
General

123456


Mappings
  • v2: CX.1 / EI.1
  • rim: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
  • servd: ./Value
  • EHM: Kombinerat NEF-id
MedicationRequest.identifier:NEF.period
DefinitionTime period during which identifier is/was valid for use.
Cardinality0...1
TypePeriod
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.7 + CX.8
  • rim: Role.effectiveTime or implied by context
  • servd: ./StartDate and ./EndDate
MedicationRequest.identifier:NEF.assigner
DefinitionOrganization that issued/manages the identifier.
Cardinality0...1
TypeReference(Organization)
SummaryTrue
Comments

The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.4 / (CX.4,CX.9,CX.10)
  • rim: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • servd: ./IdentifierIssuingAuthority
MedicationRequest.status
DefinitionThe status of the prescription. The following statuses will be used: active, cancelled, on-hold (suspended), completed and stopped. The following statuses will not be used: entered-in-error, draft and unknown.
Cardinality1...1
Typecode
Binding

A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

medication-request-status (required)
Must SupportTrue
ModifierTrue
SummaryTrue
Comments

This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.status
  • script10.6: no mapping
  • w5: FiveWs.status
  • rim: .statusCode
  • EHM: Förskrivningsstatus
MedicationRequest.statusReason
DefinitionSet by the Swedish E-health Agency. Reason for the current status of the prescription.
Cardinality0...1
TypeCodeableConcept
Binding

Identifies the reasons for a given status.

medication-request-status-reasons (required)
Must SupportTrue
Comments

This is generally only used for "exception" statuses such as "suspended" or "cancelled". The reason why the MedicationRequest was created at all is captured in reasonCode, not here.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.statusReason
  • rim: .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde
  • EHM: Förskrivningsstatusorsak
MedicationRequest.statusReason.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.statusReason.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.statusReason.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...1
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.statusReason.coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.statusReason.coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.statusReason.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.statusReason.coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.statusReason.coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.statusReason.coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.statusReason.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.statusReason.text
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.
Cardinality0...1
Typestring
SummaryTrue
Requirements

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.

Comments

Very often the text is the same as a displayName of one of the codings.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
MedicationRequest.intent
DefinitionA prescription is always an order.
Cardinality1...1
Typecode
Binding

The kind of medication order.

medicationRequest Intent (required)
Must SupportTrue
ModifierTrue
SummaryTrue
Comments

It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.

An instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.

This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

order

Mappings
  • workflow: Request.intent
  • w5: FiveWs.class
  • rim: .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
MedicationRequest.category
DefinitionIndicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).
Cardinality0...*
TypeCodeableConcept
Binding

A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.

medicationRequest Category Codes (example)
Comments

The category can be used to include where the medication is expected to be consumed or other types of requests.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: Message/Body/NewRx/MedicationPrescribed/Directions or Message/Body/NewRx/MedicationPrescribed/StructuredSIG
  • w5: FiveWs.class
  • rim: .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value
MedicationRequest.priority
DefinitionShall only be used for dose dispensed prescriptions. Indicates that actions may need to be taken before next ordinary production date.
Cardinality0...1
Typecode
Binding

Identifies the level of importance to be assigned to actioning the request.

medication-request-priority (required)
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.priority
  • w5: FiveWs.grade
  • rim: .priorityCode
  • EHM: Akut förändring
MedicationRequest.doNotPerform
DefinitionIf true indicates that the provider is asking for the medication request not to occur.
Cardinality0...1
Typeboolean
ModifierTrue
SummaryTrue
Comments

If do not perform is not specified, the request is a positive request e.g. "do perform".

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: SubstanceAdministration.actionNegationInd
MedicationRequest.reported[x]
DefinitionIndicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.
Cardinality0...1
Typeboolean
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .participation[typeCode=INF].role
MedicationRequest.medication[x]
DefinitionIdentifies the medical product or medical consumable being prescribed. Medical products are prescribed using both NPL-id (medical product) and NPL-pack-id (packaged medical product). Medical consumables are prescribed using item number (sv varunummer).
Cardinality1...1
TypeCodeableConcept
Binding

A coded concept identifying substance or product that can be ordered.

SNOMEDCTMedicationCodes (example)
Must SupportTrue
SummaryTrue
Comments

If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended. For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.code
  • script10.6: Message/Body/NewRx/MedicationPrescribed Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription
  • w5: FiveWs.what[x]
  • v2: RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code
  • rim: consumable.administrableMedication
  • EHM: Artikel
MedicationRequest.medication[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.medication[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding
DefinitionA reference to a code defined by a terminology system.
Cardinality1...*
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

SlicingUnordered, Open, by system(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.medication[x].coding:nplid
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)
Cardinality0...1
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

The naming system http://electronichealth.se/fhir/NamingSystem/nplid includes both NPL ID defined by Läkemedelsverket and SB ID defined by E-hälsomyndigheten

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
  • EHM: NPL-id
MedicationRequest.medication[x].coding:nplid.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding:nplid.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding:nplid.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/nplid

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.medication[x].coding:nplid.version
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.
Cardinality0...1
Typestring
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.medication[x].coding:nplid.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Maximum string length: 14

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.medication[x].coding:nplid.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.medication[x].coding:nplid.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.medication[x].coding:nplpackid
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)
Cardinality0...1
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

The naming system http://electronichealth.se/fhir/NamingSystem/nplpackid includes both NPL-Pack ID defined by Läkemedelsverket and SB-Pack ID defined by E-hälsomyndigheten

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
  • EHM: NPL-pack-id
MedicationRequest.medication[x].coding:nplpackid.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding:nplpackid.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding:nplpackid.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/nplpackid

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.medication[x].coding:nplpackid.version
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.
Cardinality0...1
Typestring
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.medication[x].coding:nplpackid.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Maximum string length: 14

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.medication[x].coding:nplpackid.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.medication[x].coding:nplpackid.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.medication[x].coding:varunr
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.
Cardinality0...1
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
  • EHM: Varunummer
MedicationRequest.medication[x].coding:varunr.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding:varunr.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.medication[x].coding:varunr.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/varunr

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.medication[x].coding:varunr.version
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.
Cardinality0...1
Typestring
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.medication[x].coding:varunr.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Minimum string length: 6 Maximum string length: 6

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.medication[x].coding:varunr.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.medication[x].coding:varunr.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.medication[x].text
DefinitionFOR FUTURE USE, SHOULD NOT BE USED! Used to provide information about the prescribed article when a specified article isn´t available. For example when prescribing extemporaneous preparations.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Max length: 255

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning artikel
MedicationRequest.subject
DefinitionPatient resource representing the person to whom the medical product will be given. When the patient has a Swedish personal identity number (personnummer) the patient shall be provided as a referenced Patient resorce. If the patient does not have a Swedish personal identity number the Patient resource should be contained in the MedicationRequest resource.
Cardinality1...1
TypeReference(NLLPatient)
Must SupportTrue
SummaryTrue
Comments

The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.subject
  • script10.6: Message/Body/NewRx/Patient (need detail to link to specific patient … Patient.Identification in SCRIPT)
  • w5: FiveWs.subject[x]
  • v2: PID-3-Patient ID List
  • rim: .participation[typeCode=AUT].role
  • w5: FiveWs.subject
  • EHM: Patientreferens
MedicationRequest.encounter
DefinitionThe Encounter during which this [x] was created or to which the creation of this record is tightly associated.
Cardinality0...1
TypeReference(Encounter)
Comments

This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter." If there is a need to link to episodes of care they will be handled with an extension.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.context
  • script10.6: no mapping
  • w5: FiveWs.context
  • v2: PV1-19-Visit Number
  • rim: .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"]
MedicationRequest.supportingInformation
DefinitionInclude additional information (for example, patient height and weight) that supports the ordering of the medication.
Cardinality0...*
TypeReference(Resource)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.supportingInfo
  • w5: FiveWs.context
  • rim: .outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]
MedicationRequest.authoredOn
DefinitionThe date and time when the prescription was authored.
Cardinality1...1
TypedateTime
Must SupportTrue
SummaryTrue
Comments

The time part is not mandatory, only a date may be provided.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.authoredOn
  • script10.6: Message/Body/NewRx/MedicationPrescribed/WrittenDate
  • w5: FiveWs.recorded
  • v2: RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction
  • rim: author.time
  • EHM: Utfärdandedatum
MedicationRequest.requester
DefinitionThe practitioner who prescribed the article
Cardinality1...1
TypeReference(NLLPractitioner)
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.requester
  • w5: FiveWs.author
  • rim: .participation[typeCode=AUT].role
  • EHM: Utfärdande förskrivare
MedicationRequest.performer
DefinitionThe specified desired performer of the medication treatment (e.g. the performer of the medication administration).
Cardinality0...1
TypeReference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.performer
  • w5: FiveWs.actor
  • rim: .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
MedicationRequest.performerType
DefinitionIndicates the type of performer of the administration of the medication.
Cardinality0...1
TypeCodeableConcept
Binding

Identifies the type of individual that is desired to administer the medication.

ProcedurePerformerRoleCodes (example)
SummaryTrue
Comments

If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.performerType
  • rim: .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
MedicationRequest.recorder
DefinitionThe person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.
Cardinality0...1
TypeReference(Practitioner | PractitionerRole)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.who
  • rim: .participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)
MedicationRequest.reasonCode
DefinitionThe reason stated by the practitioner for ordering a medical product (behandlingsorsak). A code from "Nationell källa för ordinationsorsak" which is a code system that is defined by the Swedish National Board of Health and Welfare (Socialstyrelsen). The code system consists of SnomedCT codes for reasons. Each medical product has of a selection of valid SnomedCT reason codes. The reason shall also be expressed in a way that can be easily understood by the patient (behandlingsändamål). This should be entered in nllPatientTreatmentReason. If there is no available code that describes the reason, then the code "OTH" (Other) shall be used. In that case a text describing the reason must be provided in reasonCode.text.
Cardinality0...*
TypeCodeableConcept
Binding

A coded concept indicating why the medication was ordered.

http://electronichealth.se/fhir/ValueSet/nll-snomed-behandlingsorsak (required)
Must SupportTrue
Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.reasonCode
  • script10.6: Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value
  • w5: FiveWs.why[x]
  • v2: ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication
  • rim: reason.observation.reasonCode
  • EHM: Behandlingsorsak
MedicationRequest.reasonCode.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.reasonCode.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.reasonCode.extension:nlldataAbsentReason
DefinitionMarks masked data, ie why data is missing.
Cardinality0...1
TypeExtension(code)
Bindingdata-absent-reason (required)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: ANY.nullFlavor
MedicationRequest.reasonCode.extension:nlldataAbsentReason.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.reasonCode.extension:nlldataAbsentReason.extension
DefinitionAn Extension
Cardinality0...0
TypeExtension
SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
MedicationRequest.reasonCode.extension:nlldataAbsentReason.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://hl7.org/fhir/StructureDefinition/data-absent-reason

Mappings
  • rim: N/A
MedicationRequest.reasonCode.extension:nlldataAbsentReason.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](http:// hl7.org/fhir/extensibility.html) for a list).
Cardinality1...1
Typecode
Binding

Used to specify why the normally expected content of the data element is missing.

DataAbsentReason (required)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.reasonCode.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality1...1
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.reasonCode.coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.reasonCode.coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.reasonCode.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.reasonCode.coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.reasonCode.coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.reasonCode.coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.reasonCode.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.reasonCode.text
DefinitionIf no code could be chosen from "Nationell källa för ordinationsorsak" an other reason may be entered here.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Maximum string length: 255

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning annan behandlingsorsak
MedicationRequest.reasonReference
DefinitionCondition or observation that supports why the medication was ordered.
Cardinality0...*
TypeReference(Condition | Observation)
Comments

This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.reasonReference
  • script10.6: no mapping
  • w5: FiveWs.why[x]
  • rim: reason.observation[code=ASSERTION].value
MedicationRequest.instantiatesCanonical
DefinitionThe URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.
Cardinality0...*
Typecanonical()
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.instantiates
  • rim: .outboundRelationship[typeCode=DEFN].target
MedicationRequest.instantiatesUri
DefinitionThe URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.
Cardinality0...*
Typeuri
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .outboundRelationship[typeCode=DEFN].target
MedicationRequest.basedOn
DefinitionA plan or request that is fulfilled in whole or in part by this medication request.
Cardinality0...*
TypeReference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.basedOn
  • rim: .outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]
MedicationRequest.groupIdentifier
DefinitionA shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.
Cardinality0...1
TypeIdentifier
SummaryTrue
Requirements

Requests are linked either by a "basedOn" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.groupIdentifier
  • rim: .outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id
MedicationRequest.courseOfTherapyType
DefinitionThe description of the overall patte3rn of the administration of the medication to the patient.
Cardinality0...1
TypeCodeableConcept
Binding

Identifies the overall pattern of medication administratio.

medicationRequest Course of Therapy Codes (example)
Comments

This attribute should not be confused with the protocol of the medication.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Act.code where classCode = LIST and moodCode = EVN
MedicationRequest.insurance
DefinitionInsurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.
Cardinality0...*
TypeReference(Coverage | ClaimResponse)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.insurance
  • rim: .outboundRelationship[typeCode=COVBY].target
MedicationRequest.note
DefinitionPrescriptions in the Swedish National Medication List can contain 4 different kinds of notes: pre=Prescribers comment (Förskrivarens kommentar, read/write) pha=Pharmacists comment (Apotekets kommentar, read/write) not=Prescribers note (Notat förskrivare, read only, will be deprecated) dli=Delivery message (Leveransmeddelande, read only, will be deprecated)
Cardinality0...4
TypeNLLAnnotation
Must SupportTrue
Comments

For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. Annotations SHOULD NOT be used to communicate "modifying" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.note
  • script10.6: Message/Body/NewRx/MedicationPrescribed/Note
  • rim: .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value
  • rim: n/a
  • v2: N/A
  • rim: Act
  • EHM: Apotekets kommentar, Förskrivarens kommentar, Leveransmeddelande, Notat förskrivare
MedicationRequest.note.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.note.extension
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.
Cardinality1...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.note.extension:nllMedReqNoteType
DefinitionOptional Extension Element - found in all resources.
Cardinality1...1
TypeExtension(code)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
MedicationRequest.note.extension:nllMedReqNoteType.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.note.extension:nllMedReqNoteType.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.note.extension:nllMedReqNoteType.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLMedReqNoteType

Mappings
  • rim: N/A
MedicationRequest.note.extension:nllMedReqNoteType.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality1...1
Typecode
Bindingmedreq-note-types (required)
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.note.author[x]
DefinitionThe individual responsible for making the annotation.
Cardinality0...1
TypeReference(Practitioner | Patient | RelatedPerson | Organization)
SummaryTrue
Comments

Organization is used when there's no need for specific attribution as to who made the comment.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Act.participant[typeCode=AUT].role
MedicationRequest.note.time
DefinitionIndicates when this particular annotation was made.
Cardinality0...1
TypedateTime
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Act.effectiveTime
MedicationRequest.note.text
DefinitionThe text of the annotation in markdown format.
Cardinality1...1
Typemarkdown
Must SupportTrue
SummaryTrue
Comments

Maximum string length prescribers comment (Förskrivarens kommentar): 35 Maximum string length pharmacists comment (Apotekets kommentar): 512 Maximum string length prescribers note (Notat förskrivare): 255 Maximum string length delivery message (Leveransmeddelande): 35

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Act.text
MedicationRequest.dosageInstruction
DefinitionMandatory for medications and technical spirit
Cardinality0...*
TypeNLLDosage
Must SupportTrue
Comments

There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, "Ondansetron 8mg orally or IV twice a day as needed for nausea" or "Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting". In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.occurrence[x]
  • rim: see dosageInstruction mapping
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]
MedicationRequest.dosageInstruction.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllObservandumDose
DefinitionIndicates that the prescriber has made a conscious choice where the dose exceeds what is recommended for the prescribed medication.
Cardinality0...1
TypeExtension(boolean)
Must SupportTrue
Aliasextensions, user content
Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Obs. överstiger rekommenderad dos
MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction
DefinitionAdministration instructions put in terms that are comprehensible to the patient. This shall be generated from the structured administration information attributes.
Cardinality0...1
TypeExtension(string)
Must SupportTrue
Aliasextensions, user content
Comments

Maximum string length: 512 <br> NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Administreringsinstruktion
MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction

Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
  • EHM: Administreringsinstruktion
MedicationRequest.dosageInstruction.extension:nllMedicalDevice
DefinitionMedical device to use for administration.
Cardinality0...1
TypeExtension(CodeableConcept)
Must SupportTrue
Aliasextensions, user content
Requirements

If there is no appropriate coded value, then the code OTH=Other should be used together with the free text element "text”

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Medicinteknisk produkt vid läkemedelsadministrering
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLMedicalDevice

Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality1...1
TypeCodeableConcept
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...1
TypeCoding
Bindinghttp://electronichealth.se/fhir/ValueSet/nll-snomed-medical-device (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.dosageInstruction.extension:nllMedicalDevice.value[x].text
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Maximum string length: 256

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning annan medicinteknisk produkt
MedicationRequest.dosageInstruction.extension:nllSubSequence
DefinitionIndicates the order of subqeuences within a sequence.
Cardinality0...1
TypeExtension(integer)
Must SupportTrue
Aliasextensions, user content
Requirements

Only used in dosage type "tillfällesdosering”, using "timeOfDay" or "when"

Comments

The purpose of a subsequence is to provide a repeating mechanism within a sequence. Subsequences enable communication of irregular dosage schedules that should be repeated within a sequence. <br> NB! There are a number of elements that must contain the same values on each sequence and subsequence. For example the dose unit and dose rate unit, the site, route and method and the asNeeded-attribute.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Subsekvens
MedicationRequest.dosageInstruction.extension:nllDosageType
DefinitionCalculated by the Swedish eHealth Agency. The dosage type that matches the provided set of dosage data.
Cardinality0...1
TypeExtension(code)
Must SupportTrue
Aliasextensions, user content
Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Doseringstyp
MedicationRequest.dosageInstruction.extension:nllSiteQualifier
DefinitionQualified adminsitration site is used when more exact information about the site is needed.
Cardinality0...1
TypeExtension(CodeableConcept)
Must SupportTrue
Aliasextensions, user content
Requirements

To be used only when combinated with MedicationRequest.dosageInstruction.site.coding If there is no appropriate coded value, then the code OTH=Other must be used in combination the free text attribute "text".

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Precisering av administreringsställe
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLSiteQualifier

Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality1...1
TypeCodeableConcept
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding
DefinitionA reference to a code defined by a terminology system.
Cardinality1...1
TypeCoding
Bindinghttp://electronichealth.se/fhir/ValueSet/nll-snomed-qualifier (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: Precisering av administreringsställe
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.dosageInstruction.extension:nllSiteQualifier.value[x].text
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Maximum string length: 256

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning annan precisering av administreringsställe
MedicationRequest.dosageInstruction.modifierExtension
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).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.sequence
DefinitionIndicates the order in which the dosage instructions should be applied or interpreted.
Cardinality1...1
Typeinteger
Must SupportTrue
SummaryTrue
Requirements

If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.

Comments

NB! There are a number of elements that must contain the same values on each sequence and subsequence. For example the dose unit and dose rate unit, the site, route and method and the asNeeded-attribute.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: TQ1-1
  • rim: .text
  • EHM: Sekvens
MedicationRequest.dosageInstruction.text
DefinitionFree text dosage
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

In the Swedish National Medication List there will be either a free text dosage or coded dosage instructions, never both.

Comments

Maximum string length: 512

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-6; RXE-21
  • rim: .text
  • EHM: Fritextdosering
MedicationRequest.dosageInstruction.additionalInstruction
DefinitionSupplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps").
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".

SNOMEDCTAdditionalDosageInstructions (example)
Must SupportTrue
SummaryTrue
Requirements

In the Swedish National Medication List Additional instruction is written in free text.

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-7
  • rim: .text
MedicationRequest.dosageInstruction.additionalInstruction.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.additionalInstruction.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.additionalInstruction.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.dosageInstruction.additionalInstruction.text
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

In the Swedish National Medication List Additional instruction is written in free text.

Comments

Maximum string length: 512

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Annan instruktion
MedicationRequest.dosageInstruction.patientInstruction
DefinitionDosage instructions in terms that are understood by the patient.
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Maximum string length: 512 <br> NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-7
  • rim: .text
  • EHM: Doseringsinstruktion
MedicationRequest.dosageInstruction.timing
DefinitionWhen medication should be administered.
Cardinality0...1
TypeTiming
Must SupportTrue
SummaryTrue
Requirements

The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .effectiveTime
MedicationRequest.dosageInstruction.timing.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.modifierExtension
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).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.dosageInstruction.timing.event
DefinitionIdentifies specific times when the event occurs.
Cardinality0...*
TypedateTime
SummaryTrue
Requirements

In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: QLIST<TS>
MedicationRequest.dosageInstruction.timing.repeat
DefinitionA set of rules that describe when the event is scheduled.
Cardinality0...1
TypeElement
Must SupportTrue
SummaryTrue
Requirements

Many timing schedules are determined by regular repetitions.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • tim-1: if there's a duration, there needs to be duration units
    duration.empty() or durationUnit.exists()
  • tim-2: if there's a period, there needs to be period units
    period.empty() or periodUnit.exists()
  • tim-4: duration SHALL be a non-negative value
    duration.exists() implies duration >= 0
  • tim-5: period SHALL be a non-negative value
    period.exists() implies period >= 0
  • tim-6: If there's a periodMax, there must be a period
    periodMax.empty() or period.exists()
  • tim-7: If there's a durationMax, there must be a duration
    durationMax.empty() or duration.exists()
  • tim-8: If there's a countMax, there must be a count
    countMax.empty() or count.exists()
  • tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
    offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
  • tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
    timeOfDay.empty() or when.empty()
Mappings
  • rim: Implies PIVL or EIVL
MedicationRequest.dosageInstruction.timing.repeat.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.extension:nllSubSequenceDuration
DefinitionThe duration of the subsequence. This can only be used if there is a subsequence within the sequence. The length of a subsequence is always in the form of a quantity (never a range) and it can only be expressed in days, not hours, weeks or months.
Cardinality0...1
TypeExtension(Quantity)
Must SupportTrue
Aliasextensions, user content
Requirements

Used for the dosage type "tillfällesdosering".

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Längd doseringsdelsteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]
DefinitionEither a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
Cardinality0...1
TypeDuration
Must SupportTrue
SummaryTrue
SlicingUnordered, Open, by $this(Type)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: IVL(TS) used in a QSI
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration
DefinitionA duration for the length of the timing schedule.
Cardinality0...1
TypeDuration
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: IVL(TS) used in a QSI
  • EHM: Längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsDuration.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Bindingsequence-length-units (required)
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

d

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Enhet längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange
DefinitionA range of possible length.
Cardinality0...1
TypeRange
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: IVL(TS) used in a QSI
  • EHM: Längd doseringssteg min/max
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low
DefinitionThe low limit. The boundary is inclusive.
Cardinality1...1
TypeSimpleQuantity
Must SupportTrue
SummaryTrue
Comments

If the low element is missing, the low boundary is not known.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NR.1
  • rim: ./low
  • EHM: Min längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Min längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.low.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Bindingsequence-length-units (required)
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

d

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Enhet min längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high
DefinitionThe high limit. The boundary is inclusive.
Cardinality1...1
TypeSimpleQuantity
Must SupportTrue
SummaryTrue
Comments

If the high element is missing, the high boundary is not known.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NR.2
  • rim: ./high
  • EHM: Max längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Max längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.timing.repeat.bounds[x]:boundsRange.high.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Bindingsequence-length-units (required)
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

d

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Enhet max längd doseringssteg
MedicationRequest.dosageInstruction.timing.repeat.count
DefinitionA total count of the desired number of repetitions across the duration of the entire timing specification.
Cardinality0...1
TypepositiveInt
Must SupportTrue
SummaryTrue
Requirements

In the Swedish National Medication List count is used for describing single dosages that occur one (1) time. The only value allowed is count=1

Comments

If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.count
  • EHM: Antal upprepningar
MedicationRequest.dosageInstruction.timing.repeat.countMax
DefinitionIf present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
Cardinality0...1
TypepositiveInt
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.count
MedicationRequest.dosageInstruction.timing.repeat.duration
DefinitionDuration of the administration of the medication
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements
Comments

Duration is handled with a maximum precision of 4 decimals. Corresponding regex: (0|[1-9][0-9]*)(.[0-9][0-9][0-9][0-9])

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase
  • EHM: Administreringstillfällets varaktighet
MedicationRequest.dosageInstruction.timing.repeat.durationMax
DefinitionIf present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
Cardinality0...1
Typedecimal
SummaryTrue
Requirements

Some activities are not instantaneous and need to be maintained for a period of time.

Comments

For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase
MedicationRequest.dosageInstruction.timing.repeat.durationUnit
DefinitionThe units of time for the duration, in UCUM units.
Cardinality0...1
Typecode
Binding

A unit of time (units from UCUM).

dose-duration-units (required)
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase.unit
  • EHM: Enhet för administreringstillfällets varaktighet
MedicationRequest.dosageInstruction.timing.repeat.frequency
DefinitionThe number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.
Cardinality0...1
TypepositiveInt
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase
  • EHM: Antal administreringar
MedicationRequest.dosageInstruction.timing.repeat.frequencyMax
DefinitionIf present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
Cardinality0...1
TypepositiveInt
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase
  • EHM: Antal administreringar max
MedicationRequest.dosageInstruction.timing.repeat.period
DefinitionIndicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase
  • EHM: Period
MedicationRequest.dosageInstruction.timing.repeat.periodMax
DefinitionIf present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase
  • EHM: Period max
MedicationRequest.dosageInstruction.timing.repeat.periodUnit
DefinitionThe units of time for the period in UCUM units.
Cardinality0...1
Typecode
Binding

A unit of time (units from UCUM).

dose-period-units (required)
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: PIVL.phase.unit
  • EHM: Periodenhet
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeek
DefinitionIf one or more days of week is provided, then the action happens only on the specified day(s).
Cardinality0...*
Typecode
BindingDaysOfWeek (required)
Must SupportTrue
SummaryTrue
Comments

If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • EHM: Veckodag
MedicationRequest.dosageInstruction.timing.repeat.timeOfDay
DefinitionSpecified time of day for action to take place. Must currently be expressed on the hour, i.e. 11:00 or 15:00. This may be changed after the transition period (övergångs-perioden) so that half hours, i.e. 11:30, are allowed, as well. When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times.
Cardinality0...*
Typetime
Must SupportTrue
SummaryTrue
Requirements

Used for the dosage type "tillfällesdosering". The elements “when, frequency and period” cannot be used with the element “timeOfDay” simultaneously.

Comments

When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • EHM: Klockslag
MedicationRequest.dosageInstruction.timing.repeat.when
DefinitionAn approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
Cardinality0...*
Typecode
Binding

Real world event relating to the schedule.

nll-event-timing (required)
Must SupportTrue
SummaryTrue
Requirements

Timings are frequently determined by occurrences such as waking, eating and sleep.

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: EIVL.event
  • EHM: Period på dygnet
MedicationRequest.dosageInstruction.timing.repeat.offset
DefinitionThe number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.
Cardinality0...1
TypeunsignedInt
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: EIVL.offset
MedicationRequest.dosageInstruction.timing.code
DefinitionA code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).
Cardinality0...1
TypeCodeableConcept
Binding

Code for a known / defined timing pattern.

TimingAbbreviation (preferred)
SummaryTrue
Comments

BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is "always at 7am and 6pm". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: QSC.code
MedicationRequest.dosageInstruction.asNeeded[x]
DefinitionIndicates that the medication only should be taken when needed.
Cardinality0...1
Typeboolean
Must SupportTrue
SummaryTrue
Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: TQ1-9
  • rim: .outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept
  • EHM: Vid behov
MedicationRequest.dosageInstruction.site
DefinitionSite of administration.
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept describing the site location the medicine enters into or onto the body.

SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
Must SupportTrue
SummaryTrue
Requirements

A coded specification of the anatomic site where the medication first enters the body. If there is no appropriate coded value, then the code OTH=Other should be used together with the free text attribute "text".

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXR-2
  • rim: .approachSiteCode
  • EHM: Administreringsställe
MedicationRequest.dosageInstruction.site.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.site.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.site.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality1...1
TypeCoding
Binding

Snomed CT codes for administration site, as stipulated by NLL (terminology server).

http://electronichealth.se/fhir/ValueSet/nll-snomed-site (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.dosageInstruction.site.coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.site.coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.site.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.dosageInstruction.site.coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.dosageInstruction.site.coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.dosageInstruction.site.coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.dosageInstruction.site.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.dosageInstruction.site.text
DefinitionA human language representation of the administration site. Used when no specific code can describe the site and the code 'OTH' has been selected.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Maximum string length: 256

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning annat administreringsställe
MedicationRequest.dosageInstruction.route
DefinitionHow the medication should enter the body.
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

SNOMEDCTRouteCodes (example)
Must SupportTrue
SummaryTrue
Requirements

A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body. If there is no appropriate coded value, then the code OTH=Other must be used together with the free text attribute "text".

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXR-1
  • rim: .routeCode
  • EHM: Administreringsväg
MedicationRequest.dosageInstruction.route.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.route.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.route.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality1...1
TypeCoding
Binding

Snomed CT codes for administration route, as stipulated by NLL

http://electronichealth.se/fhir/ValueSet/nll-snomed-route (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.dosageInstruction.route.coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.route.coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.route.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.dosageInstruction.route.coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.dosageInstruction.route.coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.dosageInstruction.route.coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.dosageInstruction.route.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.dosageInstruction.route.text
DefinitionA human language representation of the administration route. Used when no specific code can describe the route and the code 'OTH' has been selected.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Maximum string length: 256

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning annan administreringsväg
MedicationRequest.dosageInstruction.method
DefinitionMethod used for administering the medication.
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept describing the technique by which the medicine is administered.

SNOMEDCTAdministrationMethodCodes (example)
Must SupportTrue
SummaryTrue
Requirements

A coded value indicating the method by which the medication is introduced into or onto the body. If there is no appropriate coded value, then the code OTH=Other should be used together with the free text attribute "text".

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXR-4
  • rim: .doseQuantity
  • EHM: Administreringsmetod
MedicationRequest.dosageInstruction.method.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.method.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.method.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality1...1
TypeCoding
Binding

Snomed CT codes for administration method, as stipulated by NLL (terminology server).

http://electronichealth.se/fhir/ValueSet/nll-snomed-method (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
MedicationRequest.dosageInstruction.method.coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.method.coding.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.method.coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
MedicationRequest.dosageInstruction.method.coding.version
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.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
MedicationRequest.dosageInstruction.method.coding.code
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).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
MedicationRequest.dosageInstruction.method.coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
MedicationRequest.dosageInstruction.method.coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
MedicationRequest.dosageInstruction.method.text
DefinitionA human language representation of the administration method. Used when no specific code can describe the method and the code 'OTH' has been selected.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

Maximum string length: 256

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Beskrivning annan administreringsmetod
MedicationRequest.dosageInstruction.doseAndRate
DefinitionThe amount of medication administered.
Cardinality0...1
TypeElement
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: TQ1-2
MedicationRequest.dosageInstruction.doseAndRate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.type
DefinitionThe kind of dose or rate specified, for example, ordered or calculated.
Cardinality0...1
TypeCodeableConcept
Binding

The kind of dose or rate specified.

DoseAndRateType (example)
SummaryTrue
Requirements

If the type is not populated, assume to be "ordered".

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-21; RXE-23
MedicationRequest.dosageInstruction.doseAndRate.dose[x]
DefinitionAmount of medication per dose.
Cardinality0...1
TypeRange
Bindingnll-ucum-unit (required)
Must SupportTrue
SummaryTrue
Requirements

The amount of therapeutic or other substance given at one administration event.

Comments

_

SlicingUnordered, Open, by $this(Type)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-2, RXE-3
  • rim: .doseQuantity
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange
DefinitionAmount of medication per dose.
Cardinality0...1
TypeRange
Must SupportTrue
SummaryTrue
Requirements

The amount of therapeutic or other substance given at one administration event.

Comments

Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-2, RXE-3
  • rim: .doseQuantity
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low
DefinitionThe low limit. The boundary is inclusive.
Cardinality1...1
TypeSimpleQuantity
Must SupportTrue
SummaryTrue
Comments

If the low element is missing, the low boundary is not known.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NR.1
  • rim: ./low
  • EHM: Dos min
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.value
DefinitionDose range low value
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements
Comments

Dose range low value is handled with a maximum precision of 4 decimals. Corresponding regex: (0|[1-9][0-9]*)(.[0-9][0-9][0-9][0-9])

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Dos min
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.low.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Dosenhet min
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high
DefinitionThe high limit. The boundary is inclusive.
Cardinality1...1
TypeSimpleQuantity
Must SupportTrue
SummaryTrue
Comments

If the high element is missing, the high boundary is not known.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NR.2
  • rim: ./high
  • EHM: Dos max
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.value
DefinitionDose range high value
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements
Comments

Dose range high value is handled with a maximum precision of 4 decimals. Corresponding regex: (0|[1-9][0-9]*)(.[0-9][0-9][0-9][0-9])

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Dos max
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseRange.high.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Dosenhet max
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity
DefinitionAmount of medication per dose.
Cardinality0...1
TypeSimpleQuantity
Must SupportTrue
SummaryTrue
Requirements

The amount of therapeutic or other substance given at one administration event.

Comments

Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-2, RXE-3
  • rim: .doseQuantity
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.value
DefinitionDose quantity value.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements
Comments

Dose quantity value is handled with a maximum precision of 4 decimals. Corresponding regex: (0|[1-9][0-9]*)(.[0-9][0-9][0-9][0-9])

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Dos
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Dosenhet
MedicationRequest.dosageInstruction.doseAndRate.rate[x]
DefinitionAmount of medication per unit of time.
Cardinality0...1
TypeSimpleQuantity
Bindingnll-ucum-rate-unit (required)
Must SupportTrue
SummaryTrue
Requirements

_

Comments

_

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXE22, RXE23, RXE-24
  • rim: .rateQuantity
  • EHM: Doseringshastighet
MedicationRequest.dosageInstruction.doseAndRate.rate[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.rate[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.doseAndRate.rate[x].value
DefinitionRate value
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements
Comments

Rate value is handled with a maximum precision of 4 decimals. Corresponding regex: (0|[1-9][0-9]*)(.[0-9][0-9][0-9][0-9])

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Doseringshastighet
MedicationRequest.dosageInstruction.doseAndRate.rate[x].comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.doseAndRate.rate[x].unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.doseAndRate.rate[x].system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.doseAndRate.rate[x].code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Doseringshastighetsenhet
MedicationRequest.dosageInstruction.maxDosePerPeriod
DefinitionUpper limit on medication per day.
Cardinality0...1
TypeRatio
Must SupportTrue
SummaryTrue
Requirements

The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.

Comments

NB! The same value must be provided in this element on each sequence / subsequence.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: RXO-23, RXE-19
  • rim: .maxDoseQuantity
  • EHM: Maxdos
MedicationRequest.dosageInstruction.maxDosePerPeriod.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.maxDosePerPeriod.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator
DefinitionThe value of the numerator.
Cardinality0...1
TypeQuantity
Bindingnll-ucum-unit (required)
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .numerator
  • EHM: Maxdos
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.value
DefinitionMax dose therapeutic substance value
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements
Comments

NB! If maxDosePerPeriod contains a value, it must be > 0 (greater than zero); i.e 0 and negative numbers are not allowed. Max dose therapeutic substance value is handled with a maximum precision of 4 decimals. Corresponing regex: ^(?!0*[.,]0*$|[.,]0*$|0*$)\d+[,.]?\d{0,4}$

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Maxdos
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.maxDosePerPeriod.numerator.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Maxdosenhet
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator
DefinitionThe value of the denominator.
Cardinality0...1
TypeQuantity
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

{
  "value": 1,
  "system": "http://unitsofmeasure.org",
  "code": "d"
}

Mappings
  • rim: .denominator
  • EHM: Maxdosperiod
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

1

Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Maxdosperiod
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://unitsofmeasure.org

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dosageInstruction.maxDosePerPeriod.denominator.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

d

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Maxdosperiodenhet
MedicationRequest.dosageInstruction.maxDosePerAdministration
DefinitionUpper limit on medication per administration.
Cardinality0...1
TypeSimpleQuantity
SummaryTrue
Requirements

The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.

Comments

This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: not supported
MedicationRequest.dosageInstruction.maxDosePerLifetime
DefinitionUpper limit on medication per lifetime of the patient.
Cardinality0...1
TypeSimpleQuantity
SummaryTrue
Requirements

The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: not supported
MedicationRequest.dispenseRequest
DefinitionIndicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
Cardinality1...1
TypeBackboneElement
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: Message/Body/NewRx/MedicationPrescribed/ExpirationDate
  • rim: component.supplyEvent
  • EHM: Expedieringsdetaljer
MedicationRequest.dispenseRequest.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension
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.
Cardinality3...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllNumberOfPackagesPrescribed
DefinitionThe number of packages prescribed per dispense. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeExtension(positiveInt)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Antal förpackningar per uttag
MedicationRequest.dispenseRequest.extension:nllDosePackaging
DefinitionIndicates if the prescription should be dose dispensed.
Cardinality1...1
TypeExtension(boolean)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Dosdispensering
MedicationRequest.dispenseRequest.extension:nllPrescriptionCommunicableDiseasesAct
DefinitionIndicates of the prescription is created according to the Communicable Diseases Act (Smittskyddslagen)
Cardinality0...1
TypeExtension(boolean)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Förskrivning enligt smittskyddslagen
MedicationRequest.dispenseRequest.extension:nllPatientPharmaceuticalBenefitsAct
DefinitionIndicates if the patient is eligible to benefits according to the Pharmaceutical Benefits Act (Lag (2002:160) om läkemedelsförmån)
Cardinality1...1
TypeExtension(boolean)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Patient förmånsberättigad
MedicationRequest.dispenseRequest.extension:nllConditionsPharmaceuticalBenefitsAct
DefinitionOnly relevant if the medication has restrictions for reimbursement. Indicates if the patient fulfills the conditions for the prescribed medication.
Cardinality0...1
TypeExtension(boolean)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Förmånsvillkor uppfyllda
MedicationRequest.dispenseRequest.extension:nllTotalQuantity
DefinitionAmount of medication to supply in total for this prescription. Calculated be the Swedish E-health Agency.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension
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.
Cardinality2...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed
DefinitionTotal amount prescribed in this prescription. Calculated by the Swedish e-health Agency. Not used for dose dispensed prescriptions. The unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product.
Cardinality1...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förskriven mängd
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

prescribed

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality1...1
TypeQuantity
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining
DefinitionThe remaining quantity that may be dispensed for this prescription. Calculated by the Swedish e-health Agency. Not used for dose dispensed prescriptions. The unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product.
Cardinality1...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Kvarvarande mängd
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

remaining

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality1...1
TypeQuantity
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllTotalQuantity.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails
DefinitionInformation needed for calculating benefit
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible
DefinitionIndication if it is not possible to calculate a daily benefit quantity. Set by the dispensing pharmacist. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förmånsrelaterad daglig mängd kan ej anges
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

dailyBenefitQuantityUnfeasible

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity
DefinitionDaily quantity within benefit. Set by the pharmacist before making the first dispense. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeExtension
Bindinghttp://electronichealth.se/fhir/ValueSet/dose-quantity-units (required)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förmånsrelaterad daglig mängd
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

dailyBenefitQuantity

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypeQuantity
Bindinghttp://electronichealth.se/fhir/ValueSet/dose-quantity-units (required)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity.value[x].code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit
DefinitionThe earliest date for the next dispense with benefit. Calculated by the Swedish E-health Agency. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Nästa uttag inom förmån
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

nextDispenseWithinBenefit

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLBenefitDetails

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllBenefitDetails.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllNumberOfFillsRemaining
DefinitionThe number of fills this prescriptions has remaining. Calculated by the Swedish E-health Agency. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeExtension(unsignedInt)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Antal uttag kvar
MedicationRequest.dispenseRequest.extension:nllReceivingPharmacy
DefinitionReceiving Pharmacy is used when the patient does not have a Swedish national identification number ("personnummer"). The patient has to pick up his/her medication at the receiving pharmacy where he/she is identified through name, birthdate and sex. The receiving pharmacy is tied to the physical adress. This means that if the premises are taken over by a different organization, the prescription will still be available at the same physical adress,
Cardinality0...1
TypeExtension(Reference(NLLPharmacyLocation))
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Mottagande apotek
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter
DefinitionThe prescribers cost center code when making the prescription. Used for benefit billing within the regions.
Cardinality1...1
TypeExtension(Identifier)
Must SupportTrue
Aliasextensions, user content
Comments

Minimum string length: 3 Maximum string length: 13

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Kostnadsställe (arbetsplatskod)
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypeIdentifier
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].use
DefinitionThe purpose of this identifier.
Cardinality0...1
Typecode
Binding

Identifies the purpose for this identifier, if known .

IdentifierUse (required)
ModifierTrue
SummaryTrue
Requirements

Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

Comments

Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Role.code or implied by context
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].type
DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
Cardinality0...1
TypeCodeableConcept
Binding

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier Type Codes (extensible)
SummaryTrue
Requirements

Allows users to make use of identifiers when the identifier system is not known.

Comments

This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.5
  • rim: Role.code or implied by context
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].system
DefinitionThe cost center needs to be in the form of a "workplace code" (sv arbetsplatskod). Workplace codes are avaliabnle in the system ARKO at the Swedish eHealth Agency.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

Comments

Identifier.system is always case sensitive.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/identifier/arbetsplatskod

Mappings
  • v2: CX.4 / EI-2-4
  • rim: II.root or Role.id.root
  • servd: ./IdentifierType
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].value
DefinitionThe value of the cost center needs to be in the form of a "workplace code" (sv arbetsplatskod). Workplace codes are avaliabnle in the system ARKO at the Swedish eHealth Agency.
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Examples
General

123456


Mappings
  • v2: CX.1 / EI.1
  • rim: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
  • servd: ./Value
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].period
DefinitionTime period during which identifier is/was valid for use.
Cardinality0...1
TypePeriod
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.7 + CX.8
  • rim: Role.effectiveTime or implied by context
  • servd: ./StartDate and ./EndDate
MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].assigner
DefinitionOrganization that issued/manages the identifier.
Cardinality0...1
TypeReference(Organization)
SummaryTrue
Comments

The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.4 / (CX.4,CX.9,CX.10)
  • rim: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • servd: ./IdentifierIssuingAuthority
MedicationRequest.dispenseRequest.extension:nllSubstitutionOpposed
DefinitionOnly used for dose dispensed prescriptions. Substitution is opposed (sv: bytes ej) by either the pharmacist or the patient. This information can be saved on the prescription as the patient isn't present when the dispensing takes place.
Cardinality0...1
TypeExtension(code)
Bindingsubstitution-opposition-types (required)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Bytes ej
MedicationRequest.dispenseRequest.extension:nllNumberOfDispensesAllowed
DefinitionNumber of dispenses allowed (sv. förskrivet antal uttag) is the common way in Sweden of communicating the total number of dispenses that can be performed. The standard field number of repeats allowed is similar but does not include the first dispense. The two terms are related by the formula numberOfRepeatsAllowed +1 = numberOfDispensesAllowed.
Cardinality0...1
TypeExtension(unsignedInt)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Förskrivet antal uttag
MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval
DefinitionCalculated by the Swedish e-health Agency. Not used for dose dispensed prescriptions. The earliest date for the next dispense for prescriptions with dispense interval. When the date cannot be calculated, the dispense interval is checked by the pharmacist.
Cardinality0...1
TypeExtension(date)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Datum för nästa uttag om expedieringsintervall
MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

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.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/nllNextDateDispenseInterval

Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval.value[x]
DefinitionCalculated by the Swedish e-health Agency. Not used for dose dispensed prescriptions.
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.modifierExtension
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).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.initialFill
DefinitionUsed for indicating "Trial Fill". May only be one package, usually the smallest package available. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeBackboneElement
Must SupportTrue
Comments

If populating this element, either the quantity or the duration must be included.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply
  • EHM: Startförpackning
MedicationRequest.dispenseRequest.initialFill.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.initialFill.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.initialFill.modifierExtension
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).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.dispenseRequest.initialFill.quantity
DefinitionThe amount or quantity to provide as part of the first dispense.
Cardinality1...1
TypeSimpleQuantity
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Supply.quantity[moodCode=RQO]
MedicationRequest.dispenseRequest.initialFill.quantity.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.initialFill.quantity.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.initialFill.quantity.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

1

Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
MedicationRequest.dispenseRequest.initialFill.quantity.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dispenseRequest.initialFill.quantity.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

Package

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dispenseRequest.initialFill.quantity.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://unitsofmeasure.org

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dispenseRequest.initialFill.quantity.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

{Package}

Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
MedicationRequest.dispenseRequest.initialFill.duration
DefinitionThe length of time that the first dispense is expected to last.
Cardinality0...0
TypeDuration
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Supply.effectivetime[moodCode=RQO]
MedicationRequest.dispenseRequest.dispenseInterval
DefinitionThe minimum period of time that must occur between dispenses of the medical product. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeDuration
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Supply.effectivetime[moodCode=RQO]
  • EHM: Expedieringsintervall
MedicationRequest.dispenseRequest.dispenseInterval.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.dispenseInterval.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.dispenseInterval.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality1...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
MedicationRequest.dispenseRequest.dispenseInterval.comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dispenseRequest.dispenseInterval.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dispenseRequest.dispenseInterval.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dispenseRequest.dispenseInterval.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality1...1
Typecode
Bindingdispense-interval-units (required)
Must SupportTrue
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
  • EHM: Expedieringsintervall enhet
MedicationRequest.dispenseRequest.validityPeriod
DefinitionThis indicates the validity period of a prescription (stale dating the Prescription). I no validityPeriod.end is provided, then it will be calculated by the Swedish E-health Agency. The validity period may not be longer than one year.
Cardinality0...1
TypePeriod
Must SupportTrue
Requirements

Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.

Comments

It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: Message/Body/NewRx/MedicationPrescribed/Refills
  • rim: effectiveTime
MedicationRequest.dispenseRequest.validityPeriod.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.validityPeriod.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.validityPeriod.extension:nllFirstDispenseBefore
DefinitionNot used for dose dispensed prescriptions The first dispense must occur before this date. If not, the prescription will be invalidated.
Cardinality0...1
TypeExtension(date)
Must SupportTrue
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Första uttag före
MedicationRequest.dispenseRequest.validityPeriod.start
DefinitionThe start of the period. The boundary is inclusive.
Cardinality0...1
TypedateTime
SummaryTrue
Comments

If the low element is missing, the meaning is that the low boundary is not known.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: DR.1
  • rim: ./low
MedicationRequest.dispenseRequest.validityPeriod.end
DefinitionLast date when dispensing is allowed. If no date is provided it will be calculated by the Swedish E-health Agency. NB! This is only handled as a date, the time part of the dateTime is not used.
Cardinality0...1
TypedateTime
Must SupportTrue
SummaryTrue
Comments

The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: DR.2
  • rim: ./high
  • EHM: Sista giltighetsdag
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed
DefinitionNot used for dose dispensed prescriptions. An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus "3 repeats", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense.
Cardinality0...1
TypeunsignedInt
Must SupportTrue
Comments

If using this as basis for displaying "total number of authorized fills", add 1 to this number. This is because the total number of dispenses is the original dispense + additional dispenses stipulated by "number of repeats allowed".

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: Message/Body/NewRx/MedicationPrescribed/Quantity
  • v2: RXE-12-Number of Refills
  • rim: repeatNumber
  • EHM: Förskrivet antal uttag
MedicationRequest.dispenseRequest.quantity
DefinitionThe amount that is to be dispensed for one fill. The unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product. Calculated by the Swedish E-health Agency based on nllNumberOfPackagesPrescibed and the quantity of medication in the package. Not used for dose dispensed prescriptions.
Cardinality0...1
TypeSimpleQuantity
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: Message/Body/NewRx/MedicationPrescribed/DaysSupply
  • v2: RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system
  • rim: quantity
  • EHM: Förskriven mängd per uttag
MedicationRequest.dispenseRequest.quantity.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.quantity.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.dispenseRequest.quantity.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

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).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Förskriven mängd per uttag
MedicationRequest.dispenseRequest.quantity.comparator
DefinitionNot allowed to be used in this context
Cardinality0...0
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
MedicationRequest.dispenseRequest.quantity.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
MedicationRequest.dispenseRequest.quantity.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
MedicationRequest.dispenseRequest.quantity.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
MedicationRequest.dispenseRequest.expectedSupplyDuration
DefinitionIdentifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.
Cardinality0...1
TypeDuration
Comments

In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: Message/Body/NewRx/MedicationPrescribed/Substitutions
  • rim: expectedUseTime
MedicationRequest.dispenseRequest.performer
DefinitionIndicates the intended dispensing Organization specified by the prescriber.
Cardinality0...1
TypeReference(Organization)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.who
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
MedicationRequest.substitution
DefinitionIndicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.
Cardinality0...1
TypeBackboneElement
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions
  • rim: subjectOf.substitutionPersmission
MedicationRequest.substitution.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
MedicationRequest.substitution.extension
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.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
MedicationRequest.substitution.modifierExtension
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).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

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.

Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
MedicationRequest.substitution.allowed[x]
DefinitionTrue if the prescriber allows a different drug to be dispensed from what was prescribed.
Cardinality1...1
Typeboolean
Must SupportTrue
Comments

This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored. A missing value is the same as substitution allowed

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions
  • v2: RXO-9-Allow Substitutions / RXE-9-Substitution Status
  • rim: code
  • EHM: Substitution tillåten
MedicationRequest.substitution.reason
DefinitionIndicates the reason for the substitution, or why substitution must or must not be performed.
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

v3.SubstanceAdminSubstitutionReason (example)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: not mapped
  • v2: RXE-9 Substition status
  • rim: reasonCode
MedicationRequest.priorPrescription
DefinitionWhen replacing or renewing a prescription, the version of the replaced/renewed prescription must be provided in the POST operation. When reading a prescription, the reference to the replaced/renewed prescription will not be version specific.
Cardinality0...1
TypeReference(NLLMedicationRequest)
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.replaces
  • script10.6: not mapped
  • rim: .outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]
  • EHM: Referens till tidigare förskrivning
MedicationRequest.detectedIssue
DefinitionRead only for MedicationRequest. Automatic Format and Constitution Control (AFF) warning generated by the Swedish eHealth Agency according to the current conditions.
Cardinality0...*
TypeReference(NLLDetectedIssue)
Must SupportTrue
AliasContraindication, Drug Utilization Review (DUR), Alert
Comments

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.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value
  • EHM: AFF-varning
MedicationRequest.eventHistory
DefinitionLinks to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.
Cardinality0...*
TypeReference(Provenance)
Comments

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.).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Request.relevantHistory
  • rim: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]
<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="dcae1550-a48a-4d44-a431-73c47c9dd075" />
    <meta>
        <versionId value="1" />
        <lastUpdated value="2024-08-29T09:26:59.0425172+00:00" />
    </meta>
    <url value="http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest" />
    <version value="1.4.1" />
    <name value="NLLMedicationRequest" />
    <status value="active" />
    <date value="2024-08-29" />
    <publisher value="Swedish eHealth Agency" />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="EHM" />
        <name value="E-h&#228;lsomyndigheten concept" />
    </mapping>
    <kind value="resource" />
    <abstract value="false" />
    <type value="MedicationRequest" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
    <derivation value="constraint" />
    <differential>
        <element id="MedicationRequest">
            <path value="MedicationRequest" />
            <short value="A prescription for a patient" />
            <definition value="MedicationRequest in the National Swedish Medication List is used for prescriptions for a patient.\nA prescription can be made for either a medicine package or for a reimbursed consumable." />
        </element>
        <element id="MedicationRequest.id">
            <path value="MedicationRequest.id" />
            <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation.\nThis id is identified by the URI http://electronichealth.se/identifier/nllmedicationrequestid in documentation and external systems." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivnings-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.meta">
            <path value="MedicationRequest.meta" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.meta.versionId">
            <path value="MedicationRequest.meta.versionId" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivningsversion" />
            </mapping>
        </element>
        <element id="MedicationRequest.meta.security">
            <path value="MedicationRequest.meta.security" />
            <mustSupport value="true" />
            <binding>
                <strength value="extensible" />
                <valueSet value="http://ehalsomyndigheten.se/fhir/ValueSet/security-labels" />
            </binding>
        </element>
        <element id="MedicationRequest.meta.security.system">
            <path value="MedicationRequest.meta.security.system" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.meta.security.version">
            <path value="MedicationRequest.meta.security.version" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.meta.security.code">
            <path value="MedicationRequest.meta.security.code" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.extension">
            <path value="MedicationRequest.extension" />
            <min value="2" />
        </element>
        <element id="MedicationRequest.extension:nllPatientTreatmentReason">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllPatientTreatmentReason" />
            <short value="The treatment reason described for the patient" />
            <definition value="The reason for the treatment described in a way that is understood by the patient (behandlings&#228;ndam&#229;l). \nA text can be selected from &quot;Nationell k&#228;lla f&#246;r ordinationsorsak&quot; (NKOO). It is also possible to enter free text. \nNKOO is a code system that is defined by the Swedish National Board of Health and Welfare (Socialstyrelsen). The code system consists of SnomedCT codes for reasons (behandlingsorsak). Each medical product has a selection of valid SnomedCT reason codes, and in connection with the codes are the available patient reasons. The corresponding patient text could be entered here in &quot;nllPatientTreatmentReason&quot;, and the SnomedCT reason code (behandlingsorsak) should be entered in &quot;reasonCode&quot;." />
            <comment value="Maximum string length: 256" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Behandlings&#228;ndam&#229;l" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllPrescriptionChain">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllPrescriptionChain" />
            <short value="Prescription chain id" />
            <definition value="Id used to identify all prescriptions in one prescription chain.\nA prescription chain is a set of prescriptions that are linked together in chronological order (The attribute priorPrescription is used to find the previos prescription.)\nA prescription chain is created ie when a prescription is renewed or replaced. The purpose is to be able to provide a grouping of related prescriptions.\nIf a Prescription chain id is not provided in a POST of a MedicationRequest, a new prescription chain id is set by the Swedish eHealth Agency when the prescription is created. Prescription chain id is available on all prescriptions." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivningskedje-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllPrescriptionFormat">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllPrescriptionFormat" />
            <short value="Current prescription format" />
            <definition value="Current prescription format can be either &quot;electronic&quot; (Elektroniskt) or &quot;paper&quot; (Papper). If the prescription has been printed out on paper, i.e. the format is &quot;paper&quot; , then the patient needs to bring the print-out with him to the pharmacy to be able to get a dispense." />
            <min value="1" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat" />
            </type>
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://ehalsomyndigheten.se/fhir/ValueSet/prescription-formats" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Aktuellt format" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllTreatmentDates">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllTreatmentDates" />
            <definition value="Treatment dates as defined by the Swedish law &quot;Lag (2018:1212) om nationell l&#228;kemedelslista&quot;, chapter 3, 8&#167;, section 5. \nThe latest date when the medical treatment should be either reviewed or ended." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate">
            <path value="MedicationRequest.extension.extension" />
            <sliceName value="treatmentReviewDate" />
            <short value="Treatment review date" />
            <definition value="The latest date at which a review of the ongoing treatment must be made." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Senaste datum f&#246;r uppf&#246;ljning av behandling" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate">
            <path value="MedicationRequest.extension.extension" />
            <sliceName value="treatmentEndDate" />
            <short value="Treatment end date" />
            <definition value="The latest date at which the prescriber orders that the treatment must end." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Senaste datum f&#246;r avslut av behandling" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllRegistrationBasis">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllRegistrationBasis" />
            <short value="Format when the prescription was registered" />
            <definition value="The format of the basis for the registration of the prescription. A prescriber can only register prescriptions in electronic format in the Swedish National Medication List. A pharmacy can also register a prescription based on  paper prescription, or based on a phone call from a prescriber.\nThis value is entered when creating the prescription, and is never updated." />
            <min value="1" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis" />
            </type>
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://ehalsomyndigheten.se/fhir/ValueSet/registration-basis" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Typ av registreringsunderlag" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllUsageDates">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllUsageDates" />
            <short value="Usage dates" />
            <definition value="Dates that are used for scheduling the use of the prescribed article." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.extension:nllUsageDates.extension:usageStartDate">
            <path value="MedicationRequest.extension.extension" />
            <sliceName value="usageStartDate" />
            <short value="When the patient should start using the medication." />
            <definition value="The date when the patient should start administering the medication according to the prescription." />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.extension:nllUsageDates.extension:usageEndDate">
            <path value="MedicationRequest.extension.extension" />
            <sliceName value="usageEndDate" />
            <short value="When the patient should stop using the medication." />
            <definition value="The date when the patient should stop administering the medication according to current prescription." />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate">
            <path value="MedicationRequest.extension.extension" />
            <sliceName value="scheduleStartDate" />
            <definition value="Set by the Swedish eHealth Agency.\nDate used in renewed prescriptions whith repeating dosages for calculating the current day in the schedule. Used for repeating dosages with &quot;time of day&quot; or &quot;when&quot; (sv tillf&#228;llesdosering) and a UsageStartDate (f&#246;rsta doseringsdag)." />
            <comment value="Schedule Start Date is a mechanism for calculating the current day in the schedule when a prescription with a repeating schedule has been renewed once or several times. Schedule Start Date is the original Usage Start Date form the first prescription when the schedule was defined. \nExample: The first prescription had a Usage Start Date which was 2020-08-23 and the schedule repeats every second day (&quot;Take every second day&quot;). Then the Schedule Start Date will be set to 2020-08-23 and togehter with the instructions of the schedule it is possible calculate which day of the schedule any given date will correspond to, ie a day when the patient should take the medication or a day when no medication should be administered." />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.extension:nllCompletePrescriptionChoice">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllCompletePrescriptionChoice" />
            <short value="Prescription completion descision" />
            <definition value="Only used for input.\nWhen 12% or less of the total quantity of the prescribed medication is left, the prescription will automatically be set to status &quot;Completed&quot;. \nA pharmacist can make a descision to overrule the automatic rules by either choosing to set the prescription status to &quot;Completed&quot; or to keep the status &quot;Active&quot;." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLCompletePrescriptionChoice" />
            </type>
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://ehalsomyndigheten.se/fhir/ValueSet/complete-prescription-choices" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Beslut slutexpediering" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllOrdinationsId">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllOrdinationsId" />
            <short value="OrdinationsId from OR (Receptdep&#229; human)" />
            <definition value="Calculated by the Swedish eHealth Agency. Not used for input.\nLegacy id used for identifying prescriptions which is used in the OR (Receptdep&#229; human) API.\nIn OR this corresponds to ordinationsId, which is unique for each version of the prescription.\nThis attribute will be removed after the end of the transition period." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="OR-OrdinationsId" />
            </mapping>
        </element>
        <element id="MedicationRequest.extension:nllTidigareOrdinationsid">
            <path value="MedicationRequest.extension" />
            <sliceName value="nllTidigareOrdinationsid" />
            <short value="Tidigare OrdinationsId OR (Receptdep&#229; human)" />
            <definition value="Calculated by the Swedish eHealth Agency. Not used for input.\nLegacy id used for identifying prescriptions which is used in the OR (Receptdep&#229; human) API.\n&quot;Tidigare OrdinationsId&quot; is used for identifying a prior prescription originally created in OR (Receptdep&#229; Human) .\nIn OR this corresponds to tidigareOrdinationsId.\nThis attribute will be removed after the end of the transition period." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLTidigareOrdinationsid" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Referens till tidigare OR-ordinations-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.identifier">
            <path value="MedicationRequest.identifier" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="system" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.identifier:NEF">
            <path value="MedicationRequest.identifier" />
            <sliceName value="NEF" />
            <short value="Legacy ids used in NEF and OR" />
            <definition value="Ids used for identifying prescriptions originally created in NEF or OR.\nIn OR this corresponds to originalOrdinationsId, which is the same as PrescriptionSetId in NEF. In OR a originalOrdinationsId/PrescriptionSetId always correspons to one unique prescription.\nIn NEF the combination of PrescriptionSetId-PrescriptionItemId corresponds to one unique prescription.\nPrescriptionItemId is made up from RowId-ProductRowId.\noriginalOrdinationsId/PrescriptionSetId is in the form of a UUID.\nRowId and ProductRowId are counters.\nThese attributes will be removed after the end of the transition period." />
            <max value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.identifier:NEF.extension:NEFIdParts">
            <path value="MedicationRequest.identifier.extension" />
            <sliceName value="NEFIdParts" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLNEFId" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId">
            <path value="MedicationRequest.identifier.extension.extension" />
            <sliceName value="PrescriptionSetId" />
            <definition value="NEF: PrescriptionSetId, OR: Originalordinationsid is a legacy identifier used by NEF/PIRR and OR. Every prescription created by systems connected before Swedish National Medication List will have a PrescriptionSetId/orignalordinationsid. However, it does not allways identify a unique prescription. To search for a unique prescriptions the RowId/radnummer and ProductRowId/produktradnummer may be needed as well." />
            <comment value="Maximum string length: 36" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Originalordinations-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId.value[x]">
            <path value="MedicationRequest.identifier.extension.extension.value[x]" />
            <maxLength value="36" />
        </element>
        <element id="MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId">
            <path value="MedicationRequest.identifier.extension.extension" />
            <sliceName value="RowId" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Radnummer" />
            </mapping>
        </element>
        <element id="MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId">
            <path value="MedicationRequest.identifier.extension.extension" />
            <sliceName value="ProductRowId" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Produktradnummer" />
            </mapping>
        </element>
        <element id="MedicationRequest.identifier:NEF.system">
            <path value="MedicationRequest.identifier.system" />
            <min value="1" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/NEFId" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.identifier:NEF.value">
            <path value="MedicationRequest.identifier.value" />
            <short value="The complete NEFid" />
            <definition value="Calculated by the Swedish eHealth Agency.\nThe complete NEFid for the specific prescribed article, i.e. a combination of PrescriptionSetId and PrescriptionItemId where applicable. \nPrescriptionItemId is made up from RowId-ProductRowId.\nIn OR only PrescriptionSetId/originalOrdinationsId is used.\noriginalOrdinationsId/PrescriptionSetId is in the form of a UUID.\nRowId and ProductRowId are counters.\nThe format is &quot;PrescriptionSetId/Originalordinationsid - PrescriptionItemid/RadnummerNEF&quot;,  i.e. UUID-x-y. Example 123e4567-e89b-12d3-a456-426655440000-2-1, where the ending &quot;2-1&quot; are RowId-ProductRowId." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Kombinerat NEF-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.status">
            <path value="MedicationRequest.status" />
            <short value="active | on-hold | cancelled | completed | stopped" />
            <definition value="The status of the prescription. The following statuses will be used: active, cancelled, on-hold (suspended), completed and stopped. The following statuses will not be used: entered-in-error, draft and unknown." />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://electronichealth.se/fhir/ValueSet/medication-request-status" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivningsstatus" />
            </mapping>
        </element>
        <element id="MedicationRequest.statusReason">
            <path value="MedicationRequest.statusReason" />
            <definition value="Set by the Swedish E-health Agency.\nReason for the current status of the prescription." />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://ehalsomyndigheten.se/fhir/ValueSet/medication-request-status-reasons" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivningsstatusorsak" />
            </mapping>
        </element>
        <element id="MedicationRequest.statusReason.coding">
            <path value="MedicationRequest.statusReason.coding" />
            <max value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.statusReason.coding.system">
            <path value="MedicationRequest.statusReason.coding.system" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.statusReason.coding.version">
            <path value="MedicationRequest.statusReason.coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.statusReason.coding.code">
            <path value="MedicationRequest.statusReason.coding.code" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.intent">
            <path value="MedicationRequest.intent" />
            <short value="order" />
            <definition value="A prescription is always an order." />
            <fixedCode value="order" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.priority">
            <path value="MedicationRequest.priority" />
            <short value="urgent" />
            <definition value="Shall only be used for dose dispensed prescriptions. Indicates that actions may need to be taken before next ordinary production date." />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://electronichealth.se/fhir/ValueSet/medication-request-priority" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Akut f&#246;r&#228;ndring" />
            </mapping>
        </element>
        <element id="MedicationRequest.medication[x]">
            <path value="MedicationRequest.medication[x]" />
            <short value="Prescribed article" />
            <definition value="Identifies the medical product or medical consumable being prescribed. \nMedical products are prescribed using both NPL-id (medical product) and NPL-pack-id (packaged medical product).\nMedical consumables are prescribed using item number (sv varunummer)." />
            <type>
                <code value="CodeableConcept" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Artikel" />
            </mapping>
        </element>
        <element id="MedicationRequest.medication[x].coding">
            <path value="MedicationRequest.medication[x].coding" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="system" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].coding:nplid">
            <path value="MedicationRequest.medication[x].coding" />
            <sliceName value="nplid" />
            <short value="NPL-id" />
            <definition value="A unique identifier of a medical product according to &quot;Nationellt produktregister f&#246;r l&#228;kemedel&quot; provided by the Swedish Medical Products Agency (sv L&#228;kemedelsverket)" />
            <comment value="The naming system http://electronichealth.se/fhir/NamingSystem/nplid includes both NPL ID defined by L&#228;kemedelsverket and SB ID defined by E-h&#228;lsomyndigheten" />
            <max value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="NPL-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.medication[x].coding:nplid.system">
            <path value="MedicationRequest.medication[x].coding.system" />
            <min value="1" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/nplid" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].coding:nplid.code">
            <path value="MedicationRequest.medication[x].coding.code" />
            <comment value="Maximum string length: 14" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].coding:nplpackid">
            <path value="MedicationRequest.medication[x].coding" />
            <sliceName value="nplpackid" />
            <short value="NPL-pack-id" />
            <definition value="A unique identifier of a medical product package according to &quot;Nationellt produktregister f&#246;r l&#228;kemedel&quot; provided by the Swedish Medical Products Agency (sv L&#228;kemedelsverket)" />
            <comment value="The naming system http://electronichealth.se/fhir/NamingSystem/nplpackid includes both NPL-Pack ID defined by L&#228;kemedelsverket and SB-Pack ID defined by E-h&#228;lsomyndigheten" />
            <max value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="NPL-pack-id" />
            </mapping>
        </element>
        <element id="MedicationRequest.medication[x].coding:nplpackid.system">
            <path value="MedicationRequest.medication[x].coding.system" />
            <min value="1" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/nplpackid" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].coding:nplpackid.code">
            <path value="MedicationRequest.medication[x].coding.code" />
            <comment value="Maximum string length: 14" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].coding:varunr">
            <path value="MedicationRequest.medication[x].coding" />
            <sliceName value="varunr" />
            <short value="Varunummer" />
            <definition value="A unique identifier of a medical consumable according to &quot;Nationellt produktregister f&#246;r l&#228;kemedel&quot; provided by the Swedish Medical Products Agency (sv L&#228;kemedelsverket)\nAlso a non-unique identifier of a medical product package." />
            <max value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Varunummer" />
            </mapping>
        </element>
        <element id="MedicationRequest.medication[x].coding:varunr.system">
            <path value="MedicationRequest.medication[x].coding.system" />
            <min value="1" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/varunr" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].coding:varunr.code">
            <path value="MedicationRequest.medication[x].coding.code" />
            <comment value="Minimum string length: 6\nMaximum string length: 6" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.medication[x].text">
            <path value="MedicationRequest.medication[x].text" />
            <short value="Information about the prescribed article" />
            <definition value="FOR FUTURE USE, SHOULD NOT BE USED!\nUsed to provide information about the prescribed article when a specified article isn&#180;t available. For example when prescribing extemporaneous preparations." />
            <comment value="Max length: 255" />
            <maxLength value="255" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Beskrivning artikel" />
            </mapping>
        </element>
        <element id="MedicationRequest.subject">
            <path value="MedicationRequest.subject" />
            <short value="Who the prescription is for" />
            <definition value="Patient resource representing the person to whom the medical product will be given.\nWhen the patient has a Swedish personal identity number (personnummer) the patient shall be provided as a referenced Patient resorce. If the patient does not have a Swedish personal identity number the Patient resource should be contained in the MedicationRequest resource." />
            <type>
                <code value="Reference" />
                <targetProfile value="http://electronichealth.se/fhir/StructureDefinition/NLLPatient" />
                <aggregation value="contained" />
                <aggregation value="referenced" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Patientreferens" />
            </mapping>
        </element>
        <element id="MedicationRequest.authoredOn">
            <path value="MedicationRequest.authoredOn" />
            <short value="When prescription was initially authored" />
            <definition value="The date and time when the prescription was authored." />
            <comment value="The time part is not mandatory, only a date may be provided." />
            <min value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Utf&#228;rdandedatum" />
            </mapping>
        </element>
        <element id="MedicationRequest.requester">
            <path value="MedicationRequest.requester" />
            <short value="The practitioner who prescribed the article" />
            <definition value="The practitioner who prescribed the article" />
            <min value="1" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner" />
                <aggregation value="contained" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Utf&#228;rdande f&#246;rskrivare" />
            </mapping>
        </element>
        <element id="MedicationRequest.reasonCode">
            <path value="MedicationRequest.reasonCode" />
            <short value="Reason for the treatment" />
            <definition value="The reason stated by the practitioner for ordering a medical product (behandlingsorsak). A code from &quot;Nationell k&#228;lla f&#246;r ordinationsorsak&quot; which is a code system that is defined by the Swedish National Board of Health and Welfare (Socialstyrelsen). The code system consists of SnomedCT codes for reasons. Each medical product has of a selection of valid SnomedCT reason codes.\nThe reason shall also be expressed in a way that can be easily understood by the patient (behandlings&#228;ndam&#229;l). This should be entered in nllPatientTreatmentReason.\nIf there is no available code that describes the reason, then the code &quot;OTH&quot; (Other) shall be used. In that case a text describing the reason must be provided in reasonCode.text." />
            <comment value="_" />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://electronichealth.se/fhir/ValueSet/nll-snomed-behandlingsorsak" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Behandlingsorsak" />
            </mapping>
        </element>
        <element id="MedicationRequest.reasonCode.extension:nlldataAbsentReason">
            <path value="MedicationRequest.reasonCode.extension" />
            <sliceName value="nlldataAbsentReason" />
            <short value="masked" />
            <definition value="Marks masked data, ie why data is missing." />
            <type>
                <code value="Extension" />
                <profile value="http://hl7.org/fhir/StructureDefinition/data-absent-reason" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
            <binding>
                <strength value="required" />
                <valueSet value="http://electronichealth.se/fhir/ValueSet/data-absent-reason" />
            </binding>
        </element>
        <element id="MedicationRequest.reasonCode.extension:nlldataAbsentReason.value[x]">
            <path value="MedicationRequest.reasonCode.extension.value[x]" />
            <short value="Masked" />
        </element>
        <element id="MedicationRequest.reasonCode.coding">
            <path value="MedicationRequest.reasonCode.coding" />
            <min value="1" />
            <max value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.reasonCode.coding.system">
            <path value="MedicationRequest.reasonCode.coding.system" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.reasonCode.coding.version">
            <path value="MedicationRequest.reasonCode.coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.reasonCode.coding.code">
            <path value="MedicationRequest.reasonCode.coding.code" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.reasonCode.text">
            <path value="MedicationRequest.reasonCode.text" />
            <short value="Other reason" />
            <definition value="If no code could be chosen from &quot;Nationell k&#228;lla f&#246;r ordinationsorsak&quot; an other reason may be entered here." />
            <comment value="Maximum string length: 255" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Beskrivning annan behandlingsorsak" />
            </mapping>
        </element>
        <element id="MedicationRequest.note">
            <path value="MedicationRequest.note" />
            <definition value="Prescriptions in the Swedish National Medication List can contain 4 different kinds of notes:\npre=Prescribers comment (F&#246;rskrivarens kommentar, read/write)\npha=Pharmacists comment (Apotekets kommentar, read/write)\nnot=Prescribers note (Notat f&#246;rskrivare, read only, will be deprecated)\ndli=Delivery message (Leveransmeddelande, read only, will be deprecated)" />
            <max value="4" />
            <type>
                <code value="Annotation" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLAnnotation" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Apotekets kommentar, F&#246;rskrivarens kommentar, Leveransmeddelande, Notat f&#246;rskrivare" />
            </mapping>
        </element>
        <element id="MedicationRequest.note.extension:nllMedReqNoteType">
            <path value="MedicationRequest.note.extension" />
            <sliceName value="nllMedReqNoteType" />
            <short value="Type of note" />
        </element>
        <element id="MedicationRequest.note.text">
            <path value="MedicationRequest.note.text" />
            <comment value="Maximum string length prescribers comment (F&#246;rskrivarens kommentar): 35\nMaximum string length pharmacists comment (Apotekets kommentar): 512\nMaximum string length prescribers note (Notat f&#246;rskrivare): 255\nMaximum string length delivery message (Leveransmeddelande): 35" />
        </element>
        <element id="MedicationRequest.dosageInstruction">
            <path value="MedicationRequest.dosageInstruction" />
            <short value="How the medication should be taken" />
            <definition value="Mandatory for medications and technical spirit" />
            <type>
                <code value="Dosage" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLDosage" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction">
            <path value="MedicationRequest.dosageInstruction.extension" />
            <sliceName value="nllAdministeringInstruction" />
        </element>
        <element id="MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction.value[x]">
            <path value="MedicationRequest.dosageInstruction.extension.value[x]" />
            <mapping>
                <identity value="EHM" />
                <map value="Administreringsinstruktion" />
            </mapping>
        </element>
        <element id="MedicationRequest.dosageInstruction.patientInstruction">
            <path value="MedicationRequest.dosageInstruction.patientInstruction" />
            <definition value="Dosage instructions in terms that are understood by the patient." />
        </element>
        <element id="MedicationRequest.dispenseRequest">
            <path value="MedicationRequest.dispenseRequest" />
            <min value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Expedieringsdetaljer" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <min value="3" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllNumberOfPackagesPrescribed">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllNumberOfPackagesPrescribed" />
            <short value="Number of packages prescribed per dispense" />
            <definition value="The number of packages prescribed per dispense. Not used for dose dispensed prescriptions." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesPrescribed" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Antal f&#246;rpackningar per uttag" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllDosePackaging">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllDosePackaging" />
            <short value="Dose dispensed prescription" />
            <definition value="Indicates if the prescription should be dose dispensed." />
            <min value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Dosdispensering" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllPrescriptionCommunicableDiseasesAct">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllPrescriptionCommunicableDiseasesAct" />
            <short value="Prescription according to the Communicable Diseases Act" />
            <definition value="Indicates of the prescription is created according to the Communicable Diseases Act (Smittskyddslagen)" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivning enligt smittskyddslagen" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllPatientPharmaceuticalBenefitsAct">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllPatientPharmaceuticalBenefitsAct" />
            <short value="Patient eligible to benefits" />
            <definition value="Indicates if the patient is eligible to benefits according to the Pharmaceutical Benefits Act (Lag (2002:160) om l&#228;kemedelsf&#246;rm&#229;n)" />
            <min value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Patient f&#246;rm&#229;nsber&#228;ttigad" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllConditionsPharmaceuticalBenefitsAct">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllConditionsPharmaceuticalBenefitsAct" />
            <short value="Pharmaceutical benefits act conditions" />
            <definition value="Only relevant if the medication has restrictions for reimbursement.\nIndicates if the patient fulfills the conditions for the prescribed medication." />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rm&#229;nsvillkor uppfyllda" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllTotalQuantity" />
            <short value="Amount of medication to supply in total" />
            <definition value="Amount of medication to supply in total for this prescription. Calculated be the Swedish E-health Agency." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed">
            <path value="MedicationRequest.dispenseRequest.extension.extension" />
            <sliceName value="prescribed" />
            <short value="Total amount prescribed" />
            <definition value="Total amount prescribed in this prescription. Calculated by the Swedish e-health Agency. Not used for dose dispensed prescriptions.\nThe unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskriven m&#228;ngd" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x]">
            <path value="MedicationRequest.dispenseRequest.extension.extension.value[x]" />
            <min value="1" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].value">
            <path value="MedicationRequest.dispenseRequest.extension.extension.value[x].value" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining">
            <path value="MedicationRequest.dispenseRequest.extension.extension" />
            <sliceName value="remaining" />
            <short value="Quantity remaining" />
            <definition value="The remaining quantity that may be dispensed for this prescription. Calculated by the Swedish e-health Agency.  Not used for dose dispensed prescriptions.\nThe unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Kvarvarande m&#228;ngd" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x]">
            <path value="MedicationRequest.dispenseRequest.extension.extension.value[x]" />
            <min value="1" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].value">
            <path value="MedicationRequest.dispenseRequest.extension.extension.value[x].value" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllBenefitDetails">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllBenefitDetails" />
            <short value="Benefit calculation information" />
            <definition value="Information needed for calculating benefit" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLBenefitDetails" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible">
            <path value="MedicationRequest.dispenseRequest.extension.extension" />
            <sliceName value="dailyBenefitQuantityUnfeasible" />
            <short value="Indication if daily quantity can&#39;t be calculated" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity">
            <path value="MedicationRequest.dispenseRequest.extension.extension" />
            <sliceName value="dailyBenefitQuantity" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit">
            <path value="MedicationRequest.dispenseRequest.extension.extension" />
            <sliceName value="nextDispenseWithinBenefit" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllNumberOfFillsRemaining">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllNumberOfFillsRemaining" />
            <short value="Number of fills remaining" />
            <definition value="The number of fills this prescriptions has remaining. Calculated by the Swedish E-health Agency. Not used for dose dispensed prescriptions." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfFillsRemaining" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Antal uttag kvar" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllReceivingPharmacy">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllReceivingPharmacy" />
            <short value="Receiving Pharmacy" />
            <definition value="Receiving Pharmacy is used when the patient does not have a Swedish national identification number (&quot;personnummer&quot;). The patient has to pick up his/her medication at the receiving pharmacy where he/she is identified through name, birthdate and sex.\nThe receiving pharmacy is tied to the physical adress. This means that if the premises are taken over by a different organization, the prescription will still be available at the same physical adress," />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPharmacyReference" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Mottagande apotek" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllPrescriberCostCenter" />
            <short value="The prescribers cost center" />
            <definition value="The prescribers cost center code when making the prescription. Used for benefit billing within the regions." />
            <comment value="Minimum string length: 3\nMaximum string length: 13" />
            <min value="1" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Kostnadsst&#228;lle (arbetsplatskod)" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x]">
            <path value="MedicationRequest.dispenseRequest.extension.value[x]" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].value">
            <path value="MedicationRequest.dispenseRequest.extension.value[x].value" />
            <maxLength value="13" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllSubstitutionOpposed">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllSubstitutionOpposed" />
            <short value="Substitution opposed" />
            <definition value="Only used for dose dispensed prescriptions.\nSubstitution is opposed (sv: bytes ej) by either the pharmacist or the patient. This information can be saved on the prescription as the patient isn&#39;t present when the dispensing takes place." />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLSubstitutionOpposed" />
            </type>
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://ehalsomyndigheten.se/fhir/ValueSet/substitution-opposition-types" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Bytes ej" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllNumberOfDispensesAllowed">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllNumberOfDispensesAllowed" />
            <short value="Number of dispenses allowed" />
            <definition value="Number of dispenses allowed (sv. f&#246;rskrivet antal uttag) is the common way in Sweden of communicating the total number of dispenses that can be performed. The standard field number of repeats allowed is similar but does not include the first dispense. The two terms are related by the formula numberOfRepeatsAllowed +1 = numberOfDispensesAllowed." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfDispensesAllowed" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivet antal uttag" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval">
            <path value="MedicationRequest.dispenseRequest.extension" />
            <sliceName value="nllNextDateDispenseInterval" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLNextDateDispenseInterval" />
            </type>
            <mustSupport value="true" />
            <isModifier value="false" />
        </element>
        <element id="MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval.url">
            <path value="MedicationRequest.dispenseRequest.extension.url" />
            <fixedUri value="http://electronichealth.se/fhir/StructureDefinition/nllNextDateDispenseInterval" />
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill">
            <path value="MedicationRequest.dispenseRequest.initialFill" />
            <short value="Indication for Trial Fill" />
            <definition value="Used for indicating &quot;Trial Fill&quot;. May only be one package, usually the smallest package available. Not used for dose dispensed prescriptions." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Startf&#246;rpackning" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill.quantity">
            <path value="MedicationRequest.dispenseRequest.initialFill.quantity" />
            <short value="Trial fill quantity, one package" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill.quantity.value">
            <path value="MedicationRequest.dispenseRequest.initialFill.quantity.value" />
            <min value="1" />
            <fixedDecimal value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill.quantity.unit">
            <path value="MedicationRequest.dispenseRequest.initialFill.quantity.unit" />
            <fixedString value="Package" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill.quantity.system">
            <path value="MedicationRequest.dispenseRequest.initialFill.quantity.system" />
            <fixedUri value="http://unitsofmeasure.org" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill.quantity.code">
            <path value="MedicationRequest.dispenseRequest.initialFill.quantity.code" />
            <min value="1" />
            <fixedCode value="{Package}" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.initialFill.duration">
            <path value="MedicationRequest.dispenseRequest.initialFill.duration" />
            <max value="0" />
        </element>
        <element id="MedicationRequest.dispenseRequest.dispenseInterval">
            <path value="MedicationRequest.dispenseRequest.dispenseInterval" />
            <definition value="The minimum period of time that must occur between dispenses of the medical product. Not used for dose dispensed prescriptions." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Expedieringsintervall" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.dispenseInterval.value">
            <path value="MedicationRequest.dispenseRequest.dispenseInterval.value" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.dispenseInterval.system">
            <path value="MedicationRequest.dispenseRequest.dispenseInterval.system" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.dispenseInterval.code">
            <path value="MedicationRequest.dispenseRequest.dispenseInterval.code" />
            <min value="1" />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <valueSet value="http://electronichealth.se/fhir/ValueSet/dispense-interval-units" />
            </binding>
            <mapping>
                <identity value="EHM" />
                <map value="Expedieringsintervall enhet" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.validityPeriod">
            <path value="MedicationRequest.dispenseRequest.validityPeriod" />
            <definition value="This indicates the validity period of a prescription (stale dating the Prescription). I no validityPeriod.end is provided, then it will be calculated by the Swedish E-health Agency. The validity period may not be longer than one year." />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.dispenseRequest.validityPeriod.extension:nllFirstDispenseBefore">
            <path value="MedicationRequest.dispenseRequest.validityPeriod.extension" />
            <sliceName value="nllFirstDispenseBefore" />
            <short value="First dispense must occur before" />
            <definition value="Not used for dose dispensed prescriptions\nThe first dispense must occur before this date. If not, the prescription will be invalidated." />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLFirstDispenseBefore" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rsta uttag f&#246;re" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.validityPeriod.end">
            <path value="MedicationRequest.dispenseRequest.validityPeriod.end" />
            <short value="Last date when dispensing is allowed" />
            <definition value="Last date when dispensing is allowed. If no date is provided it will be calculated by the Swedish E-health Agency.\nNB! This is only handled as a date, the time part of the dateTime is not used." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Sista giltighetsdag" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed">
            <path value="MedicationRequest.dispenseRequest.numberOfRepeatsAllowed" />
            <definition value="Not used for dose dispensed prescriptions.\nAn integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.  A prescriber may explicitly say that zero refills are permitted after the initial dispense." />
            <comment value="If using this as basis for displaying &quot;total number of authorized fills&quot;, add 1 to this number. This is because the total number of dispenses is the original dispense + additional dispenses stipulated by &quot;number of repeats allowed&quot;." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskrivet antal uttag" />
                <comment value="NB! F&#246;rskrivet antal uttag -1" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.quantity">
            <path value="MedicationRequest.dispenseRequest.quantity" />
            <definition value="The amount that is to be dispensed for one fill.\nThe unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product.\nCalculated by the Swedish E-health Agency based on nllNumberOfPackagesPrescibed and the quantity of medication in the package.\nNot used for dose dispensed prescriptions." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskriven m&#228;ngd per uttag" />
            </mapping>
        </element>
        <element id="MedicationRequest.dispenseRequest.quantity.value">
            <path value="MedicationRequest.dispenseRequest.quantity.value" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rskriven m&#228;ngd per uttag" />
            </mapping>
        </element>
        <element id="MedicationRequest.substitution">
            <path value="MedicationRequest.substitution" />
            <mustSupport value="true" />
        </element>
        <element id="MedicationRequest.substitution.allowed[x]">
            <path value="MedicationRequest.substitution.allowed[x]" />
            <comment value="This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.\nA missing value is the same as substitution allowed" />
            <type>
                <code value="boolean" />
            </type>
            <meaningWhenMissing value="A missing value is the same as substitution allowed" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Substitution till&#229;ten" />
            </mapping>
        </element>
        <element id="MedicationRequest.priorPrescription">
            <path value="MedicationRequest.priorPrescription" />
            <short value="A prescription that is being/has been replaced/renewed" />
            <definition value="When replacing or renewing a prescription, the version of the replaced/renewed prescription must be provided in the POST operation.\nWhen reading a prescription, the reference to the replaced/renewed prescription will not be version specific." />
            <type>
                <code value="Reference" />
                <targetProfile value="http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest" />
                <aggregation value="referenced" />
                <versioning value="either" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Referens till tidigare f&#246;rskrivning" />
            </mapping>
        </element>
        <element id="MedicationRequest.detectedIssue">
            <path value="MedicationRequest.detectedIssue" />
            <short value="Automatic Format and Constitution Control warning (AFF-varning)" />
            <definition value="Read only for MedicationRequest.\nAutomatic Format and Constitution Control (AFF) warning generated by the Swedish eHealth Agency according to the current conditions." />
            <type>
                <code value="Reference" />
                <targetProfile value="http://electronichealth.se/fhir/StructureDefinition/NLLDetectedIssue" />
                <aggregation value="contained" />
            </type>
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="AFF-varning" />
            </mapping>
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "id": "dcae1550-a48a-4d44-a431-73c47c9dd075",
    "meta": {
        "versionId": "1",
        "lastUpdated": "08/29/2024 09:26:59"
    },
    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest",
    "version": "1.4.1",
    "name": "NLLMedicationRequest",
    "status": "active",
    "date": "2024-08-29",
    "publisher": "Swedish eHealth Agency",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "EHM",
            "name": "E-hälsomyndigheten concept"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "MedicationRequest",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "MedicationRequest",
                "path": "MedicationRequest",
                "short": "A prescription for a patient",
                "definition": "MedicationRequest in the National Swedish Medication List is used for prescriptions for a patient.\nA prescription can be made for either a medicine package or for a reimbursed consumable."
            },
            {
                "id": "MedicationRequest.id",
                "path": "MedicationRequest.id",
                "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.\nThis id is identified by the URI http://electronichealth.se/identifier/nllmedicationrequestid in documentation and external systems.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivnings-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.meta",
                "path": "MedicationRequest.meta",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.meta.versionId",
                "path": "MedicationRequest.meta.versionId",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivningsversion"
                    }
                ]
            },
            {
                "id": "MedicationRequest.meta.security",
                "path": "MedicationRequest.meta.security",
                "mustSupport": true,
                "binding": {
                    "strength": "extensible",
                    "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/security-labels"
                }
            },
            {
                "id": "MedicationRequest.meta.security.system",
                "path": "MedicationRequest.meta.security.system",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.meta.security.version",
                "path": "MedicationRequest.meta.security.version",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.meta.security.code",
                "path": "MedicationRequest.meta.security.code",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.extension",
                "path": "MedicationRequest.extension",
                "min": 2
            },
            {
                "id": "MedicationRequest.extension:nllPatientTreatmentReason",
                "path": "MedicationRequest.extension",
                "sliceName": "nllPatientTreatmentReason",
                "short": "The treatment reason described for the patient",
                "definition": "The reason for the treatment described in a way that is understood by the patient (behandlingsändamål). \nA text can be selected from \"Nationell källa för ordinationsorsak\" (NKOO). It is also possible to enter free text. \nNKOO is a code system that is defined by the Swedish National Board of Health and Welfare (Socialstyrelsen). The code system consists of SnomedCT codes for reasons (behandlingsorsak). Each medical product has a selection of valid SnomedCT reason codes, and in connection with the codes are the available patient reasons. The corresponding patient text could be entered here in \"nllPatientTreatmentReason\", and the SnomedCT reason code (behandlingsorsak) should be entered in \"reasonCode\".",
                "comment": "Maximum string length: 256",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Behandlingsändamål"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllPrescriptionChain",
                "path": "MedicationRequest.extension",
                "sliceName": "nllPrescriptionChain",
                "short": "Prescription chain id",
                "definition": "Id used to identify all prescriptions in one prescription chain.\nA prescription chain is a set of prescriptions that are linked together in chronological order (The attribute priorPrescription is used to find the previos prescription.)\nA prescription chain is created ie when a prescription is renewed or replaced. The purpose is to be able to provide a grouping of related prescriptions.\nIf a Prescription chain id is not provided in a POST of a MedicationRequest, a new prescription chain id is set by the Swedish eHealth Agency when the prescription is created. Prescription chain id is available on all prescriptions.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivningskedje-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllPrescriptionFormat",
                "path": "MedicationRequest.extension",
                "sliceName": "nllPrescriptionFormat",
                "short": "Current prescription format",
                "definition": "Current prescription format can be either \"electronic\" (Elektroniskt) or \"paper\" (Papper). If the prescription has been printed out on paper, i.e. the format is \"paper\" , then the patient needs to bring the print-out with him to the pharmacy to be able to get a dispense.",
                "min": 1,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat"
                        ]
                    }
                ],
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/prescription-formats"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Aktuellt format"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllTreatmentDates",
                "path": "MedicationRequest.extension",
                "sliceName": "nllTreatmentDates",
                "definition": "Treatment dates as defined by the Swedish law \"Lag (2018:1212) om nationell läkemedelslista\", chapter 3, 8§, section 5. \nThe latest date when the medical treatment should be either reviewed or ended.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.extension:nllTreatmentDates.extension:treatmentReviewDate",
                "path": "MedicationRequest.extension.extension",
                "sliceName": "treatmentReviewDate",
                "short": "Treatment review date",
                "definition": "The latest date at which a review of the ongoing treatment must be made.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Senaste datum för uppföljning av behandling"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllTreatmentDates.extension:treatmentEndDate",
                "path": "MedicationRequest.extension.extension",
                "sliceName": "treatmentEndDate",
                "short": "Treatment end date",
                "definition": "The latest date at which the prescriber orders that the treatment must end.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Senaste datum för avslut av behandling"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllRegistrationBasis",
                "path": "MedicationRequest.extension",
                "sliceName": "nllRegistrationBasis",
                "short": "Format when the prescription was registered",
                "definition": "The format of the basis for the registration of the prescription. A prescriber can only register prescriptions in electronic format in the Swedish National Medication List. A pharmacy can also register a prescription based on  paper prescription, or based on a phone call from a prescriber.\nThis value is entered when creating the prescription, and is never updated.",
                "min": 1,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis"
                        ]
                    }
                ],
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/registration-basis"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Typ av registreringsunderlag"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllUsageDates",
                "path": "MedicationRequest.extension",
                "sliceName": "nllUsageDates",
                "short": "Usage dates",
                "definition": "Dates that are used for scheduling the use of the prescribed article.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.extension:nllUsageDates.extension:usageStartDate",
                "path": "MedicationRequest.extension.extension",
                "sliceName": "usageStartDate",
                "short": "When the patient should start using the medication.",
                "definition": "The date when the patient should start administering the medication according to the prescription.",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.extension:nllUsageDates.extension:usageEndDate",
                "path": "MedicationRequest.extension.extension",
                "sliceName": "usageEndDate",
                "short": "When the patient should stop using the medication.",
                "definition": "The date when the patient should stop administering the medication according to current prescription.",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.extension:nllUsageDates.extension:scheduleStartDate",
                "path": "MedicationRequest.extension.extension",
                "sliceName": "scheduleStartDate",
                "definition": "Set by the Swedish eHealth Agency.\nDate used in renewed prescriptions whith repeating dosages for calculating the current day in the schedule. Used for repeating dosages with \"time of day\" or \"when\" (sv tillfällesdosering) and a UsageStartDate (första doseringsdag).",
                "comment": "Schedule Start Date is a mechanism for calculating the current day in the schedule when a prescription with a repeating schedule has been renewed once or several times. Schedule Start Date is the original Usage Start Date form the first prescription when the schedule was defined. \nExample: The first prescription had a Usage Start Date which was 2020-08-23 and the schedule repeats every second day (\"Take every second day\"). Then the Schedule Start Date will be set to 2020-08-23 and togehter with the instructions of the schedule it is possible calculate which day of the schedule any given date will correspond to, ie a day when the patient should take the medication or a day when no medication should be administered.",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.extension:nllCompletePrescriptionChoice",
                "path": "MedicationRequest.extension",
                "sliceName": "nllCompletePrescriptionChoice",
                "short": "Prescription completion descision",
                "definition": "Only used for input.\nWhen 12% or less of the total quantity of the prescribed medication is left, the prescription will automatically be set to status \"Completed\". \nA 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\".",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLCompletePrescriptionChoice"
                        ]
                    }
                ],
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/complete-prescription-choices"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Beslut slutexpediering"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllOrdinationsId",
                "path": "MedicationRequest.extension",
                "sliceName": "nllOrdinationsId",
                "short": "OrdinationsId from OR (Receptdepå human)",
                "definition": "Calculated by the Swedish eHealth Agency. Not used for input.\nLegacy id used for identifying prescriptions which is used in the OR (Receptdepå human) API.\nIn OR this corresponds to ordinationsId, which is unique for each version of the prescription.\nThis attribute will be removed after the end of the transition period.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "OR-OrdinationsId"
                    }
                ]
            },
            {
                "id": "MedicationRequest.extension:nllTidigareOrdinationsid",
                "path": "MedicationRequest.extension",
                "sliceName": "nllTidigareOrdinationsid",
                "short": "Tidigare OrdinationsId OR (Receptdepå human)",
                "definition": "Calculated by the Swedish eHealth Agency. Not used for input.\nLegacy id used for identifying prescriptions which is used in the OR (Receptdepå human) API.\n\"Tidigare OrdinationsId\" is used for identifying a prior prescription originally created in OR (Receptdepå Human) .\nIn OR this corresponds to tidigareOrdinationsId.\nThis attribute will be removed after the end of the transition period.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLTidigareOrdinationsid"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Referens till tidigare OR-ordinations-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.identifier",
                "path": "MedicationRequest.identifier",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                },
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.identifier:NEF",
                "path": "MedicationRequest.identifier",
                "sliceName": "NEF",
                "short": "Legacy ids used in NEF and OR",
                "definition": "Ids used for identifying prescriptions originally created in NEF or OR.\nIn OR this corresponds to originalOrdinationsId, which is the same as PrescriptionSetId in NEF. In OR a originalOrdinationsId/PrescriptionSetId always correspons to one unique prescription.\nIn NEF the combination of PrescriptionSetId-PrescriptionItemId corresponds to one unique prescription.\nPrescriptionItemId is made up from RowId-ProductRowId.\noriginalOrdinationsId/PrescriptionSetId is in the form of a UUID.\nRowId and ProductRowId are counters.\nThese attributes will be removed after the end of the transition period.",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.identifier:NEF.extension:NEFIdParts",
                "path": "MedicationRequest.identifier.extension",
                "sliceName": "NEFIdParts",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLNEFId"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId",
                "path": "MedicationRequest.identifier.extension.extension",
                "sliceName": "PrescriptionSetId",
                "definition": "NEF: PrescriptionSetId, OR: Originalordinationsid is a legacy identifier used by NEF/PIRR and OR. Every prescription created by systems connected before Swedish National Medication List will have a PrescriptionSetId/orignalordinationsid. However, it does not allways identify a unique prescription. To search for a unique prescriptions the RowId/radnummer and ProductRowId/produktradnummer may be needed as well.",
                "comment": "Maximum string length: 36",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Originalordinations-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:PrescriptionSetId.value[x]",
                "path": "MedicationRequest.identifier.extension.extension.value[x]",
                "maxLength": 36
            },
            {
                "id": "MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:RowId",
                "path": "MedicationRequest.identifier.extension.extension",
                "sliceName": "RowId",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Radnummer"
                    }
                ]
            },
            {
                "id": "MedicationRequest.identifier:NEF.extension:NEFIdParts.extension:ProductRowId",
                "path": "MedicationRequest.identifier.extension.extension",
                "sliceName": "ProductRowId",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Produktradnummer"
                    }
                ]
            },
            {
                "id": "MedicationRequest.identifier:NEF.system",
                "path": "MedicationRequest.identifier.system",
                "min": 1,
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/NEFId",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.identifier:NEF.value",
                "path": "MedicationRequest.identifier.value",
                "short": "The complete NEFid",
                "definition": "Calculated by the Swedish eHealth Agency.\nThe complete NEFid for the specific prescribed article, i.e. a combination of PrescriptionSetId and PrescriptionItemId where applicable. \nPrescriptionItemId is made up from RowId-ProductRowId.\nIn OR only PrescriptionSetId/originalOrdinationsId is used.\noriginalOrdinationsId/PrescriptionSetId is in the form of a UUID.\nRowId and ProductRowId are counters.\nThe format is \"PrescriptionSetId/Originalordinationsid - PrescriptionItemid/RadnummerNEF\",  i.e. UUID-x-y. Example 123e4567-e89b-12d3-a456-426655440000-2-1, where the ending \"2-1\" are RowId-ProductRowId.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Kombinerat NEF-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.status",
                "path": "MedicationRequest.status",
                "short": "active | on-hold | cancelled | completed | stopped",
                "definition": "The status of the prescription. The following statuses will be used: active, cancelled, on-hold (suspended), completed and stopped. The following statuses will not be used: entered-in-error, draft and unknown.",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://electronichealth.se/fhir/ValueSet/medication-request-status"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivningsstatus"
                    }
                ]
            },
            {
                "id": "MedicationRequest.statusReason",
                "path": "MedicationRequest.statusReason",
                "definition": "Set by the Swedish E-health Agency.\nReason for the current status of the prescription.",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/medication-request-status-reasons"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivningsstatusorsak"
                    }
                ]
            },
            {
                "id": "MedicationRequest.statusReason.coding",
                "path": "MedicationRequest.statusReason.coding",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.statusReason.coding.system",
                "path": "MedicationRequest.statusReason.coding.system",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.statusReason.coding.version",
                "path": "MedicationRequest.statusReason.coding.version",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.statusReason.coding.code",
                "path": "MedicationRequest.statusReason.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.intent",
                "path": "MedicationRequest.intent",
                "short": "order",
                "definition": "A prescription is always an order.",
                "fixedCode": "order",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.priority",
                "path": "MedicationRequest.priority",
                "short": "urgent",
                "definition": "Shall only be used for dose dispensed prescriptions. Indicates that actions may need to be taken before next ordinary production date.",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://electronichealth.se/fhir/ValueSet/medication-request-priority"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Akut förändring"
                    }
                ]
            },
            {
                "id": "MedicationRequest.medication[x]",
                "path": "MedicationRequest.medication[x]",
                "short": "Prescribed article",
                "definition": "Identifies the medical product or medical consumable being prescribed. \nMedical products are prescribed using both NPL-id (medical product) and NPL-pack-id (packaged medical product).\nMedical consumables are prescribed using item number (sv varunummer).",
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Artikel"
                    }
                ]
            },
            {
                "id": "MedicationRequest.medication[x].coding",
                "path": "MedicationRequest.medication[x].coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].coding:nplid",
                "path": "MedicationRequest.medication[x].coding",
                "sliceName": "nplid",
                "short": "NPL-id",
                "definition": "A unique identifier of a medical product according to \"Nationellt produktregister för läkemedel\" provided by the Swedish Medical Products Agency (sv Läkemedelsverket)",
                "comment": "The naming system http://electronichealth.se/fhir/NamingSystem/nplid includes both NPL ID defined by Läkemedelsverket and SB ID defined by E-hälsomyndigheten",
                "max": "1",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "NPL-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.medication[x].coding:nplid.system",
                "path": "MedicationRequest.medication[x].coding.system",
                "min": 1,
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/nplid",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].coding:nplid.code",
                "path": "MedicationRequest.medication[x].coding.code",
                "comment": "Maximum string length: 14",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].coding:nplpackid",
                "path": "MedicationRequest.medication[x].coding",
                "sliceName": "nplpackid",
                "short": "NPL-pack-id",
                "definition": "A 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)",
                "comment": "The naming system http://electronichealth.se/fhir/NamingSystem/nplpackid includes both NPL-Pack ID defined by Läkemedelsverket and SB-Pack ID defined by E-hälsomyndigheten",
                "max": "1",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "NPL-pack-id"
                    }
                ]
            },
            {
                "id": "MedicationRequest.medication[x].coding:nplpackid.system",
                "path": "MedicationRequest.medication[x].coding.system",
                "min": 1,
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].coding:nplpackid.code",
                "path": "MedicationRequest.medication[x].coding.code",
                "comment": "Maximum string length: 14",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].coding:varunr",
                "path": "MedicationRequest.medication[x].coding",
                "sliceName": "varunr",
                "short": "Varunummer",
                "definition": "A unique identifier of a medical consumable according to \"Nationellt produktregister för läkemedel\" provided by the Swedish Medical Products Agency (sv Läkemedelsverket)\nAlso a non-unique identifier of a medical product package.",
                "max": "1",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Varunummer"
                    }
                ]
            },
            {
                "id": "MedicationRequest.medication[x].coding:varunr.system",
                "path": "MedicationRequest.medication[x].coding.system",
                "min": 1,
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/varunr",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].coding:varunr.code",
                "path": "MedicationRequest.medication[x].coding.code",
                "comment": "Minimum string length: 6\nMaximum string length: 6",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.medication[x].text",
                "path": "MedicationRequest.medication[x].text",
                "short": "Information about the prescribed article",
                "definition": "FOR FUTURE USE, SHOULD NOT BE USED!\nUsed to provide information about the prescribed article when a specified article isn´t available. For example when prescribing extemporaneous preparations.",
                "comment": "Max length: 255",
                "maxLength": 255,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Beskrivning artikel"
                    }
                ]
            },
            {
                "id": "MedicationRequest.subject",
                "path": "MedicationRequest.subject",
                "short": "Who the prescription is for",
                "definition": "Patient resource representing the person to whom the medical product will be given.\nWhen the patient has a Swedish personal identity number (personnummer) the patient shall be provided as a referenced Patient resorce. If the patient does not have a Swedish personal identity number the Patient resource should be contained in the MedicationRequest resource.",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPatient"
                        ],
                        "aggregation":  [
                            "contained",
                            "referenced"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Patientreferens"
                    }
                ]
            },
            {
                "id": "MedicationRequest.authoredOn",
                "path": "MedicationRequest.authoredOn",
                "short": "When prescription was initially authored",
                "definition": "The date and time when the prescription was authored.",
                "comment": "The time part is not mandatory, only a date may be provided.",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Utfärdandedatum"
                    }
                ]
            },
            {
                "id": "MedicationRequest.requester",
                "path": "MedicationRequest.requester",
                "short": "The practitioner who prescribed the article",
                "definition": "The practitioner who prescribed the article",
                "min": 1,
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
                        ],
                        "aggregation":  [
                            "contained"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Utfärdande förskrivare"
                    }
                ]
            },
            {
                "id": "MedicationRequest.reasonCode",
                "path": "MedicationRequest.reasonCode",
                "short": "Reason for the treatment",
                "definition": "The reason stated by the practitioner for ordering a medical product (behandlingsorsak). A code from \"Nationell källa för ordinationsorsak\" which is a code system that is defined by the Swedish National Board of Health and Welfare (Socialstyrelsen). The code system consists of SnomedCT codes for reasons. Each medical product has of a selection of valid SnomedCT reason codes.\nThe reason shall also be expressed in a way that can be easily understood by the patient (behandlingsändamål). This should be entered in nllPatientTreatmentReason.\nIf there is no available code that describes the reason, then the code \"OTH\" (Other) shall be used. In that case a text describing the reason must be provided in reasonCode.text.",
                "comment": "_",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://electronichealth.se/fhir/ValueSet/nll-snomed-behandlingsorsak"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Behandlingsorsak"
                    }
                ]
            },
            {
                "id": "MedicationRequest.reasonCode.extension:nlldataAbsentReason",
                "path": "MedicationRequest.reasonCode.extension",
                "sliceName": "nlldataAbsentReason",
                "short": "masked",
                "definition": "Marks masked data, ie why data is missing.",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
                        ]
                    }
                ],
                "mustSupport": true,
                "isModifier": false,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://electronichealth.se/fhir/ValueSet/data-absent-reason"
                }
            },
            {
                "id": "MedicationRequest.reasonCode.extension:nlldataAbsentReason.value[x]",
                "path": "MedicationRequest.reasonCode.extension.value[x]",
                "short": "Masked"
            },
            {
                "id": "MedicationRequest.reasonCode.coding",
                "path": "MedicationRequest.reasonCode.coding",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.reasonCode.coding.system",
                "path": "MedicationRequest.reasonCode.coding.system",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.reasonCode.coding.version",
                "path": "MedicationRequest.reasonCode.coding.version",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.reasonCode.coding.code",
                "path": "MedicationRequest.reasonCode.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.reasonCode.text",
                "path": "MedicationRequest.reasonCode.text",
                "short": "Other reason",
                "definition": "If no code could be chosen from \"Nationell källa för ordinationsorsak\" an other reason may be entered here.",
                "comment": "Maximum string length: 255",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Beskrivning annan behandlingsorsak"
                    }
                ]
            },
            {
                "id": "MedicationRequest.note",
                "path": "MedicationRequest.note",
                "definition": "Prescriptions in the Swedish National Medication List can contain 4 different kinds of notes:\npre=Prescribers comment (Förskrivarens kommentar, read/write)\npha=Pharmacists comment (Apotekets kommentar, read/write)\nnot=Prescribers note (Notat förskrivare, read only, will be deprecated)\ndli=Delivery message (Leveransmeddelande, read only, will be deprecated)",
                "max": "4",
                "type":  [
                    {
                        "code": "Annotation",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLAnnotation"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Apotekets kommentar, Förskrivarens kommentar, Leveransmeddelande, Notat förskrivare"
                    }
                ]
            },
            {
                "id": "MedicationRequest.note.extension:nllMedReqNoteType",
                "path": "MedicationRequest.note.extension",
                "sliceName": "nllMedReqNoteType",
                "short": "Type of note"
            },
            {
                "id": "MedicationRequest.note.text",
                "path": "MedicationRequest.note.text",
                "comment": "Maximum string length prescribers comment (Förskrivarens kommentar): 35\nMaximum string length pharmacists comment (Apotekets kommentar): 512\nMaximum string length prescribers note (Notat förskrivare): 255\nMaximum string length delivery message (Leveransmeddelande): 35"
            },
            {
                "id": "MedicationRequest.dosageInstruction",
                "path": "MedicationRequest.dosageInstruction",
                "short": "How the medication should be taken",
                "definition": "Mandatory for medications and technical spirit",
                "type":  [
                    {
                        "code": "Dosage",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLDosage"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction",
                "path": "MedicationRequest.dosageInstruction.extension",
                "sliceName": "nllAdministeringInstruction"
            },
            {
                "id": "MedicationRequest.dosageInstruction.extension:nllAdministeringInstruction.value[x]",
                "path": "MedicationRequest.dosageInstruction.extension.value[x]",
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Administreringsinstruktion"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dosageInstruction.patientInstruction",
                "path": "MedicationRequest.dosageInstruction.patientInstruction",
                "definition": "Dosage instructions in terms that are understood by the patient."
            },
            {
                "id": "MedicationRequest.dispenseRequest",
                "path": "MedicationRequest.dispenseRequest",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Expedieringsdetaljer"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension",
                "path": "MedicationRequest.dispenseRequest.extension",
                "min": 3
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllNumberOfPackagesPrescribed",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllNumberOfPackagesPrescribed",
                "short": "Number of packages prescribed per dispense",
                "definition": "The number of packages prescribed per dispense. Not used for dose dispensed prescriptions.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesPrescribed"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Antal förpackningar per uttag"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllDosePackaging",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllDosePackaging",
                "short": "Dose dispensed prescription",
                "definition": "Indicates if the prescription should be dose dispensed.",
                "min": 1,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Dosdispensering"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllPrescriptionCommunicableDiseasesAct",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllPrescriptionCommunicableDiseasesAct",
                "short": "Prescription according to the Communicable Diseases Act",
                "definition": "Indicates of the prescription is created according to the Communicable Diseases Act (Smittskyddslagen)",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivning enligt smittskyddslagen"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllPatientPharmaceuticalBenefitsAct",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllPatientPharmaceuticalBenefitsAct",
                "short": "Patient eligible to benefits",
                "definition": "Indicates if the patient is eligible to benefits according to the Pharmaceutical Benefits Act (Lag (2002:160) om läkemedelsförmån)",
                "min": 1,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Patient förmånsberättigad"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllConditionsPharmaceuticalBenefitsAct",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllConditionsPharmaceuticalBenefitsAct",
                "short": "Pharmaceutical benefits act conditions",
                "definition": "Only relevant if the medication has restrictions for reimbursement.\nIndicates if the patient fulfills the conditions for the prescribed medication.",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förmånsvillkor uppfyllda"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllTotalQuantity",
                "short": "Amount of medication to supply in total",
                "definition": "Amount of medication to supply in total for this prescription. Calculated be the Swedish E-health Agency.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed",
                "path": "MedicationRequest.dispenseRequest.extension.extension",
                "sliceName": "prescribed",
                "short": "Total amount prescribed",
                "definition": "Total amount prescribed in this prescription. Calculated by the Swedish e-health Agency. Not used for dose dispensed prescriptions.\nThe unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskriven mängd"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x]",
                "path": "MedicationRequest.dispenseRequest.extension.extension.value[x]",
                "min": 1
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:prescribed.value[x].value",
                "path": "MedicationRequest.dispenseRequest.extension.extension.value[x].value",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining",
                "path": "MedicationRequest.dispenseRequest.extension.extension",
                "sliceName": "remaining",
                "short": "Quantity remaining",
                "definition": "The remaining quantity that may be dispensed for this prescription. Calculated by the Swedish e-health Agency.  Not used for dose dispensed prescriptions.\nThe unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Kvarvarande mängd"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x]",
                "path": "MedicationRequest.dispenseRequest.extension.extension.value[x]",
                "min": 1
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllTotalQuantity.extension:remaining.value[x].value",
                "path": "MedicationRequest.dispenseRequest.extension.extension.value[x].value",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllBenefitDetails",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllBenefitDetails",
                "short": "Benefit calculation information",
                "definition": "Information needed for calculating benefit",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLBenefitDetails"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantityUnfeasible",
                "path": "MedicationRequest.dispenseRequest.extension.extension",
                "sliceName": "dailyBenefitQuantityUnfeasible",
                "short": "Indication if daily quantity can't be calculated",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:dailyBenefitQuantity",
                "path": "MedicationRequest.dispenseRequest.extension.extension",
                "sliceName": "dailyBenefitQuantity",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllBenefitDetails.extension:nextDispenseWithinBenefit",
                "path": "MedicationRequest.dispenseRequest.extension.extension",
                "sliceName": "nextDispenseWithinBenefit",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllNumberOfFillsRemaining",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllNumberOfFillsRemaining",
                "short": "Number of fills remaining",
                "definition": "The number of fills this prescriptions has remaining. Calculated by the Swedish E-health Agency. Not used for dose dispensed prescriptions.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfFillsRemaining"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Antal uttag kvar"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllReceivingPharmacy",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllReceivingPharmacy",
                "short": "Receiving Pharmacy",
                "definition": "Receiving Pharmacy is used when the patient does not have a Swedish national identification number (\"personnummer\"). The patient has to pick up his/her medication at the receiving pharmacy where he/she is identified through name, birthdate and sex.\nThe receiving pharmacy is tied to the physical adress. This means that if the premises are taken over by a different organization, the prescription will still be available at the same physical adress,",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPharmacyReference"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Mottagande apotek"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllPrescriberCostCenter",
                "short": "The prescribers cost center",
                "definition": "The prescribers cost center code when making the prescription. Used for benefit billing within the regions.",
                "comment": "Minimum string length: 3\nMaximum string length: 13",
                "min": 1,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Kostnadsställe (arbetsplatskod)"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x]",
                "path": "MedicationRequest.dispenseRequest.extension.value[x]"
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllPrescriberCostCenter.value[x].value",
                "path": "MedicationRequest.dispenseRequest.extension.value[x].value",
                "maxLength": 13
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllSubstitutionOpposed",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllSubstitutionOpposed",
                "short": "Substitution opposed",
                "definition": "Only used for dose dispensed prescriptions.\nSubstitution is opposed (sv: bytes ej) by either the pharmacist or the patient. This information can be saved on the prescription as the patient isn't present when the dispensing takes place.",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLSubstitutionOpposed"
                        ]
                    }
                ],
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://ehalsomyndigheten.se/fhir/ValueSet/substitution-opposition-types"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Bytes ej"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllNumberOfDispensesAllowed",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllNumberOfDispensesAllowed",
                "short": "Number of dispenses allowed",
                "definition": "Number of dispenses allowed (sv. förskrivet antal uttag) is the common way in Sweden of communicating the total number of dispenses that can be performed. The standard field number of repeats allowed is similar but does not include the first dispense. The two terms are related by the formula numberOfRepeatsAllowed +1 = numberOfDispensesAllowed.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfDispensesAllowed"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivet antal uttag"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval",
                "path": "MedicationRequest.dispenseRequest.extension",
                "sliceName": "nllNextDateDispenseInterval",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLNextDateDispenseInterval"
                        ]
                    }
                ],
                "mustSupport": true,
                "isModifier": false
            },
            {
                "id": "MedicationRequest.dispenseRequest.extension:nllNextDateDispenseInterval.url",
                "path": "MedicationRequest.dispenseRequest.extension.url",
                "fixedUri": "http://electronichealth.se/fhir/StructureDefinition/nllNextDateDispenseInterval"
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill",
                "path": "MedicationRequest.dispenseRequest.initialFill",
                "short": "Indication for Trial Fill",
                "definition": "Used for indicating \"Trial Fill\". May only be one package, usually the smallest package available. Not used for dose dispensed prescriptions.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Startförpackning"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill.quantity",
                "path": "MedicationRequest.dispenseRequest.initialFill.quantity",
                "short": "Trial fill quantity, one package",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill.quantity.value",
                "path": "MedicationRequest.dispenseRequest.initialFill.quantity.value",
                "min": 1,
                "fixedDecimal": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill.quantity.unit",
                "path": "MedicationRequest.dispenseRequest.initialFill.quantity.unit",
                "fixedString": "Package",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill.quantity.system",
                "path": "MedicationRequest.dispenseRequest.initialFill.quantity.system",
                "fixedUri": "http://unitsofmeasure.org",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill.quantity.code",
                "path": "MedicationRequest.dispenseRequest.initialFill.quantity.code",
                "min": 1,
                "fixedCode": "{Package}",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.initialFill.duration",
                "path": "MedicationRequest.dispenseRequest.initialFill.duration",
                "max": "0"
            },
            {
                "id": "MedicationRequest.dispenseRequest.dispenseInterval",
                "path": "MedicationRequest.dispenseRequest.dispenseInterval",
                "definition": "The minimum period of time that must occur between dispenses of the medical product. Not used for dose dispensed prescriptions.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Expedieringsintervall"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.dispenseInterval.value",
                "path": "MedicationRequest.dispenseRequest.dispenseInterval.value",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.dispenseInterval.system",
                "path": "MedicationRequest.dispenseRequest.dispenseInterval.system",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.dispenseInterval.code",
                "path": "MedicationRequest.dispenseRequest.dispenseInterval.code",
                "min": 1,
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://electronichealth.se/fhir/ValueSet/dispense-interval-units"
                },
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Expedieringsintervall enhet"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.validityPeriod",
                "path": "MedicationRequest.dispenseRequest.validityPeriod",
                "definition": "This indicates the validity period of a prescription (stale dating the Prescription). I no validityPeriod.end is provided, then it will be calculated by the Swedish E-health Agency. The validity period may not be longer than one year.",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.dispenseRequest.validityPeriod.extension:nllFirstDispenseBefore",
                "path": "MedicationRequest.dispenseRequest.validityPeriod.extension",
                "sliceName": "nllFirstDispenseBefore",
                "short": "First dispense must occur before",
                "definition": "Not used for dose dispensed prescriptions\nThe first dispense must occur before this date. If not, the prescription will be invalidated.",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLFirstDispenseBefore"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Första uttag före"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.validityPeriod.end",
                "path": "MedicationRequest.dispenseRequest.validityPeriod.end",
                "short": "Last date when dispensing is allowed",
                "definition": "Last date when dispensing is allowed. If no date is provided it will be calculated by the Swedish E-health Agency.\nNB! This is only handled as a date, the time part of the dateTime is not used.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Sista giltighetsdag"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
                "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
                "definition": "Not used for dose dispensed prescriptions.\nAn integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.  A prescriber may explicitly say that zero refills are permitted after the initial dispense.",
                "comment": "If using this as basis for displaying \"total number of authorized fills\", add 1 to this number. This is because the total number of dispenses is the original dispense + additional dispenses stipulated by \"number of repeats allowed\".",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskrivet antal uttag",
                        "comment": "NB! Förskrivet antal uttag -1"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.quantity",
                "path": "MedicationRequest.dispenseRequest.quantity",
                "definition": "The amount that is to be dispensed for one fill.\nThe unit used is the unit specified in VARA (the Swedish national registry for medical products) for the prescribed medical product.\nCalculated by the Swedish E-health Agency based on nllNumberOfPackagesPrescibed and the quantity of medication in the package.\nNot used for dose dispensed prescriptions.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskriven mängd per uttag"
                    }
                ]
            },
            {
                "id": "MedicationRequest.dispenseRequest.quantity.value",
                "path": "MedicationRequest.dispenseRequest.quantity.value",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förskriven mängd per uttag"
                    }
                ]
            },
            {
                "id": "MedicationRequest.substitution",
                "path": "MedicationRequest.substitution",
                "mustSupport": true
            },
            {
                "id": "MedicationRequest.substitution.allowed[x]",
                "path": "MedicationRequest.substitution.allowed[x]",
                "comment": "This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.\nA missing value is the same as substitution allowed",
                "type":  [
                    {
                        "code": "boolean"
                    }
                ],
                "meaningWhenMissing": "A missing value is the same as substitution allowed",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Substitution tillåten"
                    }
                ]
            },
            {
                "id": "MedicationRequest.priorPrescription",
                "path": "MedicationRequest.priorPrescription",
                "short": "A prescription that is being/has been replaced/renewed",
                "definition": "When replacing or renewing a prescription, the version of the replaced/renewed prescription must be provided in the POST operation.\nWhen reading a prescription, the reference to the replaced/renewed prescription will not be version specific.",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
                        ],
                        "aggregation":  [
                            "referenced"
                        ],
                        "versioning": "either"
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Referens till tidigare förskrivning"
                    }
                ]
            },
            {
                "id": "MedicationRequest.detectedIssue",
                "path": "MedicationRequest.detectedIssue",
                "short": "Automatic Format and Constitution Control warning (AFF-varning)",
                "definition": "Read only for MedicationRequest.\nAutomatic Format and Constitution Control (AFF) warning generated by the Swedish eHealth Agency according to the current conditions.",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLDetectedIssue"
                        ],
                        "aggregation":  [
                            "contained"
                        ]
                    }
                ],
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "AFF-varning"
                    }
                ]
            }
        ]
    }
}
MedicationRequest..
MedicationRequest.id..
MedicationRequest.meta..
MedicationRequest.meta.versionId..
MedicationRequest.meta.security..
MedicationRequest.meta.security.system..
MedicationRequest.meta.security.version..
MedicationRequest.meta.security.code..
MedicationRequest.extension2..
MedicationRequest.extensionExtension..1
MedicationRequest.extensionExtension..1
MedicationRequest.extensionExtension1..1
MedicationRequest.extensionExtension..1
MedicationRequest.extension.extension..
MedicationRequest.extension.extension..
MedicationRequest.extensionExtension1..1
MedicationRequest.extensionExtension..1
MedicationRequest.extension.extension..
MedicationRequest.extension.extension..
MedicationRequest.extension.extension..
MedicationRequest.extensionExtension..1
MedicationRequest.extensionExtension..1
MedicationRequest.extensionExtension..1
MedicationRequest.identifier..
MedicationRequest.identifier..1
MedicationRequest.identifier.extensionExtension..1
MedicationRequest.identifier.extension.extension..
MedicationRequest.identifier.extension.extension.value[x]..
MedicationRequest.identifier.extension.extension..
MedicationRequest.identifier.extension.extension..
MedicationRequest.identifier.system1..
MedicationRequest.identifier.value..
MedicationRequest.status..
MedicationRequest.statusReason..
MedicationRequest.statusReason.coding..1
MedicationRequest.statusReason.coding.system1..
MedicationRequest.statusReason.coding.version..
MedicationRequest.statusReason.coding.code1..
MedicationRequest.intent..
MedicationRequest.priority..
MedicationRequest.medication[x]CodeableConcept..
MedicationRequest.medication[x].coding1..
MedicationRequest.medication[x].coding..1
MedicationRequest.medication[x].coding.system1..
MedicationRequest.medication[x].coding.code1..
MedicationRequest.medication[x].coding..1
MedicationRequest.medication[x].coding.system1..
MedicationRequest.medication[x].coding.code1..
MedicationRequest.medication[x].coding..1
MedicationRequest.medication[x].coding.system1..
MedicationRequest.medication[x].coding.code1..
MedicationRequest.medication[x].text..
MedicationRequest.subjectReference(NLLPatient)..
MedicationRequest.authoredOn1..
MedicationRequest.requesterReference(NLLPractitioner)1..
MedicationRequest.reasonCode..
MedicationRequest.reasonCode.extensionExtension..
MedicationRequest.reasonCode.extension.value[x]..
MedicationRequest.reasonCode.coding1..1
MedicationRequest.reasonCode.coding.system..
MedicationRequest.reasonCode.coding.version..
MedicationRequest.reasonCode.coding.code1..
MedicationRequest.reasonCode.text..
MedicationRequest.noteNLLAnnotation..4
MedicationRequest.note.extension..
MedicationRequest.note.text..
MedicationRequest.dosageInstructionNLLDosage..
MedicationRequest.dosageInstruction.extension..
MedicationRequest.dosageInstruction.extension.value[x]..
MedicationRequest.dosageInstruction.patientInstruction..
MedicationRequest.dispenseRequest1..
MedicationRequest.dispenseRequest.extension3..
MedicationRequest.dispenseRequest.extensionExtension..1
MedicationRequest.dispenseRequest.extensionExtension1..
MedicationRequest.dispenseRequest.extensionExtension..
MedicationRequest.dispenseRequest.extensionExtension1..
MedicationRequest.dispenseRequest.extensionExtension..
MedicationRequest.dispenseRequest.extensionExtension..1
MedicationRequest.dispenseRequest.extension.extension..
MedicationRequest.dispenseRequest.extension.extension.value[x]1..
MedicationRequest.dispenseRequest.extension.extension.value[x].value..
MedicationRequest.dispenseRequest.extension.extension..
MedicationRequest.dispenseRequest.extension.extension.value[x]1..
MedicationRequest.dispenseRequest.extension.extension.value[x].value..
MedicationRequest.dispenseRequest.extensionExtension..
MedicationRequest.dispenseRequest.extension.extension..
MedicationRequest.dispenseRequest.extension.extension..
MedicationRequest.dispenseRequest.extension.extension..
MedicationRequest.dispenseRequest.extensionExtension..1
MedicationRequest.dispenseRequest.extensionExtension..1
MedicationRequest.dispenseRequest.extensionExtension1..1
MedicationRequest.dispenseRequest.extension.value[x]..
MedicationRequest.dispenseRequest.extension.value[x].value..
MedicationRequest.dispenseRequest.extensionExtension..
MedicationRequest.dispenseRequest.extensionExtension..1
MedicationRequest.dispenseRequest.extensionExtension..1
MedicationRequest.dispenseRequest.extension.url..
MedicationRequest.dispenseRequest.initialFill..
MedicationRequest.dispenseRequest.initialFill.quantity1..
MedicationRequest.dispenseRequest.initialFill.quantity.value1..
MedicationRequest.dispenseRequest.initialFill.quantity.unit..
MedicationRequest.dispenseRequest.initialFill.quantity.system..
MedicationRequest.dispenseRequest.initialFill.quantity.code1..
MedicationRequest.dispenseRequest.initialFill.duration..0
MedicationRequest.dispenseRequest.dispenseInterval..
MedicationRequest.dispenseRequest.dispenseInterval.value1..
MedicationRequest.dispenseRequest.dispenseInterval.system..
MedicationRequest.dispenseRequest.dispenseInterval.code1..
MedicationRequest.dispenseRequest.validityPeriod..
MedicationRequest.dispenseRequest.validityPeriod.extensionExtension..1
MedicationRequest.dispenseRequest.validityPeriod.end..
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed..
MedicationRequest.dispenseRequest.quantity..
MedicationRequest.dispenseRequest.quantity.value..
MedicationRequest.substitution..
MedicationRequest.substitution.allowed[x]boolean..
MedicationRequest.priorPrescriptionReference(NLLMedicationRequest)..
MedicationRequest.detectedIssueReference(NLLDetectedIssue)..

Contained resources

References to other resources are based on contained resources in the following cases.

Element Resource Case
subject Patient When a patient is identified by name and birthdate only
requester Practitioner Always
dispenseRequest.nllReceivingPharmacy Location Always

For more information about references and contained resources see Resources - References.

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

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 request statuses

The following statuses are used within the National Medication List for prescriptions. For some updates additional information about the reason for change of status is automatically added, see value set Förskrivningsstatusorsak (medication-request-status-reasons).

Parameter Comment
active The prescription is available for dispatching (sv: Aktiv).
on-hold The prescription is NOT available for dispatching (sv: Parkerad).
cancelled MedicationRequest was faulty registered e.g. wrong medication or patient (sv: Makulerad).
completed All dispatches have been done for the MedicationRequest (sv: Slutexpedierad).
stopped MedicationRequest is no longer available for dispatches, e.g. due to the validity period dates have passed (sv: Avslutad).

See Value Set Förskrivningsstatus (medication-request-status).

Prescription chains

One of the features in the National Medication List is prescription chains. A prescription chain is a sequence of prescriptions where an old prescription has been terminated and replaced by a new prescription.

MedicationRequest.extension:nllPrescriptionChain is set by the National Medication List on all new prescriptions so from a technical point of view all precriptions are part of a chain. However the term prescription chain refers to when there are two or more prescriptions with the same chain ID.

A prescription chain is created when a prescription is replaced (sv. Ersätts) or renewed (sv. Förnyas). To replace or renew a prescription, it is required that the chain ID element, MedicationRequest.extension:nllPrescriptionChain, is included in the POST MedcationRequest request. The new prescription will then have the same chain ID as the old prescription and MedicationRequest.priorPrescription will be set to refer to the old prescription.

It is possible to fetch all prescriptions that are part of a chain via the prescription chain ID, ../MedicationRequest?nllPrescriptionChain=[UUID]. See below for more search options.

In order to sort all prescriptions in the chain in chronological order the element MedicationRequest.priorPrescription is used. It points at the prior prescription in the chain so the first prescription in the chain has no prior prescription, or a prior prescription that is missing because old records has reached end of life and have been removed. The second prescription in the chain points at the first one and so on. The chain may also include cancelled (sv. makulera) prescriptions, i.e. a prescription that was never used. It is therefore possible that more than one prescription points at the same prior prescription.

Below is an example of how a prescriptions in a prescription chain may be linked together:

prescription-chain-illustration

Parallel prescriptions in a prescription chain

There is a special case when two (and only two) prescriptions in the same prescription chain may have the statuses 'active', 'completed' or 'on-hold' during the same point in time. This means that there can be two prescriptions in the same prescription chain that may authorize dispensing at the same time.

A parallel prescription is created when a future change of a treatment is needed and two prescriptions are created in the same prescription chain. As the change is in the future the patient may need to be able to get dispenses authorized by both parallel prescriptions.

For parallel prescriptions, the usage start date of the new prescription must be on the following day compared to the usage end date of the prior prescription.

Read the Handbok för vård- och apotekstjänster for more details about parallel prescriptions. Also note that there are requirements about how parallel prescriptions are presented in the user interface.

Some scenarios regarding parallell prescriptions are supported by the profile NLLPrescriptionBundle which is described in this implementation guide NLLPrescriptionBundle

prescription-active-parallell

The active prescriptions in the picture above can be changed in different ways according to the rules described in the Handbok för vård- och apotekstjänster. One possible outcome is that the Active Prescription 3 could point at a cancelled prescription as its prior prescription, which would happen if prescription 2 in the picture is cancelled.

Annotations

The annotation element is profiled to handle four different type of notes: the prescriber's comment (sv förskrivarens kommentar), the pharmacy's comment (sv apotekets kommentar), legacy delivery message (sv leveransmeddelande) and legacy prescribers note (sv: notat förskrivare).

Supported operations

HTTP methods

Operation Supported Comment
Search (GET, POST) yes See below for supported search options.
Insert (POST) yes Create a new prescription.
Update (PUT) yes Change a prescription. Only a limited set of attributes can be updated.
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 are:

  1. ../MedicationRequest/[id]

  2. ../MedicationRequest/[id]/_history{/[vid]}

  3. ../MedicationRequest?[parameters]
    Parameter chains:

    Chain 1
    patient._id=[id]|nllPrescriptionChain=[UUID]
    {&status=[code]}
    {&authoredon=ge[date]{&authoredon=le[date]}}

    Chain 2
    nllReceivingPharmacy.identifier=[GLN]
    &patient.birthdate=[date]|&authoredon=ge[date]{&authoredon=le[date]} (Deprecated parameter: birthdate ) {&patient.birthdate=[date]}(Deprecated parameter: birthdate )
    {&authoredon=ge[date]{&authoredon=le[date]}}
    {&status=[code]}

    Chain 3
    prescriptionSetId=[id]
    {&rowId=[id]{&productRowId=[id]}}

    Chain 4
    provenance._id=[id]

    Chain 5
    nllOrdinationsId=[id]

Compartment searches

Supported searches on a compartment. This kind of search returns a bundle with the related resources.

  1. ../MedicationRequest?_id=[id]{,[id] ...} returns all MedicationRequests for the specified list of logical ids. The size of the list is restricted by the max length allowed for the URL.

  2. ../MedicationRequest/[id]/Provenance returns all related Provenances.

  3. ../MedicationRequest/[id]/MedicationDispense returns all related MedicationDispenses (only NLLMedicationDispense).

  4. ../Provenance/[id]/MedicationRequest returns all related MedicationRequests.

  5. ../Patient/[id]/MedicationRequest{?[parameters]} returns all related MedicationRequests for the specified patient matching the optional parameters.

    parameters - any combination of:

    {nllPrescriptionChain=[uuid]}
    {&}{authoredon=ge[date]{&authoredon=le[date]}}
    {&}{status=[code]}

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. Revinclude are supported by this resource.

  1. ../MedicationRequest?[parameters]&_revinclude=MedicationDispense:prescription returns a medication request together with all related medication dispenses. See above for a list of valid parameters.

  2. ../MedicationRequest?[parameters]&_revinclude=Provenance:target:MedicationRequest returns one or more MedicationRequests together with their Provenances. The Provenance returned is the one pointing at the returned version of the MedicationRequest. See above for a list of valid parameters.

Exampels

  • ../Patient/[id]/MedicationRequest?status=active&_revinclude=MedicationDispense:prescription returns all active MedicationRequests including their MedicationDispenses for the specified patient.
  • ../MedicationRequest?patient._id=<uuid>&status=active&_revinclude=Provenance:target:MedicationRequest returns the patient's active MedicationReqeusts including one provenance per medication request.

For generic information about how to search in FHIR look here.

Search parameters

The table below shows all supported search parameters.

Parameter Description Comment
MedicationRequest/[id] A read based on the logical ID (UUID) of a medication request
../MedicationRequest/<uuid>
_history A vread to get all versions of a prescription
../MedicationRequest/<uuid>/_history
_history/[vid] A vread to get a specific version of a prescription
../MedicationRequest/<uuid>/_history/3
authoredon Authored date intervall of a prescription
..?authoredon=le2021-01-20&authoredon=ge2021-02-01
Supported prefix: le and ge.
When searching on nllReceivingPharmacy.identifier one of authoredon and patient.birthdate must be included.
patient.birthdate
(deprecated parameter 'birthdate')
Birthdate of a patient
..&patient.birthdate=2021-01-20
When searching on nllReceivingPharmacy.identifier one of authoredon and patient.birthdate must be included.
nllPrescriptionChain ID of a prescription chain (UUID)
..?nllPrescriptionChain=<uuid>
nllOrdinationsId OrdinationsId from OR (Receptdepå human).
..?nllOrdinationsId=25149
nllReceivingPharmacy.identifier A pharmacy's business identifier number (GLN)
..?nllReceivingPharmacy.identifier=1234567890123
A prescription is bound to a specific pharmacy if the patient has no identification number
patient._id Logical ID (UUID) of a patient
..?patient._id=<uuid>
prescriptionSetId ID on migrated prescription originally created in NEF/PIRR and OR
..?prescriptionSetId=<uuid>
productRowId Additional ID on some prescriptions originally created in NEF/PIRR and OR
..&productRowId=761456987
prescriptionSetId + rowId + productRowId is in some cases needed to identify a prescription in NLL
provenance._id Logical ID (UUID) of a provenance
..&provenance._id=<uuid>
rowId Additional ID on some prescriptions originally created in NEF/PIRR and OR
..&rowId=321654987
prescriptionSetId + rowId is in some cases needed to identify a prescription in NLL
status Comma separated list of prescription status
..&status=active,on-hold
Se above for a list of all statuses
_revinclude Related resources of the specified type to include in the response
..&_revinclude=MedicationDispense:prescription
See HL7 Include other resources for more information
_id A list of logical ID (UUID) for the medication requests to fetch
MedicationRequest?_id=[id]{,[id]...}
Max length of list is restricted by the max length of the URL.

Other operations

Operation Comment
$cancel-prescription

Invocations

URL: [base]/MedicationRequest/[id]/$cancel-prescription

This operation changes content

Return Values (Out)

NameCardinalityTypeDocumentation
result0..1boolean

In the case of a successfull call, the result is set to "true"

message0..1string

A message is returned in the case of a successfull call.

$cancel-prescription is now obsolete and is planned to be removed in a future major release. The operation $end is the recommended operation for cancelling prescriptions.

Can be invoked with a HTTP POST.

This operation is used when it is not possible to fetch a patient's medication list, which is the case when the patient does not have a Swedish national identification number (sv personnummer), i.e. the prescription was created using birthdate instead of identity number. N.B. In order to do so the ID of the prescription must be stored by the requestor when creating the prescription.

$end

Invocations

URL: [base]/MedicationRequest/$end

This operation changes content

Parameters (In)

NameCardinalityTypeDocumentation
entry1..*

Data about the MedicationRequest(s) that shall be stopped (sv Avsluta) or cancelled (sv Makulera).

entry.resource0..1Reference(NLLReference)

NB! Either a reference OR a NEF-id (PrescriptionSetId, RowId and ProductRowId) must be provided. Reference to a MedicationRequest that shall be stopped (sv Avsluta) or cancelled (sv Makulera) on either of the following formats MedicationRequest/[id] OR MedicationRequest/[id]/_history/[vid]. In the case that the reference contains a specific version (/_history/[vid]) the version-information will be ignored.

entry.PrescriptionSetId0..1string

NB! Either a reference OR a NEF-id (PrescriptionSetId, RowId and ProductRowId) must be provided. The PrescriptionSetId used in the NEF-id. Can be in combination with RowId and ProductRowId. The provided combination of NEF-id-parts must resolve to a uniqe prescription. (sv Originalordinations-id)

entry.RowId0..1positiveInt

The RowId used in the NEF-id. Used in combination with PrescriptionSetId and ProductRowId. (sv Radnummer)

entry.ProductRowId0..1positiveInt

The ProductRowId used in the NEF-id. Used in combination with PrescriptionSetId and RowId. (sv Produktradnummer)

entry.reason1..1CodeableConcept(NLLProvenanceReason)

Reason the activity is occurring. Will be used in the linked Provenance. (sv Händelseorsak)

entry.activity1..1CodeableConcept(NLLProvenanceActivity)

Activity that occurred. Will be used in the linked Provenance. (sv Händelsetyp)

entry.nllUsageEndDate0..1

End date for dosage usage (sv: Sista doseringsdag)

entry.nllUsageEndDate.operationType1..1code

replace | delete The operation that should be applied on the UsageEndDate. It can be replaced with a new date, or it can be deleted.

entry.nllUsageEndDate.date0..1date

The date value that UsageEndDate shall get. Used in combination with the OperationType "replace".

entry.nllTreatmentEndDate0..1

Last date for ending this treatment (sv: Senaste datum för avslut)

entry.nllTreatmentEndDate.operationType1..1code

replace | delete The operation that should be applied on the TreatmentEndDate. It can be replaced with a new date, or it can be deleted.

entry.nllTreatmentEndDate.date0..1date

The date value that TreatmentEndDate shall get. Used in combination with the OperationType "replace".

Return Values (Out)

NameCardinalityTypeDocumentation
result0..1boolean

In the case of a successfull call, the result is set to "true"

Can be invoked with a HTTP POST. This operation is used for stopping (sv Avsluta) or cancelling (sv Makulera) one or several prescriptions using their logical ids. In the case of an unsuccessfull transaction, an OperationOutcom is returned.

$monitoring

Invocations

URL: [base]/MedicationRequest/$monitoring

This operation does NOT change content

Parameters (In)

NameCardinalityTypeDocumentation
pnr1..50string

List of patient personal identity numbers (sv personnummer). Currently this is only supported for patients with dose dispensed prescriptions (sv dospatient)

fromDate0..1date

Search for the selected patients' updated MedicationRequests from the specified date.

One of either fromDate or toDate must be provided. fromDate must NOT be provided if a toDate is provided

fromDate MUST<= today's date AND >= today's date - 60.

toDate0..1date

Search for the selected patients' MedicationRequests up to the date in MedicationRequest.dispenseRequest.validityPeriod.end (sv Sista giltighetsdag).

One of either fromDate or toDate must be provided. toDate must NOT be provided if a fromDate is provided

toDate MUST >= today's date AND <= today's date + 90.

Return Values (Out)

NameCardinalityTypeDocumentation
return1..1Bundle

The returned Bundle contains MedicationRequest resources based on the profile NLLMedicationRequest and Patient resources based on the profile NLLPatient with a selection of attributes (id, meta.security, identifier and name).

There is a limitation that means a maximum of 1000 prescriptions can be returned per request.

Can be invoked with a HTTP POST.

$print

Invocations

URL: [base]/MedicationRequest/[id]/$print

This operation changes content

Return Values (Out)

NameCardinalityTypeDocumentation
nllDispenseList0..*MedicationDispense

Prints additional dispenses made for this prescription that are not included on the pdf.

nllTreatmentEndDate0..1date

Last date for ending this treatment (sv: senaste datum för avslut)

nllTreatmentReviewDate0..1date

Last date for review (sv: senaste datum för uppföljning)

nllUsageEndDate0..1date

End date for dosage usage (sv: sista doseringsdag)

nllUsageStartDate0..1date

Start date for dosage usage (sv: första doseringsdag)

pdf1..1Binary

A Base64 encoded PDF file of the prescription original

Can be invoked with a HTTP POST.

This operation changes the format of the prescription (MedicationRequest) from digital to paper based. After a successful call, the returned PDF is printed out and serves as the prescription. Further dispenses will have to be made based on the information included on the printed prescription. Apart from the PDF, this operation will also return information about any dispenses that are not included on the printed prescription as a list of MedicationDispenses (the PDF only includes the 2 latest dispenses). In addition one of "treatment end date" or "treatment review date" may occur in the response.

Under certain circumstances, it is possible to generate a new PDF print-out from a paper based prescription that has already been printed. The new generated PDF will then contain the information "Receptkopia" (prescription copy) visible on the print-out.

A Provenance object must be included in the HTTP header X-Provenance.

$print-prescription-history

Invocations

URL: [base]/MedicationRequest/[id]/$print-prescription-history

This operation does NOT change content

Return Values (Out)

NameCardinalityTypeDocumentation
return1..1Binary

A Base64 encoded PDF file which includes a prescription's history and dispenses.

Can be invoked with a HTTP POST or GET. This operation is invoked on a MedicationRequest resource to initiate the creation of a pdf report which inludes the selected prescription's history and dispensed medications. This report is intended for pharmacists, not patients. NB! The response containes a Binary resource without the parameter format.

$restore

Invocations

URL: [base]/MedicationRequest/$restore

This operation changes content

Parameters (In)

NameCardinalityTypeDocumentation
resource1..2Reference(NLLReference)

Reference to the MedicationRequest(s) that should be restored to previous versions. Shall contain version specific reference to the resource version that will be restored on the following format: MedicationRequest/[id]/_history/[vid].

Return Values (Out)

NameCardinalityTypeDocumentation
result1..2MedicationRequest

The restored MedicationRequests.

Can be invoked with a HTTP POST. This operation is used for restoring one or two (if parallell) MedicationRequests to their previous versions.

$verify

Invocations

URL: [base]/$verify

URL: [base]/MedicationRequest/$verify URL: [base]/MedicationDispense/$verify

This operation does NOT change content

Parameters (In)

NameCardinalityTypeDocumentation
resource0..1MedicationRequest(NLLMedicationRequest)

The MedicationRequest to be verified. This type of verification must be directed to the medication request end-point [base]/MedicationRequest/$verify.

resource0..1MedicationDispense(NLLMedicationDispense)

The MedicationDispense to be verified. This type of verification must be directed to the medication dispense end-point [base]/MedicationDispense/$verify.

resource0..1MedicationDispense(NLLDispensePaperPrescription)

The MedicationDispense to be verified. This type of verification must be directed to the medication dispense end-point [base]/MedicationDispense/$verify.

resource0..1Bundle(NLLDispatch)

A Bundle containing the MedicationDispenses to be verified. This type of verification must be directed to the service base end-point [base]/$verify.

resource0..1Bundle(NLLTransactionBundle)

A Bundle containing the resources to be verified. NB! Only MedicationDispenses to be verified according to the Automatic Format and Constitution Control (sv. Automatiska format- och författningskontroller AFF-kontroller). This type of verification must be directed to the service base end-point [base]/$verify.

Return Values (Out)

NameCardinalityTypeDocumentation
detectedIssues1..1boolean

Has the value 'true' if any AFF errors or warnings are detected, otherwise 'false'

issues0..1OperationOutcome(NLLOperationOutcome)

The OperationOutcome resource, shown in the profile NLLOperationOutcome is a collection of error, warning, or information messages. If the Automatic Format and Constitution Control (sv. Automatiska format- och författningskontroller AFF-kontroller) returns any errors or warnings, these are displayed as DetectedIssues in an OperationOutcome. No OperationOutcome will be returened if there are no issues.

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 Bundle according to NLLDispatch or NLLTransactionBundle. NB! When providing a Bundle only MedicationDispenses will be verified accroding to the Automatic Format and Constitution Control. It is important that the content of the resource parameter matches the end-point of the request.

Exampels

See exampels under MedicationRequest