Notificación FACEDRA basada en FHIR® R5 |
0.1.1 - ci-build
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
| 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
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: facedra-med-embarazo-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Semana de gestacion (si embarazo=true) URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ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 |
![]() ![]() |
Σ | 1..1 | CodeableReference(Medicamento FACEDRA) | Referencia al recurso MedicamentoFACEDRA Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. |
![]() ![]() |
Σ | 1..1 | Reference(Paciente FACEDRA) | Paciente que uso el medicamento |
![]() ![]() |
Σ | 0..1 | Reference(Encuentro FACEDRA) | Consulta asociada al uso del medicamento |
![]() ![]() |
Σ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Fecha de inicio de administracion |
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Fecha de fin de administracion |
![]() ![]() |
0..1 | Reference(Notificador FACEDRA) | Quien reporto el uso del medicamento | |
![]() ![]() |
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. | |
![]() ![]() |
0..1 | Dosage | Details of how medication is/was taken or should be taken | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 0..1 | string | Posologia en texto libre |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Via de administracion del medicamento Binding: Listado de Vía de Administración (required) |
Documentation for this format | ||||
| 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 |
| 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'
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: facedra-med-embarazo-1 |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Semana de gestacion (si embarazo=true) URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext |
![]() ![]() |
C | 1..1 | code | Estado del registro en FACEDRA Constraints: facedra-medst-status-permitido |
![]() ![]() |
1..1 | CodeableReference(Medicamento FACEDRA) | Referencia al recurso MedicamentoFACEDRA | |
![]() ![]() ![]() |
0..0 | Reference to a concept (by class) | ||
![]() ![]() |
1..1 | Reference(Paciente FACEDRA) | Paciente que uso el medicamento | |
![]() ![]() |
0..1 | Reference(Encuentro FACEDRA) | Consulta asociada al uso del medicamento | |
![]() ![]() |
1..1 | Period | The date/time or interval when the medication is/was/will be taken | |
![]() ![]() ![]() |
1..1 | dateTime | Fecha de inicio de administracion | |
![]() ![]() ![]() |
0..1 | dateTime | Fecha de fin de administracion | |
![]() ![]() |
0..1 | Reference(Notificador FACEDRA) | Quien reporto el uso del medicamento | |
![]() ![]() |
0..1 | CodeableReference(Condition | Observation | DiagnosticReport) | Reason for why the medication is being/was taken | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | string | Motivo de prescripcion | |
![]() ![]() |
0..1 | Dosage | Details of how medication is/was taken or should be taken | |
![]() ![]() ![]() |
0..1 | string | Posologia en texto libre | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Via de administracion del medicamento Binding: Listado de Vía de Administración (required) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.dosage.route | Base | required | Listado de Vía de Administración | 📦0.1.1 | This IG |
| 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'
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: facedra-med-embarazo-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
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) | ||||
![]() ![]() ![]() |
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) | ||||
![]() ![]() ![]() |
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) | ||||
![]() ![]() ![]() |
S | 0..1 | positiveInt | Semana de gestacion (si embarazo=true) URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() |
0..* | Reference(Procedure | MedicationStatement) | Part of referenced event | |||||
![]() ![]() |
?!Σ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 | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | CodeableReference(Medicamento FACEDRA) | Referencia al recurso MedicamentoFACEDRA Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | Reference() | Reference to a resource (by instance) | ||||
![]() ![]() |
Σ | 1..1 | Reference(Paciente FACEDRA) | Paciente que uso el medicamento | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encuentro FACEDRA) | Consulta asociada al uso del medicamento | ||||
![]() ![]() |
Σ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Fecha de inicio de administracion | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Fecha de fin de administracion | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When the usage was asserted? | ||||
![]() ![]() |
0..1 | Reference(Notificador FACEDRA) | Quien reporto el uso del medicamento | |||||
![]() ![]() |
0..* | Reference(Resource) | Link to information used to derive the MedicationStatement | |||||
![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reference to a concept (by class) | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Motivo de prescripcion | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference() | Reference to a resource (by instance) | ||||
![]() ![]() |
0..* | Annotation | Further information about the usage | |||||
![]() ![]() |
0..* | Reference(Observation | Condition) | Link to information relevant to the usage of a medication | |||||
![]() ![]() |
0..1 | markdown | Full representation of the dosage instructions | |||||
![]() ![]() |
0..1 | Dosage | Details of how medication is/was taken or should be taken | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Posologia en texto libre | ||||
![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() |
ΣC | 0..1 | boolean | Take "as needed" | ||||
![]() ![]() ![]() |
Σ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. | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Via de administracion del medicamento Binding: Listado de Vía de Administración (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered, to be administered or typical amount to be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..* | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per lifetime of the patient | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | Indicates whether the medication is or is not being consumed or administered | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of adherence Binding: MedicationStatementAdherenceCodes (example) | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Details of the reason for the current use of the medication Binding: SNOMEDCTDrugTherapyStatusCodes (example) | |||||
Documentation for this format | ||||||||
| 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. |
| 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'
|
Summary
Mandatory: 4 elements(3 nested mandatory elements)
Must-Support: 4 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: facedra-med-embarazo-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Semana de gestacion (si embarazo=true) URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ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 |
![]() ![]() |
Σ | 1..1 | CodeableReference(Medicamento FACEDRA) | Referencia al recurso MedicamentoFACEDRA Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. |
![]() ![]() |
Σ | 1..1 | Reference(Paciente FACEDRA) | Paciente que uso el medicamento |
![]() ![]() |
Σ | 0..1 | Reference(Encuentro FACEDRA) | Consulta asociada al uso del medicamento |
![]() ![]() |
Σ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Fecha de inicio de administracion |
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Fecha de fin de administracion |
![]() ![]() |
0..1 | Reference(Notificador FACEDRA) | Quien reporto el uso del medicamento | |
![]() ![]() |
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. | |
![]() ![]() |
0..1 | Dosage | Details of how medication is/was taken or should be taken | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 0..1 | string | Posologia en texto libre |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Via de administracion del medicamento Binding: Listado de Vía de Administración (required) |
Documentation for this format | ||||
| 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 |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: facedra-med-embarazo-1 |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
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) |
![]() ![]() ![]() |
S | 0..1 | positiveInt | Semana de gestacion (si embarazo=true) URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext |
![]() ![]() |
C | 1..1 | code | Estado del registro en FACEDRA Constraints: facedra-medst-status-permitido |
![]() ![]() |
1..1 | CodeableReference(Medicamento FACEDRA) | Referencia al recurso MedicamentoFACEDRA | |
![]() ![]() ![]() |
0..0 | Reference to a concept (by class) | ||
![]() ![]() |
1..1 | Reference(Paciente FACEDRA) | Paciente que uso el medicamento | |
![]() ![]() |
0..1 | Reference(Encuentro FACEDRA) | Consulta asociada al uso del medicamento | |
![]() ![]() |
1..1 | Period | The date/time or interval when the medication is/was/will be taken | |
![]() ![]() ![]() |
1..1 | dateTime | Fecha de inicio de administracion | |
![]() ![]() ![]() |
0..1 | dateTime | Fecha de fin de administracion | |
![]() ![]() |
0..1 | Reference(Notificador FACEDRA) | Quien reporto el uso del medicamento | |
![]() ![]() |
0..1 | CodeableReference(Condition | Observation | DiagnosticReport) | Reason for why the medication is being/was taken | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..1 | string | Motivo de prescripcion | |
![]() ![]() |
0..1 | Dosage | Details of how medication is/was taken or should be taken | |
![]() ![]() ![]() |
0..1 | string | Posologia en texto libre | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Via de administracion del medicamento Binding: Listado de Vía de Administración (required) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.dosage.route | Base | required | Listado de Vía de Administración | 📦0.1.1 | This IG |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: facedra-med-embarazo-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
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) | ||||
![]() ![]() ![]() |
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) | ||||
![]() ![]() ![]() |
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) | ||||
![]() ![]() ![]() |
S | 0..1 | positiveInt | Semana de gestacion (si embarazo=true) URL: https://hl7.comisca.org/fhir/StructureDefinition/gestational-week-ext | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() |
0..* | Reference(Procedure | MedicationStatement) | Part of referenced event | |||||
![]() ![]() |
?!Σ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 | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | CodeableReference(Medicamento FACEDRA) | Referencia al recurso MedicamentoFACEDRA Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | Reference() | Reference to a resource (by instance) | ||||
![]() ![]() |
Σ | 1..1 | Reference(Paciente FACEDRA) | Paciente que uso el medicamento | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encuentro FACEDRA) | Consulta asociada al uso del medicamento | ||||
![]() ![]() |
Σ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Fecha de inicio de administracion | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Fecha de fin de administracion | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When the usage was asserted? | ||||
![]() ![]() |
0..1 | Reference(Notificador FACEDRA) | Quien reporto el uso del medicamento | |||||
![]() ![]() |
0..* | Reference(Resource) | Link to information used to derive the MedicationStatement | |||||
![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reference to a concept (by class) | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Motivo de prescripcion | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference() | Reference to a resource (by instance) | ||||
![]() ![]() |
0..* | Annotation | Further information about the usage | |||||
![]() ![]() |
0..* | Reference(Observation | Condition) | Link to information relevant to the usage of a medication | |||||
![]() ![]() |
0..1 | markdown | Full representation of the dosage instructions | |||||
![]() ![]() |
0..1 | Dosage | Details of how medication is/was taken or should be taken | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Posologia en texto libre | ||||
![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() |
ΣC | 0..1 | boolean | Take "as needed" | ||||
![]() ![]() ![]() |
Σ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. | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Via de administracion del medicamento Binding: Listado de Vía de Administración (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered, to be administered or typical amount to be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..* | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per lifetime of the patient | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | Indicates whether the medication is or is not being consumed or administered | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of adherence Binding: MedicationStatementAdherenceCodes (example) | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Details of the reason for the current use of the medication Binding: SNOMEDCTDrugTherapyStatusCodes (example) | |||||
Documentation for this format | ||||||||
| 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. |
| 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'
|
Summary
Mandatory: 4 elements(3 nested mandatory elements)
Must-Support: 4 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron