FHIR Implementatiegids voor de Nederlandse Kankerregistratie
1.2.2 - release

FHIR Implementatiegids voor de Nederlandse Kankerregistratie - Local Development build (v1.2.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NcrEhrMedicationAgreement

Official URL: http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/StructureDefinition/ncr-ehr-medication-agreement Version: 1.2.2
Draft as of 2025-02-10 Computable Name: NcrEhrMedicationAgreement

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MpMedicationAgreement MedicationAgreement
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... medicationAgreementAdditionalInformation N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation"
.... renderedDosageInstruction N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction"
.... periodOfUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period"
.... pharmaceuticalTreatmentIdentifier N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier"
.... relationEpisodeOfCare N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare"
.... nextPractitioner N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner"
.... registrationDateTime N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime"
... Slices for modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension:stopType ?!N 0..1 ExtStopType Optional Extensions Element
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-StopType"
.... modifierExtension:repeatPeriodCyclicalSchedule ?!N 0..1 ExtInstructionsForUseRepeatPeriodCyclicalSchedule Optional Extensions Element
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule"
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


ele-1: All FHIR elements must have a @value or children
Required Pattern: order
... Slices for category N 1..* CodeableConcept Type of medication usage
Slice: Unordered, Open by value:$this
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


ele-1: All FHIR elements must have a @value or children
.... category:medicationAgreementCode N 1..1 CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 33633005
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
ele-1: All FHIR elements must have a @value or children
... Slices for reported[x] ΣN 0..1 Reported rather than primary record
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
.... reported[x]:reportedBoolean ΣN 0..1 boolean CopyIndicator
ele-1: All FHIR elements must have a @value or children
... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
.... medication[x]:medicationReference SΣ 1..1 Reference(NcrEhrMedication) AgreedMedicine
ele-1: All FHIR elements must have a @value or children
... subject SΣC 1..1 Reference(NcrEhrPatient) Who or group medication request is for
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... reasonCode 0..1 CodeableConcept ReasonModificationOrDiscontinuation
Binding: RedenWijzigen-StakenCodelijst (required): A coded concept indicating why the medication was ordered.


ele-1: All FHIR elements must have a @value or children
... reasonReference SC 1..1 Reference(NcrEhrCondition) PrescriptionReason
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..1 Annotation Information about the prescription
ele-1: All FHIR elements must have a @value or children
.... text Σ 1..1 markdown Comment
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.statusrequiredPattern: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:medicationAgreementCodeexamplePattern: SNOMED-CT Code 33633005
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.reasonCoderequiredRedenWijzigen_StakenCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.42--20221114132525

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorMedicationRequest.subject, MedicationRequest.reasonReferenceSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from MpMedicationAgreement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest MpMedicationAgreement
... status 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Required Pattern: completed
... intent 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference S 1..1 Reference(NcrEhrMedication) AgreedMedicine
... reasonReference S 1..1 Reference(NcrEhrCondition) PrescriptionReason

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MpMedicationAgreement 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: CommonLanguages (preferred): 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... medicationAgreementAdditionalInformation N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation"
..... value[x] N 0..1 CodeableConcept MedicationAgreementAdditionalInformation
Binding: Aanvullende Informatie voor MA (required)
.... renderedDosageInstruction N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction"
..... value[x] N 0..1 string Description
.... periodOfUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period"
..... value[x] CN 0..1 NlcoreTimeInterval PeriodOfUse
per-1: If present, start SHALL have a lower value than end
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... duration N 0..1 Duration Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
....... condition N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.PeriodOfUse.Condition
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.PeriodOfUse.Condition"
........ value[x] N 0..1 string Condition
...... start ΣC 0..1 dateTime startDateTime
...... end ΣC 0..1 dateTime endDateTime
.... pharmaceuticalTreatmentIdentifier N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier"
..... value[x] N 0..1 Identifier Pharmaceutical Treatment Identifier
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

...... type ΣN 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string The value that is unique
Example General: 123456
...... period ΣCN 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
...... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
.... relationEpisodeOfCare N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare"
..... value[x] N 0..1 Reference(EpisodeOfCare | nl core EpisodeOfCare) RelationEpisodeOfCare
.... nextPractitioner N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner"
..... value[x] CN 0..1 PatternNlCoreHealthProfessionalReference(nl core HealthProfessional PractitionerRole) NextPractitioner
ref-1: SHALL have a contained resource if a local reference is provided
.... registrationDateTime N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime"
..... value[x] N 0..1 dateTime RegistrationDateTime
... Slices for modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
.... modifierExtension:stopType ?!N 0..1 ExtStopType Optional Extensions Element
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-StopType"
..... value[x] N 0..1 CodeableConcept MedicationAgreementStopType
Binding: StopTypeCodelijst (required)
.... modifierExtension:repeatPeriodCyclicalSchedule ?!N 0..1 ExtInstructionsForUseRepeatPeriodCyclicalSchedule Optional Extensions Element
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule"
..... value[x] N 0..1 Duration RepeatPeriodCyclicalSchedule
... identifier 0..* Identifier Identification
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


Required Pattern: completed
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


Required Pattern: order
... Slices for category N 1..* CodeableConcept Type of medication usage
Slice: Unordered, Open by value:$this
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


.... category:medicationAgreementCode N 1..1 CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.



Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 33633005
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... Slices for reported[x] ΣN 0..1 Reported rather than primary record
Slice: Unordered, Open by type:$this
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
.... reported[x]:reportedBoolean ΣN 0..1 boolean CopyIndicator
... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ 1..1 Reference(NcrEhrMedication) AgreedMedicine
... subject SΣC 1..1 Reference(NcrEhrPatient) Who or group medication request is for
ref-1: SHALL have a contained resource if a local reference is provided
... encounter C 0..1 Reference(Encounter | nl core Encounter) RelationEncounter
ref-1: SHALL have a contained resource if a local reference is provided
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
ref-1: SHALL have a contained resource if a local reference is provided
... authoredOn Σ 0..1 dateTime MedicationAgreementDateTime
... requester ΣC 0..1 PatternNlCoreHealthProfessionalReference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device | nl core HealthProfessional PractitionerRole) Prescriber
ref-1: SHALL have a contained resource if a local reference is provided
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
ref-1: SHALL have a contained resource if a local reference is provided
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... recorder C 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
ref-1: SHALL have a contained resource if a local reference is provided
... reasonCode 0..1 CodeableConcept ReasonModificationOrDiscontinuation
Binding: RedenWijzigen-StakenCodelijst (required): A coded concept indicating why the medication was ordered.


