OncoFAIR
0.1.0 - ci-build

OncoFAIR - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OncoFAIR MedicationRequest Prescription

Official URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-medicationrequest-prescription Version: 0.1.0
Draft as of 2025-05-22 Computable Name: OncoFAIRMedicationRequestPrescription

Groups together all the prescription elements validated simultaneously by the same prescriber.

Regroupe l’ensemble des éléments de prescription validés simultanément par un même prescripteur.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
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
.... extension:oncofair-mr-prescription-validation-date S 1..1 dateTime Date and time at which the prescriber considered the prescription validated
URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-mr-prescription-validation-date
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier S 1..1 Identifier Unique prescription identifier
ele-1: All FHIR elements must have a @value or children
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... value ΣC 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... basedOn SΣ 0..* Reference(OncoFAIR CarePlan) The protocol linked to the prescription
ele-1: All FHIR elements must have a @value or children
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


ele-1: All FHIR elements must have a @value or children
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: MedicationRequestIntent (required): The kind of medication order.


ele-1: All FHIR elements must have a @value or children
... doNotPerform ?!Σ 0..1 boolean True if patient is to stop taking or not to start taking the medication
ele-1: All FHIR elements must have a @value or children
... medication SΣ 1..1 CodeableReference(Medication) Medication to be taken
Binding: Concepts Medication Value Set (required)
ele-1: All FHIR elements must have a @value or children
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
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)
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: prescription
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
ele-1: All FHIR elements must have a @value or children
... encounter S 1..1 Reference(OncoFAIR Encounter) The encounter linked to the prescription
ele-1: All FHIR elements must have a @value or children
... Slices for supportingInformation S 0..* Reference(Resource) Information to support fulfilling of the medication
Slice: Unordered, Open by value:id
ele-1: All FHIR elements must have a @value or children
.... supportingInformation:accomodationUnit 0..1 Reference(HealthcareService) This is the unit that houses the patient
ele-1: All FHIR elements must have a @value or children
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: accomodationUnit
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... supportingInformation:medicalLiabiltyUnit 0..1 Reference(HealthcareService) This is the unit which assumes medical responsibility for the patient's care
ele-1: All FHIR elements must have a @value or children
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: medicalLiabiltyUnit
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... reason S 0..* CodeableReference(OncoFAIR Observation) The observation linked to the prescription
Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered.


ele-1: All FHIR elements must have a @value or children
... note S 0..1 Annotation Default comment on the prescription by the prescribing doctor
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.medicationrequiredConceptMedicationOncoFAIRValueSet (a valid code from Concepts Medication Code System)
http://ltsi.univ-rennes.fr/ValueSet/concept-medication-oncofair-valueset
from this IG
MedicationRequest.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard

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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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()

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:oncofair-mr-prescription-validation-date S 1..1 dateTime Date and time at which the prescriber considered the prescription validated
URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-mr-prescription-validation-date
... identifier S 1..1 Identifier Unique prescription identifier
.... value 1..1 string The value that is unique
... basedOn S 0..* Reference(OncoFAIR CarePlan) The protocol linked to the prescription
.... concept 0..1 CodeableConcept Reference to a concept (by class)
Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: prescription
... encounter S 1..1 Reference(OncoFAIR Encounter) The encounter linked to the prescription
... Slices for supportingInformation S 0..* Reference(Resource) Information to support fulfilling of the medication
Slice: Unordered, Open by value:id
.... supportingInformation:accomodationUnit 0..1 Reference(HealthcareService) This is the unit that houses the patient
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: accomodationUnit
.... supportingInformation:medicalLiabiltyUnit 0..1 Reference(HealthcareService) This is the unit which assumes medical responsibility for the patient's care
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: medicalLiabiltyUnit
... reason S 0..* CodeableReference(OncoFAIR Observation) The observation linked to the prescription
... note S 0..1 Annotation Default comment on the prescription by the prescribing doctor

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.medicationrequiredConceptMedicationOncoFAIRValueSet (a valid code from Concepts Medication Code System)
http://ltsi.univ-rennes.fr/ValueSet/concept-medication-oncofair-valueset
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... 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: AllLanguages (required): IETF language tag for a human language

Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:oncofair-mr-prescription-validation-date S 1..1 dateTime Date and time at which the prescriber considered the prescription validated
URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-mr-prescription-validation-date
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier S 1..1 Identifier Unique prescription identifier
.... id 0..1 id Unique id for inter-element referencing
.... extension 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 Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... basedOn SΣ 0..* Reference(OncoFAIR CarePlan) The protocol linked to the prescription
... priorPrescription 0..1 Reference(MedicationRequest) Reference to an order/prescription that is being replaced by this MedicationRequest
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

