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 Administration

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

Recurso que permite registrar información de la administración de un medicamento a un paciente

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-ProfileMedicationAdministrationHCEU

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 MedicationAdministration

Summary

Mandatory: 7 elements
Must-Support: 4 elements
Fixed: 3 elements
Prohibited: 25 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 MedicationAdministration.identifier

Esta estructura se deriva de MedicationAdministration

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration MedicationAdministration
... Slices for identifier 1..* Identifier External identifier
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External identifier
..... 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/MedicationAdministrations/
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
... instantiates 0..0
... partOf S 0..* Reference(HCEU - Medication Administration | HCEU - Intramural - Procedure) Part of referenced event
.... type 0..0
.... identifier 0..0
... statusReason 0..0
... category S 0..1 CodeableConcept Type of medication usage
... medication[x] 1..1 Reference(HCEU - Medication) What was administered
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
... subject 1..1 Reference(HCEU - Patient) Who received medication
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
... context 0..1 Reference(HCEU - Intramural - Encounter | HCEU - APH - Encounter) Encounter or Episode of Care administered as part of
.... type 0..0
.... identifier 0..0
... supportingInformation 0..0
... effective[x] 1..1 dateTime Start and end time of administration
... performer
.... function 0..0
.... actor 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who performed the medication administration
..... type 0..0
..... identifier 0..0
... reasonCode 0..0
... reasonReference 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs | HCEU - Diagnostic Report | HCEU - APH - Observation) Condition or observation that supports why the medication was administered
.... type 0..0
.... identifier 0..0
... request 0..0
... device 0..0
... note S 0..* Annotation Information about the administration
.... text 1..1 markdown The annotation - text content (as markdown)
Example ej: Notas extras
... dosage S 0..1 BackboneElement Details of how medication was taken
.... site 0..0
.... route
..... coding
...... system 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA
...... code 0..1 code Symbol in syntax defined by the system
Example ej: 1
...... display 0..1 string Representation defined by the system
Example ej: Bucal
.... method 0..0
... eventHistory 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration 0..* MedicationAdministration Administration of medication to a patient
... 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 1..* Identifier External identifier
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External identifier
..... 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/MedicationAdministrations/
..... value Σ 1..1 string The value that is unique
Example General: 123456
... partOf SΣ 0..* Reference(HCEU - Medication Administration | HCEU - Intramural - Procedure) Part of referenced event
.... id 0..1 string Unique id for inter-element referencing
.... 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
.... display Σ 0..1 string Text alternative for the resource
... status ?!Σ 1..1 code completed
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
Fixed Value: completed
... category S 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
... medication[x] Σ 1..1 Reference(HCEU - Medication) What was 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
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(HCEU - Patient) Who received medication
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource
... context 0..1 Reference(HCEU - Intramural - Encounter | HCEU - APH - Encounter) Encounter or Episode of Care administered as part of
.... id 0..1 string Unique id for inter-element referencing
.... 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
.... display Σ 0..1 string Text alternative for the resource
... effective[x] Σ 1..1 dateTime Start and end time of administration
... performer Σ 0..* BackboneElement Who performed the medication administration and what they did
.... 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
.... actor Σ 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who performed the medication administration
..... id 0..1 string Unique id for inter-element referencing
..... 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
..... display Σ 0..1 string Text alternative for the resource
... reasonReference 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs | HCEU - Diagnostic Report | HCEU - APH - Observation) Condition or observation that supports why the medication was 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
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource
... note S 0..* Annotation Information about the administration
.... id 0..1 string Unique id for inter-element referencing
.... extension 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 The annotation - text content (as markdown)
Example ej: Notas extras
... dosage SC 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
.... 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
.... text 0..1 string Free text dosage instructions e.g. SIG
.... route 0..1 CodeableConcept Path of substance into 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
...... 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
Example ej: 1
...... display Σ 0..1 string Representation defined by the system
Example ej: Bucal
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... dose 0..1 SimpleQuantity Amount of medication per dose
.... rate[x] 0..1 Dose quantity per unit of time
..... rateRatio Ratio
..... rateQuantity Quantity(SimpleQuantity)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration 0..* MedicationAdministration Administration of medication to a patient
... partOf Σ 0..* Reference(HCEU - Medication Administration | HCEU - Intramural - Procedure) Part of referenced event
... category 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
... note 0..* Annotation Information about the administration

doco Documentation for this format

Esta estructura se deriva de MedicationAdministration

Summary

Mandatory: 7 elements
Must-Support: 4 elements
Fixed: 3 elements
Prohibited: 25 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 MedicationAdministration.identifier

Vista de diferencias

