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

 

Other representations of profile: CSV, Excel, Schematron