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 - Versión en desarrollo (v0.1.0): borrador de trabajo de la Iniciativa HL7® Costa Rica, que puede cambiar sin aviso.

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 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: Filtersdoco
.. 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-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v
... meta SΣ 1..1 Meta Metadatos: las etiquetas de seguridad
.... Slices for security Σ 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.
..... security:confidencialidad SΣ 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-Confidentiality
..... security:sensibilidad SΣ 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-ActCode
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... identifier SΣC 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
.... use ?!Σ 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
.... system SΣ 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Example General: 123456
Max Length:64
... status ?!SΣ 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
... category S 1..* CodeableConcept Categoría: imaging (laboratory y vital-signs se admiten)
Vinculación: Categoría de la observación (extensible)
... code SΣC 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
... subject SΣ 1..1 Reference(Paciente) Paciente observado
... encounter SΣ 0..1 Reference(Atención) Atención en la que se hizo la observación
... effective[x] SΣC 1..1 Cuándo se hizo la observación (fecha clínicamente relevante)
Constraints: cr-observacion-fecha-hora
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
... performer SΣ 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
... value[x] SΣC 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
.... valueQuantity Quantity
.... valueCodeableConcept CodeableConcept
.... valueString string
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
.... valueAttachment Attachment
.... valueReference Reference(MolecularSequence)
... dataAbsentReason SC 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.
... interpretation S 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
... referenceRange SC 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... low SC 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
.... high SC 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
.... text SC 0..1 markdown Rango en texto
... component SΣC 0..* BackboneElement Partes medidas en el mismo acto (presión sistólica y diastólica)
Constraints: cr-observacion-componente, cr-observacion-componente-ucum
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code SΣC 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
.... value[x] SΣ 0..1 Resultado de esta parte
..... valueQuantity Quantity
..... valueCodeableConcept CodeableConcept
..... valueString string
..... valueBoolean boolean
..... valueInteger integer
..... valueRange Range
..... valueRatio Ratio
..... valueSampledData SampledData
..... valueTime time
..... valueDateTime dateTime
..... valuePeriod Period
..... valueAttachment Attachment
..... valueReference Reference(MolecularSequence)
.... dataAbsentReason S 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
.... interpretation S 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso ValueSet Versión Fuente
Observation.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR
Observation.meta.security:confidencialidad Base required Confidencialidad 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Observation.meta.security:sensibilidad Base required Sensibilidad de la información 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Observation.identifier.​use Base required IdentifierUse 📍5.0.0 Estándar FHIR
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
Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR
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
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Restricciones

Id Nivel Ruta(s) Descripción Expression
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-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 La fecha de la observación 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 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-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 best practice 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 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()

Esta estructura se deriva de Observation .

NombreMarcasCard.TipoDescripción y restricciones    Filter: Filtersdoco
.. 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-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v
... meta S 1..1 Meta Metadatos: las etiquetas de seguridad
.... Slices for security 1..* Coding Confidencialidad y sensibilidad de la observación
Slice: Sin orden, Abierto by value:system
..... security:confidencialidad S 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
...... system 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-Confidentiality
..... security:sensibilidad S 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
...... system 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-ActCode
... identifier SC 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
.... use 0..1 code official (valor fijo)
Required Pattern: official
.... system S 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
.... value SC 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Max Length:64
... status S 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
... code S 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
... subject S 1..1 Reference(Paciente) Paciente observado
... encounter S 0..1 Reference(Atención) Atención en la que se hizo la observación
... effective[x] SC 1..1 Cuándo se hizo la observación (fecha clínicamente relevante)
Constraints: cr-observacion-fecha-hora
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued S 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
... performer S 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
... value[x] S 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...
... dataAbsentReason S 0..1 CodeableConcept Por qué no hay valor (not-performed si se canceló)
... interpretation S 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
... referenceRange SC 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: cr-observacion-rango-ucum
.... low S 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
.... high S 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
.... text S 0..1 markdown Rango en texto
... component SC 0..* BackboneElement Partes medidas en el mismo acto (presión sistólica y diastólica)
Constraints: cr-observacion-componente, cr-observacion-componente-ucum
.... code S 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
.... value[x] S 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period, Attachment, Reference(MolecularSequence) Resultado de esta parte
.... dataAbsentReason S 0..1 CodeableConcept Por qué esta parte no tiene valor
.... interpretation S 0..* CodeableConcept Interpretación de esta parte

