HL7® Iniciativa Costa Rica

Guía de Implementación Core de Costa Rica
0.1.0 - ci-build Costa Rica bandera

Guía de Implementación Core 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.

Perfil de los recursos: Observación

URL oficial: https://hl7.or.cr/fhir/core/StructureDefinition/cr-observation Versión: 0.1.0
Standards status: Draft * Nivel de madurez: 0 * Nombre computable: CRObservation

Resultado de una medición, un examen o una evaluación sobre un paciente en Costa Rica: una medida o una impresión de un estudio de imágenes, un resultado de laboratorio, un signo vital. Es la base común que perfila cada guía de dominio. Implementa el modelo lógico de la observación.

Usos:

También puede consultar los usos en las estadísticas de IG de FHIR

Vistas formales del contenido del perfil

Descripción de perfiles, diferenciales, instantáneas y sus representaciones.

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Observation C 0..* Observation 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
Observation.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Observation.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadatos: las etiquetas de seguridad
Observation.meta.Slices para security This element is included in summaries. 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.
Observation.meta.Slices para security.:confidencialidad This element must be supported. This element is included in summaries. 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
Observation.meta.Slices para security.:confidencialidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed)
Observation.meta.Slices para security.:sensibilidad This element must be supported. This element is included in summaries. 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
Observation.meta.Slices para security.:sensibilidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed)
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Observation.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Observation.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Observation.contained 0..* Resource Recursos contenidos en línea
Observation.extension 0..* Extension Contenido adicional definido por las implementaciones
Observation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Observation.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
Observation.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Patrón requerido: official (extensions allowed)
Observation.identifier.system This element must be supported. This element is included in summaries. 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Ejemplo General: http://www.acme.com/identifiers/patient
Observation.identifier.value This element must be supported. This element is included in summaries. 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
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
Observation.category This element must be supported. 1..* CodeableConcept Categoría: imaging | laboratory
Vinculación: Categoría de la observación (extensible)
Observation.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(Paciente) Paciente observado
Observation.encounter This element must be supported. This element is included in summaries. 0..1 Reference(Atención) Atención en la que se hizo la observación
Observation.effective[x] This element must be supported. This element is included in summaries. C 1..1 Momento o período clínicamente relevante de la observación
Constraints: cr-observacion-fecha-hora
Observation.effective[x].effectiveDateTime dateTime
Observation.effective[x].effectivePeriod Period
Observation.issued This element must be supported. This element is included in summaries. 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
Observation.performer This element must be supported. This element is included in summaries. 1..* Reference(Rol del profesional | Profesional de salud | Organización) Quién hizo la observación: el profesional en su rol, o la organización
Observation.value[x] This element must be supported. This element is included in summaries. C 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
Observation.value[x].valueQuantity Quantity
Observation.value[x].valueCodeableConcept CodeableConcept
Observation.value[x].valueString string
Observation.value[x].valueBoolean boolean
Observation.value[x].valueInteger integer
Observation.value[x].valueRange Range
Observation.value[x].valueRatio Ratio
Observation.value[x].valueSampledData SampledData
Observation.value[x].valueTime time
Observation.value[x].valueDateTime dateTime
Observation.value[x].valuePeriod Period
Observation.value[x].valueAttachment Attachment
Observation.value[x].valueReference Reference(MolecularSequence)
Observation.dataAbsentReason This element must be supported. 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.
Observation.interpretation This element must be supported. 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.device 0..1 Reference(Dispositivo) Equipo o software que produjo la medición, cuando se conoce
Observation.referenceRange This element must be supported. C 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
Constraints: sqty-1
Observation.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
Constraints: sqty-1
Observation.referenceRange.text This element must be supported. C 0..1 markdown Rango en texto
Observation.component This element must be supported. This element is included in summaries. 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
Observation.component.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
Observation.component.value[x] This element must be supported. This element is included in summaries. 0..1 Resultado de esta parte
Observation.component.value[x].valueQuantity Quantity
Observation.component.value[x].valueCodeableConcept CodeableConcept
Observation.component.value[x].valueString string
Observation.component.value[x].valueBoolean boolean
Observation.component.value[x].valueInteger integer
Observation.component.value[x].valueRange Range
Observation.component.value[x].valueRatio Ratio
Observation.component.value[x].valueSampledData SampledData
Observation.component.value[x].valueTime time
Observation.component.value[x].valueDateTime dateTime
Observation.component.value[x].valuePeriod Period
Observation.component.value[x].valueAttachment Attachment
Observation.component.value[x].valueReference Reference(MolecularSequence)
Observation.component.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.component.interpretation This element must be supported. 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.component.referenceRange This element must be supported. C 0..* BackboneElement Rango propio de este componente, cuando aplica
Constraints: cr-observacion-rango-ucum, obs-3
Observation.component.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.text This element must be supported. C 0..1 markdown Rango del componente en texto

doco Documentación de este formato

Vinculaciones terminológicas

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.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.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 extensible LOINC Codes 📦5.0.0 Estándar FHIR
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 Estándar FHIR

Codes specifying why the result ( Observation.value[x] ) is missing.

Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Codes identifying interpretations of observations.

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.value[x] ) is missing.

Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Codes identifying interpretations of observations.

Restricciones

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())
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()
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 Observation .

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Observation C 0..* Observation Observación: resultado de una medición, un examen o una evaluación
Constraints: 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
Other Changes: documentation
Observation.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Observation.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadatos: las etiquetas de seguridad
Observation.meta.Slices para security This element is included in summaries. 1..* Coding Confidencialidad y sensibilidad de la observación
Slice: Sin orden, Abierto by value:system
Observation.meta.Slices para security.:confidencialidad This element must be supported. This element is included in summaries. 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
Observation.meta.Slices para security.:confidencialidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed)
Observation.meta.Slices para security.:sensibilidad This element must be supported. This element is included in summaries. 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
Observation.meta.Slices para security.:sensibilidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed)
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Observation.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Other Changes: documentation
Observation.contained 0..* Resource Recursos contenidos en línea
Observation.extension 0..* Extension Contenido adicional definido por las implementaciones
Observation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Observation.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
Other Changes: documentation
Observation.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code official (valor fijo)
Patrón requerido: official (extensions allowed)
Observation.identifier.system This element must be supported. This element is included in summaries. 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Observation.identifier.value This element must be supported. This element is included in summaries. C 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Longitud máxima:64
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
Other Changes: documentation
Observation.category This element must be supported. 1..* CodeableConcept Categoría: imaging | laboratory
Vinculación: Categoría de la observación (extensible)
Other Changes: documentation
Observation.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
Other Changes: documentation
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(Paciente) Paciente observado
Observation.encounter This element must be supported. This element is included in summaries. 0..1 Reference(Atención) Atención en la que se hizo la observación
Observation.effective[x] This element must be supported. This element is included in summaries. C 1..1 Momento o período clínicamente relevante de la observación
Constraints: cr-observacion-fecha-hora
Other Changes: documentation
Observation.effective[x].effectiveDateTime dateTime
Observation.effective[x].effectivePeriod Period
Observation.issued This element must be supported. This element is included in summaries. 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
Observation.performer This element must be supported. This element is included in summaries. 1..* Reference(Rol del profesional | Profesional de salud | Organización) Quién hizo la observación: el profesional en su rol, o la organización
Observation.value[x] This element must be supported. This element is included in summaries. 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period, Attachment, Reference(MolecularSequence) Resultado: una cantidad (con unidad UCUM), un código, un texto...
Other Changes: documentation
Observation.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué no hay valor (not-performed si se canceló)
Observation.interpretation This element must be supported. 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Observation.device 0..1 Reference(Dispositivo) Equipo o software que produjo la medición, cuando se conoce
Other Changes: documentation
Observation.referenceRange This element must be supported. C 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: cr-observacion-rango-ucum
Observation.referenceRange.low This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
Observation.referenceRange.high This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
Observation.referenceRange.text This element must be supported. 0..1 markdown Rango en texto
Observation.component This element must be supported. This element is included in summaries. 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
Observation.component.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
Observation.component.value[x] This element must be supported. This element is included in summaries. 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period, Attachment, Reference(MolecularSequence) Resultado de esta parte
Observation.component.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué esta parte no tiene valor
Observation.component.interpretation This element must be supported. 0..* CodeableConcept Interpretación de esta parte
Observation.component.referenceRange This element must be supported. C 0..* BackboneElement Rango propio de este componente, cuando aplica
Constraints: cr-observacion-rango-ucum
Other Changes: documentation
Observation.component.referenceRange.low This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite inferior del componente (UCUM)
Observation.component.referenceRange.high This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite superior del componente (UCUM)
Observation.component.referenceRange.text This element must be supported. 0..1 markdown Rango del componente en texto

doco Documentación de este formato

Vinculaciones terminológicas (diferencial)

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
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.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
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 extensible LOINC Codes 📦5.0.0 Estándar FHIR
Observation.component.​code Base extensible LOINC Codes 📦5.0.0 Estándar FHIR

