Guía implementación interoperabilidad FHIR sectorial e intersectorial
0.10.1 - ci-build

Guía implementación interoperabilidad FHIR sectorial e intersectorial - Local Development build (v0.10.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: HCEU - Medication Request

Defining URL:https://ohapi-fhir-service-fhir-project.apps.indraclusterdes.eastus.aroapp.io/StructureDefinition-ProfleMedicationRequestHCEU
Version:0.10.1
Name:ProfleMedicationRequestHCEU
Title:HCEU - Medication Request
Status:Draft as of 2025-07-10 20:24:14-0500
Definition:

Recurso que permite registrar información de una orden de medicamentos prescrita a un paciente en múltiples escenarios de atención

Publisher:minsait - An Indra Company. Secretaría de Salud de Bogotá,
Copyright:

Secretaría de Salud de Bogotá

Source Resource:XML / JSON / Turtle

La URL oficial para este perfil es:

https://ohapi-fhir-service-fhir-project.apps.indraclusterdes.eastus.aroapp.io/StructureDefinition-ProfleMedicationRequestHCEU

Vistas formales para el perfil

Descripción de perfiles, diferenciales, resumenes y cómo deben ser las representaciones en XML y JSON.

Esta estructura se deriva de MedicationRequest

Summary

Mandatory: 7 elements
Must-Support: 5 elements
Fixed: 4 elements
Prohibited: 28 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

Esta estructura se deriva de MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest MedicationRequest
... Slices for identifier S 1..* Identifier External ids for this request
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External ids for this request
..... use 1..1 code usual | official | temp | secondary | old (If known)
Fixed Value: usual
..... type 0..0
..... system 1..1 uri The namespace for the identifier value
Example HIS uri: http://hospitalSystemInformation.example.org/MedicationRequests/
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
... status 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Fixed Value: completed
... statusReason 0..0
... intent 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... category S 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (required): 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.
... doNotPerform 0..0
... reported[x] 0..0
... medication[x] 1..1 Reference(HCEU - Medication) Medication to be taken
... subject 1..1 Reference(HCEU - Patient) Who or group medication request is for
... encounter 0..1 Reference(HCEU - Intramural - Encounter) Encounter created as part of encounter/admission/stay
... supportingInformation 0..0
... authoredOn 1..1 dateTime When request was initially authored
... requester 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who/What requested the Request
... performer 0..0
... performerType 0..0
... recorder 0..0
... reasonCode 0..0
... reasonReference S 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs) Condition or observation that supports why the prescription is being written
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..* Reference(HCEU - Intramural - Care Plan | HCEU - Medication Request | HCEU - Service Resquest) What request fulfills
... groupIdentifier 0..0
... courseOfTherapyType 0..0
... insurance 0..0
... note S 0..* Annotation Information about the prescription
... dosageInstruction S 0..* Dosage How the medication should be taken
.... additionalInstruction 0..0
.... asNeeded[x] 0..0
.... site 0..0
.... route
..... coding 0..* Coding Code defined by a terminology system
Example e.j: {"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA","code":"1","display":"Bucal"}
...... system 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA
.... method 0..0
.... doseAndRate 0..1 Element Amount of medication administered
.... maxDosePerPeriod 0..0
.... maxDosePerAdministration 0..0
.... maxDosePerLifetime 0..0
... dispenseRequest 0..0
... substitution 0..0
... priorPrescription 0..0
... detectedIssue 0..0
... eventHistory 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 1..* Identifier External ids for this request
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External ids for this request
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: usual
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Example HIS uri: http://hospitalSystemInformation.example.org/MedicationRequests/
..... value Σ 1..1 string The value that is unique
Example General: 123456
... 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.
Fixed Value: completed
... 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.
Fixed Value: order
... category S 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (required): 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.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... medication[x] Σ 1..1 Reference(HCEU - Medication) Medication to be taken
... subject Σ 1..1 Reference(HCEU - Patient) Who or group medication request is for
... encounter 0..1 Reference(HCEU - Intramural - Encounter) Encounter created as part of encounter/admission/stay
... authoredOn Σ 1..1 dateTime When request was initially authored
... requester Σ 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who/What requested the Request
... reasonReference S 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs) Condition or observation that supports why the prescription is being written
... basedOn Σ 0..* Reference(HCEU - Intramural - Care Plan | HCEU - Medication Request | HCEU - Service Resquest) What request fulfills
... note S 0..* Annotation Information about the prescription
... dosageInstruction S 0..* Dosage How the medication should be taken
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system

