Notificación FACEDRA basada en FHIR® R5 |
0.1.1 - ci-build International flag

Notificación FACEDRA basada en FHIR® R5 | - Local Development build (v0.1.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Medicamento Sospechoso FACEDRA ( Experimental )

Official URL: https://hl7.comisca.org/fhir/StructureDefinition/medicamento-sospechoso-facedra Version: 0.1.1
Standards status: Informative Computable Name: MedicamentoSospechosoFACEDRA

Copyright/Legal: Derechos de autor (c) 2026, Consejo de Ministros de Salud de Centroamérica y República Dominicana (COMISCA). Este trabajo se distribuye bajo la licencia CC0-1.0, lo que permite su uso sin restricciones, incluso para fines comerciales. HL7®, FHIR® y el logotipo FHIR (diseño de llama) son marcas registradas de Health Level Seven International. Su uso no implica respaldo por parte de HL7. El contenido normativo de FHIR es © HL7.org 2011+. Todos los derechos reservados.

Perfil del recurso MedicationStatement para registrar el uso de medicamentos sospechosos, concomitantes o en interaccion en FACEDRA.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: facedra-med-embarazo-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:tipoSospecha S 1..1 CodeableConcept Tipo de sospecha: sospechoso | concomitante | interaccion
URL: https://hl7.comisca.org/fhir/StructureDefinition/suspect-type-ext
Binding: Tipos de Sospecha (required)
.... extension:medidasTomadas S 1..1 CodeableConcept Medidas tomadas con respecto al medicamento
URL: https://hl7.comisca.org/fhir/StructureDefinition/medication-action-taken-ext
Binding: Listado de Medidas Tomadas (required)
.... extension:embarazo S 0..1 CodeableConcept Estado de embarazo al momento de la notificacion
URL: https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext
Binding: Estado de Embarazo - Codigos (required)
.... extension:semanaGestacion S 0..1 positiveInt Semana de gestacion (si embarazo=true)
URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext
... status ?!ΣC 1..1 code Estado del registro en FACEDRA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Constraints: facedra-medst-status-permitido
... medication Σ 1..1 CodeableReference(Medicamento FACEDRA) Referencia al recurso MedicamentoFACEDRA
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
... subject Σ 1..1 Reference(Paciente FACEDRA) Paciente que uso el medicamento
... encounter Σ 0..1 Reference(Encuentro FACEDRA) Consulta asociada al uso del medicamento
... effective[x] Σ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start ΣC 1..1 dateTime Fecha de inicio de administracion
.... end ΣC 0..1 dateTime Fecha de fin de administracion
... informationSource 0..1 Reference(Notificador FACEDRA) Quien reporto el uso del medicamento
... reason 0..1 CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... dosage 0..1 Dosage Details of how medication is/was taken or should be taken
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text Σ 0..1 string Posologia en texto libre
.... route Σ 0..1 CodeableConcept Via de administracion del medicamento
Binding: Listado de Vía de Administración (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base required Listado de Vía de Administración 📦0.1.1 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If 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-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
facedra-med-embarazo-1 error MedicationStatement Cuando extension[embarazo] indica 'yes', extension[semanaGestacion] es requerida. extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext').where(value.ofType(CodeableConcept).coding.where(system = 'https://hl7.comisca.org/fhir/CodeSystem/pregnancy-status' and code = 'yes').exists()).exists().not() or extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext').exists()
facedra-medst-status-permitido error MedicationStatement.status status solo permite recorded, active o completed. $this = 'recorded' or $this = 'active' or $this = 'completed'

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: facedra-med-embarazo-1
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:tipoSospecha S 1..1 CodeableConcept Tipo de sospecha: sospechoso | concomitante | interaccion
URL: https://hl7.comisca.org/fhir/StructureDefinition/suspect-type-ext
Binding: Tipos de Sospecha (required)
.... extension:medidasTomadas S 1..1 CodeableConcept Medidas tomadas con respecto al medicamento
URL: https://hl7.comisca.org/fhir/StructureDefinition/medication-action-taken-ext
Binding: Listado de Medidas Tomadas (required)
.... extension:embarazo S 0..1 CodeableConcept Estado de embarazo al momento de la notificacion
URL: https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext
Binding: Estado de Embarazo - Codigos (required)
.... extension:semanaGestacion S 0..1 positiveInt Semana de gestacion (si embarazo=true)
URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext
... status C 1..1 code Estado del registro en FACEDRA
Constraints: facedra-medst-status-permitido
... medication 1..1 CodeableReference(Medicamento FACEDRA) Referencia al recurso MedicamentoFACEDRA
.... concept 0..0 Reference to a concept (by class)
... encounter 0..1 Reference(Encuentro FACEDRA) Consulta asociada al uso del medicamento
... effective[x] 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start 1..1 dateTime Fecha de inicio de administracion
.... end 0..1 dateTime Fecha de fin de administracion
... informationSource 0..1 Reference(Notificador FACEDRA) Quien reporto el uso del medicamento
... reason 0..1 CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
.... concept
..... coding 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
...... display 1..1 string Representation defined by the system
..... text 0..1 string Motivo de prescripcion
... dosage 0..1 Dosage Details of how medication is/was taken or should be taken
.... text 0..1 string Posologia en texto libre
.... route 0..1 CodeableConcept Via de administracion del medicamento
Binding: Listado de Vía de Administración (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​dosage.route Base required Listado de Vía de Administración 📦0.1.1 This IG

Constraints

Id Grade Path(s) Description Expression
facedra-med-embarazo-1 error MedicationStatement Cuando extension[embarazo] indica 'yes', extension[semanaGestacion] es requerida. extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext').where(value.ofType(CodeableConcept).coding.where(system = 'https://hl7.comisca.org/fhir/CodeSystem/pregnancy-status' and code = 'yes').exists()).exists().not() or extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext').exists()
facedra-medst-status-permitido error MedicationStatement.status status solo permite recorded, active o completed. $this = 'recorded' or $this = 'active' or $this = 'completed'
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: facedra-med-embarazo-1
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:tipoSospecha S 1..1 CodeableConcept Tipo de sospecha: sospechoso | concomitante | interaccion
URL: https://hl7.comisca.org/fhir/StructureDefinition/suspect-type-ext
Binding: Tipos de Sospecha (required)
.... extension:medidasTomadas S 1..1 CodeableConcept Medidas tomadas con respecto al medicamento
URL: https://hl7.comisca.org/fhir/StructureDefinition/medication-action-taken-ext
Binding: Listado de Medidas Tomadas (required)
.... extension:embarazo S 0..1 CodeableConcept Estado de embarazo al momento de la notificacion
URL: https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext
Binding: Estado de Embarazo - Codigos (required)
.... extension:semanaGestacion S 0..1 positiveInt Semana de gestacion (si embarazo=true)
URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... partOf 0..* Reference(Procedure | MedicationStatement) Part of referenced event
... status ?!ΣC 1..1 code Estado del registro en FACEDRA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Constraints: facedra-medst-status-permitido
... category Σ 0..* CodeableConcept Type of medication statement
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... medication Σ 1..1 CodeableReference(Medicamento FACEDRA) Referencia al recurso MedicamentoFACEDRA
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... subject Σ 1..1 Reference(Paciente FACEDRA) Paciente que uso el medicamento
... encounter Σ 0..1 Reference(Encuentro FACEDRA) Consulta asociada al uso del medicamento
... effective[x] Σ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime Fecha de inicio de administracion
.... end ΣC 0..1 dateTime Fecha de fin de administracion
... dateAsserted Σ 0..1 dateTime When the usage was asserted?
... informationSource 0..1 Reference(Notificador FACEDRA) Quien reporto el uso del medicamento
... derivedFrom 0..* Reference(Resource) Link to information used to derive the MedicationStatement
... reason 0..1 CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..1 Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 1..1 code Symbol in syntax defined by the system
...... display ΣC 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Motivo de prescripcion
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... note 0..* Annotation Further information about the usage
... relatedClinicalInformation 0..* Reference(Observation | Condition) Link to information relevant to the usage of a medication
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... dosage 0..1 Dosage Details of how medication is/was taken or should be taken
.... id 0..1 id 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 Posologia en texto libre
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded ΣC 0..1 boolean Take "as needed"
.... asNeededFor ΣC 0..* CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept Via de administracion del medicamento
Binding: Listado de Vía de Administración (required)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered, to be administered or typical amount to be 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)
.... maxDosePerPeriod Σ 0..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per lifetime of the patient
... adherence Σ 0..1 BackboneElement Indicates whether the medication is or is not being consumed or administered
.... 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
.... code Σ 1..1 CodeableConcept Type of adherence
Binding: MedicationStatementAdherenceCodes (example)
.... reason 0..1 CodeableConcept Details of the reason for the current use of the medication
Binding: SNOMEDCTDrugTherapyStatusCodes (example)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base required All Languages 📍5.0.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base required Listado de Vía de Administración 📦0.1.1 This IG
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📦2.0.0 THO v7.1
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.reason Base example SNOMED CT Drug Therapy Status codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If 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-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
facedra-med-embarazo-1 error MedicationStatement Cuando extension[embarazo] indica 'yes', extension[semanaGestacion] es requerida. extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext').where(value.ofType(CodeableConcept).coding.where(system = 'https://hl7.comisca.org/fhir/CodeSystem/pregnancy-status' and code = 'yes').exists()).exists().not() or extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext').exists()
facedra-medst-status-permitido error MedicationStatement.status status solo permite recorded, active o completed. $this = 'recorded' or $this = 'active' or $this = 'completed'

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: facedra-med-embarazo-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:tipoSospecha S 1..1 CodeableConcept Tipo de sospecha: sospechoso | concomitante | interaccion
URL: https://hl7.comisca.org/fhir/StructureDefinition/suspect-type-ext
Binding: Tipos de Sospecha (required)
.... extension:medidasTomadas S 1..1 CodeableConcept Medidas tomadas con respecto al medicamento
URL: https://hl7.comisca.org/fhir/StructureDefinition/medication-action-taken-ext
Binding: Listado de Medidas Tomadas (required)
.... extension:embarazo S 0..1 CodeableConcept Estado de embarazo al momento de la notificacion
URL: https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext
Binding: Estado de Embarazo - Codigos (required)
.... extension:semanaGestacion S 0..1 positiveInt Semana de gestacion (si embarazo=true)
URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext
... status ?!ΣC 1..1 code Estado del registro en FACEDRA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Constraints: facedra-medst-status-permitido
... medication Σ 1..1 CodeableReference(Medicamento FACEDRA) Referencia al recurso MedicamentoFACEDRA
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
... subject Σ 1..1 Reference(Paciente FACEDRA) Paciente que uso el medicamento
... encounter Σ 0..1 Reference(Encuentro FACEDRA) Consulta asociada al uso del medicamento
... effective[x] Σ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start ΣC 1..1 dateTime Fecha de inicio de administracion
.... end ΣC 0..1 dateTime Fecha de fin de administracion
... informationSource 0..1 Reference(Notificador FACEDRA) Quien reporto el uso del medicamento
... reason 0..1 CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... dosage 0..1 Dosage Details of how medication is/was taken or should be taken
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text Σ 0..1 string Posologia en texto libre
.... route Σ 0..1 CodeableConcept Via de administracion del medicamento
Binding: Listado de Vía de Administración (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base required Listado de Vía de Administración 📦0.1.1 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If 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-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
facedra-med-embarazo-1 error MedicationStatement Cuando extension[embarazo] indica 'yes', extension[semanaGestacion] es requerida. extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext').where(value.ofType(CodeableConcept).coding.where(system = 'https://hl7.comisca.org/fhir/CodeSystem/pregnancy-status' and code = 'yes').exists()).exists().not() or extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext').exists()
facedra-medst-status-permitido error MedicationStatement.status status solo permite recorded, active o completed. $this = 'recorded' or $this = 'active' or $this = 'completed'

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: facedra-med-embarazo-1
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:tipoSospecha S 1..1 CodeableConcept Tipo de sospecha: sospechoso | concomitante | interaccion
URL: https://hl7.comisca.org/fhir/StructureDefinition/suspect-type-ext
Binding: Tipos de Sospecha (required)
.... extension:medidasTomadas S 1..1 CodeableConcept Medidas tomadas con respecto al medicamento
URL: https://hl7.comisca.org/fhir/StructureDefinition/medication-action-taken-ext
Binding: Listado de Medidas Tomadas (required)
.... extension:embarazo S 0..1 CodeableConcept Estado de embarazo al momento de la notificacion
URL: https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext
Binding: Estado de Embarazo - Codigos (required)
.... extension:semanaGestacion S 0..1 positiveInt Semana de gestacion (si embarazo=true)
URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext
... status C 1..1 code Estado del registro en FACEDRA
Constraints: facedra-medst-status-permitido
... medication 1..1 CodeableReference(Medicamento FACEDRA) Referencia al recurso MedicamentoFACEDRA
.... concept 0..0 Reference to a concept (by class)
... encounter 0..1 Reference(Encuentro FACEDRA) Consulta asociada al uso del medicamento
... effective[x] 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start 1..1 dateTime Fecha de inicio de administracion
.... end 0..1 dateTime Fecha de fin de administracion
... informationSource 0..1 Reference(Notificador FACEDRA) Quien reporto el uso del medicamento
... reason 0..1 CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
.... concept
..... coding 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
...... display 1..1 string Representation defined by the system
..... text 0..1 string Motivo de prescripcion
... dosage 0..1 Dosage Details of how medication is/was taken or should be taken
.... text 0..1 string Posologia en texto libre
.... route 0..1 CodeableConcept Via de administracion del medicamento
Binding: Listado de Vía de Administración (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​dosage.route Base required Listado de Vía de Administración 📦0.1.1 This IG

Constraints

Id Grade Path(s) Description Expression
facedra-med-embarazo-1 error MedicationStatement Cuando extension[embarazo] indica 'yes', extension[semanaGestacion] es requerida. extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext').where(value.ofType(CodeableConcept).coding.where(system = 'https://hl7.comisca.org/fhir/CodeSystem/pregnancy-status' and code = 'yes').exists()).exists().not() or extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext').exists()
facedra-medst-status-permitido error MedicationStatement.status status solo permite recorded, active o completed. $this = 'recorded' or $this = 'active' or $this = 'completed'

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: facedra-med-embarazo-1
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:tipoSospecha S 1..1 CodeableConcept Tipo de sospecha: sospechoso | concomitante | interaccion
URL: https://hl7.comisca.org/fhir/StructureDefinition/suspect-type-ext
Binding: Tipos de Sospecha (required)
.... extension:medidasTomadas S 1..1 CodeableConcept Medidas tomadas con respecto al medicamento
URL: https://hl7.comisca.org/fhir/StructureDefinition/medication-action-taken-ext
Binding: Listado de Medidas Tomadas (required)
.... extension:embarazo S 0..1 CodeableConcept Estado de embarazo al momento de la notificacion
URL: https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext
Binding: Estado de Embarazo - Codigos (required)
.... extension:semanaGestacion S 0..1 positiveInt Semana de gestacion (si embarazo=true)
URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... partOf 0..* Reference(Procedure | MedicationStatement) Part of referenced event
... status ?!ΣC 1..1 code Estado del registro en FACEDRA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Constraints: facedra-medst-status-permitido
... category Σ 0..* CodeableConcept Type of medication statement
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... medication Σ 1..1 CodeableReference(Medicamento FACEDRA) Referencia al recurso MedicamentoFACEDRA
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... subject Σ 1..1 Reference(Paciente FACEDRA) Paciente que uso el medicamento
... encounter Σ 0..1 Reference(Encuentro FACEDRA) Consulta asociada al uso del medicamento
... effective[x] Σ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime Fecha de inicio de administracion
.... end ΣC 0..1 dateTime Fecha de fin de administracion
... dateAsserted Σ 0..1 dateTime When the usage was asserted?
... informationSource 0..1 Reference(Notificador FACEDRA) Quien reporto el uso del medicamento
... derivedFrom 0..* Reference(Resource) Link to information used to derive the MedicationStatement
... reason 0..1 CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..1 Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 1..1 code Symbol in syntax defined by the system
...... display ΣC 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Motivo de prescripcion
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
... note 0..* Annotation Further information about the usage
... relatedClinicalInformation 0..* Reference(Observation | Condition) Link to information relevant to the usage of a medication
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... dosage 0..1 Dosage Details of how medication is/was taken or should be taken
.... id 0..1 id 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 Posologia en texto libre
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded ΣC 0..1 boolean Take "as needed"
.... asNeededFor ΣC 0..* CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept Via de administracion del medicamento
Binding: Listado de Vía de Administración (required)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered, to be administered or typical amount to be 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)
.... maxDosePerPeriod Σ 0..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per lifetime of the patient
... adherence Σ 0..1 BackboneElement Indicates whether the medication is or is not being consumed or administered
.... 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
.... code Σ 1..1 CodeableConcept Type of adherence
Binding: MedicationStatementAdherenceCodes (example)
.... reason 0..1 CodeableConcept Details of the reason for the current use of the medication
Binding: SNOMEDCTDrugTherapyStatusCodes (example)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base required All Languages 📍5.0.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base required Listado de Vía de Administración 📦0.1.1 This IG
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📦2.0.0 THO v7.1
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.reason Base example SNOMED CT Drug Therapy Status codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If 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-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
facedra-med-embarazo-1 error MedicationStatement Cuando extension[embarazo] indica 'yes', extension[semanaGestacion] es requerida. extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/pregnancy-status-ext').where(value.ofType(CodeableConcept).coding.where(system = 'https://hl7.comisca.org/fhir/CodeSystem/pregnancy-status' and code = 'yes').exists()).exists().not() or extension.where(url='https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext').exists()
facedra-medst-status-permitido error MedicationStatement.status status solo permite recorded, active o completed. $this = 'recorded' or $this = 'active' or $this = 'completed'

 

Other representations of profile: CSV, Excel, Schematron