... reasonReference SC 1..1 Reference(NcrEhrCondition) PrescriptionReason
ref-1: SHALL have a contained resource if a local reference is provided
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn ΣC 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... relationAdministrationAgreement N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RelationAdministrationAgreement
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RelationAdministrationAgreement"
...... value[x] N 0..1 Reference(mp AdministrationAgreement) RelationAdministrationAgreement
..... relationMedicationUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.RelationMedicationUse
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.RelationMedicationUse"
...... value[x] N 0..1 Reference(mp MedicationUse2) RelationMedicationUse
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..1 Annotation Information about the prescription
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Comment
... dosageInstruction 0..* MpInstructionsForUseDosageInstructions DosingInstructions / InstructionsForUse
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity C 0..1 SimpleQuantity First fill quantity
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
..... duration C 0..1 Duration First fill duration
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
.... validityPeriod C 0..1 Period Time period supply is authorized for
per-1: If present, start SHALL have a lower value than end
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity C 0..1 SimpleQuantity Amount of medication to supply per dispense
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
.... expectedSupplyDuration C 0..1 Duration Number of days supply per dispense
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
.... performer C 0..1 Reference(Organization) Intended dispenser
ref-1: SHALL have a contained resource if a local reference is provided
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

... priorPrescription C 0..1 Reference(MedicationRequest | mp MedicationAgreement) RelationMedicationAgreement
ref-1: SHALL have a contained resource if a local reference is provided
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
ref-1: SHALL have a contained resource if a local reference is provided
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.extension:medicationAgreementAdditionalInformation.value[x]requiredAanvInfoMA
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.45--20220310164013
MedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
MedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.modifierExtension:stopType.value[x]requiredStopTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.50--20221216102010
MedicationRequest.statusrequiredPattern: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:medicationAgreementCodeexamplePattern: SNOMED-CT Code 33633005
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCoderequiredRedenWijzigen_StakenCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.42--20221114132525
MedicationRequest.basedOn.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
drt-1errorMedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.expectedSupplyDurationThere SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
: code.exists() implies ((system = %ucum) and value.exists())
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorMedicationRequest.extension:periodOfUse.value[x], MedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].period, MedicationRequest.dispenseRequest.validityPeriodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDurationIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ref-1errorMedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].assigner, MedicationRequest.extension:nextPractitioner.value[x], MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.reasonReference, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer, MedicationRequest.priorPrescription, MedicationRequest.detectedIssue, MedicationRequest.eventHistorySHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
sqty-1errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantityThe comparator is not used on a SimpleQuantity
: comparator.empty()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MpMedicationAgreement MedicationAgreement
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... medicationAgreementAdditionalInformation N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation"
.... renderedDosageInstruction N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction"
.... periodOfUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period"
.... pharmaceuticalTreatmentIdentifier N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier"
.... relationEpisodeOfCare N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare"
.... nextPractitioner N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner"
.... registrationDateTime N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime"
... Slices for modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension:stopType ?!N 0..1 ExtStopType Optional Extensions Element
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-StopType"
.... modifierExtension:repeatPeriodCyclicalSchedule ?!N 0..1 ExtInstructionsForUseRepeatPeriodCyclicalSchedule Optional Extensions Element
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule"
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