doco Documentación de este formato

Vinculaciones terminológicas (diferencial)

Ruta Estado Uso ValueSet Versión Fuente
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.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 Expression
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-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 La fecha de la observación 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 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-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: Filtersdoco
.. 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-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..1 Meta Metadatos: las etiquetas de seguridad
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... Slices for security Σ 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.
..... security:confidencialidad SΣ 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-Confidentiality
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... security:sensibilidad SΣ 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-ActCode
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... tag Σ 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".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Vinculación: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier SΣC 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
.... use ?!Σ 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
.... type Σ 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.
.... system SΣ 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Example General: 123456
Max Length:64
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiates[x] Σ 0..1 canonical(ObservationDefinition), Reference(ObservationDefinition) Instantiates FHIR ObservationDefinition
... basedOn Σ 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) Fulfills plan, proposal or order
... triggeredBy 0..* BackboneElement Triggering observation(s)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... observation Σ 1..1 Reference(Observation) Triggering observation
.... type Σ 1..1 code reflex | repeat | re-run
Vinculación: TriggeredBytype (required): The type of TriggeredBy Observation.
.... reason 0..1 string Reason that the observation was triggered
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy | GenomicStudy) Part of referenced event
... status ?!SΣ 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
... category S 1..* CodeableConcept Categoría: imaging (laboratory y vital-signs se admiten)
Vinculación: Categoría de la observación (extensible)
... code SΣC 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
... subject SΣ 1..1 Reference(Paciente) Paciente observado
... focus Σ 0..* Reference(Resource) What the observation is about, when it is not about the subject of record
... encounter SΣ 0..1 Reference(Atención) Atención en la que se hizo la observación
... effective[x] SΣC 1..1 Cuándo se hizo la observación (fecha clínicamente relevante)
Constraints: cr-observacion-fecha-hora
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
... performer SΣ 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
... value[x] SΣC 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
.... valueQuantity Quantity
.... valueCodeableConcept CodeableConcept
.... valueString string
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
.... valueAttachment Attachment
.... valueReference Reference(MolecularSequence)
... dataAbsentReason SC 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.
... interpretation S 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
... note 0..* Annotation Comments about the observation
... bodySite C 0..1 CodeableConcept Observed body part
Vinculación: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
... bodyStructure C 0..1 Reference(BodyStructure) Observed body structure
... method 0..1 CodeableConcept How it was done
Vinculación: ObservationMethods (example): Methods for simple observations.
... specimen C 0..1 Reference(Specimen | Group) Specimen used for this observation
Constraints: obs-9
... device 0..1 Reference(Device | DeviceMetric) A reference to the device that generates the measurements or the device settings for the device
... referenceRange SC 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... low SC 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
.... high SC 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
.... normalValue 0..1 CodeableConcept Normal value, if relevant
Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation.
.... type 0..1 CodeableConcept Reference range qualifier
Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
.... appliesTo 0..* CodeableConcept Reference range population
Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
.... age 0..1 Range Applicable age range, if relevant
.... text SC 0..1 markdown Rango en texto
... hasMember Σ 0..* Reference(Observation | QuestionnaireResponse | MolecularSequence) Related resource that belongs to the Observation group
... derivedFrom Σ 0..* Reference(DocumentReference | ImagingStudy | ImagingSelection | QuestionnaireResponse | Observation | MolecularSequence | GenomicStudy) Related resource from which the observation is made
... component SΣC 0..* BackboneElement Partes medidas en el mismo acto (presión sistólica y diastólica)
Constraints: cr-observacion-componente, cr-observacion-componente-ucum
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code SΣC 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
.... value[x] SΣ 0..1 Resultado de esta parte
..... valueQuantity Quantity
..... valueCodeableConcept CodeableConcept
..... valueString string
..... valueBoolean boolean
..... valueInteger integer
..... valueRange Range
..... valueRatio Ratio
..... valueSampledData SampledData
..... valueTime time
..... valueDateTime dateTime
..... valuePeriod Period
..... valueAttachment Attachment
..... valueReference Reference(MolecularSequence)
.... dataAbsentReason S 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
.... interpretation S 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
.... referenceRange 0..* Vea referenceRange (Observation) Provides guide for interpretation of component result

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso ValueSet Versión Fuente
Observation.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR
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
Observation.language Base required All Languages 📍5.0.0 Estándar FHIR
Observation.identifier.​use Base required IdentifierUse 📍5.0.0 Estándar FHIR
Observation.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 Estándar FHIR
Observation.triggeredBy.​type Base required triggered Bytype 📍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.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 Estándar FHIR
Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR
Observation.bodySite Base example SNOMED CT Body Structures 📍5.0.0 Estándar FHIR
Observation.method Base example Observation Methods 📍5.0.0 Estándar FHIR
Observation.referenceRange.​normalValue Base extensible Observation Reference Range Normal Value Codes 📍5.0.0 Estándar FHIR
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍5.0.0 Estándar FHIR
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍5.0.0 Estándar FHIR
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
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Restricciones