... statusReason 0..1 CodeableConcept Reason for current status
Binding: MedicationRequestStatusReasonCodes (example): Identifies the reasons for a given status.

... statusChanged 0..1 dateTime When the status was changed
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: MedicationRequestIntent (required): The kind of medication order.

... category 0..* CodeableConcept Grouping or category of medication request
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.


... 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 patient is to stop taking or not to start taking the medication
... medication SΣ 1..1 CodeableReference(Medication) Medication to be taken
Binding: Concepts Medication Value Set (required)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
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 0..1 uri Identity of the terminology system
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: prescription
...... 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
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
... informationSource 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) The person or organization who provided the information about this request, if the source is someone other than the requestor
... encounter S 1..1 Reference(OncoFAIR Encounter) The encounter linked to the prescription
... Slices for supportingInformation S 0..* Reference(Resource) Information to support fulfilling of the medication
Slice: Unordered, Open by value:id
.... supportingInformation:accomodationUnit 0..1 Reference(HealthcareService) This is the unit that houses the patient
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: accomodationUnit
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
.... supportingInformation:medicalLiabiltyUnit 0..1 Reference(HealthcareService) This is the unit which assumes medical responsibility for the patient's care
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: medicalLiabiltyUnit
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
... authoredOn Σ 0..1 dateTime When request was initially authored
... requester Σ 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
... reported Σ 0..1 boolean Reported rather than primary record
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: MedicationIntendedPerformerRole (extensible): Identifies the type of individual that is desired to administer the medication.

... performer 0..* Reference(Practitioner | PractitionerRole | Organization | Patient | DeviceDefinition | RelatedPerson | CareTeam | HealthcareService) Intended performer of administration
... device 0..* CodeableReference(DeviceDefinition) Intended type of device for the administration
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reason S 0..* CodeableReference(OncoFAIR Observation) The observation linked to the prescription
Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered.


... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: MedicationRequestCourseOfTherapyCodes (extensible): Identifies the overall pattern of medication administratio.

... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note S 0..1 Annotation Default comment on the prescription by the prescribing doctor
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... effectiveDosePeriod 0..1 Period Period over which the medication is to be taken
... dosageInstruction 0..* Dosage Specific instructions for how the medication should be taken
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... 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 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity 0..1 SimpleQuantity First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval 0..1 Duration Minimum period of time between dispenses
.... validityPeriod 0..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... dispenser 0..1 Reference(Organization) Intended performer of dispense
.... dispenserInstruction 0..* Annotation Additional information for the dispenser
.... doseAdministrationAid 0..1 CodeableConcept Type of adherence packaging to use for the dispense
Binding: MedicationDoseAids (example)
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred): Identifies the type of substitution allowed.

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): SubstanceAdminSubstitutionReason

... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.statusReasonexampleMedicationRequestStatusReasonCodes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|5.0.0
from the FHIR Standard
MedicationRequest.medicationrequiredConceptMedicationOncoFAIRValueSet (a valid code from Concepts Medication Code System)
http://ltsi.univ-rennes.fr/ValueSet/concept-medication-oncofair-valueset
from this IG
MedicationRequest.supportingInformation:accomodationUnit.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationRequest.supportingInformation:medicalLiabiltyUnit.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationRequest.performerTypeextensibleMedicationIntendedPerformerRole
http://hl7.org/fhir/ValueSet/medication-intended-performer-role
from the FHIR Standard
MedicationRequest.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeextensibleMedicationRequestCourseOfTherapyCodes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.dispenseRequest.doseAdministrationAidexampleMedicationDoseAids
http://hl7.org/fhir/ValueSet/medication-dose-aid
from the FHIR Standard
MedicationRequest.substitution.allowed[x]preferredActSubstanceAdminSubstitutionCode
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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()

This structure is derived from MedicationRequest

Summary