Restricciones

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())
NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Observation C 0..* Observation 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
Observation.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Observation.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadatos: las etiquetas de seguridad
Observation.meta.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.meta.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Observation.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Observation.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Observation.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Observation.meta.Slices para security This element is included in summaries. 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.
Observation.meta.Slices para security.:confidencialidad This element must be supported. This element is included in summaries. 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
Observation.meta.Slices para security.:confidencialidad.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.meta.Slices para security.:confidencialidad.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.meta.Slices para security.:confidencialidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed)
Observation.meta.Slices para security.:confidencialidad.version This element is included in summaries. 0..1 string Version of the system - if relevant
Observation.meta.Slices para security.:confidencialidad.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Observation.meta.Slices para security.:confidencialidad.display This element is included in summaries. C 0..1 string Representation defined by the system
Observation.meta.Slices para security.:confidencialidad.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Observation.meta.Slices para security.:sensibilidad This element must be supported. This element is included in summaries. 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
Observation.meta.Slices para security.:sensibilidad.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.meta.Slices para security.:sensibilidad.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.meta.Slices para security.:sensibilidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed)
Observation.meta.Slices para security.:sensibilidad.version This element is included in summaries. 0..1 string Version of the system - if relevant
Observation.meta.Slices para security.:sensibilidad.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Observation.meta.Slices para security.:sensibilidad.display This element is included in summaries. C 0..1 string Representation defined by the system
Observation.meta.Slices para security.:sensibilidad.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Observation.meta.tag This element is included in summaries. 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".
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Observation.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Observation.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Observation.contained 0..* Resource Recursos contenidos en línea
Observation.extension 0..* Extension Contenido adicional definido por las implementaciones
Observation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Observation.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
Observation.identifier.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Patrón requerido: official (extensions allowed)
Observation.identifier.type This element is included in summaries. 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.
Observation.identifier.system This element must be supported. This element is included in summaries. 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Ejemplo General: http://www.acme.com/identifiers/patient
Observation.identifier.value This element must be supported. This element is included in summaries. 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
Observation.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Observation.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Observation.instantiates[x] This element is included in summaries. 0..1 canonical(ObservationDefinition), Reference(ObservationDefinition) Instantiates FHIR ObservationDefinition
Observation.basedOn This element is included in summaries. 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) Fulfills plan, proposal or order
Observation.triggeredBy 0..* BackboneElement Triggering observation(s)
Observation.triggeredBy.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.triggeredBy.extension 0..* Extension Additional content defined by implementations
Observation.triggeredBy.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.triggeredBy.observation This element is included in summaries. 1..1 Reference(Observation) Triggering observation
Observation.triggeredBy.type This element is included in summaries. 1..1 code reflex | repeat | re-run
Vinculación: TriggeredBytype (required): The type of TriggeredBy Observation.
Observation.triggeredBy.reason 0..1 string Reason that the observation was triggered
Observation.partOf This element is included in summaries. 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy | GenomicStudy) Part of referenced event
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
Observation.category This element must be supported. 1..* CodeableConcept Categoría: imaging | laboratory
Vinculación: Categoría de la observación (extensible)
Observation.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(Paciente) Paciente observado
Observation.focus This element is included in summaries. 0..* Reference(Resource) What the observation is about, when it is not about the subject of record
Observation.encounter This element must be supported. This element is included in summaries. 0..1 Reference(Atención) Atención en la que se hizo la observación
Observation.effective[x] This element must be supported. This element is included in summaries. C 1..1 Momento o período clínicamente relevante de la observación
Constraints: cr-observacion-fecha-hora
Observation.effective[x].effectiveDateTime dateTime
Observation.effective[x].effectivePeriod Period
Observation.issued This element must be supported. This element is included in summaries. 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
Observation.performer This element must be supported. This element is included in summaries. 1..* Reference(Rol del profesional | Profesional de salud | Organización) Quién hizo la observación: el profesional en su rol, o la organización
Observation.value[x] This element must be supported. This element is included in summaries. C 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
Observation.value[x].valueQuantity Quantity
Observation.value[x].valueCodeableConcept CodeableConcept
Observation.value[x].valueString string
Observation.value[x].valueBoolean boolean
Observation.value[x].valueInteger integer
Observation.value[x].valueRange Range
Observation.value[x].valueRatio Ratio
Observation.value[x].valueSampledData SampledData
Observation.value[x].valueTime time
Observation.value[x].valueDateTime dateTime
Observation.value[x].valuePeriod Period
Observation.value[x].valueAttachment Attachment
Observation.value[x].valueReference Reference(MolecularSequence)
Observation.dataAbsentReason This element must be supported. 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.
Observation.interpretation This element must be supported. 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.note 0..* Annotation Comments about the observation
Observation.bodySite C 0..1 CodeableConcept Observed body part
Vinculación: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
Observation.bodyStructure C 0..1 Reference(BodyStructure) Observed body structure
Observation.method 0..1 CodeableConcept How it was done
Vinculación: ObservationMethods (example): Methods for simple observations.
Observation.specimen C 0..1 Reference(Specimen | Group) Specimen used for this observation
Constraints: obs-9
Observation.device 0..1 Reference(Dispositivo) Equipo o software que produjo la medición, cuando se conoce
Observation.referenceRange This element must be supported. C 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
Observation.referenceRange.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.referenceRange.extension 0..* Extension Additional content defined by implementations
Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
Constraints: sqty-1
Observation.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
Constraints: sqty-1
Observation.referenceRange.normalValue 0..1 CodeableConcept Normal value, if relevant
Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation.
Observation.referenceRange.type 0..1 CodeableConcept Reference range qualifier
Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
Observation.referenceRange.appliesTo 0..* CodeableConcept Reference range population
Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
Observation.referenceRange.age 0..1 Range Applicable age range, if relevant
Observation.referenceRange.text This element must be supported. C 0..1 markdown Rango en texto
Observation.hasMember This element is included in summaries. 0..* Reference(Observation | QuestionnaireResponse | MolecularSequence) Related resource that belongs to the Observation group
Observation.derivedFrom This element is included in summaries. 0..* Reference(DocumentReference | ImagingStudy | ImagingSelection | QuestionnaireResponse | Observation | MolecularSequence | GenomicStudy) Related resource from which the observation is made
Observation.component This element must be supported. This element is included in summaries. 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
Observation.component.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.component.extension 0..* Extension Additional content defined by implementations
Observation.component.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
Observation.component.value[x] This element must be supported. This element is included in summaries. 0..1 Resultado de esta parte
Observation.component.value[x].valueQuantity Quantity
Observation.component.value[x].valueCodeableConcept CodeableConcept
Observation.component.value[x].valueString string
Observation.component.value[x].valueBoolean boolean
Observation.component.value[x].valueInteger integer
Observation.component.value[x].valueRange Range
Observation.component.value[x].valueRatio Ratio
Observation.component.value[x].valueSampledData SampledData
Observation.component.value[x].valueTime time
Observation.component.value[x].valueDateTime dateTime
Observation.component.value[x].valuePeriod Period
Observation.component.value[x].valueAttachment Attachment
Observation.component.value[x].valueReference Reference(MolecularSequence)
Observation.component.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.component.interpretation This element must be supported. 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.component.referenceRange This element must be supported. C 0..* BackboneElement Rango propio de este componente, cuando aplica
Constraints: cr-observacion-rango-ucum, obs-3
Observation.component.referenceRange.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.component.referenceRange.extension 0..* Extension Additional content defined by implementations
Observation.component.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.normalValue 0..1 CodeableConcept Normal value, if relevant
Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation.
Observation.component.referenceRange.type 0..1 CodeableConcept Reference range qualifier
Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
Observation.component.referenceRange.appliesTo 0..* CodeableConcept Reference range population
Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
Observation.component.referenceRange.age 0..1 Range Applicable age range, if relevant
Observation.component.referenceRange.text This element must be supported. C 0..1 markdown Rango del componente en texto

