RIVO-Noord Zorgviewer Implementation Guide
1.7.0 - CI build Netherlands flag

RIVO-Noord Zorgviewer Implementation Guide, published by RIVO-NN HL7NL. This guide is not an authorized publication; it is the continuous build for version 1.7.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/RIVO-Noord/zorgviewer-ig/ and changes regularly. See the Directory of published versions

Resource Profile: MedicationAgreement

Official URL: http://hl7.nl/fhir/zorgviewer/StructureDefinition/MedicationRequest Version: 1.7.0
Active as of 2024-10-17 Computable Name: MedicationAgreement

Medicatieafspraak

Dit Profiel is het resultaat van de vergelijking tussen de zib2017 FHIR Profiel en de implementaties in Epic, Chipsoft, Topicus en Nexus. De elementen die in ieder geval in alle output beschikbaar zullen zijn. Voornamelijk bedoeld voor houvast van een client en voor validatie van output.

Zorginformatiebouwsteen

ZIB Medicatieafspraak

View Definition

Request

  1. Opvragen (search) definities

    GET <ontsluiten-bronsysteem-base>/MedicationRequest?category=http://snomed.info/sct|16076005&_include=MedicationRequest:medication&patient=<fhir_patient_id>

Bronsysteem herkennen

De Zorgviewer-backend of Ontsluiten bronsysteem MOET na bevragen van het bronsysteem aan elk resultaat resource een meta-tag toevoegen met de AGB, OID of URA identifier van de zorgaanbieder (zie Organization voor voorbeelden). Dit wordt vervolgens gebruikt in de "Bron" kolom in de Zorgviewer-frontend. N.B. We gebruiken hier een pre-adopt van de FHIR R4 Meta.source.

Toevoegen aan elke response, dus per resource (bij een read) of per Bundle (bij een search):

"meta": {
    "extension": [ {
        "url": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Meta.source",
        "valueUri": "urn:oid:2.16.840.1.113883.2.4.3.8"
    } ]
}

Alternatief: Elke entry van een search response Bundle bevat een referentie naar de bijbehorende Patient (<resource>.subject|patient). Elke patient heeft een Patient.managingOrganization en in de gerefereerde Organization.identifier staat vervolgens o.a. de OID van het bronsysyeem. Of je gebruikt de identifiers om een volledige Organization op te zoeken in het adresboek en zie inhoud hier.

Usage:

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* Zib MedicationAgreement MedicationAgreement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... periodOfUse 0..1 Period PeriodOfUse
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse
.... usageDuration 0..1 Duration Duration
URL: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Duration
.... additionalInformation 0..* (Complex) MedicationAgreementAdditionalInformation
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: MedicatieafspraakAanvullendeInformatieCodelijst (extensible): MedicatieafspraakAanvullendeInformatieCodelijst


Example Example of MedicationAgreementAdditionalInformation: {"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.2.3.2050","code":"1","display":"Bewust hoge dosering"}]}
.... medicationTreatment 0..1 Identifier Medication Treatment
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment
.... nl-core-episodeofcare 0..* Reference(nl-core-episodeofcare) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/extension-context-nl-core-episodeofcare
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:stopType ?! 0..1 Zib Medication StopType StopType
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-StopType"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: Stoptype (required)
.... modifierExtension:repeatPeriodCyclicalSchedule ?! 0..1 Zib Medication RepeatPeriodCyclicalSchedule RepeatPeriodCyclicalSchedule
... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order


Fixed Value: order
... category 1..1 CodeableConcept Type of medication usage
Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered

.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:code
..... coding:medicationAgreementCode Σ 0..* Coding MedicationAgreementCode
.... text SΣ 0..1 string Plain text representation of the concept
... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 1..1 Reference(HCIM PharmaceuticalProduct) AgreedMedicine
..... display SΣ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(nl-core-patient | Group) Who or group medication request is for
... authoredOn Σ 1..1 dateTime MedicationAgreementDateTime

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.extension:additionalInformation.value[x]:valueCodeableConceptextensibleMedicatieafspraakAanvullendeInformatieCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.6.3--20171231000000
MedicationRequest.modifierExtension:stopType.value[x]:valueCodeableConceptrequiredStoptype
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.19--20160617101300
MedicationRequest.statusrequiredMedicationRequestStatus
http://hl7.org/fhir/ValueSet/medication-request-status
from the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medication-request-intent
from the FHIR Standard
MedicationRequest.categorypreferredMedicationRequestCategory
http://hl7.org/fhir/ValueSet/medication-request-category
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* Zib MedicationAgreement MedicationAgreement
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: Common Languages (extensible): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... periodOfUse 0..1 Period PeriodOfUse
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse
.... usageDuration 0..1 Duration Duration
URL: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Duration
.... additionalInformation 0..* (Complex) MedicationAgreementAdditionalInformation
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: MedicatieafspraakAanvullendeInformatieCodelijst (extensible): MedicatieafspraakAanvullendeInformatieCodelijst


Example Example of MedicationAgreementAdditionalInformation: {"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.2.3.2050","code":"1","display":"Bewust hoge dosering"}]}
.... medicationTreatment 0..1 Identifier Medication Treatment
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment
.... nl-core-episodeofcare 0..* Reference(nl-core-episodeofcare) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/extension-context-nl-core-episodeofcare
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:stopType ?! 0..1 Zib Medication StopType StopType
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-StopType"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: Stoptype (required)
.... modifierExtension:repeatPeriodCyclicalSchedule ?! 0..1 Zib Medication RepeatPeriodCyclicalSchedule RepeatPeriodCyclicalSchedule
... identifier 0..* Identifier External ids for this request
... definition Σ 0..* Reference(ActivityDefinition | PlanDefinition) Protocol or definition
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) What request fulfills
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 0..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription

... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order


Fixed Value: order
... category 1..1 CodeableConcept Type of medication usage
Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered

.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:code
..... coding:medicationAgreementCode Σ 0..* Coding MedicationAgreementCode
...... id 0..1 string xml:id (or equivalent in JSON)
...... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: 16076005
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string Plain text representation of the concept
... priority Σ 0..1 code routine | urgent | stat | asap
Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request

... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 1..1 Reference(HCIM PharmaceuticalProduct) AgreedMedicine
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display SΣ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(nl-core-patient | Group) Who or group medication request is for
... context 0..1 Reference(HCIM Encounter | nl-core-episodeofcare) Created during encounter/admission/stay
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn Σ 1..1 dateTime MedicationAgreementDateTime
... requester ΣC 0..1 BackboneElement Prescriber
mps-1: onBehalfOf can only be specified if agent is practitioner or device
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... agent Σ 1..1 Reference(nl-core-practitioner | nl-core-organization | nl-core-patient | nl-core-relatedperson | Device) Who ordered the initial medication(s)
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... onBehalfOf ΣC 0..1 Reference(nl-core-organization) Organization agent is acting for
... recorder 0..1 Reference(nl-core-practitioner) Person who entered the request
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode 0..* CodeableConcept ReasonMedicationAgreement
Binding: RedenMedicatieafspraakCodelijst (extensible): RedenWijzigenOfStakenCodelijst