Mandatory: 5 elements(2 nested mandatory elements)
Must-Support: 8 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.supportingInformation

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
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
.... extension:oncofair-mr-prescription-validation-date S 1..1 dateTime Date and time at which the prescriber considered the prescription validated
URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-mr-prescription-validation-date
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier S 1..1 Identifier Unique prescription identifier
ele-1: All FHIR elements must have a @value or children
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... value ΣC 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... basedOn SΣ 0..* Reference(OncoFAIR CarePlan) The protocol linked to the prescription
ele-1: All FHIR elements must have a @value or children
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


ele-1: All FHIR elements must have a @value or children
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: MedicationRequestIntent (required): The kind of medication order.


ele-1: All FHIR elements must have a @value or children
... doNotPerform ?!Σ 0..1 boolean True if patient is to stop taking or not to start taking the medication
ele-1: All FHIR elements must have a @value or children
... medication SΣ 1..1 CodeableReference(Medication) Medication to be taken
Binding: Concepts Medication Value Set (required)
ele-1: All FHIR elements must have a @value or children
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
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)
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: prescription
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
ele-1: All FHIR elements must have a @value or children
... encounter S 1..1 Reference(OncoFAIR Encounter) The encounter linked to the prescription
ele-1: All FHIR elements must have a @value or children
... Slices for supportingInformation S 0..* Reference(Resource) Information to support fulfilling of the medication
Slice: Unordered, Open by value:id
ele-1: All FHIR elements must have a @value or children
.... supportingInformation:accomodationUnit 0..1 Reference(HealthcareService) This is the unit that houses the patient
ele-1: All FHIR elements must have a @value or children
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: accomodationUnit
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... supportingInformation:medicalLiabiltyUnit 0..1 Reference(HealthcareService) This is the unit which assumes medical responsibility for the patient's care
ele-1: All FHIR elements must have a @value or children
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: medicalLiabiltyUnit
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... reason S 0..* CodeableReference(OncoFAIR Observation) The observation linked to the prescription
Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered.


ele-1: All FHIR elements must have a @value or children
... note S 0..1 Annotation Default comment on the prescription by the prescribing doctor
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.medicationrequiredConceptMedicationOncoFAIRValueSet (a valid code from Concepts Medication Code System)
http://ltsi.univ-rennes.fr/ValueSet/concept-medication-oncofair-valueset
from this IG
MedicationRequest.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard

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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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()

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:oncofair-mr-prescription-validation-date S 1..1 dateTime Date and time at which the prescriber considered the prescription validated
URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-mr-prescription-validation-date
... identifier S 1..1 Identifier Unique prescription identifier
.... value 1..1 string The value that is unique
... basedOn S 0..* Reference(OncoFAIR CarePlan) The protocol linked to the prescription
.... concept 0..1 CodeableConcept Reference to a concept (by class)
Required Pattern: At least the following
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: prescription
... encounter S 1..1 Reference(OncoFAIR Encounter) The encounter linked to the prescription
... Slices for supportingInformation S 0..* Reference(Resource) Information to support fulfilling of the medication
Slice: Unordered, Open by value:id
.... supportingInformation:accomodationUnit 0..1 Reference(HealthcareService) This is the unit that houses the patient
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: accomodationUnit
.... supportingInformation:medicalLiabiltyUnit 0..1 Reference(HealthcareService) This is the unit which assumes medical responsibility for the patient's care
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: medicalLiabiltyUnit
... reason S 0..* CodeableReference(OncoFAIR Observation) The observation linked to the prescription
... note S 0..1 Annotation Default comment on the prescription by the prescribing doctor

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.medicationrequiredConceptMedicationOncoFAIRValueSet (a valid code from Concepts Medication Code System)
http://ltsi.univ-rennes.fr/ValueSet/concept-medication-oncofair-valueset
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... 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: AllLanguages (required): IETF language tag for a human language

Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:oncofair-mr-prescription-validation-date S 1..1 dateTime Date and time at which the prescriber considered the prescription validated
URL: http://ltsi.univ-rennes.fr/StructureDefinition/oncofair-mr-prescription-validation-date
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier S 1..1 Identifier Unique prescription identifier
.... id 0..1 id Unique id for inter-element referencing
.... extension 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 Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... basedOn SΣ 0..* Reference(OncoFAIR CarePlan) The protocol linked to the prescription
... priorPrescription 0..1 Reference(MedicationRequest) Reference to an order/prescription that is being replaced by this MedicationRequest
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

... statusReason 0..1 CodeableConcept Reason for current status
Binding: MedicationRequestStatusReasonCodes (example): Identifies the reasons for a given status.

