IPS-CL
0.1.0 - ci-build Chile flag

IPS-CL, published by HL7 Chile. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7Chile/IPS-CL/ and changes regularly. See the Directory of published versions

Resource Profile: Medicamento (IPS-CL)

Official URL: https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Medicamento-cl-ips Version: 0.1.0
Standards status: Draft Maturity Level: 1 Computable Name: MedicamentoClIps

Este perfil representa las restricciones aplicadas al recurso Medicamento por la Guía de Implementación FHIR del Resumen Internacional del Paciente (IPS), basada en FHIR R4. Un medicamento se describe en el resumen del paciente como una instancia de un recurso Medicamento restringido por este perfil.

Usage:

Formal Views of Profile Content

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

This structure is derived from CoreMedicamentoCl

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication CoreMedicamentoCl
... code 1..1 CodeableConceptIPS Medicación administrada o que se iba a administrar (código de medicación de cualquier sistema de códigos)
Binding: Medications - IPS (preferred): SNOMED CT medicamentos (Producto farmacéutico / biológico) o un código para medicamento ausente/desconocido

Additional BindingsPurpose
WHO ATC - IPS candidate
http://minsal.cl/term/TFC candidate
... form 0..1 CodeableConceptIPS Describe la forma del producto: Polvo, cápsula, comprimido, etc.
Binding: Medicine Doseform - IPS (preferred)
... ingredient
.... item[x] 1..1 Componente del fármaco
Binding: Medications - IPS (preferred): SNOMED CT drogas/substancias

..... itemCodeableConcept CodeableConcept(CodeableConceptIPS)
..... itemReference Reference(Substance | Medication)
.... strength 0..1 RatioIPS A ratio of two Quantity values - a numerator and a denominator

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.codepreferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.formpreferredMedicineDoseFormUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.ingredient.item[x]preferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* CoreMedicamentoCl Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... NombreComercial S 0..1 string Nombre Comercial Fármaco
URL: https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/NombreComercial
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!SΣ 0..1 code usual | official | temp | secondary | old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system SΣ 0..1 uri Sistema de identificación
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 0..1 string Valor del identificador
Example General: 123456
... code S 1..1 CodeableConceptIPS Medicación administrada o que se iba a administrar (código de medicación de cualquier sistema de códigos)
Binding: Medications - IPS (preferred): SNOMED CT medicamentos (Producto farmacéutico / biológico) o un código para medicamento ausente/desconocido

Additional BindingsPurpose
WHO ATC - IPS candidate
http://minsal.cl/term/TFC candidate
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer SΣ 0..1 Reference(CL Organización) Laboratorio
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... display SΣ 0..1 string Nombre del laboratorio farmacéutico
... form S 0..1 CodeableConceptIPS Describe la forma del producto: Polvo, cápsula, comprimido, etc.
Binding: Medicine Doseform - IPS (preferred)
... ingredient S 0..* BackboneElement Componentes del medicamento
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] S 1..1 Componente del fármaco
Slice: Unordered, Closed by type:$this
Binding: Medications - IPS (preferred): SNOMED CT drogas/substancias

..... itemCodeableConcept CodeableConcept(CodeableConceptIPS)
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: SNOMEDCTMedicationCodes (example)
..... item[x]:itemReference 0..1 Reference(Substance | CL Medicamento) The actual ingredient or content
.... isActive S 0..1 boolean Determinación si el componente es componente activo o no
.... strength SC 0..1 RatioIPS A ratio of two Quantity values - a numerator and a denominator
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... numerator SΣ 0..1 Quantity Valor del Numerador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... denominator SΣ 0..1 Quantity Valor del Denominador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Medication.codepreferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formpreferredMedicineDoseFormUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.ingredient.item[x]preferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.ingredient.item[x]:itemCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.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()
rat-1errorMedication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* CoreMedicamentoCl 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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... NombreComercial S 0..1 string Nombre Comercial Fármaco
URL: https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/NombreComercial
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Identificador de Medicamento
.... 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 ?!SΣ 0..1 code usual | official | temp | secondary | old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system SΣ 0..1 uri Sistema de identificación
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 0..1 string Valor del identificador
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)
... code S 1..1 CodeableConceptIPS Medicación administrada o que se iba a administrar (código de medicación de cualquier sistema de códigos)
Binding: Medications - IPS (preferred): SNOMED CT medicamentos (Producto farmacéutico / biológico) o un código para medicamento ausente/desconocido