... reasonReference 0..* Reference(Observation | HCIM Problem) PrescriptionReason
... note 0..* Annotation Comment
... dosageInstruction 0..* Zib InstructionsForUse InstructionsForUse
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... validityPeriod 0..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..1 positiveInt Number of refills authorized
.... quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... performer 0..1 Reference(Organization) Intended dispenser
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... allowed ?! 1..1 boolean Whether substitution is allowed or not
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MedicationRequest.extension:additionalInformation.value[x]:valueCodeableConceptextensibleMedicatieafspraakAanvullendeInformatieCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.6.3--20171231000000
MedicationRequest.modifierExtension:stopType.value[x]:valueCodeableConceptrequiredStoptype
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.19--20160617101300
MedicationRequest.statusrequiredMedicationRequestStatus
http://hl7.org/fhir/ValueSet/medication-request-status
from the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medication-request-intent
from the FHIR Standard
MedicationRequest.categorypreferredMedicationRequestCategory
http://hl7.org/fhir/ValueSet/medication-request-category
from the FHIR Standard
MedicationRequest.priorityrequiredMedicationRequestPriority
http://hl7.org/fhir/ValueSet/medication-request-priority
from the FHIR Standard
MedicationRequest.reasonCodeextensibleRedenMedicatieafspraakCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.6.2--20171231000000
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
mps-1errorMedicationRequest.requesteronBehalfOf can only be specified if agent is practitioner or device
: (agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()

This structure is derived from Zib MedicationAgreement

Summary

Must-Support: 5 elements

Differential View

This structure is derived from Zib MedicationAgreement

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* Zib MedicationAgreement MedicationAgreement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... periodOfUse 0..1 Period PeriodOfUse
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse
.... usageDuration 0..1 Duration Duration
URL: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Duration
.... additionalInformation 0..* (Complex) MedicationAgreementAdditionalInformation
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: MedicatieafspraakAanvullendeInformatieCodelijst (extensible): MedicatieafspraakAanvullendeInformatieCodelijst


Example Example of MedicationAgreementAdditionalInformation: {"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.2.3.2050","code":"1","display":"Bewust hoge dosering"}]}
.... medicationTreatment 0..1 Identifier Medication Treatment
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment
.... nl-core-episodeofcare 0..* Reference(nl-core-episodeofcare) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/extension-context-nl-core-episodeofcare
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:stopType ?! 0..1 Zib Medication StopType StopType
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-StopType"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: Stoptype (required)
.... modifierExtension:repeatPeriodCyclicalSchedule ?! 0..1 Zib Medication RepeatPeriodCyclicalSchedule RepeatPeriodCyclicalSchedule
... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order


Fixed Value: order
... category 1..1 CodeableConcept Type of medication usage
Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered

.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:code
..... coding:medicationAgreementCode Σ 0..* Coding MedicationAgreementCode
.... text SΣ 0..1 string Plain text representation of the concept
... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 1..1 Reference(HCIM PharmaceuticalProduct) AgreedMedicine
..... display SΣ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(nl-core-patient | Group) Who or group medication request is for
... authoredOn Σ 1..1 dateTime MedicationAgreementDateTime

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.extension:additionalInformation.value[x]:valueCodeableConceptextensibleMedicatieafspraakAanvullendeInformatieCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.6.3--20171231000000
MedicationRequest.modifierExtension:stopType.value[x]:valueCodeableConceptrequiredStoptype
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.19--20160617101300
MedicationRequest.statusrequiredMedicationRequestStatus
http://hl7.org/fhir/ValueSet/medication-request-status
from the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medication-request-intent
from the FHIR Standard
MedicationRequest.categorypreferredMedicationRequestCategory
http://hl7.org/fhir/ValueSet/medication-request-category
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* Zib MedicationAgreement MedicationAgreement
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: Common Languages (extensible): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... periodOfUse 0..1 Period PeriodOfUse
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse
.... usageDuration 0..1 Duration Duration
URL: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Duration
.... additionalInformation 0..* (Complex) MedicationAgreementAdditionalInformation
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: MedicatieafspraakAanvullendeInformatieCodelijst (extensible): MedicatieafspraakAanvullendeInformatieCodelijst