doco Documentación de este formato

Vinculaciones terminológicas

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 extensible LOINC Codes 📦5.0.0 Estándar FHIR
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 Estándar FHIR

Codes specifying why the result ( Observation.value[x] ) is missing.

Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Codes identifying interpretations of observations.

Observation.bodySite Base example SNOMED CT Body Structures 📍5.0.0 Estándar FHIR

SNOMED CT Body site concepts

Observation.method Base example Observation Methods 📍5.0.0 Estándar FHIR

Methods for simple observations.

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.value[x] ) is missing.

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.

Restricciones

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())
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 de elementos clave

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Observation C 0..* Observation 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
Observation.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Observation.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadatos: las etiquetas de seguridad
Observation.meta.Slices para security This element is included in summaries. 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.
Observation.meta.Slices para security.:confidencialidad This element must be supported. This element is included in summaries. 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
Observation.meta.Slices para security.:confidencialidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed)
Observation.meta.Slices para security.:sensibilidad This element must be supported. This element is included in summaries. 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
Observation.meta.Slices para security.:sensibilidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed)
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Observation.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Observation.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Observation.contained 0..* Resource Recursos contenidos en línea
Observation.extension 0..* Extension Contenido adicional definido por las implementaciones
Observation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Observation.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
Observation.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Patrón requerido: official (extensions allowed)
Observation.identifier.system This element must be supported. This element is included in summaries. 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Ejemplo General: http://www.acme.com/identifiers/patient
Observation.identifier.value This element must be supported. This element is included in summaries. 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
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
Observation.category This element must be supported. 1..* CodeableConcept Categoría: imaging | laboratory
Vinculación: Categoría de la observación (extensible)
Observation.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(Paciente) Paciente observado
Observation.encounter This element must be supported. This element is included in summaries. 0..1 Reference(Atención) Atención en la que se hizo la observación
Observation.effective[x] This element must be supported. This element is included in summaries. C 1..1 Momento o período clínicamente relevante de la observación
Constraints: cr-observacion-fecha-hora
Observation.effective[x].effectiveDateTime dateTime
Observation.effective[x].effectivePeriod Period
Observation.issued This element must be supported. This element is included in summaries. 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
Observation.performer This element must be supported. This element is included in summaries. 1..* Reference(Rol del profesional | Profesional de salud | Organización) Quién hizo la observación: el profesional en su rol, o la organización
Observation.value[x] This element must be supported. This element is included in summaries. C 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
Observation.value[x].valueQuantity Quantity
Observation.value[x].valueCodeableConcept CodeableConcept
Observation.value[x].valueString string
Observation.value[x].valueBoolean boolean
Observation.value[x].valueInteger integer
Observation.value[x].valueRange Range
Observation.value[x].valueRatio Ratio
Observation.value[x].valueSampledData SampledData
Observation.value[x].valueTime time
Observation.value[x].valueDateTime dateTime
Observation.value[x].valuePeriod Period
Observation.value[x].valueAttachment Attachment
Observation.value[x].valueReference Reference(MolecularSequence)
Observation.dataAbsentReason This element must be supported. 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.
Observation.interpretation This element must be supported. 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.device 0..1 Reference(Dispositivo) Equipo o software que produjo la medición, cuando se conoce
Observation.referenceRange This element must be supported. C 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
Constraints: sqty-1
Observation.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
Constraints: sqty-1
Observation.referenceRange.text This element must be supported. C 0..1 markdown Rango en texto
Observation.component This element must be supported. This element is included in summaries. 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
Observation.component.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
Observation.component.value[x] This element must be supported. This element is included in summaries. 0..1 Resultado de esta parte
Observation.component.value[x].valueQuantity Quantity
Observation.component.value[x].valueCodeableConcept CodeableConcept
Observation.component.value[x].valueString string
Observation.component.value[x].valueBoolean boolean
Observation.component.value[x].valueInteger integer
Observation.component.value[x].valueRange Range
Observation.component.value[x].valueRatio Ratio
Observation.component.value[x].valueSampledData SampledData
Observation.component.value[x].valueTime time
Observation.component.value[x].valueDateTime dateTime
Observation.component.value[x].valuePeriod Period
Observation.component.value[x].valueAttachment Attachment
Observation.component.value[x].valueReference Reference(MolecularSequence)
Observation.component.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.component.interpretation This element must be supported. 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.component.referenceRange This element must be supported. C 0..* BackboneElement Rango propio de este componente, cuando aplica
Constraints: cr-observacion-rango-ucum, obs-3
Observation.component.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.text This element must be supported. C 0..1 markdown Rango del componente en texto

