FHIR Implementatiegids voor de Nederlandse Kankerregistratie
1.2.3 - release

FHIR Implementatiegids voor de Nederlandse Kankerregistratie - Local Development build (v1.2.3) 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
Active as of 2025-02-10 Computable Name: NcrEhrMedicationAgreement

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MpMedicationAgreement MedicationAgreement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:medicationAgreementAdditionalInformation N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation"
.... extension:renderedDosageInstruction N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction"
.... extension:periodOfUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period"
.... extension:pharmaceuticalTreatmentIdentifier N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier"
.... extension:relationEpisodeOfCare N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare"
.... extension:nextPractitioner N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner"
.... extension:registrationDateTime N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime
..... 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
.... modifierExtension:stopType ?!N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-StopType
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-StopType"
.... modifierExtension:repeatPeriodCyclicalSchedule ?!N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule
..... 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.
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
... 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
Constraints: ref-1
... 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
Constraints: ref-1
... note 0..1 Annotation Information about the prescription
.... text Σ 1..1 markdown Comment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.statusrequiredPattern Value: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
From the FHIR Standard
MedicationRequest.intentrequiredPattern Value: 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 Value: 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 & Constraints    Filter: Filtersdoco
.. 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 & Constraints    Filter: Filtersdoco
.. 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension: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)
.... extension: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
.... extension: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
Constraints: per-1
...... 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
....... extension:duration N 0..1 Duration Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
....... extension: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
.... extension: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
Constraints: per-1
...... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... extension: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
.... extension: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
Constraints: ref-1
.... extension: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 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-StopType
..... 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 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule
..... 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
Constraints: ref-1
... encounter C 0..1 Reference(Encounter | nl core Encounter) RelationEncounter
Constraints: ref-1
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
Constraints: ref-1
... authoredOn Σ 0..1 dateTime MedicationAgreementDateTime
... requester ΣC 0..1 PatternNlCoreHealthProfessionalReference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device | nl core HealthProfessional PractitionerRole) Prescriber
Constraints: ref-1
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
Constraints: ref-1
... 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
Constraints: ref-1
... 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
Constraints: ref-1
... 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
Constraints: ref-1
.... 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
..... extension: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
..... extension: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
Constraints: ref-1
... 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
Constraints: qty-3, sqty-1
..... duration C 0..1 Duration First fill duration
Constraints: qty-3, drt-1
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
Constraints: qty-3, drt-1
.... validityPeriod C 0..1 Period Time period supply is authorized for
Constraints: per-1
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity C 0..1 SimpleQuantity Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
.... expectedSupplyDuration C 0..1 Duration Number of days supply per dispense
Constraints: qty-3, drt-1
.... performer C 0..1 Reference(Organization) Intended dispenser
Constraints: ref-1
... 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
Constraints: ref-1
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
Constraints: ref-1
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
Constraints: ref-1

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 Value: 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 Value: 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 Value: 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 & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MpMedicationAgreement MedicationAgreement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:medicationAgreementAdditionalInformation N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.MedicationAgreementAdditionalInformation"
.... extension:renderedDosageInstruction N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction"
.... extension:periodOfUse N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period"
.... extension:pharmaceuticalTreatmentIdentifier N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalTreatment.Identifier"
.... extension:relationEpisodeOfCare N 0..* (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-Context-EpisodeOfCare"
.... extension:nextPractitioner N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-MedicationAgreement.NextPractitioner"
.... extension:registrationDateTime N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-RegistrationDateTime
..... 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
.... modifierExtension:stopType ?!N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-StopType
..... url 1..1 uri "http://nictiz.nl/fhir/StructureDefinition/ext-StopType"
.... modifierExtension:repeatPeriodCyclicalSchedule ?!N 0..1 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule
..... 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.
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
... 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
Constraints: ref-1
... 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
Constraints: ref-1
... note 0..1 Annotation Information about the prescription
.... text Σ 1..1 markdown Comment

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.statusrequiredPattern Value: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
From the FHIR Standard
MedicationRequest.intentrequiredPattern Value: 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 Value: 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 & Constraints    Filter: Filtersdoco
.. 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 & Constraints    Filter: Filtersdoco
.. 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension: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)
.... extension: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
.... extension: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
Constraints: per-1
...... 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
....... extension:duration N 0..1 Duration Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
....... extension: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
.... extension: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
Constraints: per-1
...... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
.... extension: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
.... extension: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
Constraints: ref-1
.... extension: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 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-StopType
..... 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 (Complex) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-InstructionsForUse.RepeatPeriodCyclicalSchedule
..... 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
Constraints: ref-1
... encounter C 0..1 Reference(Encounter | nl core Encounter) RelationEncounter
Constraints: ref-1
... supportingInformation C 0..* Reference(Resource) Information to support ordering of the medication
Constraints: ref-1
... authoredOn Σ 0..1 dateTime MedicationAgreementDateTime
... requester ΣC 0..1 PatternNlCoreHealthProfessionalReference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device | nl core HealthProfessional PractitionerRole) Prescriber
Constraints: ref-1
... performer C 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
Constraints: ref-1
... 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
Constraints: ref-1
... 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
Constraints: ref-1
... 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
Constraints: ref-1
.... 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
..... extension: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
..... extension: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
Constraints: ref-1
... 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
Constraints: qty-3, sqty-1
..... duration C 0..1 Duration First fill duration
Constraints: qty-3, drt-1
.... dispenseInterval C 0..1 Duration Minimum period of time between dispenses
Constraints: qty-3, drt-1
.... validityPeriod C 0..1 Period Time period supply is authorized for
Constraints: per-1
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity C 0..1 SimpleQuantity Amount of medication to supply per dispense
Constraints: qty-3, sqty-1
.... expectedSupplyDuration C 0..1 Duration Number of days supply per dispense
Constraints: qty-3, drt-1
.... performer C 0..1 Reference(Organization) Intended dispenser
Constraints: ref-1
... 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
Constraints: ref-1
... detectedIssue C 0..* Reference(DetectedIssue) Clinical Issue with action
Constraints: ref-1
... eventHistory C 0..* Reference(Provenance) A list of events of interest in the lifecycle
Constraints: ref-1

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 Value: 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 Value: 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 Value: 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