Id Nivel Ruta(s) Descripción Expression
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-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 La fecha de la observación 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 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-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 best practice 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 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)

Esta estructura se deriva de Observation .

Resumen

Obligatorios: 11 elementos(1 nested mandatory elemento)
Must-Support: 26 elementos

Estructuras

Esta estructura hace referencia a estas otras estructuras:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Observation.meta.security

Vista de elementos clave

NombreMarcasCard.TipoDescripción y restricciones    Filter: Filtersdoco
.. 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-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v
... meta SΣ 1..1 Meta Metadatos: las etiquetas de seguridad
.... Slices for security Σ 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.
..... security:confidencialidad SΣ 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-Confidentiality
..... security:sensibilidad SΣ 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-ActCode
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... identifier SΣC 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
.... use ?!Σ 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
.... system SΣ 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Example General: 123456
Max Length:64
... status ?!SΣ 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
... category S 1..* CodeableConcept Categoría: imaging (laboratory y vital-signs se admiten)
Vinculación: Categoría de la observación (extensible)
... code SΣC 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
... subject SΣ 1..1 Reference(Paciente) Paciente observado
... encounter SΣ 0..1 Reference(Atención) Atención en la que se hizo la observación
... effective[x] SΣC 1..1 Cuándo se hizo la observación (fecha clínicamente relevante)
Constraints: cr-observacion-fecha-hora
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
... performer SΣ 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
... value[x] SΣC 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
.... valueQuantity Quantity
.... valueCodeableConcept CodeableConcept
.... valueString string
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
.... valueAttachment Attachment
.... valueReference Reference(MolecularSequence)
... dataAbsentReason SC 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.
... interpretation S 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
... referenceRange SC 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... low SC 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
.... high SC 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
.... text SC 0..1 markdown Rango en texto
... component SΣC 0..* BackboneElement Partes medidas en el mismo acto (presión sistólica y diastólica)
Constraints: cr-observacion-componente, cr-observacion-componente-ucum
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code SΣC 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
.... value[x] SΣ 0..1 Resultado de esta parte
..... valueQuantity Quantity
..... valueCodeableConcept CodeableConcept
..... valueString string
..... valueBoolean boolean
..... valueInteger integer
..... valueRange Range
..... valueRatio Ratio
..... valueSampledData SampledData
..... valueTime time
..... valueDateTime dateTime
..... valuePeriod Period
..... valueAttachment Attachment
..... valueReference Reference(MolecularSequence)
.... dataAbsentReason S 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
.... interpretation S 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso ValueSet Versión Fuente
Observation.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR
Observation.meta.security:confidencialidad Base required Confidencialidad 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Observation.meta.security:sensibilidad Base required Sensibilidad de la información 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Observation.identifier.​use Base required IdentifierUse 📍5.0.0 Estándar FHIR
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
Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR
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
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Restricciones

Id Nivel Ruta(s) Descripción Expression
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-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 La fecha de la observación 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 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-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 best practice 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 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()

Vista diferencial

Esta estructura se deriva de Observation .