doco Documentación de este formato

Vinculaciones terminológicas

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.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.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 extensible LOINC Codes 📦5.0.0 Estándar FHIR
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 Estándar FHIR

Codes specifying why the result ( Observation.value[x] ) is missing.

Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Codes identifying interpretations of observations.

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.value[x] ) is missing.

Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Codes identifying interpretations of observations.

Restricciones

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())
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()
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 Observation .

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Observation C 0..* Observation Observación: resultado de una medición, un examen o una evaluación
Constraints: 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
Other Changes: documentation
Observation.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Observation.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadatos: las etiquetas de seguridad
Observation.meta.Slices para security This element is included in summaries. 1..* Coding Confidencialidad y sensibilidad de la observación
Slice: Sin orden, Abierto by value:system
Observation.meta.Slices para security.:confidencialidad This element must be supported. This element is included in summaries. 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
Observation.meta.Slices para security.:confidencialidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed)
Observation.meta.Slices para security.:sensibilidad This element must be supported. This element is included in summaries. 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
Observation.meta.Slices para security.:sensibilidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed)
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Observation.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
Observation.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Other Changes: documentation
Observation.contained 0..* Resource Recursos contenidos en línea
Observation.extension 0..* Extension Contenido adicional definido por las implementaciones
Observation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Observation.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
Other Changes: documentation
Observation.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code official (valor fijo)
Patrón requerido: official (extensions allowed)
Observation.identifier.system This element must be supported. This element is included in summaries. 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Observation.identifier.value This element must be supported. This element is included in summaries. C 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Longitud máxima:64
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
Other Changes: documentation
Observation.category This element must be supported. 1..* CodeableConcept Categoría: imaging | laboratory
Vinculación: Categoría de la observación (extensible)
Other Changes: documentation
Observation.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
Other Changes: documentation
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(Paciente) Paciente observado
Observation.encounter This element must be supported. This element is included in summaries. 0..1 Reference(Atención) Atención en la que se hizo la observación
Observation.effective[x] This element must be supported. This element is included in summaries. C 1..1 Momento o período clínicamente relevante de la observación
Constraints: cr-observacion-fecha-hora
Other Changes: documentation
Observation.effective[x].effectiveDateTime dateTime
Observation.effective[x].effectivePeriod Period
Observation.issued This element must be supported. This element is included in summaries. 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
Observation.performer This element must be supported. This element is included in summaries. 1..* Reference(Rol del profesional | Profesional de salud | Organización) Quién hizo la observación: el profesional en su rol, o la organización
Observation.value[x] This element must be supported. This element is included in summaries. 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period, Attachment, Reference(MolecularSequence) Resultado: una cantidad (con unidad UCUM), un código, un texto...
Other Changes: documentation
Observation.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué no hay valor (not-performed si se canceló)
Observation.interpretation This element must be supported. 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Observation.device 0..1 Reference(Dispositivo) Equipo o software que produjo la medición, cuando se conoce
Other Changes: documentation
Observation.referenceRange This element must be supported. C 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: cr-observacion-rango-ucum
Observation.referenceRange.low This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
Observation.referenceRange.high This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
Observation.referenceRange.text This element must be supported. 0..1 markdown Rango en texto
Observation.component This element must be supported. This element is included in summaries. 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
Observation.component.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
Observation.component.value[x] This element must be supported. This element is included in summaries. 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period, Attachment, Reference(MolecularSequence) Resultado de esta parte
Observation.component.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué esta parte no tiene valor
Observation.component.interpretation This element must be supported. 0..* CodeableConcept Interpretación de esta parte
Observation.component.referenceRange This element must be supported. C 0..* BackboneElement Rango propio de este componente, cuando aplica
Constraints: cr-observacion-rango-ucum
Other Changes: documentation
Observation.component.referenceRange.low This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite inferior del componente (UCUM)
Observation.component.referenceRange.high This element must be supported. 0..1 SimpleQuantity(5.0.0) Límite superior del componente (UCUM)
Observation.component.referenceRange.text This element must be supported. 0..1 markdown Rango del componente en texto