... statusChanged 0..1 dateTime When the status was changed
... intent ?!Σ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: MedicationRequestIntent (required): The kind of medication order.

... category 0..* CodeableConcept Grouping or category of medication request
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.


... 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 patient is to stop taking or not to start taking the medication
... medication SΣ 1..1 CodeableReference(Medication) Medication to be taken
Binding: Concepts Medication Value Set (required)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
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 0..1 uri Identity of the terminology system
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: prescription
...... 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
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... subject Σ 1..1 Reference(Patient | Group) Individual or group for whom the medication has been requested
... informationSource 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) The person or organization who provided the information about this request, if the source is someone other than the requestor
... encounter S 1..1 Reference(OncoFAIR Encounter) The encounter linked to the prescription
... Slices for supportingInformation S 0..* Reference(Resource) Information to support fulfilling of the medication
Slice: Unordered, Open by value:id
.... supportingInformation:accomodationUnit 0..1 Reference(HealthcareService) This is the unit that houses the patient
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: accomodationUnit
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
.... supportingInformation:medicalLiabiltyUnit 0..1 Reference(HealthcareService) This is the unit which assumes medical responsibility for the patient's care
..... id 1..1 id Unique id for inter-element referencing
Required Pattern: medicalLiabiltyUnit
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Text alternative for the resource
... authoredOn Σ 0..1 dateTime When request was initially authored
... requester Σ 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
... reported Σ 0..1 boolean Reported rather than primary record
... performerType Σ 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: MedicationIntendedPerformerRole (extensible): Identifies the type of individual that is desired to administer the medication.

... performer 0..* Reference(Practitioner | PractitionerRole | Organization | Patient | DeviceDefinition | RelatedPerson | CareTeam | HealthcareService) Intended performer of administration
... device 0..* CodeableReference(DeviceDefinition) Intended type of device for the administration
... recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
... reason S 0..* CodeableReference(OncoFAIR Observation) The observation linked to the prescription
Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered.


... courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: MedicationRequestCourseOfTherapyCodes (extensible): Identifies the overall pattern of medication administratio.

... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note S 0..1 Annotation Default comment on the prescription by the prescribing doctor
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... effectiveDosePeriod 0..1 Period Period over which the medication is to be taken
... dosageInstruction 0..* Dosage Specific instructions for how the medication should be taken
... dispenseRequest 0..1 BackboneElement Medication supply authorization
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... 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 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... quantity 0..1 SimpleQuantity First fill quantity
..... duration 0..1 Duration First fill duration
.... dispenseInterval 0..1 Duration Minimum period of time between dispenses
.... validityPeriod 0..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
.... quantity 0..1 SimpleQuantity Amount of medication to supply per dispense
.... expectedSupplyDuration 0..1 Duration Number of days supply per dispense
.... dispenser 0..1 Reference(Organization) Intended performer of dispense
.... dispenserInstruction 0..* Annotation Additional information for the dispenser
.... doseAdministrationAid 0..1 CodeableConcept Type of adherence packaging to use for the dispense
Binding: MedicationDoseAids (example)
... substitution 0..1 BackboneElement Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred): Identifies the type of substitution allowed.

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): SubstanceAdminSubstitutionReason

... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.statusReasonexampleMedicationRequestStatusReasonCodes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|5.0.0
from the FHIR Standard
MedicationRequest.medicationrequiredConceptMedicationOncoFAIRValueSet (a valid code from Concepts Medication Code System)
http://ltsi.univ-rennes.fr/ValueSet/concept-medication-oncofair-valueset
from this IG
MedicationRequest.supportingInformation:accomodationUnit.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationRequest.supportingInformation:medicalLiabiltyUnit.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationRequest.performerTypeextensibleMedicationIntendedPerformerRole
http://hl7.org/fhir/ValueSet/medication-intended-performer-role
from the FHIR Standard
MedicationRequest.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeextensibleMedicationRequestCourseOfTherapyCodes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.dispenseRequest.doseAdministrationAidexampleMedicationDoseAids
http://hl7.org/fhir/ValueSet/medication-dose-aid
from the FHIR Standard
MedicationRequest.substitution.allowed[x]preferredActSubstanceAdminSubstitutionCode
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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()

This structure is derived from MedicationRequest

Summary

Mandatory: 5 elements(2 nested mandatory elements)
Must-Support: 8 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.supportingInformation

 

Other representations of profile: CSV, Excel, Schematron