NombreMarcasCard.TipoDescripción y restricciones    Filter: Filtersdoco
.. 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-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v
... meta S 1..1 Meta Metadatos: las etiquetas de seguridad
.... Slices for security 1..* Coding Confidencialidad y sensibilidad de la observación
Slice: Sin orden, Abierto by value:system
..... security:confidencialidad S 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
...... system 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-Confidentiality
..... security:sensibilidad S 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
...... system 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-ActCode
... identifier SC 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
.... use 0..1 code official (valor fijo)
Required Pattern: official
.... system S 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
.... value SC 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Max Length:64
... status S 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
... code S 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
... subject S 1..1 Reference(Paciente) Paciente observado
... encounter S 0..1 Reference(Atención) Atención en la que se hizo la observación
... effective[x] SC 1..1 Cuándo se hizo la observación (fecha clínicamente relevante)
Constraints: cr-observacion-fecha-hora
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued S 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
... performer S 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
... value[x] S 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...
... dataAbsentReason S 0..1 CodeableConcept Por qué no hay valor (not-performed si se canceló)
... interpretation S 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
... referenceRange SC 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: cr-observacion-rango-ucum
.... low S 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
.... high S 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
.... text S 0..1 markdown Rango en texto
... component SC 0..* BackboneElement Partes medidas en el mismo acto (presión sistólica y diastólica)
Constraints: cr-observacion-componente, cr-observacion-componente-ucum
.... code S 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
.... value[x] S 0..1 Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period, Attachment, Reference(MolecularSequence) Resultado de esta parte
.... dataAbsentReason S 0..1 CodeableConcept Por qué esta parte no tiene valor
.... interpretation S 0..* CodeableConcept Interpretación de esta parte

doco Documentación de este formato

Vinculaciones terminológicas (diferencial)