Example e.j: {"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA","code":"1","display":"Bucal"}
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... 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
.... doseAndRate Σ 0..1 Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... identifier 1..* Identifier External ids for this request
Slice: Unordered, Open by pattern:use
... category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (required): 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.
... reasonReference 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs) Condition or observation that supports why the prescription is being written
... dosageInstruction 0..* Dosage How the medication should be taken

doco Documentation for this format

Esta estructura se deriva de MedicationRequest

Summary

Mandatory: 7 elements
Must-Support: 5 elements
Fixed: 4 elements
Prohibited: 28 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

Vista de diferencias

Esta estructura se deriva de MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationRequest MedicationRequest
... Slices for identifier S 1..* Identifier External ids for this request
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External ids for this request
..... use 1..1 code usual | official | temp | secondary | old (If known)
Fixed Value: usual
..... type 0..0
..... system 1..1 uri The namespace for the identifier value
Example HIS uri: http://hospitalSystemInformation.example.org/MedicationRequests/
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
... status 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Fixed Value: completed
... statusReason 0..0
... intent 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... category S 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (required): 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.
... doNotPerform 0..0
... reported[x] 0..0
... medication[x] 1..1 Reference(HCEU - Medication) Medication to be taken
... subject 1..1 Reference(HCEU - Patient) Who or group medication request is for
... encounter 0..1 Reference(HCEU - Intramural - Encounter) Encounter created as part of encounter/admission/stay
... supportingInformation 0..0
... authoredOn 1..1 dateTime When request was initially authored
... requester 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who/What requested the Request
... performer 0..0
... performerType 0..0
... recorder 0..0
... reasonCode 0..0
... reasonReference S 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs) Condition or observation that supports why the prescription is being written
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..* Reference(HCEU - Intramural - Care Plan | HCEU - Medication Request | HCEU - Service Resquest) What request fulfills
... groupIdentifier 0..0
... courseOfTherapyType 0..0
... insurance 0..0
... note S 0..* Annotation Information about the prescription
... dosageInstruction S 0..* Dosage How the medication should be taken
.... additionalInstruction 0..0
.... asNeeded[x] 0..0
.... site 0..0
.... route
..... coding 0..* Coding Code defined by a terminology system
Example e.j: {"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA","code":"1","display":"Bucal"}
...... system 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA
.... method 0..0
.... doseAndRate 0..1 Element Amount of medication administered
.... maxDosePerPeriod 0..0
.... maxDosePerAdministration 0..0
.... maxDosePerLifetime 0..0
... dispenseRequest 0..0
... substitution 0..0
... priorPrescription 0..0
... detectedIssue 0..0
... eventHistory 0..0

doco Documentation for this format

Tabla de resumen

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier S 1..* Identifier External ids for this request
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External ids for this request
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: usual
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Example HIS uri: http://hospitalSystemInformation.example.org/MedicationRequests/
..... value Σ 1..1 string The value that is unique
Example General: 123456
... 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.
Fixed Value: completed
... 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.
Fixed Value: order
... category S 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (required): 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.
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... medication[x] Σ 1..1 Reference(HCEU - Medication) Medication to be taken
... subject Σ 1..1 Reference(HCEU - Patient) Who or group medication request is for
... encounter 0..1 Reference(HCEU - Intramural - Encounter) Encounter created as part of encounter/admission/stay
... authoredOn Σ 1..1 dateTime When request was initially authored
... requester Σ 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who/What requested the Request
... reasonReference S 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs) Condition or observation that supports why the prescription is being written
... basedOn Σ 0..* Reference(HCEU - Intramural - Care Plan | HCEU - Medication Request | HCEU - Service Resquest) What request fulfills
... note S 0..* Annotation Information about the prescription
... dosageInstruction S 0..* Dosage How the medication should be taken
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system

Example e.j: {"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA","code":"1","display":"Bucal"}
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... 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
.... doseAndRate Σ 0..1 Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)

doco Documentation for this format

 

Otras representaciones de este perfil: Schematron

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.identifier:HISdentifier.userequiredFixed Value: usual
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationRequest.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
From the FHIR Standard
MedicationRequest.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
From the FHIR Standard
MedicationRequest.categoryrequiredmedicationRequest Category Codes
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.dosageInstruction.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://hl7.org/fhir/ValueSet/dose-rate-type
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()
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()