Esta estructura se deriva de MedicationAdministration

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration MedicationAdministration
... Slices for identifier 1..* Identifier External identifier
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External identifier
..... 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/MedicationAdministrations/
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
... instantiates 0..0
... partOf S 0..* Reference(HCEU - Medication Administration | HCEU - Intramural - Procedure) Part of referenced event
.... type 0..0
.... identifier 0..0
... statusReason 0..0
... category S 0..1 CodeableConcept Type of medication usage
... medication[x] 1..1 Reference(HCEU - Medication) What was administered
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
... subject 1..1 Reference(HCEU - Patient) Who received medication
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
... context 0..1 Reference(HCEU - Intramural - Encounter | HCEU - APH - Encounter) Encounter or Episode of Care administered as part of
.... type 0..0
.... identifier 0..0
... supportingInformation 0..0
... effective[x] 1..1 dateTime Start and end time of administration
... performer
.... function 0..0
.... actor 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who performed the medication administration
..... type 0..0
..... identifier 0..0
... reasonCode 0..0
... reasonReference 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs | HCEU - Diagnostic Report | HCEU - APH - Observation) Condition or observation that supports why the medication was administered
.... type 0..0
.... identifier 0..0
... request 0..0
... device 0..0
... note S 0..* Annotation Information about the administration
.... text 1..1 markdown The annotation - text content (as markdown)
Example ej: Notas extras
... dosage S 0..1 BackboneElement Details of how medication was taken
.... site 0..0
.... route
..... coding
...... system 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_VIAA
...... code 0..1 code Symbol in syntax defined by the system
Example ej: 1
...... display 0..1 string Representation defined by the system
Example ej: Bucal
.... method 0..0
... eventHistory 0..0

doco Documentation for this format

Tabla de resumen

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration 0..* MedicationAdministration Administration of medication to a patient
... 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 1..* Identifier External identifier
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier External identifier
..... 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/MedicationAdministrations/
..... value Σ 1..1 string The value that is unique
Example General: 123456
... partOf SΣ 0..* Reference(HCEU - Medication Administration | HCEU - Intramural - Procedure) Part of referenced event
.... id 0..1 string Unique id for inter-element referencing
.... 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
.... display Σ 0..1 string Text alternative for the resource
... status ?!Σ 1..1 code completed
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
Fixed Value: completed
... category S 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
... medication[x] Σ 1..1 Reference(HCEU - Medication) What was 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
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(HCEU - Patient) Who received medication
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource
... context 0..1 Reference(HCEU - Intramural - Encounter | HCEU - APH - Encounter) Encounter or Episode of Care administered as part of
.... id 0..1 string Unique id for inter-element referencing
.... 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
.... display Σ 0..1 string Text alternative for the resource
... effective[x] Σ 1..1 dateTime Start and end time of administration
... performer Σ 0..* BackboneElement Who performed the medication administration and what they did
.... 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
.... actor Σ 1..1 Reference(HCEU - Practitioner | HCEU - PractitionerRole) Who performed the medication administration
..... id 0..1 string Unique id for inter-element referencing
..... 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
..... display Σ 0..1 string Text alternative for the resource
... reasonReference 0..* Reference(HCEU - Condition | HCEU - Intramural - Observation | HCEU - Observation vital signs | HCEU - Diagnostic Report | HCEU - APH - Observation) Condition or observation that supports why the medication was 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
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource
... note S 0..* Annotation Information about the administration
.... id 0..1 string Unique id for inter-element referencing
.... extension 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 The annotation - text content (as markdown)
Example ej: Notas extras
... dosage SC 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
.... 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
.... text 0..1 string Free text dosage instructions e.g. SIG
.... route 0..1 CodeableConcept Path of substance into 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
...... 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
Example ej: 1
...... display Σ 0..1 string Representation defined by the system
Example ej: Bucal
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... dose 0..1 SimpleQuantity Amount of medication per dose
.... rate[x] 0..1 Dose quantity per unit of time
..... rateRatio Ratio
..... rateQuantity Quantity(SimpleQuantity)

doco Documentation for this format

 

Otras representaciones de este perfil: Schematron

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationAdministration.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
MedicationAdministration.identifier:HISdentifier.userequiredFixed Value: usual
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
MedicationAdministration.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/medication-admin-status|4.0.1
From the FHIR Standard
MedicationAdministration.categorypreferredMedicationAdministration Category Codes
http://hl7.org/fhir/ValueSet/medication-admin-category
From the FHIR Standard
MedicationAdministration.dosage.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationAdministrationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationAdministrationIf 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-4errorMedicationAdministrationIf 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-5errorMedicationAdministrationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationAdministrationA 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()
mad-1errorMedicationAdministration.dosageSHALL have at least one of dosage.dose or dosage.rate[x]
: dose.exists() or rate.exists()