Ruta Estado Uso ValueSet Versión Fuente
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.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 Expression
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-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 La fecha de la observación 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 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-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: Filtersdoco
.. 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-fecha-emision, cr-observacion-cancelada, cr-observacion-sensibilidad, cr-observacion-sensibilidad-v
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..1 Meta Metadatos: las etiquetas de seguridad
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... Slices for security Σ 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.
..... security:confidencialidad SΣ 1..1 Coding N | R | V
Vinculación: Confidencialidad (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-Confidentiality
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... security:sensibilidad SΣ 0..* Coding PSY | PSYTHPN | HIV | STD | SDV | SEX | SUD | GDIS
Vinculación: Sensibilidad de la información (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
...... system Σ 1..1 uri Sistema de códigos del slice (valor fijo)
Required Pattern: http://terminology.hl7.org/CodeSystem/v3-ActCode
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... tag Σ 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".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Vinculación: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier SΣC 1..1 Identifier Identificador de la observación, el mismo en todas sus versiones
Constraints: cr-observacion-system
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
.... use ?!Σ 0..1 code official (valor fijo)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: official
.... type Σ 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.
.... system SΣ 1..1 uri https://hl7.or.cr/fhir/sid/observacion/{código del establecimiento}
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string Número de la observación en el sistema del establecimiento
Constraints: cr-codigo-interno-value
Example General: 123456
Max Length:64
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiates[x] Σ 0..1 canonical(ObservationDefinition), Reference(ObservationDefinition) Instantiates FHIR ObservationDefinition
... basedOn Σ 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) Fulfills plan, proposal or order
... triggeredBy 0..* BackboneElement Triggering observation(s)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... observation Σ 1..1 Reference(Observation) Triggering observation
.... type Σ 1..1 code reflex | repeat | re-run
Vinculación: TriggeredBytype (required): The type of TriggeredBy Observation.
.... reason 0..1 string Reason that the observation was triggered
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy | GenomicStudy) Part of referenced event
... status ?!SΣ 1..1 code Estado: preliminary | final | amended | corrected | cancelled | entered-in-error
Vinculación: Estado de la observación (required)
... category S 1..* CodeableConcept Categoría: imaging (laboratory y vital-signs se admiten)
Vinculación: Categoría de la observación (extensible)
... code SΣC 1..1 CodeableConcept Qué se observó (LOINC cuando hay un código)
Vinculación: LOINCCodes (extensible)
... subject SΣ 1..1 Reference(Paciente) Paciente observado
... focus Σ 0..* Reference(Resource) What the observation is about, when it is not about the subject of record
... encounter SΣ 0..1 Reference(Atención) Atención en la que se hizo la observación
... effective[x] SΣC 1..1 Cuándo se hizo la observación (fecha clínicamente relevante)
Constraints: cr-observacion-fecha-hora
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Cuándo se emitió el resultado (obligatoria en un resultado final)
... performer SΣ 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
... value[x] SΣC 0..1 Resultado: una cantidad (con unidad UCUM), un código, un texto...
.... valueQuantity Quantity
.... valueCodeableConcept CodeableConcept
.... valueString string
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
.... valueAttachment Attachment
.... valueReference Reference(MolecularSequence)
... dataAbsentReason SC 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.
... interpretation S 0..* CodeableConcept Interpretación: normal, alto, bajo... (con el texto en español)
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
... note 0..* Annotation Comments about the observation
... bodySite C 0..1 CodeableConcept Observed body part
Vinculación: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts
... bodyStructure C 0..1 Reference(BodyStructure) Observed body structure
... method 0..1 CodeableConcept How it was done
Vinculación: ObservationMethods (example): Methods for simple observations.
... specimen C 0..1 Reference(Specimen | Group) Specimen used for this observation
Constraints: obs-9
... device 0..1 Reference(Device | DeviceMetric) A reference to the device that generates the measurements or the device settings for the device
... referenceRange SC 0..* BackboneElement Rango de referencia que aplica al paciente
Constraints: obs-3, cr-observacion-rango-ucum
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... low SC 0..1 SimpleQuantity(5.0.0) Límite inferior (UCUM)
.... high SC 0..1 SimpleQuantity(5.0.0) Límite superior (UCUM)
.... normalValue 0..1 CodeableConcept Normal value, if relevant
Vinculación: ObservationReferenceRangeNormalValueCodes (extensible): Codes identifying the normal value of the observation.
.... type 0..1 CodeableConcept Reference range qualifier
Vinculación: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
.... appliesTo 0..* CodeableConcept Reference range population
Vinculación: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
.... age 0..1 Range Applicable age range, if relevant
.... text SC 0..1 markdown Rango en texto
... hasMember Σ 0..* Reference(Observation | QuestionnaireResponse | MolecularSequence) Related resource that belongs to the Observation group
... derivedFrom Σ 0..* Reference(DocumentReference | ImagingStudy | ImagingSelection | QuestionnaireResponse | Observation | MolecularSequence | GenomicStudy) Related resource from which the observation is made
... component SΣC 0..* BackboneElement Partes medidas en el mismo acto (presión sistólica y diastólica)
Constraints: cr-observacion-componente, cr-observacion-componente-ucum
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code SΣC 1..1 CodeableConcept Qué se observó en esta parte (LOINC)
Vinculación: LOINCCodes (extensible)
.... value[x] SΣ 0..1 Resultado de esta parte
..... valueQuantity Quantity
..... valueCodeableConcept CodeableConcept
..... valueString string
..... valueBoolean boolean
..... valueInteger integer
..... valueRange Range
..... valueRatio Ratio
..... valueSampledData SampledData
..... valueTime time
..... valueDateTime dateTime
..... valuePeriod Period
..... valueAttachment Attachment
..... valueReference Reference(MolecularSequence)
.... dataAbsentReason S 0..1 CodeableConcept Por qué esta parte no tiene valor
Vinculación: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
.... interpretation S 0..* CodeableConcept Interpretación de esta parte
Vinculación: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
.... referenceRange 0..* Vea referenceRange (Observation) Provides guide for interpretation of component result

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso ValueSet Versión Fuente
Observation.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR
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
Observation.language Base required All Languages 📍5.0.0 Estándar FHIR
Observation.identifier.​use Base required IdentifierUse 📍5.0.0 Estándar FHIR
Observation.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 Estándar FHIR
Observation.triggeredBy.​type Base required triggered Bytype 📍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.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 Estándar FHIR
Observation.interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR
Observation.bodySite Base example SNOMED CT Body Structures 📍5.0.0 Estándar FHIR
Observation.method Base example Observation Methods 📍5.0.0 Estándar FHIR
Observation.referenceRange.​normalValue Base extensible Observation Reference Range Normal Value Codes 📍5.0.0 Estándar FHIR
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍5.0.0 Estándar FHIR
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍5.0.0 Estándar FHIR
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
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 Estándar FHIR

Restricciones

Id Nivel Ruta(s) Descripción Expression
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-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 La fecha de la observación 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 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-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 best practice 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 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)

Esta estructura se deriva de Observation .

Resumen

Obligatorios: 11 elementos(1 nested mandatory elemento)
Must-Support: 26 elementos

Estructuras

Esta estructura hace referencia a estas otras estructuras:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Observation.meta.security

 

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.

Ver también Servicios del HIE.