Additional BindingsPurpose
WHO ATC - IPS candidate
http://minsal.cl/term/TFC candidate
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer SΣ 0..1 Reference(CL Organización) Laboratorio
.... 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 SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display SΣ 0..1 string Nombre del laboratorio farmacéutico
... form S 0..1 CodeableConceptIPS Describe la forma del producto: Polvo, cápsula, comprimido, etc.
Binding: Medicine Doseform - IPS (preferred)
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient S 0..* BackboneElement Componentes del medicamento
.... 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
.... Slices for item[x] S 1..1 Componente del fármaco
Slice: Unordered, Closed by type:$this
Binding: Medications - IPS (preferred): SNOMED CT drogas/substancias

..... itemCodeableConcept CodeableConcept(CodeableConceptIPS)
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: SNOMEDCTMedicationCodes (example)
..... item[x]:itemReference 0..1 Reference(Substance | CL Medicamento) The actual ingredient or content
.... isActive S 0..1 boolean Determinación si el componente es componente activo o no
.... strength SC 0..1 RatioIPS A ratio of two Quantity values - a numerator and a denominator
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... 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 SΣ 0..1 Quantity Valor del Numerador
...... 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 Valor del Numerador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ 0..1 string Unidad del Numerador
...... system ΣC 0..1 uri System that defines coded unit form
...... code Σ 0..1 code Coded form of the unit
..... denominator SΣ 0..1 Quantity Valor del Denominador
...... 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 Valor del Denominador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ 0..1 string Unidad del Denominador
...... system ΣC 0..1 uri System that defines coded unit form
...... code Σ 0..1 code Coded form of the unit
... 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

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Medication.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Medication.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Medication.codepreferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.manufacturer.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Medication.formpreferredMedicineDoseFormUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.ingredient.item[x]preferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.ingredient.item[x]:itemCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.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()
rat-1errorMedication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())

Differential View

This structure is derived from CoreMedicamentoCl

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication CoreMedicamentoCl
... code 1..1 CodeableConceptIPS Medicación administrada o que se iba a administrar (código de medicación de cualquier sistema de códigos)
Binding: Medications - IPS (preferred): SNOMED CT medicamentos (Producto farmacéutico / biológico) o un código para medicamento ausente/desconocido

Additional BindingsPurpose
WHO ATC - IPS candidate
http://minsal.cl/term/TFC candidate
... form 0..1 CodeableConceptIPS Describe la forma del producto: Polvo, cápsula, comprimido, etc.
Binding: Medicine Doseform - IPS (preferred)
... ingredient
.... item[x] 1..1 Componente del fármaco
Binding: Medications - IPS (preferred): SNOMED CT drogas/substancias

..... itemCodeableConcept CodeableConcept(CodeableConceptIPS)
..... itemReference Reference(Substance | Medication)
.... strength 0..1 RatioIPS A ratio of two Quantity values - a numerator and a denominator

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.codepreferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.formpreferredMedicineDoseFormUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.ingredient.item[x]preferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* CoreMedicamentoCl Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... NombreComercial S 0..1 string Nombre Comercial Fármaco
URL: https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/NombreComercial
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!SΣ 0..1 code usual | official | temp | secondary | old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system SΣ 0..1 uri Sistema de identificación
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 0..1 string Valor del identificador
Example General: 123456
... code S 1..1 CodeableConceptIPS Medicación administrada o que se iba a administrar (código de medicación de cualquier sistema de códigos)
Binding: Medications - IPS (preferred): SNOMED CT medicamentos (Producto farmacéutico / biológico) o un código para medicamento ausente/desconocido

