Guía de Implementación de Resultados de Laboratorio de Costa Rica
0.1.0 - ci-build
Guía de Implementación de Resultados de Laboratorio de Costa Rica - Compilación local de desarrollo (v0.1.0), generada con las herramientas de compilación de FHIR (HL7® FHIR® Standard). Vea el directorio de versiones publicadas. Por ahora aplica solo al sector privado, hasta que el Ministerio de Salud publique la hoja de ruta de las guías de implementación públicas.
| URL oficial: https://hl7.or.cr/fhir/labresult/StructureDefinition/cr-observation-laboratory-result | Versión: 0.1.0 | ||||
| Standards status: Informative * | Nombre computable: CRObservationLaboratoryResult | ||||
Perfil de observación para representar resultados de laboratorio (HbA1c y glucosa en ayunas) en el PoC de resultados de laboratorio en Costa Rica.
Usos:
También puede consultar los usos en las estadísticas de IG de FHIR
Descripción de perfiles, diferenciales, instantáneas y sus representaciones.
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRObservation | Observación: resultado de una medición, un examen o una evaluación Constraints: obs-6, obs-7, obs-8, cr-observacion-emision, cr-observacion-resultado, cr-observacion-ucum, cr-observacion-rango-unidad, cr-observacion-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v |
![]() ![]() |
1..1 | Meta | Metadatos: las etiquetas de seguridad | |
![]() ![]() ![]() |
1..* | Coding | Confidencialidad y sensibilidad de la observación Slice: Sin orden, Abierto by value:system Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |
![]() ![]() ![]() ![]() |
1..1 | Coding | N | R | V Vinculación: Confidencialidad (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..* | Coding | PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS Vinculación: Sensibilidad de la información (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed) | |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |
![]() ![]() |
C | 1..1 | Identifier | Identificador de la observación, el mismo en todas sus versiones Constraints: cr-observacion-system |
![]() ![]() ![]() |
0..1 | code | official (valor fijo) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . Patrón requerido: official (extensions allowed) | |
![]() ![]() ![]() |
1..1 | uri | https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento} Ejemplo General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() |
C | 1..1 | string | Número de la observación en el sistema del establecimiento Constraints: cr-codigo-interno-value Ejemplo General: 123456 Longitud máxima:64 |
![]() ![]() |
1..1 | code | Estado final del resultado Vinculación: Estado de la observación (required) Patrón requerido: final (extensions allowed) | |
![]() ![]() |
1..1 | CodeableConcept | Categoría de laboratorio Vinculación: Categoría de la observación (extensible) Patrón requerido: | |
![]() ![]() |
C | 1..1 | CodeableConcept | Código de la prueba de laboratorio Vinculación: Códigos de Pruebas de Laboratorio (required) |
![]() ![]() |
1..1 | Reference(Patient - Resultados de Laboratorio) | Paciente observado | |
![]() ![]() |
0..1 | Reference(Atención) | Atención en la que se hizo la observación | |
![]() ![]() |
C | 1..1 | dateTime | Momento clínico del resultado Constraints: cr-observacion-fecha-hora, cr-observation-effective-no-future |
![]() ![]() |
0..1 | instant | Cuándo se emitió el resultado (obligatoria en un resultado final) | |
![]() ![]() |
1..* | Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) | Responsables de la observación | |
![]() ![]() |
C | 1..1 | Quantity | Resultado cuantitativo |
![]() ![]() ![]() |
0..1 | code | < | <= | >= | > | ad - how to understand the value Vinculación: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() |
1..1 | string | Unidad visible del resultado | |
![]() ![]() ![]() |
C | 1..1 | uri | Sistema UCUM Patrón requerido: http://unitsofmeasure.org (extensions allowed) |
![]() ![]() ![]() |
C | 1..1 | code | Código UCUM |
![]() ![]() |
C | 0..1 | CodeableConcept | Por qué no hay valor (not-performed si se canceló) Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. |
![]() ![]() |
0..* | CodeableConcept | Interpretación clínica del resultado Vinculación: ObservationInterpretationCodes (extensible) | |
![]() ![]() |
0..* | Annotation | Notas del resultado | |
![]() ![]() |
0..1 | CodeableConcept | Método analítico utilizado Vinculación: Códigos de Métodos de Pruebas de Laboratorio (required) | |
![]() ![]() |
C | 0..1 | Reference(Specimen Laboratorio) | Muestra asociada Constraints: obs-9 |
![]() ![]() |
C | 0..* | BackboneElement | Rango de referencia del resultado Constraints: obs-3, cr-observacion-rango-ucum |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite inferior Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) |
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit |
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite superior Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) |
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit |
![]() ![]() ![]() |
C | 0..1 | markdown | Rango en texto libre |
![]() ![]() |
C | 0..* | BackboneElement | Partes medidas en el mismo acto (presión sistólica y diastólica) Constraints: cr-observacion-componente, cr-observacion-componente-ucum, cr-observacion-componente-rango-unidad |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
C | 1..1 | CodeableConcept | Qué se observó en esta parte (LOINC) Vinculación: LOINCCodes (extensible) |
![]() ![]() ![]() |
0..1 | Resultado de esta parte | ||
![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
Reference(MolecularSequence) | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Por qué esta parte no tiene valor Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | |
![]() ![]() ![]() |
0..* | CodeableConcept | Interpretación de esta parte Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Rango propio de este componente, cuando aplica Constraints: cr-observacion-rango-ucum, obs-3 |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite inferior del componente (UCUM) Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite superior del componente (UCUM) Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
C | 0..1 | markdown | Rango del componente en texto |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Observation.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Observation.meta.security:confidencialidad | Base | required | Confidencialidad | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.meta.security:sensibilidad | Base | required | Sensibilidad de la información | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Observation.status | Base | required | Estado de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.category | Base | extensible | Categoría de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.code | Base | required | Códigos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | Estándar FHIR |
How the Quantity should be understood and represented. |
| Observation.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.method | Base | required | Códigos de Métodos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.component.code | Base | extensible | LOINC Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.component.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.component.interpretation | Base | extensible | Observation Interpretation Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying interpretations of observations. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-codigo-interno-value | error | Observation.identifier.value | Un código interno tiene de 1 a 64 caracteres, sin espacios. |
matches('^\\S{1,64}$')
|
| cr-observacion-cancelada | error | Observation | Una observación cancelada lleva el motivo sin valor not-performed. |
status = 'cancelled' implies dataAbsentReason.coding.where(system = 'http://terminology.hl7.org/CodeSystem/data-absent-reason' and code = 'not-performed').exists()
|
| cr-observacion-componente | error | Observation.component | Cada componente lleva un valor o un motivo sin valor. |
value.exists() or dataAbsentReason.exists()
|
| cr-observacion-componente-rango-unidad | error | Observation.component | Los límites numéricos de cada rango del componente usan la misma unidad UCUM que su valor cuantitativo. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %context.value.ofType(Quantity).system and low.code = %context.value.ofType(Quantity).code)) and (high.empty() or (high.system = %context.value.ofType(Quantity).system and high.code = %context.value.ofType(Quantity).code)))
|
| cr-observacion-componente-ucum | error | Observation.component | Una cantidad de un componente lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observacion-emision | error | Observation | Un resultado final, modificado o corregido indica cuándo se emitió (issued). |
status in ('final' | 'amended' | 'corrected') implies issued.exists()
|
| cr-observacion-fecha-emision | error | Observation | El momento de la observación o el inicio del período, si existe, no es posterior a la fecha de emisión. |
issued.empty() or ((effective.ofType(dateTime).empty() or effective.ofType(dateTime) <= issued) and (effective.ofType(Period).start.empty() or effective.ofType(Period).start <= issued))
|
| cr-observacion-fecha-hora | error | Observation.effective[x] | La fecha de la observación lleva fecha y hora, no solo la fecha. |
ofType(dateTime).all(toString().contains('T')) and ofType(Period).all((start.empty() or start.toString().contains('T')) and (end.empty() or end.toString().contains('T')))
|
| cr-observacion-rango-ucum | error | Observation.referenceRange, Observation.component.referenceRange | Los límites del rango de referencia llevan su unidad en UCUM (system http://unitsofmeasure.org y code). |
(low | high).all(system = 'http://unitsofmeasure.org' and code.exists())
|
| cr-observacion-rango-unidad | error | Observation | Los límites numéricos del rango de referencia usan la misma unidad UCUM que el valor de la observación cuando este es una cantidad. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %resource.value.ofType(Quantity).system and low.code = %resource.value.ofType(Quantity).code)) and (high.empty() or (high.system = %resource.value.ofType(Quantity).system and high.code = %resource.value.ofType(Quantity).code)))
|
| cr-observacion-resultado | error | Observation | Un resultado final, modificado o corregido lleva un valor, un motivo sin valor o componentes. |
status in ('final' | 'amended' | 'corrected') implies (value.exists() or dataAbsentReason.exists() or component.exists())
|
| cr-observacion-sensibilidad | error | Observation | Una observación con una sensibilidad tiene confidencialidad R o V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode').exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code in ('R' | 'V')).exists()
|
| cr-observacion-sensibilidad-v | error | Observation | Una observación con notas de psicoterapia (PSYTHPN) o sobre violencia sexual o doméstica (SDV) tiene confidencialidad V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and code in ('PSYTHPN' | 'SDV')).exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code = 'V').exists()
|
| cr-observacion-system | error | Observation.identifier | El system del identificador es https://hl7.or.cr/fhir/sid/observacion/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). |
system.matches('^https://hl7\\.or\\.cr/fhir/sid/observacion/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-observacion-ucum | error | Observation | Una cantidad lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observation-effective-no-future | error | Observation.effective[x] | La fecha y hora clínica del resultado no puede ser futura. |
$this <= now()
|
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange, Observation.component.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-8 | error | Observation | bodyStructure SHALL only be present if Observation.bodySite is not present |
bodySite.exists() implies bodyStructure.empty()
|
| obs-9 | error | Observation.specimen | If Observation.specimen is a reference to Group, the group can only have specimens |
(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)
|
| sqty-1 | error | Observation.referenceRange.low, Observation.referenceRange.high, Observation.component.referenceRange.low, Observation.component.referenceRange.high | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
Esta estructura se deriva de CRObservation .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
CRObservation | |||
![]() ![]() |
1..1 | code | Estado final del resultado Patrón requerido: final (extensions allowed) Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Categoría de laboratorio Patrón requerido: Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Código de la prueba de laboratorio Vinculación: Códigos de Pruebas de Laboratorio (required) Other Changes: documentation | |
![]() ![]() |
1..1 | Reference(Patient - Resultados de Laboratorio) | Paciente observado Other Changes: documentation | |
![]() ![]() |
C | 1..1 | dateTime | Momento clínico del resultado Constraints: cr-observation-effective-no-future Other Changes: documentation |
![]() ![]() |
1..* | Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) | Responsables de la observación Other Changes: documentation | |
![]() ![]() |
1..1 | Quantity | Resultado cuantitativo Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | string | Unidad visible del resultado Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | Sistema UCUM Patrón requerido: http://unitsofmeasure.org (extensions allowed) Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | code | Código UCUM Other Changes: documentation | |
![]() ![]() |
0..* | CodeableConcept | Interpretación clínica del resultado Vinculación: ObservationInterpretationCodes (extensible) Other Changes: documentation | |
![]() ![]() |
0..* | Annotation | Notas del resultado Other Changes: documentation | |
![]() ![]() |
0..1 | CodeableConcept | Método analítico utilizado Vinculación: Códigos de Métodos de Pruebas de Laboratorio (required) Other Changes: documentation | |
![]() ![]() |
0..1 | Reference(Specimen Laboratorio) | Muestra asociada Other Changes: documentation | |
![]() ![]() |
0..* | BackboneElement | Rango de referencia del resultado Other Changes: documentation | |
![]() ![]() ![]() |
0..1 | SimpleQuantity | Límite inferior Other Changes: documentation | |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | SimpleQuantity | Límite superior Other Changes: documentation | |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | markdown | Rango en texto libre Other Changes: documentation | |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente |
| Observation.code | Base | required | Códigos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦5.0.0 | Estándar FHIR |
| Observation.method | Base | required | Códigos de Métodos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-observation-effective-no-future | error | Observation.effective[x] | La fecha y hora clínica del resultado no puede ser futura. |
$this <= now()
|
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CRObservation | Observación: resultado de una medición, un examen o una evaluación Constraints: obs-6, obs-7, obs-8, cr-observacion-emision, cr-observacion-resultado, cr-observacion-ucum, cr-observacion-rango-unidad, cr-observacion-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v | ||||||
![]() ![]() |
0..1 | id | Identificador lógico del recurso | |||||||
![]() ![]() |
1..1 | Meta | Metadatos: las etiquetas de seguridad | |||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||||
![]() ![]() ![]() |
1..* | Coding | Confidencialidad y sensibilidad de la observación Slice: Sin orden, Abierto by value:system Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Coding | N | R | V Vinculación: Confidencialidad (required) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS Vinculación: Sensibilidad de la información (required) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Vinculación: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |||||||
![]() ![]() |
0..* | Extension | Contenido adicional definido por las implementaciones | |||||||
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |||||||
![]() ![]() |
C | 1..1 | Identifier | Identificador de la observación, el mismo en todas sus versiones Constraints: cr-observacion-system | ||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | code | official (valor fijo) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . Patrón requerido: official (extensions allowed) | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Vinculación: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||||
![]() ![]() ![]() |
1..1 | uri | https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento} Ejemplo General: http://www.acme.com/identifiers/patient | |||||||
![]() ![]() ![]() |
C | 1..1 | string | Número de la observación en el sistema del establecimiento Constraints: cr-codigo-interno-value Ejemplo General: 123456 Longitud máxima:64 | ||||||
![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||||
![]() ![]() |
0..1 | canonical(ObservationDefinition), Reference(ObservationDefinition) | Instantiates FHIR ObservationDefinition | |||||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | |||||||
![]() ![]() |
0..* | BackboneElement | Triggering observation(s) | |||||||
![]() ![]() ![]() |
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 | Reference(Observation) | Triggering observation | |||||||
![]() ![]() ![]() |
1..1 | code | reflex | repeat | re-run Vinculación: TriggeredBytype (required): The type of TriggeredBy Observation. | |||||||
![]() ![]() ![]() |
0..1 | string | Reason that the observation was triggered | |||||||
![]() ![]() |
0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy | GenomicStudy) | Part of referenced event | |||||||
![]() ![]() |
1..1 | code | Estado final del resultado Vinculación: Estado de la observación (required) Patrón requerido: final (extensions allowed) | |||||||
![]() ![]() |
1..1 | CodeableConcept | Categoría de laboratorio Vinculación: Categoría de la observación (extensible) Patrón requerido: | |||||||
![]() ![]() |
C | 1..1 | CodeableConcept | Código de la prueba de laboratorio Vinculación: Códigos de Pruebas de Laboratorio (required) | ||||||
![]() ![]() |
1..1 | Reference(Patient - Resultados de Laboratorio) | Paciente observado | |||||||
![]() ![]() |
0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | |||||||
![]() ![]() |
0..1 | Reference(Atención) | Atención en la que se hizo la observación | |||||||
![]() ![]() |
C | 1..1 | dateTime | Momento clínico del resultado Constraints: cr-observacion-fecha-hora, cr-observation-effective-no-future | ||||||
![]() ![]() |
0..1 | instant | Cuándo se emitió el resultado (obligatoria en un resultado final) | |||||||
![]() ![]() |
1..* | Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) | Responsables de la observación | |||||||
![]() ![]() |
C | 1..1 | Quantity | Resultado cuantitativo | ||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||||
![]() ![]() ![]() |
0..1 | code | < | <= | >= | > | ad - how to understand the value Vinculación: QuantityComparator (required): How the Quantity should be understood and represented. | |||||||
![]() ![]() ![]() |
1..1 | string | Unidad visible del resultado | |||||||
![]() ![]() ![]() |
C | 1..1 | uri | Sistema UCUM Patrón requerido: http://unitsofmeasure.org (extensions allowed) | ||||||
![]() ![]() ![]() |
C | 1..1 | code | Código UCUM | ||||||
![]() ![]() |
C | 0..1 | CodeableConcept | Por qué no hay valor (not-performed si se canceló) Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||||
![]() ![]() |
0..* | CodeableConcept | Interpretación clínica del resultado Vinculación: ObservationInterpretationCodes (extensible) | |||||||
![]() ![]() |
0..* | Annotation | Notas del resultado | |||||||
![]() ![]() |
C | 0..1 | CodeableConcept | Observed body part Vinculación: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||||
![]() ![]() |
C | 0..1 | Reference(BodyStructure) | Observed body structure | ||||||
![]() ![]() |
0..1 | CodeableConcept | Método analítico utilizado Vinculación: Códigos de Métodos de Pruebas de Laboratorio (required) | |||||||
![]() ![]() |
C | 0..1 | Reference(Specimen Laboratorio) | Muestra asociada Constraints: obs-9 | ||||||
![]() ![]() |
0..1 | Reference(Dispositivo) | Equipo o software que produjo la medición, cuando se conoce | |||||||
![]() ![]() |
C | 0..* | BackboneElement | Rango de referencia del resultado Constraints: obs-3, cr-observacion-rango-ucum | ||||||
![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite inferior Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | ||||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit | ||||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite superior Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | ||||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Normal value, if relevant Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation. | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||||
![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||||
![]() ![]() ![]() |
C | 0..1 | markdown | Rango en texto libre | ||||||
![]() ![]() |
0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | |||||||
![]() ![]() |
0..* | Reference(DocumentReference | ImagingStudy | ImagingSelection | QuestionnaireResponse | Observation | MolecularSequence | GenomicStudy) | Related resource from which the observation is made | |||||||
![]() ![]() |
C | 0..* | BackboneElement | Partes medidas en el mismo acto (presión sistólica y diastólica) Constraints: cr-observacion-componente, cr-observacion-componente-ucum, cr-observacion-componente-rango-unidad | ||||||
![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
C | 1..1 | CodeableConcept | Qué se observó en esta parte (LOINC) Vinculación: LOINCCodes (extensible) | ||||||
![]() ![]() ![]() |
0..1 | Resultado de esta parte | ||||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||||
![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
boolean | |||||||||
![]() ![]() ![]() ![]() |
integer | |||||||||
![]() ![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||||
![]() ![]() ![]() ![]() |
time | |||||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||||
![]() ![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||||
![]() ![]() ![]() ![]() |
Reference(MolecularSequence) | |||||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Por qué esta parte no tiene valor Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Interpretación de esta parte Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Rango propio de este componente, cuando aplica Constraints: cr-observacion-rango-ucum, obs-3 | ||||||
![]() ![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite inferior del componente (UCUM) Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite superior del componente (UCUM) Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Normal value, if relevant Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation. | |||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||||
![]() ![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | markdown | Rango del componente en texto | ||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Observation.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Observation.meta.security:confidencialidad | Base | required | Confidencialidad | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.meta.security:sensibilidad | Base | required | Sensibilidad de la información | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.meta.tag | Base | example | Common Tags | 📍5.0.0 | Estándar FHIR |
Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
| Observation.language | Base | required | All Languages | 📍5.0.0 | Estándar FHIR |
Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47. |
| Additional / all | Inicial | Common Languages | 📍5.0.0 | Estándar FHIR | ||
| Additional / all | Inicial | Common Languages | 📦5.0.0 | Estándar FHIR | ||
| Observation.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Observation.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | Estándar FHIR |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Observation.triggeredBy.type | Base | required | triggered Bytype | 📍5.0.0 | Estándar FHIR |
The type of TriggeredBy Observation. |
| Observation.status | Base | required | Estado de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.category | Base | extensible | Categoría de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.code | Base | required | Códigos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | Estándar FHIR |
How the Quantity should be understood and represented. |
| Observation.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.bodySite | Base | example | SNOMED CT Body Structures | 📍5.0.0 | Estándar FHIR |
SNOMED CT Body site concepts |
| Observation.method | Base | required | Códigos de Métodos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.referenceRange.normalValue | Base | extensible | Observation Reference Range Normal Value Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the normal value of the observation. |
| Observation.referenceRange.type | Base | preferred | Observation Reference Range Meaning Codes | 📍5.0.0 | Estándar FHIR |
Code for the meaning of a reference range. |
| Observation.referenceRange.appliesTo | Base | example | Observation Reference Range Applies To Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the population the reference range applies to. |
| Observation.component.code | Base | extensible | LOINC Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.component.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.component.interpretation | Base | extensible | Observation Interpretation Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying interpretations of observations. |
| Observation.component.referenceRange.normalValue | Base | extensible | Observation Reference Range Normal Value Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the normal value of the observation. |
| Observation.component.referenceRange.type | Base | preferred | Observation Reference Range Meaning Codes | 📍5.0.0 | Estándar FHIR |
Code for the meaning of a reference range. |
| Observation.component.referenceRange.appliesTo | Base | example | Observation Reference Range Applies To Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the population the reference range applies to. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-codigo-interno-value | error | Observation.identifier.value | Un código interno tiene de 1 a 64 caracteres, sin espacios. |
matches('^\\S{1,64}$')
|
| cr-observacion-cancelada | error | Observation | Una observación cancelada lleva el motivo sin valor not-performed. |
status = 'cancelled' implies dataAbsentReason.coding.where(system = 'http://terminology.hl7.org/CodeSystem/data-absent-reason' and code = 'not-performed').exists()
|
| cr-observacion-componente | error | Observation.component | Cada componente lleva un valor o un motivo sin valor. |
value.exists() or dataAbsentReason.exists()
|
| cr-observacion-componente-rango-unidad | error | Observation.component | Los límites numéricos de cada rango del componente usan la misma unidad UCUM que su valor cuantitativo. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %context.value.ofType(Quantity).system and low.code = %context.value.ofType(Quantity).code)) and (high.empty() or (high.system = %context.value.ofType(Quantity).system and high.code = %context.value.ofType(Quantity).code)))
|
| cr-observacion-componente-ucum | error | Observation.component | Una cantidad de un componente lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observacion-emision | error | Observation | Un resultado final, modificado o corregido indica cuándo se emitió (issued). |
status in ('final' | 'amended' | 'corrected') implies issued.exists()
|
| cr-observacion-fecha-emision | error | Observation | El momento de la observación o el inicio del período, si existe, no es posterior a la fecha de emisión. |
issued.empty() or ((effective.ofType(dateTime).empty() or effective.ofType(dateTime) <= issued) and (effective.ofType(Period).start.empty() or effective.ofType(Period).start <= issued))
|
| cr-observacion-fecha-hora | error | Observation.effective[x] | La fecha de la observación lleva fecha y hora, no solo la fecha. |
ofType(dateTime).all(toString().contains('T')) and ofType(Period).all((start.empty() or start.toString().contains('T')) and (end.empty() or end.toString().contains('T')))
|
| cr-observacion-rango-ucum | error | Observation.referenceRange, Observation.component.referenceRange | Los límites del rango de referencia llevan su unidad en UCUM (system http://unitsofmeasure.org y code). |
(low | high).all(system = 'http://unitsofmeasure.org' and code.exists())
|
| cr-observacion-rango-unidad | error | Observation | Los límites numéricos del rango de referencia usan la misma unidad UCUM que el valor de la observación cuando este es una cantidad. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %resource.value.ofType(Quantity).system and low.code = %resource.value.ofType(Quantity).code)) and (high.empty() or (high.system = %resource.value.ofType(Quantity).system and high.code = %resource.value.ofType(Quantity).code)))
|
| cr-observacion-resultado | error | Observation | Un resultado final, modificado o corregido lleva un valor, un motivo sin valor o componentes. |
status in ('final' | 'amended' | 'corrected') implies (value.exists() or dataAbsentReason.exists() or component.exists())
|
| cr-observacion-sensibilidad | error | Observation | Una observación con una sensibilidad tiene confidencialidad R o V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode').exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code in ('R' | 'V')).exists()
|
| cr-observacion-sensibilidad-v | error | Observation | Una observación con notas de psicoterapia (PSYTHPN) o sobre violencia sexual o doméstica (SDV) tiene confidencialidad V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and code in ('PSYTHPN' | 'SDV')).exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code = 'V').exists()
|
| cr-observacion-system | error | Observation.identifier | El system del identificador es https://hl7.or.cr/fhir/sid/observacion/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). |
system.matches('^https://hl7\\.or\\.cr/fhir/sid/observacion/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-observacion-ucum | error | Observation | Una cantidad lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observation-effective-no-future | error | Observation.effective[x] | La fecha y hora clínica del resultado no puede ser futura. |
$this <= now()
|
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange, Observation.component.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-8 | error | Observation | bodyStructure SHALL only be present if Observation.bodySite is not present |
bodySite.exists() implies bodyStructure.empty()
|
| obs-9 | error | Observation.specimen | If Observation.specimen is a reference to Group, the group can only have specimens |
(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)
|
| sqty-1 | error | Observation.referenceRange.low, Observation.referenceRange.high, Observation.component.referenceRange.low, Observation.component.referenceRange.high | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
Esta estructura se deriva de CRObservation .
Resumen
Obligatorios: 4 elementos(6 nested mandatory elementos)
Debe dar soporte a: 12 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Vista de elementos clave
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRObservation | Observación: resultado de una medición, un examen o una evaluación Constraints: obs-6, obs-7, obs-8, cr-observacion-emision, cr-observacion-resultado, cr-observacion-ucum, cr-observacion-rango-unidad, cr-observacion-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v |
![]() ![]() |
1..1 | Meta | Metadatos: las etiquetas de seguridad | |
![]() ![]() ![]() |
1..* | Coding | Confidencialidad y sensibilidad de la observación Slice: Sin orden, Abierto by value:system Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |
![]() ![]() ![]() ![]() |
1..1 | Coding | N | R | V Vinculación: Confidencialidad (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..* | Coding | PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS Vinculación: Sensibilidad de la información (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed) | |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |
![]() ![]() |
C | 1..1 | Identifier | Identificador de la observación, el mismo en todas sus versiones Constraints: cr-observacion-system |
![]() ![]() ![]() |
0..1 | code | official (valor fijo) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . Patrón requerido: official (extensions allowed) | |
![]() ![]() ![]() |
1..1 | uri | https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento} Ejemplo General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() |
C | 1..1 | string | Número de la observación en el sistema del establecimiento Constraints: cr-codigo-interno-value Ejemplo General: 123456 Longitud máxima:64 |
![]() ![]() |
1..1 | code | Estado final del resultado Vinculación: Estado de la observación (required) Patrón requerido: final (extensions allowed) | |
![]() ![]() |
1..1 | CodeableConcept | Categoría de laboratorio Vinculación: Categoría de la observación (extensible) Patrón requerido: | |
![]() ![]() |
C | 1..1 | CodeableConcept | Código de la prueba de laboratorio Vinculación: Códigos de Pruebas de Laboratorio (required) |
![]() ![]() |
1..1 | Reference(Patient - Resultados de Laboratorio) | Paciente observado | |
![]() ![]() |
0..1 | Reference(Atención) | Atención en la que se hizo la observación | |
![]() ![]() |
C | 1..1 | dateTime | Momento clínico del resultado Constraints: cr-observacion-fecha-hora, cr-observation-effective-no-future |
![]() ![]() |
0..1 | instant | Cuándo se emitió el resultado (obligatoria en un resultado final) | |
![]() ![]() |
1..* | Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) | Responsables de la observación | |
![]() ![]() |
C | 1..1 | Quantity | Resultado cuantitativo |
![]() ![]() ![]() |
0..1 | code | < | <= | >= | > | ad - how to understand the value Vinculación: QuantityComparator (required): How the Quantity should be understood and represented. | |
![]() ![]() ![]() |
1..1 | string | Unidad visible del resultado | |
![]() ![]() ![]() |
C | 1..1 | uri | Sistema UCUM Patrón requerido: http://unitsofmeasure.org (extensions allowed) |
![]() ![]() ![]() |
C | 1..1 | code | Código UCUM |
![]() ![]() |
C | 0..1 | CodeableConcept | Por qué no hay valor (not-performed si se canceló) Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. |
![]() ![]() |
0..* | CodeableConcept | Interpretación clínica del resultado Vinculación: ObservationInterpretationCodes (extensible) | |
![]() ![]() |
0..* | Annotation | Notas del resultado | |
![]() ![]() |
0..1 | CodeableConcept | Método analítico utilizado Vinculación: Códigos de Métodos de Pruebas de Laboratorio (required) | |
![]() ![]() |
C | 0..1 | Reference(Specimen Laboratorio) | Muestra asociada Constraints: obs-9 |
![]() ![]() |
C | 0..* | BackboneElement | Rango de referencia del resultado Constraints: obs-3, cr-observacion-rango-ucum |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite inferior Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) |
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit |
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite superior Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) |
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit |
![]() ![]() ![]() |
C | 0..1 | markdown | Rango en texto libre |
![]() ![]() |
C | 0..* | BackboneElement | Partes medidas en el mismo acto (presión sistólica y diastólica) Constraints: cr-observacion-componente, cr-observacion-componente-ucum, cr-observacion-componente-rango-unidad |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
C | 1..1 | CodeableConcept | Qué se observó en esta parte (LOINC) Vinculación: LOINCCodes (extensible) |
![]() ![]() ![]() |
0..1 | Resultado de esta parte | ||
![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
Reference(MolecularSequence) | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Por qué esta parte no tiene valor Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | |
![]() ![]() ![]() |
0..* | CodeableConcept | Interpretación de esta parte Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Rango propio de este componente, cuando aplica Constraints: cr-observacion-rango-ucum, obs-3 |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite inferior del componente (UCUM) Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite superior del componente (UCUM) Constraints: sqty-1 |
![]() ![]() ![]() ![]() |
C | 0..1 | markdown | Rango del componente en texto |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Observation.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Observation.meta.security:confidencialidad | Base | required | Confidencialidad | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.meta.security:sensibilidad | Base | required | Sensibilidad de la información | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Observation.status | Base | required | Estado de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.category | Base | extensible | Categoría de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.code | Base | required | Códigos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | Estándar FHIR |
How the Quantity should be understood and represented. |
| Observation.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.method | Base | required | Códigos de Métodos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.component.code | Base | extensible | LOINC Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.component.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.component.interpretation | Base | extensible | Observation Interpretation Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying interpretations of observations. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-codigo-interno-value | error | Observation.identifier.value | Un código interno tiene de 1 a 64 caracteres, sin espacios. |
matches('^\\S{1,64}$')
|
| cr-observacion-cancelada | error | Observation | Una observación cancelada lleva el motivo sin valor not-performed. |
status = 'cancelled' implies dataAbsentReason.coding.where(system = 'http://terminology.hl7.org/CodeSystem/data-absent-reason' and code = 'not-performed').exists()
|
| cr-observacion-componente | error | Observation.component | Cada componente lleva un valor o un motivo sin valor. |
value.exists() or dataAbsentReason.exists()
|
| cr-observacion-componente-rango-unidad | error | Observation.component | Los límites numéricos de cada rango del componente usan la misma unidad UCUM que su valor cuantitativo. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %context.value.ofType(Quantity).system and low.code = %context.value.ofType(Quantity).code)) and (high.empty() or (high.system = %context.value.ofType(Quantity).system and high.code = %context.value.ofType(Quantity).code)))
|
| cr-observacion-componente-ucum | error | Observation.component | Una cantidad de un componente lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observacion-emision | error | Observation | Un resultado final, modificado o corregido indica cuándo se emitió (issued). |
status in ('final' | 'amended' | 'corrected') implies issued.exists()
|
| cr-observacion-fecha-emision | error | Observation | El momento de la observación o el inicio del período, si existe, no es posterior a la fecha de emisión. |
issued.empty() or ((effective.ofType(dateTime).empty() or effective.ofType(dateTime) <= issued) and (effective.ofType(Period).start.empty() or effective.ofType(Period).start <= issued))
|
| cr-observacion-fecha-hora | error | Observation.effective[x] | La fecha de la observación lleva fecha y hora, no solo la fecha. |
ofType(dateTime).all(toString().contains('T')) and ofType(Period).all((start.empty() or start.toString().contains('T')) and (end.empty() or end.toString().contains('T')))
|
| cr-observacion-rango-ucum | error | Observation.referenceRange, Observation.component.referenceRange | Los límites del rango de referencia llevan su unidad en UCUM (system http://unitsofmeasure.org y code). |
(low | high).all(system = 'http://unitsofmeasure.org' and code.exists())
|
| cr-observacion-rango-unidad | error | Observation | Los límites numéricos del rango de referencia usan la misma unidad UCUM que el valor de la observación cuando este es una cantidad. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %resource.value.ofType(Quantity).system and low.code = %resource.value.ofType(Quantity).code)) and (high.empty() or (high.system = %resource.value.ofType(Quantity).system and high.code = %resource.value.ofType(Quantity).code)))
|
| cr-observacion-resultado | error | Observation | Un resultado final, modificado o corregido lleva un valor, un motivo sin valor o componentes. |
status in ('final' | 'amended' | 'corrected') implies (value.exists() or dataAbsentReason.exists() or component.exists())
|
| cr-observacion-sensibilidad | error | Observation | Una observación con una sensibilidad tiene confidencialidad R o V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode').exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code in ('R' | 'V')).exists()
|
| cr-observacion-sensibilidad-v | error | Observation | Una observación con notas de psicoterapia (PSYTHPN) o sobre violencia sexual o doméstica (SDV) tiene confidencialidad V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and code in ('PSYTHPN' | 'SDV')).exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code = 'V').exists()
|
| cr-observacion-system | error | Observation.identifier | El system del identificador es https://hl7.or.cr/fhir/sid/observacion/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). |
system.matches('^https://hl7\\.or\\.cr/fhir/sid/observacion/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-observacion-ucum | error | Observation | Una cantidad lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observation-effective-no-future | error | Observation.effective[x] | La fecha y hora clínica del resultado no puede ser futura. |
$this <= now()
|
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange, Observation.component.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-8 | error | Observation | bodyStructure SHALL only be present if Observation.bodySite is not present |
bodySite.exists() implies bodyStructure.empty()
|
| obs-9 | error | Observation.specimen | If Observation.specimen is a reference to Group, the group can only have specimens |
(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)
|
| sqty-1 | error | Observation.referenceRange.low, Observation.referenceRange.high, Observation.component.referenceRange.low, Observation.component.referenceRange.high | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
Vista diferencial
Esta estructura se deriva de CRObservation .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
CRObservation | |||
![]() ![]() |
1..1 | code | Estado final del resultado Patrón requerido: final (extensions allowed) Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Categoría de laboratorio Patrón requerido: Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Código de la prueba de laboratorio Vinculación: Códigos de Pruebas de Laboratorio (required) Other Changes: documentation | |
![]() ![]() |
1..1 | Reference(Patient - Resultados de Laboratorio) | Paciente observado Other Changes: documentation | |
![]() ![]() |
C | 1..1 | dateTime | Momento clínico del resultado Constraints: cr-observation-effective-no-future Other Changes: documentation |
![]() ![]() |
1..* | Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) | Responsables de la observación Other Changes: documentation | |
![]() ![]() |
1..1 | Quantity | Resultado cuantitativo Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | string | Unidad visible del resultado Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | Sistema UCUM Patrón requerido: http://unitsofmeasure.org (extensions allowed) Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | code | Código UCUM Other Changes: documentation | |
![]() ![]() |
0..* | CodeableConcept | Interpretación clínica del resultado Vinculación: ObservationInterpretationCodes (extensible) Other Changes: documentation | |
![]() ![]() |
0..* | Annotation | Notas del resultado Other Changes: documentation | |
![]() ![]() |
0..1 | CodeableConcept | Método analítico utilizado Vinculación: Códigos de Métodos de Pruebas de Laboratorio (required) Other Changes: documentation | |
![]() ![]() |
0..1 | Reference(Specimen Laboratorio) | Muestra asociada Other Changes: documentation | |
![]() ![]() |
0..* | BackboneElement | Rango de referencia del resultado Other Changes: documentation | |
![]() ![]() ![]() |
0..1 | SimpleQuantity | Límite inferior Other Changes: documentation | |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | SimpleQuantity | Límite superior Other Changes: documentation | |
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() ![]() ![]() |
1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | code | Coded form of the unit | |
![]() ![]() ![]() |
0..1 | markdown | Rango en texto libre Other Changes: documentation | |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente |
| Observation.code | Base | required | Códigos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦5.0.0 | Estándar FHIR |
| Observation.method | Base | required | Códigos de Métodos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-observation-effective-no-future | error | Observation.effective[x] | La fecha y hora clínica del resultado no puede ser futura. |
$this <= now()
|
Vista instantáneaView
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CRObservation | Observación: resultado de una medición, un examen o una evaluación Constraints: obs-6, obs-7, obs-8, cr-observacion-emision, cr-observacion-resultado, cr-observacion-ucum, cr-observacion-rango-unidad, cr-observacion-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v | ||||||
![]() ![]() |
0..1 | id | Identificador lógico del recurso | |||||||
![]() ![]() |
1..1 | Meta | Metadatos: las etiquetas de seguridad | |||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||||
![]() ![]() ![]() |
1..* | Coding | Confidencialidad y sensibilidad de la observación Slice: Sin orden, Abierto by value:system Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Coding | N | R | V Vinculación: Confidencialidad (required) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS Vinculación: Sensibilidad de la información (required) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Vinculación: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||||
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |||||||
![]() ![]() |
0..* | Extension | Contenido adicional definido por las implementaciones | |||||||
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |||||||
![]() ![]() |
C | 1..1 | Identifier | Identificador de la observación, el mismo en todas sus versiones Constraints: cr-observacion-system | ||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | code | official (valor fijo) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . Patrón requerido: official (extensions allowed) | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Vinculación: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||||
![]() ![]() ![]() |
1..1 | uri | https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento} Ejemplo General: http://www.acme.com/identifiers/patient | |||||||
![]() ![]() ![]() |
C | 1..1 | string | Número de la observación en el sistema del establecimiento Constraints: cr-codigo-interno-value Ejemplo General: 123456 Longitud máxima:64 | ||||||
![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||||
![]() ![]() |
0..1 | canonical(ObservationDefinition), Reference(ObservationDefinition) | Instantiates FHIR ObservationDefinition | |||||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | |||||||
![]() ![]() |
0..* | BackboneElement | Triggering observation(s) | |||||||
![]() ![]() ![]() |
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 | Reference(Observation) | Triggering observation | |||||||
![]() ![]() ![]() |
1..1 | code | reflex | repeat | re-run Vinculación: TriggeredBytype (required): The type of TriggeredBy Observation. | |||||||
![]() ![]() ![]() |
0..1 | string | Reason that the observation was triggered | |||||||
![]() ![]() |
0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy | GenomicStudy) | Part of referenced event | |||||||
![]() ![]() |
1..1 | code | Estado final del resultado Vinculación: Estado de la observación (required) Patrón requerido: final (extensions allowed) | |||||||
![]() ![]() |
1..1 | CodeableConcept | Categoría de laboratorio Vinculación: Categoría de la observación (extensible) Patrón requerido: | |||||||
![]() ![]() |
C | 1..1 | CodeableConcept | Código de la prueba de laboratorio Vinculación: Códigos de Pruebas de Laboratorio (required) | ||||||
![]() ![]() |
1..1 | Reference(Patient - Resultados de Laboratorio) | Paciente observado | |||||||
![]() ![]() |
0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | |||||||
![]() ![]() |
0..1 | Reference(Atención) | Atención en la que se hizo la observación | |||||||
![]() ![]() |
C | 1..1 | dateTime | Momento clínico del resultado Constraints: cr-observacion-fecha-hora, cr-observation-effective-no-future | ||||||
![]() ![]() |
0..1 | instant | Cuándo se emitió el resultado (obligatoria en un resultado final) | |||||||
![]() ![]() |
1..* | Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) | Responsables de la observación | |||||||
![]() ![]() |
C | 1..1 | Quantity | Resultado cuantitativo | ||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||||
![]() ![]() ![]() |
0..1 | code | < | <= | >= | > | ad - how to understand the value Vinculación: QuantityComparator (required): How the Quantity should be understood and represented. | |||||||
![]() ![]() ![]() |
1..1 | string | Unidad visible del resultado | |||||||
![]() ![]() ![]() |
C | 1..1 | uri | Sistema UCUM Patrón requerido: http://unitsofmeasure.org (extensions allowed) | ||||||
![]() ![]() ![]() |
C | 1..1 | code | Código UCUM | ||||||
![]() ![]() |
C | 0..1 | CodeableConcept | Por qué no hay valor (not-performed si se canceló) Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||||
![]() ![]() |
0..* | CodeableConcept | Interpretación clínica del resultado Vinculación: ObservationInterpretationCodes (extensible) | |||||||
![]() ![]() |
0..* | Annotation | Notas del resultado | |||||||
![]() ![]() |
C | 0..1 | CodeableConcept | Observed body part Vinculación: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||||
![]() ![]() |
C | 0..1 | Reference(BodyStructure) | Observed body structure | ||||||
![]() ![]() |
0..1 | CodeableConcept | Método analítico utilizado Vinculación: Códigos de Métodos de Pruebas de Laboratorio (required) | |||||||
![]() ![]() |
C | 0..1 | Reference(Specimen Laboratorio) | Muestra asociada Constraints: obs-9 | ||||||
![]() ![]() |
0..1 | Reference(Dispositivo) | Equipo o software que produjo la medición, cuando se conoce | |||||||
![]() ![]() |
C | 0..* | BackboneElement | Rango de referencia del resultado Constraints: obs-3, cr-observacion-rango-ucum | ||||||
![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite inferior Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | ||||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit | ||||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity | Límite superior Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..1 | decimal | Numerical value (with implicit precision) | |||||||
![]() ![]() ![]() ![]() |
1..1 | string | Unit representation | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | System that defines coded unit form Patrón requerido: http://unitsofmeasure.org (extensions allowed) | ||||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | Coded form of the unit | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Normal value, if relevant Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation. | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||||
![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||||
![]() ![]() ![]() |
C | 0..1 | markdown | Rango en texto libre | ||||||
![]() ![]() |
0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | |||||||
![]() ![]() |
0..* | Reference(DocumentReference | ImagingStudy | ImagingSelection | QuestionnaireResponse | Observation | MolecularSequence | GenomicStudy) | Related resource from which the observation is made | |||||||
![]() ![]() |
C | 0..* | BackboneElement | Partes medidas en el mismo acto (presión sistólica y diastólica) Constraints: cr-observacion-componente, cr-observacion-componente-ucum, cr-observacion-componente-rango-unidad | ||||||
![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() |
C | 1..1 | CodeableConcept | Qué se observó en esta parte (LOINC) Vinculación: LOINCCodes (extensible) | ||||||
![]() ![]() ![]() |
0..1 | Resultado de esta parte | ||||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||||
![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
boolean | |||||||||
![]() ![]() ![]() ![]() |
integer | |||||||||
![]() ![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||||
![]() ![]() ![]() ![]() |
time | |||||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||||
![]() ![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||||
![]() ![]() ![]() ![]() |
Reference(MolecularSequence) | |||||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Por qué esta parte no tiene valor Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Interpretación de esta parte Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Rango propio de este componente, cuando aplica Constraints: cr-observacion-rango-ucum, obs-3 | ||||||
![]() ![]() ![]() ![]() |
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 | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite inferior del componente (UCUM) Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(5.0.0) | Límite superior del componente (UCUM) Constraints: sqty-1 | ||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Normal value, if relevant Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation. | |||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||||
![]() ![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | markdown | Rango del componente en texto | ||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Observation.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Observation.meta.security:confidencialidad | Base | required | Confidencialidad | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.meta.security:sensibilidad | Base | required | Sensibilidad de la información | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.meta.tag | Base | example | Common Tags | 📍5.0.0 | Estándar FHIR |
Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
| Observation.language | Base | required | All Languages | 📍5.0.0 | Estándar FHIR |
Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47. |
| Additional / all | Inicial | Common Languages | 📍5.0.0 | Estándar FHIR | ||
| Additional / all | Inicial | Common Languages | 📦5.0.0 | Estándar FHIR | ||
| Observation.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Observation.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | Estándar FHIR |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Observation.triggeredBy.type | Base | required | triggered Bytype | 📍5.0.0 | Estándar FHIR |
The type of TriggeredBy Observation. |
| Observation.status | Base | required | Estado de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.category | Base | extensible | Categoría de la observación | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Observation.code | Base | required | Códigos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.value[x].comparator | Base | required | QuantityComparator | 📍5.0.0 | Estándar FHIR |
How the Quantity should be understood and represented. |
| Observation.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.bodySite | Base | example | SNOMED CT Body Structures | 📍5.0.0 | Estándar FHIR |
SNOMED CT Body site concepts |
| Observation.method | Base | required | Códigos de Métodos de Pruebas de Laboratorio | 📦0.1.0 | Esta IG | |
| Observation.referenceRange.normalValue | Base | extensible | Observation Reference Range Normal Value Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the normal value of the observation. |
| Observation.referenceRange.type | Base | preferred | Observation Reference Range Meaning Codes | 📍5.0.0 | Estándar FHIR |
Code for the meaning of a reference range. |
| Observation.referenceRange.appliesTo | Base | example | Observation Reference Range Applies To Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the population the reference range applies to. |
| Observation.component.code | Base | extensible | LOINC Codes | 📦5.0.0 | Estándar FHIR | |
| Observation.component.dataAbsentReason | Base | extensible | Data Absent Reason | 📍5.0.0 | Estándar FHIR |
Codes specifying why the result ( |
| Observation.component.interpretation | Base | extensible | Observation Interpretation Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying interpretations of observations. |
| Observation.component.referenceRange.normalValue | Base | extensible | Observation Reference Range Normal Value Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the normal value of the observation. |
| Observation.component.referenceRange.type | Base | preferred | Observation Reference Range Meaning Codes | 📍5.0.0 | Estándar FHIR |
Code for the meaning of a reference range. |
| Observation.component.referenceRange.appliesTo | Base | example | Observation Reference Range Applies To Codes | 📍5.0.0 | Estándar FHIR |
Codes identifying the population the reference range applies to. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-codigo-interno-value | error | Observation.identifier.value | Un código interno tiene de 1 a 64 caracteres, sin espacios. |
matches('^\\S{1,64}$')
|
| cr-observacion-cancelada | error | Observation | Una observación cancelada lleva el motivo sin valor not-performed. |
status = 'cancelled' implies dataAbsentReason.coding.where(system = 'http://terminology.hl7.org/CodeSystem/data-absent-reason' and code = 'not-performed').exists()
|
| cr-observacion-componente | error | Observation.component | Cada componente lleva un valor o un motivo sin valor. |
value.exists() or dataAbsentReason.exists()
|
| cr-observacion-componente-rango-unidad | error | Observation.component | Los límites numéricos de cada rango del componente usan la misma unidad UCUM que su valor cuantitativo. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %context.value.ofType(Quantity).system and low.code = %context.value.ofType(Quantity).code)) and (high.empty() or (high.system = %context.value.ofType(Quantity).system and high.code = %context.value.ofType(Quantity).code)))
|
| cr-observacion-componente-ucum | error | Observation.component | Una cantidad de un componente lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observacion-emision | error | Observation | Un resultado final, modificado o corregido indica cuándo se emitió (issued). |
status in ('final' | 'amended' | 'corrected') implies issued.exists()
|
| cr-observacion-fecha-emision | error | Observation | El momento de la observación o el inicio del período, si existe, no es posterior a la fecha de emisión. |
issued.empty() or ((effective.ofType(dateTime).empty() or effective.ofType(dateTime) <= issued) and (effective.ofType(Period).start.empty() or effective.ofType(Period).start <= issued))
|
| cr-observacion-fecha-hora | error | Observation.effective[x] | La fecha de la observación lleva fecha y hora, no solo la fecha. |
ofType(dateTime).all(toString().contains('T')) and ofType(Period).all((start.empty() or start.toString().contains('T')) and (end.empty() or end.toString().contains('T')))
|
| cr-observacion-rango-ucum | error | Observation.referenceRange, Observation.component.referenceRange | Los límites del rango de referencia llevan su unidad en UCUM (system http://unitsofmeasure.org y code). |
(low | high).all(system = 'http://unitsofmeasure.org' and code.exists())
|
| cr-observacion-rango-unidad | error | Observation | Los límites numéricos del rango de referencia usan la misma unidad UCUM que el valor de la observación cuando este es una cantidad. |
value.ofType(Quantity).exists() implies referenceRange.all((low.empty() or (low.system = %resource.value.ofType(Quantity).system and low.code = %resource.value.ofType(Quantity).code)) and (high.empty() or (high.system = %resource.value.ofType(Quantity).system and high.code = %resource.value.ofType(Quantity).code)))
|
| cr-observacion-resultado | error | Observation | Un resultado final, modificado o corregido lleva un valor, un motivo sin valor o componentes. |
status in ('final' | 'amended' | 'corrected') implies (value.exists() or dataAbsentReason.exists() or component.exists())
|
| cr-observacion-sensibilidad | error | Observation | Una observación con una sensibilidad tiene confidencialidad R o V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode').exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code in ('R' | 'V')).exists()
|
| cr-observacion-sensibilidad-v | error | Observation | Una observación con notas de psicoterapia (PSYTHPN) o sobre violencia sexual o doméstica (SDV) tiene confidencialidad V. |
meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and code in ('PSYTHPN' | 'SDV')).exists() implies meta.security.where(system = 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality' and code = 'V').exists()
|
| cr-observacion-system | error | Observation.identifier | El system del identificador es https://hl7.or.cr/fhir/sid/observacion/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). |
system.matches('^https://hl7\\.or\\.cr/fhir/sid/observacion/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-observacion-ucum | error | Observation | Una cantidad lleva su unidad en UCUM (system http://unitsofmeasure.org y code). |
value.ofType(Quantity).exists() implies (value.ofType(Quantity).system = 'http://unitsofmeasure.org' and value.ofType(Quantity).code.exists())
|
| cr-observation-effective-no-future | error | Observation.effective[x] | La fecha y hora clínica del resultado no puede ser futura. |
$this <= now()
|
| dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange, Observation.component.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present |
dataAbsentReason.empty() or value.empty()
|
| obs-7 | error | Observation | If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). |
value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
|
| obs-8 | error | Observation | bodyStructure SHALL only be present if Observation.bodySite is not present |
bodySite.exists() implies bodyStructure.empty()
|
| obs-9 | error | Observation.specimen | If Observation.specimen is a reference to Group, the group can only have specimens |
(reference.resolve().exists() and reference.resolve() is Group) implies reference.resolve().member.entity.resolve().all($this is Specimen)
|
| sqty-1 | error | Observation.referenceRange.low, Observation.referenceRange.high, Observation.component.referenceRange.low, Observation.component.referenceRange.high | The comparator is not used on a SimpleQuantity |
comparator.empty()
|
Esta estructura se deriva de CRObservation .
Resumen
Obligatorios: 4 elementos(6 nested mandatory elementos)
Debe dar soporte a: 12 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Otras representaciones de perfil: CSV, Excel, Schematron