ele-1: All FHIR elements must have a @value or children
Required Pattern: order
... Slices for category N 1..* CodeableConcept Type of medication usage
Slice: Unordered, Open by value:$this
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


ele-1: All FHIR elements must have a @value or children
.... category:medicationAgreementCode N 1..1 CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 33633005
... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
ele-1: All FHIR elements must have a @value or children
... Slices for reported[x] ΣN 0..1 Reported rather than primary record
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
.... reported[x]:reportedBoolean ΣN 0..1 boolean CopyIndicator
ele-1: All FHIR elements must have a @value or children
... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
.... medication[x]:medicationReference SΣ 1..1 Reference(NcrEhrMedication) AgreedMedicine
ele-1: All FHIR elements must have a @value or children
... subject SΣC 1..1 Reference(NcrEhrPatient) Who or group medication request is for
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... reasonCode 0..1 CodeableConcept ReasonModificationOrDiscontinuation
Binding: RedenWijzigen-StakenCodelijst (required): A coded concept indicating why the medication was ordered.


ele-1: All FHIR elements must have a @value or children
... reasonReference SC 1..1 Reference(NcrEhrCondition) PrescriptionReason
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..1 Annotation Information about the prescription
ele-1: All FHIR elements must have a @value or children
.... text Σ 1..1 markdown Comment
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.statusrequiredPattern: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:medicationAgreementCodeexamplePattern: SNOMED-CT Code 33633005
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.reasonCoderequiredRedenWijzigen_StakenCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.42--20221114132525

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ref-1errorMedicationRequest.subject, MedicationRequest.reasonReferenceSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from MpMedicationAgreement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest MpMedicationAgreement
... status 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Required Pattern: completed
... intent 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference S 1..1 Reference(NcrEhrMedication) AgreedMedicine
... reasonReference S 1..1 Reference(NcrEhrCondition) PrescriptionReason

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MpMedicationAgreement 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: CommonLanguages (preferred): 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... medicationAgreementAdditionalInformation N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation"
..... value[x] N 0..1 CodeableConcept MedicationAgreementAdditionalInformation
Binding: Aanvullende Informatie voor MA (required)
.... renderedDosageInstruction N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction"
..... value[x] N 0..1 string Description
.... periodOfUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period"
..... value[x] CN 0..1 NlcoreTimeInterval PeriodOfUse
per-1: If present, start SHALL have a lower value than end
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... duration N 0..1 Duration Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
....... condition N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.PeriodOfUse.Condition
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.PeriodOfUse.Condition"
........ value[x] N 0..1 string Condition
...... start ΣC 0..1 dateTime startDateTime
...... end ΣC 0..1 dateTime endDateTime
.... pharmaceuticalTreatmentIdentifier N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier"
..... value[x] N 0..1 Identifier Pharmaceutical Treatment Identifier
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

...... type ΣN 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
...... value Σ 1..1 string The value that is unique
Example General: 123456
...... period ΣCN 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
...... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
.... relationEpisodeOfCare N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare"
..... value[x] N 0..1 Reference(EpisodeOfCare | nl core EpisodeOfCare) RelationEpisodeOfCare
.... nextPractitioner N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner"
..... value[x] CN 0..1 PatternNlCoreHealthProfessionalReference(nl core HealthProfessional PractitionerRole) NextPractitioner
ref-1: SHALL have a contained resource if a local reference is provided
.... registrationDateTime N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime"
..... value[x] N 0..1 dateTime RegistrationDateTime
... Slices for modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
.... modifierExtension:stopType ?!N 0..1 ExtStopType Optional Extensions Element
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-StopType"
..... value[x] N 0..1 CodeableConcept MedicationAgreementStopType
Binding: StopTypeCodelijst (required)
.... modifierExtension:repeatPeriodCyclicalSchedule ?!N 0..1 ExtInstructionsForUseRepeatPeriodCyclicalSchedule Optional Extensions Element
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule"
..... value[x] N 0..1 Duration RepeatPeriodCyclicalSchedule
... identifier 0..* Identifier Identification
... status ?!Σ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


Required Pattern: completed
... statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.


Required Pattern: order
... Slices for category N 1..* CodeableConcept Type of medication usage
Slice: Unordered, Open by value:$this
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


.... category:medicationAgreementCode N 1..1 CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.



Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 33633005
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... doNotPerform ?!Σ 0..1 boolean True if request is prohibiting action
... Slices for reported[x] ΣN 0..1 Reported rather than primary record
Slice: Unordered, Open by type:$this
.... reportedBoolean boolean
.... reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
.... reported[x]:reportedBoolean ΣN 0..1 boolean CopyIndicator
... Slices for medication[x] Σ 1..1 Reference() Medication to be taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ 1..1 Reference(NcrEhrMedication) AgreedMedicine
... subject SΣC 1..1 Reference(NcrEhrPatient) Who or group medication request is for
ref-1: SHALL have a contained resource if a local reference is provided
... encounter C 0..1 Reference(Encounter | nl core Encounter) RelationEncounter
ref-1: SHALL have a contained resource if a local reference is provided
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
ref-1: SHALL have a contained resource if a local reference is provided
... authoredOn Σ 0..1 dateTime MedicationAgreementDateTime
... requester ΣC 0..1 PatternNlCoreHealthProfessionalReference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device | nl core HealthProfessional PractitionerRole) Prescriber
ref-1: SHALL have a contained resource if a local reference is provided
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
ref-1: SHALL have a contained resource if a local reference is provided
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... recorder C 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
ref-1: SHALL have a contained resource if a local reference is provided
... reasonCode 0..1 CodeableConcept ReasonModificationOrDiscontinuation
Binding: RedenWijzigen-StakenCodelijst (required): A coded concept indicating why the medication was ordered.


... reasonReference SC 1..1 Reference(NcrEhrCondition) PrescriptionReason
ref-1: SHALL have a contained resource if a local reference is provided
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn ΣC 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... relationAdministrationAgreement N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RelationAdministrationAgreement
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RelationAdministrationAgreement"
...... value[x] N 0..1 Reference(mp AdministrationAgreement) RelationAdministrationAgreement
..... relationMedicationUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.RelationMedicationUse
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.RelationMedicationUse"
...... value[x] N 0..1 Reference(mp MedicationUse2) RelationMedicationUse
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
ref-1: SHALL have a contained resource if a local reference is provided
... note 0..1 Annotation Information about the prescription
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Comment
... dosageInstruction 0..* MpInstructionsForUseDosageInstructions DosingInstructions / InstructionsForUse
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... initialFill 0..1 BackboneElement First fill details
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity C 0..1 SimpleQuantity First fill quantity
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
..... duration C 0..1 Duration First fill duration
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
.... validityPeriod C 0..1 Period Time period supply is authorized for
per-1: If present, start SHALL have a lower value than end
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity C 0..1 SimpleQuantity Amount of medication to supply per dispense
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
.... expectedSupplyDuration C 0..1 Duration Number of days supply per dispense
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
.... performer C 0..1 Reference(Organization) Intended dispenser
ref-1: SHALL have a contained resource if a local reference is provided
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

... priorPrescription C 0..1 Reference(MedicationRequest | mp MedicationAgreement) RelationMedicationAgreement
ref-1: SHALL have a contained resource if a local reference is provided
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
ref-1: SHALL have a contained resource if a local reference is provided
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.extension:medicationAgreementAdditionalInformation.value[x]requiredAanvInfoMA
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.45--20220310164013
MedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
MedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.modifierExtension:stopType.value[x]requiredStopTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.50--20221216102010
MedicationRequest.statusrequiredPattern: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:medicationAgreementCodeexamplePattern: SNOMED-CT Code 33633005
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCoderequiredRedenWijzigen_StakenCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.42--20221114132525
MedicationRequest.basedOn.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
drt-1errorMedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.expectedSupplyDurationThere SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
: code.exists() implies ((system = %ucum) and value.exists())
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorMedicationRequest.extension:periodOfUse.value[x], MedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].period, MedicationRequest.dispenseRequest.validityPeriodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.initialFill.duration, MedicationRequest.dispenseRequest.dispenseInterval, MedicationRequest.dispenseRequest.quantity, MedicationRequest.dispenseRequest.expectedSupplyDurationIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ref-1errorMedicationRequest.extension:pharmaceuticalTreatmentIdentifier.value[x].assigner, MedicationRequest.extension:nextPractitioner.value[x], MedicationRequest.subject, MedicationRequest.encounter, MedicationRequest.supportingInformation, MedicationRequest.requester, MedicationRequest.performer, MedicationRequest.recorder, MedicationRequest.reasonReference, MedicationRequest.basedOn, MedicationRequest.insurance, MedicationRequest.dispenseRequest.performer, MedicationRequest.priorPrescription, MedicationRequest.detectedIssue, MedicationRequest.eventHistorySHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
sqty-1errorMedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantityThe comparator is not used on a SimpleQuantity
: comparator.empty()

 

Other representations of profile: CSV, Excel, Schematron