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

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

Recurso que permite registrar información que permita identificar y definir un medicamento

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

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 Medication

Summary

Mandatory: 9 elements
Must-Support: 3 elements
Fixed: 5 elements
Prohibited: 5 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 Medication.identifier

Esta estructura se deriva de Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication Medication
... Slices for identifier S 1..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier Business identifier for this medication
..... 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/Medications/
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
... code 1..1 CodeableConcept Codes that identify this medication
.... coding 1..1 Coding Code defined by a terminology system
..... system 0..1 uri Identity of the terminology system
Required Pattern: https://app.invima.gov.co/cum/
..... version 0..0
..... code 1..1 code Symbol in syntax defined by the system
Example E.j: 19965499-11
..... display 0..1 string Representation defined by the system
Example e.j: LOSARTAN 50 MG TABLETA
..... userSelected 0..0
.... text 0..1 string Plain text representation of the concept
Example e.j: LOSARTAN 50 MG TABLETA
... status 1..1 code |active inactive | entered-in-error
Fixed Value: active
... form S 0..1 CodeableConcept powder | tablets | capsule +
Binding: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR (required)
Example e.j: {"coding":[{"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR","code":"77","display":"Tableta"}]}
.... coding
..... system 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR
.... text 0..1 string Plain text representation of the concept
Example e.j: Tableta
... amount
.... numerator
..... system 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
.... denominator
..... system 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
... ingredient S 0..* BackboneElement Active or inactive ingredient

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... 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 Business identifier for this medication
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier Σ 1..1 Identifier Business identifier for this 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
..... 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/Medications/
..... value Σ 1..1 string The value that is unique
Example General: 123456
... code Σ 1..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a 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
.... coding Σ 1..1 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
Required Pattern: https://app.invima.gov.co/cum/
..... code Σ 1..1 code Symbol in syntax defined by the system
Example E.j: 19965499-11
..... display Σ 0..1 string Representation defined by the system
Example e.j: LOSARTAN 50 MG TABLETA
.... text Σ 0..1 string Plain text representation of the concept
Example e.j: LOSARTAN 50 MG TABLETA
... status ?!Σ 1..1 code |active inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
Fixed Value: active
... manufacturer Σ 0..1 Reference(HCEU - Organization) Manufacturer of the item
... form S 0..1 CodeableConcept powder | tablets | capsule +
Binding: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR (required)
Example e.j: {"coding":[{"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR","code":"77","display":"Tableta"}]}
.... 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_FFAR
..... 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
Example e.j: Tableta
... amount Σ 0..1 Ratio Amount of drug in package
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... numerator Σ 0..1 Quantity Numerator value
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ 0..1 decimal Numerical value (with implicit precision)
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
..... unit Σ 0..1 string Unit representation
..... system ΣC 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
..... code Σ 0..1 code Coded form of the unit
.... denominator Σ 0..1 Quantity Denominator value
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ 0..1 decimal Numerical value (with implicit precision)
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
..... unit Σ 0..1 string Unit representation
..... system ΣC 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
..... code Σ 0..1 code Coded form of the unit
... ingredient S 0..* BackboneElement Active or inactive ingredient
.... 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
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch 0..1 BackboneElement Details about packaged medications
.... 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
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... identifier Σ 1..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:use
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR (required)
... ingredient 0..* BackboneElement Active or inactive ingredient

doco Documentation for this format

Esta estructura se deriva de Medication

Summary

Mandatory: 9 elements
Must-Support: 3 elements
Fixed: 5 elements
Prohibited: 5 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 Medication.identifier

Vista de diferencias

Esta estructura se deriva de Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication Medication
... Slices for identifier S 1..* Identifier Business identifier for this medication
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier 1..1 Identifier Business identifier for this medication
..... 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/Medications/
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
... code 1..1 CodeableConcept Codes that identify this medication
.... coding 1..1 Coding Code defined by a terminology system
..... system 0..1 uri Identity of the terminology system
Required Pattern: https://app.invima.gov.co/cum/
..... version 0..0
..... code 1..1 code Symbol in syntax defined by the system
Example E.j: 19965499-11
..... display 0..1 string Representation defined by the system
Example e.j: LOSARTAN 50 MG TABLETA
..... userSelected 0..0
.... text 0..1 string Plain text representation of the concept
Example e.j: LOSARTAN 50 MG TABLETA
... status 1..1 code |active inactive | entered-in-error
Fixed Value: active
... form S 0..1 CodeableConcept powder | tablets | capsule +
Binding: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR (required)
Example e.j: {"coding":[{"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR","code":"77","display":"Tableta"}]}
.... coding
..... system 0..1 uri Identity of the terminology system
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR
.... text 0..1 string Plain text representation of the concept
Example e.j: Tableta
... amount
.... numerator
..... system 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
.... denominator
..... system 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
... ingredient S 0..* BackboneElement Active or inactive ingredient

doco Documentation for this format

Tabla de resumen

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... 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 Business identifier for this medication
Slice: Unordered, Open by pattern:use
.... identifier:HISdentifier Σ 1..1 Identifier Business identifier for this 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
..... 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/Medications/
..... value Σ 1..1 string The value that is unique
Example General: 123456
... code Σ 1..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a 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
.... coding Σ 1..1 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
Required Pattern: https://app.invima.gov.co/cum/
..... code Σ 1..1 code Symbol in syntax defined by the system
Example E.j: 19965499-11
..... display Σ 0..1 string Representation defined by the system
Example e.j: LOSARTAN 50 MG TABLETA
.... text Σ 0..1 string Plain text representation of the concept
Example e.j: LOSARTAN 50 MG TABLETA
... status ?!Σ 1..1 code |active inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
Fixed Value: active
... manufacturer Σ 0..1 Reference(HCEU - Organization) Manufacturer of the item
... form S 0..1 CodeableConcept powder | tablets | capsule +
Binding: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR (required)
Example e.j: {"coding":[{"system":"https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR","code":"77","display":"Tableta"}]}
.... 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_FFAR
..... 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
Example e.j: Tableta
... amount Σ 0..1 Ratio Amount of drug in package
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... numerator Σ 0..1 Quantity Numerator value
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ 0..1 decimal Numerical value (with implicit precision)
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
..... unit Σ 0..1 string Unit representation
..... system ΣC 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
..... code Σ 0..1 code Coded form of the unit
.... denominator Σ 0..1 Quantity Denominator value
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ 0..1 decimal Numerical value (with implicit precision)
..... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
..... unit Σ 0..1 string Unit representation
..... system ΣC 0..1 uri System that defines coded unit form
Fixed Value: https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_UMED
..... code Σ 0..1 code Coded form of the unit
... ingredient S 0..* BackboneElement Active or inactive ingredient
.... 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
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch 0..1 BackboneElement Details about packaged medications
.... 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
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

 

Otras representaciones de este perfil: Schematron

Terminology Bindings

PathConformanceValueSet / CodeURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.identifier:HISdentifier.userequiredFixed Value: usual
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
From the FHIR Standard
Medication.statusrequiredFixed Value: active
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formrequiredhttps://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR
https://bogotadigital.saludcapital.gov.co/hncat/fhir/AdminCatalogStructureRS/FMED_FFAR
Medication.amount.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard
Medication.amount.denominator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf 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-4errorMedicationIf 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-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA 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()