Additional BindingsPurpose
WHO ATC - IPS candidate
http://minsal.cl/term/TFC candidate
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer SΣ 0..1 Reference(CL Organización) Laboratorio
.... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... display SΣ 0..1 string Nombre del laboratorio farmacéutico
... form S 0..1 CodeableConceptIPS Describe la forma del producto: Polvo, cápsula, comprimido, etc.
Binding: Medicine Doseform - IPS (preferred)
... ingredient S 0..* BackboneElement Componentes del medicamento
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] S 1..1 Componente del fármaco
Slice: Unordered, Closed by type:$this
Binding: Medications - IPS (preferred): SNOMED CT drogas/substancias

..... itemCodeableConcept CodeableConcept(CodeableConceptIPS)
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: SNOMEDCTMedicationCodes (example)
..... item[x]:itemReference 0..1 Reference(Substance | CL Medicamento) The actual ingredient or content
.... isActive S 0..1 boolean Determinación si el componente es componente activo o no
.... strength SC 0..1 RatioIPS A ratio of two Quantity values - a numerator and a denominator
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... numerator SΣ 0..1 Quantity Valor del Numerador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... denominator SΣ 0..1 Quantity Valor del Denominador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Medication.codepreferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formpreferredMedicineDoseFormUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.ingredient.item[x]preferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.ingredient.item[x]:itemCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.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()
rat-1errorMedication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* CoreMedicamentoCl 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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... NombreComercial S 0..1 string Nombre Comercial Fármaco
URL: https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/NombreComercial
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Identificador de Medicamento
.... 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 ?!SΣ 0..1 code usual | official | temp | secondary | old
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system SΣ 0..1 uri Sistema de identificación
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 0..1 string Valor del identificador
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)
... code S 1..1 CodeableConceptIPS Medicación administrada o que se iba a administrar (código de medicación de cualquier sistema de códigos)
Binding: Medications - IPS (preferred): SNOMED CT medicamentos (Producto farmacéutico / biológico) o un código para medicamento ausente/desconocido

Additional BindingsPurpose
WHO ATC - IPS candidate
http://minsal.cl/term/TFC candidate
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer SΣ 0..1 Reference(CL Organización) Laboratorio
.... 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 SΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display SΣ 0..1 string Nombre del laboratorio farmacéutico
... form S 0..1 CodeableConceptIPS Describe la forma del producto: Polvo, cápsula, comprimido, etc.
Binding: Medicine Doseform - IPS (preferred)
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient S 0..* BackboneElement Componentes del medicamento
.... 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
.... Slices for item[x] S 1..1 Componente del fármaco
Slice: Unordered, Closed by type:$this
Binding: Medications - IPS (preferred): SNOMED CT drogas/substancias

..... itemCodeableConcept CodeableConcept(CodeableConceptIPS)
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: SNOMEDCTMedicationCodes (example)
..... item[x]:itemReference 0..1 Reference(Substance | CL Medicamento) The actual ingredient or content
.... isActive S 0..1 boolean Determinación si el componente es componente activo o no
.... strength SC 0..1 RatioIPS A ratio of two Quantity values - a numerator and a denominator
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
..... 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 SΣ 0..1 Quantity Valor del Numerador
...... 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 Valor del Numerador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ 0..1 string Unidad del Numerador
...... system ΣC 0..1 uri System that defines coded unit form
...... code Σ 0..1 code Coded form of the unit
..... denominator SΣ 0..1 Quantity Valor del Denominador
...... 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 Valor del Denominador
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ 0..1 string Unidad del Denominador
...... system ΣC 0..1 uri System that defines coded unit form
...... code Σ 0..1 code Coded form of the unit
... 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

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Medication.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Medication.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Medication.codepreferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.manufacturer.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Medication.formpreferredMedicineDoseFormUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform
Medication.ingredient.item[x]preferredMedicationsUvIps
http://hl7.org/fhir/uv/ips/ValueSet/medication-uv-ips
Medication.ingredient.item[x]:itemCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.ingredient.strength.numerator.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Medication.ingredient.strength.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()
rat-1errorMedication.ingredient.strengthNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())

 

Other representations of profile: CSV, Excel, Schematron