doco Documentación de este formato

Vinculaciones terminológicas (diferencial)

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
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.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
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 extensible LOINC Codes 📦5.0.0 Estándar FHIR
Observation.component.​code Base extensible LOINC Codes 📦5.0.0 Estándar FHIR

Restricciones

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())

Vista instantáneaView

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Observation C 0..* Observation 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
Observation.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Observation.meta This element must be supported. This element is included in summaries. 1..1 Meta Metadatos: las etiquetas de seguridad
Observation.meta.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.meta.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Observation.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Observation.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Observation.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Observation.meta.Slices para security This element is included in summaries. 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.
Observation.meta.Slices para security.:confidencialidad This element must be supported. This element is included in summaries. 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
Observation.meta.Slices para security.:confidencialidad.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.meta.Slices para security.:confidencialidad.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.meta.Slices para security.:confidencialidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-Confidentiality (extensions allowed)
Observation.meta.Slices para security.:confidencialidad.version This element is included in summaries. 0..1 string Version of the system - if relevant
Observation.meta.Slices para security.:confidencialidad.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Observation.meta.Slices para security.:confidencialidad.display This element is included in summaries. C 0..1 string Representation defined by the system
Observation.meta.Slices para security.:confidencialidad.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Observation.meta.Slices para security.:sensibilidad This element must be supported. This element is included in summaries. 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
Observation.meta.Slices para security.:sensibilidad.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.meta.Slices para security.:sensibilidad.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.meta.Slices para security.:sensibilidad.system This element is included in summaries. 1..1 uri Sistema de códigos del slice (valor fijo)
Patrón requerido: http://terminology.hl7.org/CodeSystem/v3-ActCode (extensions allowed)
Observation.meta.Slices para security.:sensibilidad.version This element is included in summaries. 0..1 string Version of the system - if relevant
Observation.meta.Slices para security.:sensibilidad.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Observation.meta.Slices para security.:sensibilidad.display This element is included in summaries. C 0..1 string Representation defined by the system
Observation.meta.Slices para security.:sensibilidad.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Observation.meta.tag This element is included in summaries. 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".
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Observation.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Observation.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Observation.contained 0..* Resource Recursos contenidos en línea
Observation.extension 0..* Extension Contenido adicional definido por las implementaciones
Observation.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Observation.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
Observation.identifier.id No extension or id. 0..1 id Unique id for inter-element referencing
Observation.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Observation.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Patrón requerido: official (extensions allowed)
Observation.identifier.type This element is included in summaries. 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.
Observation.identifier.system This element must be supported. This element is included in summaries. 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Ejemplo General: http://www.acme.com/identifiers/patient
Observation.identifier.value This element must be supported. This element is included in summaries. 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
Observation.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Observation.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Observation.instantiates[x] This element is included in summaries. 0..1 canonical(ObservationDefinition), Reference(ObservationDefinition) Instantiates FHIR ObservationDefinition
Observation.basedOn This element is included in summaries. 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) Fulfills plan, proposal or order
Observation.triggeredBy 0..* BackboneElement Triggering observation(s)
Observation.triggeredBy.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.triggeredBy.extension 0..* Extension Additional content defined by implementations
Observation.triggeredBy.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.triggeredBy.observation This element is included in summaries. 1..1 Reference(Observation) Triggering observation
Observation.triggeredBy.type This element is included in summaries. 1..1 code reflex | repeat | re-run
Vinculación: TriggeredBytype (required): The type of TriggeredBy Observation.
Observation.triggeredBy.reason 0..1 string Reason that the observation was triggered
Observation.partOf This element is included in summaries. 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy | GenomicStudy) Part of referenced event
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
Observation.category This element must be supported. 1..* CodeableConcept Categoría: imaging | laboratory
Vinculación: Categoría de la observación (extensible)
Observation.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(Paciente) Paciente observado
Observation.focus This element is included in summaries. 0..* Reference(Resource) What the observation is about, when it is not about the subject of record
Observation.encounter This element must be supported. This element is included in summaries. 0..1 Reference(Atención) Atención en la que se hizo la observación
Observation.effective[x] This element must be supported. This element is included in summaries. C 1..1 Momento o período clínicamente relevante de la observación
Constraints: cr-observacion-fecha-hora
Observation.effective[x].effectiveDateTime dateTime
Observation.effective[x].effectivePeriod Period
Observation.issued This element must be supported. This element is included in summaries. 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
Observation.performer This element must be supported. This element is included in summaries. 1..* Reference(Rol del profesional | Profesional de salud | Organización) Quién hizo la observación: el profesional en su rol, o la organización
Observation.value[x] This element must be supported. This element is included in summaries. C 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
Observation.value[x].valueQuantity Quantity
Observation.value[x].valueCodeableConcept CodeableConcept
Observation.value[x].valueString string
Observation.value[x].valueBoolean boolean
Observation.value[x].valueInteger integer
Observation.value[x].valueRange Range
Observation.value[x].valueRatio Ratio
Observation.value[x].valueSampledData SampledData
Observation.value[x].valueTime time
Observation.value[x].valueDateTime dateTime
Observation.value[x].valuePeriod Period
Observation.value[x].valueAttachment Attachment
Observation.value[x].valueReference Reference(MolecularSequence)
Observation.dataAbsentReason This element must be supported. 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.
Observation.interpretation This element must be supported. 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.note 0..* Annotation Comments about the observation
Observation.bodySite C 0..1 CodeableConcept Observed body part
Vinculación: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
Observation.bodyStructure C 0..1 Reference(BodyStructure) Observed body structure
Observation.method 0..1 CodeableConcept How it was done
Vinculación: ObservationMethods (example): Methods for simple observations.
Observation.specimen C 0..1 Reference(Specimen | Group) Specimen used for this observation
Constraints: obs-9
Observation.device 0..1 Reference(Dispositivo) Equipo o software que produjo la medición, cuando se conoce
Observation.referenceRange This element must be supported. C 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
Observation.referenceRange.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.referenceRange.extension 0..* Extension Additional content defined by implementations
Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
Constraints: sqty-1
Observation.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
Constraints: sqty-1
Observation.referenceRange.normalValue 0..1 CodeableConcept Normal value, if relevant
Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation.
Observation.referenceRange.type 0..1 CodeableConcept Reference range qualifier
Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
Observation.referenceRange.appliesTo 0..* CodeableConcept Reference range population
Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
Observation.referenceRange.age 0..1 Range Applicable age range, if relevant
Observation.referenceRange.text This element must be supported. C 0..1 markdown Rango en texto
Observation.hasMember This element is included in summaries. 0..* Reference(Observation | QuestionnaireResponse | MolecularSequence) Related resource that belongs to the Observation group
Observation.derivedFrom This element is included in summaries. 0..* Reference(DocumentReference | ImagingStudy | ImagingSelection | QuestionnaireResponse | Observation | MolecularSequence | GenomicStudy) Related resource from which the observation is made
Observation.component This element must be supported. This element is included in summaries. 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
Observation.component.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.component.extension 0..* Extension Additional content defined by implementations
Observation.component.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.code This element must be supported. This element is included in summaries. C 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
Observation.component.value[x] This element must be supported. This element is included in summaries. 0..1 Resultado de esta parte
Observation.component.value[x].valueQuantity Quantity
Observation.component.value[x].valueCodeableConcept CodeableConcept
Observation.component.value[x].valueString string
Observation.component.value[x].valueBoolean boolean
Observation.component.value[x].valueInteger integer
Observation.component.value[x].valueRange Range
Observation.component.value[x].valueRatio Ratio
Observation.component.value[x].valueSampledData SampledData
Observation.component.value[x].valueTime time
Observation.component.value[x].valueDateTime dateTime
Observation.component.value[x].valuePeriod Period
Observation.component.value[x].valueAttachment Attachment
Observation.component.value[x].valueReference Reference(MolecularSequence)
Observation.component.dataAbsentReason This element must be supported. 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.component.interpretation This element must be supported. 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.component.referenceRange This element must be supported. C 0..* BackboneElement Rango propio de este componente, cuando aplica
Constraints: cr-observacion-rango-ucum, obs-3
Observation.component.referenceRange.id No extension or id. 0..1 string Unique id for inter-element referencing
Observation.component.referenceRange.extension 0..* Extension Additional content defined by implementations
Observation.component.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.component.referenceRange.low This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite inferior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.high This element must be supported. C 0..1 SimpleQuantity(5.0.0) Límite superior del componente (UCUM)
Constraints: sqty-1
Observation.component.referenceRange.normalValue 0..1 CodeableConcept Normal value, if relevant
Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation.
Observation.component.referenceRange.type 0..1 CodeableConcept Reference range qualifier
Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
Observation.component.referenceRange.appliesTo 0..* CodeableConcept Reference range population
Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
Observation.component.referenceRange.age 0..1 Range Applicable age range, if relevant
Observation.component.referenceRange.text This element must be supported. C 0..1 markdown Rango del componente en texto