Example Example of MedicationAgreementAdditionalInformation: {"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.2.3.2050","code":"1","display":"Bewust hoge dosering"}]}
.... medicationTreatment 0..1 Identifier Medication Treatment
URL: http://nictiz.nl/fhir/StructureDefinition/zib-Medication-MedicationTreatment
.... nl-core-episodeofcare 0..* Reference(nl-core-episodeofcare) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/extension-context-nl-core-episodeofcare
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:stopType ?! 0..1 Zib Medication StopType StopType
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-StopType"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: Stoptype (required)
.... modifierExtension:repeatPeriodCyclicalSchedule ?! 0..1 Zib Medication RepeatPeriodCyclicalSchedule RepeatPeriodCyclicalSchedule
... identifier 0..* Identifier External ids for this request
... definition Σ 0..* Reference(ActivityDefinition | PlanDefinition) Protocol or definition
... basedOn Σ 0..* Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) What request fulfills
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 0..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: MedicationRequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription

... intent ?!Σ 1..1 code proposal | plan | order | instance-order
Binding: MedicationRequestIntent (required): The kind of medication order


Fixed Value: order
... category 1..1 CodeableConcept Type of medication usage
Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered

.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:code
..... coding:medicationAgreementCode Σ 0..* Coding MedicationAgreementCode
...... id 0..1 string xml:id (or equivalent in JSON)
...... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
Fixed Value: 16076005
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string Plain text representation of the concept
... priority Σ 0..1 code routine | urgent | stat | asap
Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request

... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference Σ 1..1 Reference(HCIM PharmaceuticalProduct) AgreedMedicine
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display SΣ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(nl-core-patient | Group) Who or group medication request is for
... context 0..1 Reference(HCIM Encounter | nl-core-episodeofcare) Created during encounter/admission/stay
... supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
... authoredOn Σ 1..1 dateTime MedicationAgreementDateTime
... requester ΣC 0..1 BackboneElement Prescriber
mps-1: onBehalfOf can only be specified if agent is practitioner or device
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... agent Σ 1..1 Reference(nl-core-practitioner | nl-core-organization | nl-core-patient | nl-core-relatedperson | Device) Who ordered the initial medication(s)
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... onBehalfOf ΣC 0..1 Reference(nl-core-organization) Organization agent is acting for
... recorder 0..1 Reference(nl-core-practitioner) Person who entered the request
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode 0..* CodeableConcept ReasonMedicationAgreement
Binding: RedenMedicatieafspraakCodelijst (extensible): RedenWijzigenOfStakenCodelijst


... reasonReference 0..* Reference(Observation | HCIM Problem) PrescriptionReason
... note 0..* Annotation Comment
... dosageInstruction 0..* Zib InstructionsForUse InstructionsForUse
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... validityPeriod 0..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..1 positiveInt Number of refills authorized
.... quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... performer 0..1 Reference(Organization) Intended dispenser
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... allowed ?! 1..1 boolean Whether substitution is allowed or not
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

... priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
... detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MedicationRequest.extension:additionalInformation.value[x]:valueCodeableConceptextensibleMedicatieafspraakAanvullendeInformatieCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.6.3--20171231000000
MedicationRequest.modifierExtension:stopType.value[x]:valueCodeableConceptrequiredStoptype
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.19--20160617101300
MedicationRequest.statusrequiredMedicationRequestStatus
http://hl7.org/fhir/ValueSet/medication-request-status
from the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medication-request-intent
from the FHIR Standard
MedicationRequest.categorypreferredMedicationRequestCategory
http://hl7.org/fhir/ValueSet/medication-request-category
from the FHIR Standard
MedicationRequest.priorityrequiredMedicationRequestPriority
http://hl7.org/fhir/ValueSet/medication-request-priority
from the FHIR Standard
MedicationRequest.reasonCodeextensibleRedenMedicatieafspraakCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.6.2--20171231000000
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
mps-1errorMedicationRequest.requesteronBehalfOf can only be specified if agent is practitioner or device
: (agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()

This structure is derived from Zib MedicationAgreement

Summary

Must-Support: 5 elements

 

Other representations of profile: CSV, Excel, Schematron