doco Documentación de este formato

Vinculaciones terminológicas

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 extensible LOINC Codes 📦5.0.0 Estándar FHIR
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 Estándar FHIR

Codes specifying why the result ( Observation.value[x] ) is missing.

Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Codes identifying interpretations of observations.

Observation.bodySite Base example SNOMED CT Body Structures 📍5.0.0 Estándar FHIR

SNOMED CT Body site concepts

Observation.method Base example Observation Methods 📍5.0.0 Estándar FHIR

Methods for simple observations.

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.value[x] ) is missing.

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.

Restricciones

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())
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()

 

Otras representaciones de perfil: CSV, Excel, Schematron

Notas:

Uso en el HIE

Viaja de dos formas: dentro de un documento clínico, que no necesita nada más, o suelta, enviada directamente al HIE en un Bundle de tipo transaction con su procedencia firmada. El servicio del HIE que recibe las observaciones sueltas todavía no está definido en esta versión.

Equipo productor, ejecutante y sistema

Observation.device es opcional y, si se conoce, identifica el equipo diagnóstico o software que produjo la medición. Se referencia mediante el perfil base Dispositivo. No es el profesional u organización responsable (performer) ni el sistema que creó, transmitió o consultó el recurso (CRDeviceSistema en procedencia y auditoría). Laboratorio e Imágenes decidirán para cuáles resultados el equipo productor es obligatorio.

Codificación del resultado

Cuando LOINC representa el concepto se conserva su código; otro sistema como SNOMED CT puede acompañarlo en otro Coding del mismo CodeableConcept solo si expresa el mismo concepto. El ejemplo de presión sistólica sigue el ejemplo oficial de FHIR R5: LOINC 8480-6 junto con SNOMED CT 271649006. La expansión terminológica fija la edición internacional 20250201 (900000000000207008); su disponibilidad depende del servidor terminológico configurado.

Rangos de referencia de los componentes

Observation.referenceRange corresponde al valor principal y no se hereda por los componentes. Cada Observation.component.referenceRange puede expresar el rango propio de esa parte, con límites UCUM y el mismo código de unidad que su valueQuantity cuando sea cuantitativo. Los rangos son opcionales en Core porque dependen del análisis, el método y la población; Laboratorio e Imágenes pueden exigirlos para resultados concretos. El ejemplo de presión arterial usa límites ilustrativos, no criterios clínicos nacionales. La distinción sigue FHIR R5.

Ver también Servicios del HIE.