Guía de Implementación de Resultados de Laboratorio de Costa Rica
0.1.0 - ci-build
Guía de Implementación de Resultados de Laboratorio de Costa Rica - Compilación local de desarrollo (v0.1.0), generada con las herramientas de compilación de FHIR (HL7® FHIR® Standard). Vea el directorio de versiones publicadas. Por ahora aplica solo al sector privado, hasta que el Ministerio de Salud publique la hoja de ruta de las guías de implementación públicas.
| URL oficial: https://hl7.or.cr/fhir/labresult/StructureDefinition/cr-organization-laboratory-result | Versión: 0.1.0 | ||||
| Standards status: Informative * | Nombre computable: CROrganizationLaboratoryResult | ||||
Perfil de organización que define los datos de la organización necesarios para representar resultados de laboratorio, basado en el modelo lógico LogicalModelOrganizationLaboratoryResult y el perfil de organización del CORE de Costa Rica.
Usos:
También puede consultar los usos en las estadísticas de IG de FHIR
Descripción de perfiles, diferenciales, instantáneas y sus representaciones.
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CROrganization | Organización: prestador de servicios de salud, institución, colegio u otra organización Constraints: org-1, cr-org-identificacion, cr-org-tipo-establecimiento, cr-org-facility, cr-org-nivel-atencion-red-publica, cr-org-nivel-atencion-tipo, cr-org-establecimiento-direccion |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |
![]() ![]() |
C | 0..* | Identifier | Identificadores de la organización Constraints: cr-cedula-juridica-value, cr-codigo-establecimiento-value, cr-organization-identifier-value-max-length |
![]() ![]() ![]() |
1..1 | code | official si está vigente; old si se conserva solo como histórico Vinculación: IdentifierUse (required) | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de identificador de la organización Vinculación: Tipos de identificación de la organización (required) | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador organizacional Ejemplo General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() |
C | 1..1 | string | Identificador de la organización Ejemplo General: 123456 |
![]() ![]() |
1..1 | boolean | Si la organización está activa | |
![]() ![]() |
0..* | CodeableConcept | Categoría, tipo de establecimiento, nivel de atención y marca de establecimiento Slice: Sin orden, Abierto by value:coding.system Vinculación: OrganizationType (example): Used to categorize the organization. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..* | CodeableConcept | Categoría: prov | govt | ins | bus Vinculación: Categoría de organización (extensible) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Tipo de establecimiento de salud (Ministerio de Salud) Vinculación: Tipos de establecimiento de salud (required) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Nivel de atención: primer-nivel | segundo-nivel | tercer-nivel Vinculación: Niveles de atención (required) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Marca de establecimiento de IHE mCSD (facility) Vinculación: OrganizationType (example): Used to categorize the organization. | |
![]() ![]() |
C | 1..1 | string | Nombre de la organización Constraints: cr-organization-name-max-length Longitud máxima:250 |
![]() ![]() |
0..* | string | Nombre corto o sigla (CCSS, INS) | |
![]() ![]() |
0..1 | Reference(Organización) | Organización a la que pertenece | |
![]() ![]() |
0..* | BackboneElement | Resumen declarado de una licencia o habilitación de salud | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Identifier | Número de la autorización | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | Número de la autorización, tal como lo emite la autoridad Ejemplo General: 123456 |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de autorización (permiso de funcionamiento, habilitación) Vinculación: Tipos de autorización de salud (extensible) | |
![]() ![]() ![]() |
0..1 | Period | Vigencia de la autorización | |
![]() ![]() ![]() |
1..1 | Reference(Organización) | Institución que emite la autorización (Ministerio de Salud) | |
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-cedula-juridica-value | error | Organization.identifier | Una cédula jurídica (system https://hl7.or.cr/fhir/sid/cedula-juridica) tiene 10 dígitos, sin guiones ni cero inicial. |
system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' implies value.matches('^[1-9][0-9]{9}$')
|
| cr-codigo-establecimiento-value | error | Organization.identifier | Un código de establecimiento (system https://hl7.or.cr/fhir/sid/establecimiento) es cj-, cn- o dimex- seguido del identificador del titular. |
system = 'https://hl7.or.cr/fhir/sid/establecimiento' implies value.matches('^(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-org-establecimiento-direccion | error | Organization | Un establecimiento de salud tiene la dirección de su sede en el contacto general. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() implies contact.where(purpose.empty()).address.exists()
|
| cr-org-facility | error | Organization | Lleva la marca de establecimiento de IHE mCSD (facility) toda organización con tipo de establecimiento, y solo ellas. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() = type.coding.where(system = 'https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types' and code = 'facility').exists()
|
| cr-org-identificacion | error | Organization | Una organización costarricense tiene al menos un identificador vigente, salvo una unidad con organización superior o una organización con dirección fuera de Costa Rica. |
identifier.where(use != 'old').exists() or partOf.exists() or contact.address.where(country != 'CRI').exists()
|
| cr-org-nivel-atencion-red-publica | error | Organization | Un establecimiento de la red pública indica su nivel de atención. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('ebais' | 'sede-ebais' | 'sede-area-salud' | 'pvp' | 'clinica-t1' | 'clinica-t2' | 'clinica-t3' | 'clinica-t4' | 'hospital-nacional-general' | 'hospital-nacional-especializado' | 'hospital-regional' | 'hospital-periferico')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion').exists()
|
| cr-org-nivel-atencion-tipo | error | Organization | El nivel de atención es coherente con el tipo de establecimiento: consultorios, EBAIS y puestos de visita periódica son de primer nivel; las clínicas privadas y las clínicas tipo 4, de segundo o tercer nivel. |
(type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('consultorio-medico' | 'ebais' | 'sede-ebais' | 'pvp')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code != 'primer-nivel').empty()) and (type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('clinica-privada' | 'clinica-t4')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code = 'primer-nivel').empty())
|
| cr-org-tipo-establecimiento | error | Organization | Un prestador de servicios de salud que forma parte de otra organización o que no es institución del Estado indica su tipo de establecimiento. |
(type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'prov').exists() and (partOf.exists() or type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'govt').empty())) implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists()
|
| cr-organization-identifier-value-max-length | warning | Organization.identifier | El valor del identificador no puede exceder 1000 caracteres. |
value.length() <= 1000
|
| cr-organization-name-max-length | warning | Organization.name | El nombre no puede exceder 1000 caracteres. |
$this.length() <= 1000
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Organization | 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()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
Esta estructura se deriva de CROrganization .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
CROrganization | |||
![]() ![]() |
C | 0..* | Identifier | Identificadores de la organización Constraints: cr-organization-identifier-value-max-length Other Changes: documentation |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de identificador de la organización Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador organizacional Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | string | Identificador de la organización Other Changes: documentation | |
![]() ![]() |
C | 1..1 | string | Nombre de la organización Constraints: cr-organization-name-max-length Other Changes: documentation |
![]() ![]() |
0..0 | Sin contactos en el PoC Other Changes: documentation | ||
![]() ![]() |
0..1 | Reference(Organización) | Organización a la que pertenece Other Changes: documentation | |
![]() ![]() |
0..0 | Sin endpoints en el perfil Other Changes: documentation | ||
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-organization-identifier-value-max-length | warning | Organization.identifier | El valor del identificador no puede exceder 1000 caracteres. |
value.length() <= 1000
|
| cr-organization-name-max-length | warning | Organization.name | El nombre no puede exceder 1000 caracteres. |
$this.length() <= 1000
|
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CROrganization | Organización: prestador de servicios de salud, institución, colegio u otra organización Constraints: org-1, cr-org-identificacion, cr-org-tipo-establecimiento, cr-org-facility, cr-org-nivel-atencion-red-publica, cr-org-nivel-atencion-tipo, cr-org-establecimiento-direccion | ||||||
![]() ![]() |
0..1 | id | Identificador lógico del recurso | |||||||
![]() ![]() |
0..1 | Meta | Metadatos del recurso | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |||||||
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |||||||
![]() ![]() |
0..* | Extension | Contenido adicional definido por las implementaciones | |||||||
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |||||||
![]() ![]() |
C | 0..* | Identifier | Identificadores de la organización Constraints: cr-cedula-juridica-value, cr-codigo-establecimiento-value, cr-organization-identifier-value-max-length | ||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
1..1 | code | official si está vigente; old si se conserva solo como histórico Vinculación: IdentifierUse (required) | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de identificador de la organización Vinculación: Tipos de identificación de la organización (required) | |||||||
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador organizacional Ejemplo General: http://www.acme.com/identifiers/patient | |||||||
![]() ![]() ![]() |
C | 1..1 | string | Identificador de la organización Ejemplo General: 123456 | ||||||
![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||||
![]() ![]() |
1..1 | boolean | Si la organización está activa | |||||||
![]() ![]() |
0..* | CodeableConcept | Categoría, tipo de establecimiento, nivel de atención y marca de establecimiento Slice: Sin orden, Abierto by value:coding.system Vinculación: OrganizationType (example): Used to categorize the organization. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Categoría: prov | govt | ins | bus Vinculación: Categoría de organización (extensible) | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/organization-type (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Tipo de establecimiento de salud (Ministerio de Salud) Vinculación: Tipos de establecimiento de salud (required) | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Nivel de atención: primer-nivel | segundo-nivel | tercer-nivel Vinculación: Niveles de atención (required) | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Marca de establecimiento de IHE mCSD (facility) Vinculación: OrganizationType (example): Used to categorize the organization. | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | facility (valor fijo) Patrón requerido: facility (extensions allowed) | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
C | 1..1 | string | Nombre de la organización Constraints: cr-organization-name-max-length Longitud máxima:250 | ||||||
![]() ![]() |
0..* | string | Nombre corto o sigla (CCSS, INS) | |||||||
![]() ![]() |
0..1 | markdown | Additional details about the Organization that could be displayed as further information to identify the Organization beyond its name | |||||||
![]() ![]() |
0..1 | Reference(Organización) | Organización a la que pertenece | |||||||
![]() ![]() |
0..* | BackboneElement | Resumen declarado de una licencia o habilitación de salud | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
1..1 | Identifier | Número de la autorización | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||||
![]() ![]() ![]() ![]() |
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. | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Ejemplo General: http://www.acme.com/identifiers/patient | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | Número de la autorización, tal como lo emite la autoridad Ejemplo General: 123456 | ||||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de autorización (permiso de funcionamiento, habilitación) Vinculación: Tipos de autorización de salud (extensible) | |||||||
![]() ![]() ![]() |
0..1 | Period | Vigencia de la autorización | |||||||
![]() ![]() ![]() |
1..1 | Reference(Organización) | Institución que emite la autorización (Ministerio de Salud) | |||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Organization.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 | ||
| Organization.identifier.use | Base | required | IdentifierUse | 📦5.0.0 | Estándar FHIR | |
| Organization.identifier.type | Base | required | Tipos de identificación de la organización | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type | Base | example | Organization Type | 📍5.0.0 | Estándar FHIR |
Used to categorize the organization. |
| Organization.type:categoria | Base | extensible | Categoría de organización | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type:tipoEstablecimiento | Base | required | Tipos de establecimiento de salud | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type:nivelAtencion | Base | required | Niveles de atención | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type:facility | Base | example | Organization Type | 📍5.0.0 | Estándar FHIR |
Used to categorize the organization. |
| Organization.qualification.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Organization.qualification.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. |
| Organization.qualification.code | Base | extensible | Tipos de autorización de salud | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-cedula-juridica-value | error | Organization.identifier | Una cédula jurídica (system https://hl7.or.cr/fhir/sid/cedula-juridica) tiene 10 dígitos, sin guiones ni cero inicial. |
system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' implies value.matches('^[1-9][0-9]{9}$')
|
| cr-codigo-establecimiento-value | error | Organization.identifier | Un código de establecimiento (system https://hl7.or.cr/fhir/sid/establecimiento) es cj-, cn- o dimex- seguido del identificador del titular. |
system = 'https://hl7.or.cr/fhir/sid/establecimiento' implies value.matches('^(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-org-establecimiento-direccion | error | Organization | Un establecimiento de salud tiene la dirección de su sede en el contacto general. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() implies contact.where(purpose.empty()).address.exists()
|
| cr-org-facility | error | Organization | Lleva la marca de establecimiento de IHE mCSD (facility) toda organización con tipo de establecimiento, y solo ellas. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() = type.coding.where(system = 'https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types' and code = 'facility').exists()
|
| cr-org-identificacion | error | Organization | Una organización costarricense tiene al menos un identificador vigente, salvo una unidad con organización superior o una organización con dirección fuera de Costa Rica. |
identifier.where(use != 'old').exists() or partOf.exists() or contact.address.where(country != 'CRI').exists()
|
| cr-org-nivel-atencion-red-publica | error | Organization | Un establecimiento de la red pública indica su nivel de atención. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('ebais' | 'sede-ebais' | 'sede-area-salud' | 'pvp' | 'clinica-t1' | 'clinica-t2' | 'clinica-t3' | 'clinica-t4' | 'hospital-nacional-general' | 'hospital-nacional-especializado' | 'hospital-regional' | 'hospital-periferico')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion').exists()
|
| cr-org-nivel-atencion-tipo | error | Organization | El nivel de atención es coherente con el tipo de establecimiento: consultorios, EBAIS y puestos de visita periódica son de primer nivel; las clínicas privadas y las clínicas tipo 4, de segundo o tercer nivel. |
(type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('consultorio-medico' | 'ebais' | 'sede-ebais' | 'pvp')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code != 'primer-nivel').empty()) and (type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('clinica-privada' | 'clinica-t4')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code = 'primer-nivel').empty())
|
| cr-org-tipo-establecimiento | error | Organization | Un prestador de servicios de salud que forma parte de otra organización o que no es institución del Estado indica su tipo de establecimiento. |
(type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'prov').exists() and (partOf.exists() or type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'govt').empty())) implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists()
|
| cr-organization-identifier-value-max-length | warning | Organization.identifier | El valor del identificador no puede exceder 1000 caracteres. |
value.length() <= 1000
|
| cr-organization-name-max-length | warning | Organization.name | El nombre no puede exceder 1000 caracteres. |
$this.length() <= 1000
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Organization | 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()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
Esta estructura se deriva de CROrganization .
Vista de elementos clave
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CROrganization | Organización: prestador de servicios de salud, institución, colegio u otra organización Constraints: org-1, cr-org-identificacion, cr-org-tipo-establecimiento, cr-org-facility, cr-org-nivel-atencion-red-publica, cr-org-nivel-atencion-tipo, cr-org-establecimiento-direccion |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |
![]() ![]() |
C | 0..* | Identifier | Identificadores de la organización Constraints: cr-cedula-juridica-value, cr-codigo-establecimiento-value, cr-organization-identifier-value-max-length |
![]() ![]() ![]() |
1..1 | code | official si está vigente; old si se conserva solo como histórico Vinculación: IdentifierUse (required) | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de identificador de la organización Vinculación: Tipos de identificación de la organización (required) | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador organizacional Ejemplo General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() |
C | 1..1 | string | Identificador de la organización Ejemplo General: 123456 |
![]() ![]() |
1..1 | boolean | Si la organización está activa | |
![]() ![]() |
0..* | CodeableConcept | Categoría, tipo de establecimiento, nivel de atención y marca de establecimiento Slice: Sin orden, Abierto by value:coding.system Vinculación: OrganizationType (example): Used to categorize the organization. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..* | CodeableConcept | Categoría: prov | govt | ins | bus Vinculación: Categoría de organización (extensible) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Tipo de establecimiento de salud (Ministerio de Salud) Vinculación: Tipos de establecimiento de salud (required) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Nivel de atención: primer-nivel | segundo-nivel | tercer-nivel Vinculación: Niveles de atención (required) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Marca de establecimiento de IHE mCSD (facility) Vinculación: OrganizationType (example): Used to categorize the organization. | |
![]() ![]() |
C | 1..1 | string | Nombre de la organización Constraints: cr-organization-name-max-length Longitud máxima:250 |
![]() ![]() |
0..* | string | Nombre corto o sigla (CCSS, INS) | |
![]() ![]() |
0..1 | Reference(Organización) | Organización a la que pertenece | |
![]() ![]() |
0..* | BackboneElement | Resumen declarado de una licencia o habilitación de salud | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Identifier | Número de la autorización | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | Número de la autorización, tal como lo emite la autoridad Ejemplo General: 123456 |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de autorización (permiso de funcionamiento, habilitación) Vinculación: Tipos de autorización de salud (extensible) | |
![]() ![]() ![]() |
0..1 | Period | Vigencia de la autorización | |
![]() ![]() ![]() |
1..1 | Reference(Organización) | Institución que emite la autorización (Ministerio de Salud) | |
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-cedula-juridica-value | error | Organization.identifier | Una cédula jurídica (system https://hl7.or.cr/fhir/sid/cedula-juridica) tiene 10 dígitos, sin guiones ni cero inicial. |
system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' implies value.matches('^[1-9][0-9]{9}$')
|
| cr-codigo-establecimiento-value | error | Organization.identifier | Un código de establecimiento (system https://hl7.or.cr/fhir/sid/establecimiento) es cj-, cn- o dimex- seguido del identificador del titular. |
system = 'https://hl7.or.cr/fhir/sid/establecimiento' implies value.matches('^(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-org-establecimiento-direccion | error | Organization | Un establecimiento de salud tiene la dirección de su sede en el contacto general. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() implies contact.where(purpose.empty()).address.exists()
|
| cr-org-facility | error | Organization | Lleva la marca de establecimiento de IHE mCSD (facility) toda organización con tipo de establecimiento, y solo ellas. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() = type.coding.where(system = 'https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types' and code = 'facility').exists()
|
| cr-org-identificacion | error | Organization | Una organización costarricense tiene al menos un identificador vigente, salvo una unidad con organización superior o una organización con dirección fuera de Costa Rica. |
identifier.where(use != 'old').exists() or partOf.exists() or contact.address.where(country != 'CRI').exists()
|
| cr-org-nivel-atencion-red-publica | error | Organization | Un establecimiento de la red pública indica su nivel de atención. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('ebais' | 'sede-ebais' | 'sede-area-salud' | 'pvp' | 'clinica-t1' | 'clinica-t2' | 'clinica-t3' | 'clinica-t4' | 'hospital-nacional-general' | 'hospital-nacional-especializado' | 'hospital-regional' | 'hospital-periferico')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion').exists()
|
| cr-org-nivel-atencion-tipo | error | Organization | El nivel de atención es coherente con el tipo de establecimiento: consultorios, EBAIS y puestos de visita periódica son de primer nivel; las clínicas privadas y las clínicas tipo 4, de segundo o tercer nivel. |
(type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('consultorio-medico' | 'ebais' | 'sede-ebais' | 'pvp')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code != 'primer-nivel').empty()) and (type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('clinica-privada' | 'clinica-t4')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code = 'primer-nivel').empty())
|
| cr-org-tipo-establecimiento | error | Organization | Un prestador de servicios de salud que forma parte de otra organización o que no es institución del Estado indica su tipo de establecimiento. |
(type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'prov').exists() and (partOf.exists() or type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'govt').empty())) implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists()
|
| cr-organization-identifier-value-max-length | warning | Organization.identifier | El valor del identificador no puede exceder 1000 caracteres. |
value.length() <= 1000
|
| cr-organization-name-max-length | warning | Organization.name | El nombre no puede exceder 1000 caracteres. |
$this.length() <= 1000
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Organization | 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()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
Vista diferencial
Esta estructura se deriva de CROrganization .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
CROrganization | |||
![]() ![]() |
C | 0..* | Identifier | Identificadores de la organización Constraints: cr-organization-identifier-value-max-length Other Changes: documentation |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de identificador de la organización Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador organizacional Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | string | Identificador de la organización Other Changes: documentation | |
![]() ![]() |
C | 1..1 | string | Nombre de la organización Constraints: cr-organization-name-max-length Other Changes: documentation |
![]() ![]() |
0..0 | Sin contactos en el PoC Other Changes: documentation | ||
![]() ![]() |
0..1 | Reference(Organización) | Organización a la que pertenece Other Changes: documentation | |
![]() ![]() |
0..0 | Sin endpoints en el perfil Other Changes: documentation | ||
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-organization-identifier-value-max-length | warning | Organization.identifier | El valor del identificador no puede exceder 1000 caracteres. |
value.length() <= 1000
|
| cr-organization-name-max-length | warning | Organization.name | El nombre no puede exceder 1000 caracteres. |
$this.length() <= 1000
|
Vista instantáneaView
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CROrganization | Organización: prestador de servicios de salud, institución, colegio u otra organización Constraints: org-1, cr-org-identificacion, cr-org-tipo-establecimiento, cr-org-facility, cr-org-nivel-atencion-red-publica, cr-org-nivel-atencion-tipo, cr-org-establecimiento-direccion | ||||||
![]() ![]() |
0..1 | id | Identificador lógico del recurso | |||||||
![]() ![]() |
0..1 | Meta | Metadatos del recurso | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |||||||
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |||||||
![]() ![]() |
0..* | Extension | Contenido adicional definido por las implementaciones | |||||||
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |||||||
![]() ![]() |
C | 0..* | Identifier | Identificadores de la organización Constraints: cr-cedula-juridica-value, cr-codigo-establecimiento-value, cr-organization-identifier-value-max-length | ||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
1..1 | code | official si está vigente; old si se conserva solo como histórico Vinculación: IdentifierUse (required) | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de identificador de la organización Vinculación: Tipos de identificación de la organización (required) | |||||||
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador organizacional Ejemplo General: http://www.acme.com/identifiers/patient | |||||||
![]() ![]() ![]() |
C | 1..1 | string | Identificador de la organización Ejemplo General: 123456 | ||||||
![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||||
![]() ![]() |
1..1 | boolean | Si la organización está activa | |||||||
![]() ![]() |
0..* | CodeableConcept | Categoría, tipo de establecimiento, nivel de atención y marca de establecimiento Slice: Sin orden, Abierto by value:coding.system Vinculación: OrganizationType (example): Used to categorize the organization. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Categoría: prov | govt | ins | bus Vinculación: Categoría de organización (extensible) | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: http://terminology.hl7.org/CodeSystem/organization-type (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Tipo de establecimiento de salud (Ministerio de Salud) Vinculación: Tipos de establecimiento de salud (required) | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Nivel de atención: primer-nivel | segundo-nivel | tercer-nivel Vinculación: Niveles de atención (required) | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Marca de establecimiento de IHE mCSD (facility) Vinculación: OrganizationType (example): Used to categorize the organization. | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Sistema de códigos del slice (valor fijo) Patrón requerido: https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types (extensions allowed) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | facility (valor fijo) Patrón requerido: facility (extensions allowed) | ||||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||||
![]() ![]() |
C | 1..1 | string | Nombre de la organización Constraints: cr-organization-name-max-length Longitud máxima:250 | ||||||
![]() ![]() |
0..* | string | Nombre corto o sigla (CCSS, INS) | |||||||
![]() ![]() |
0..1 | markdown | Additional details about the Organization that could be displayed as further information to identify the Organization beyond its name | |||||||
![]() ![]() |
0..1 | Reference(Organización) | Organización a la que pertenece | |||||||
![]() ![]() |
0..* | BackboneElement | Resumen declarado de una licencia o habilitación de salud | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
1..1 | Identifier | Número de la autorización | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||||
![]() ![]() ![]() ![]() |
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. | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Ejemplo General: http://www.acme.com/identifiers/patient | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | Número de la autorización, tal como lo emite la autoridad Ejemplo General: 123456 | ||||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de autorización (permiso de funcionamiento, habilitación) Vinculación: Tipos de autorización de salud (extensible) | |||||||
![]() ![]() ![]() |
0..1 | Period | Vigencia de la autorización | |||||||
![]() ![]() ![]() |
1..1 | Reference(Organización) | Institución que emite la autorización (Ministerio de Salud) | |||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Organization.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 | ||
| Organization.identifier.use | Base | required | IdentifierUse | 📦5.0.0 | Estándar FHIR | |
| Organization.identifier.type | Base | required | Tipos de identificación de la organización | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type | Base | example | Organization Type | 📍5.0.0 | Estándar FHIR |
Used to categorize the organization. |
| Organization.type:categoria | Base | extensible | Categoría de organización | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type:tipoEstablecimiento | Base | required | Tipos de establecimiento de salud | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type:nivelAtencion | Base | required | Niveles de atención | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| Organization.type:facility | Base | example | Organization Type | 📍5.0.0 | Estándar FHIR |
Used to categorize the organization. |
| Organization.qualification.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Organization.qualification.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. |
| Organization.qualification.code | Base | extensible | Tipos de autorización de salud | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-cedula-juridica-value | error | Organization.identifier | Una cédula jurídica (system https://hl7.or.cr/fhir/sid/cedula-juridica) tiene 10 dígitos, sin guiones ni cero inicial. |
system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' implies value.matches('^[1-9][0-9]{9}$')
|
| cr-codigo-establecimiento-value | error | Organization.identifier | Un código de establecimiento (system https://hl7.or.cr/fhir/sid/establecimiento) es cj-, cn- o dimex- seguido del identificador del titular. |
system = 'https://hl7.or.cr/fhir/sid/establecimiento' implies value.matches('^(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$')
|
| cr-org-establecimiento-direccion | error | Organization | Un establecimiento de salud tiene la dirección de su sede en el contacto general. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() implies contact.where(purpose.empty()).address.exists()
|
| cr-org-facility | error | Organization | Lleva la marca de establecimiento de IHE mCSD (facility) toda organización con tipo de establecimiento, y solo ellas. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists() = type.coding.where(system = 'https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types' and code = 'facility').exists()
|
| cr-org-identificacion | error | Organization | Una organización costarricense tiene al menos un identificador vigente, salvo una unidad con organización superior o una organización con dirección fuera de Costa Rica. |
identifier.where(use != 'old').exists() or partOf.exists() or contact.address.where(country != 'CRI').exists()
|
| cr-org-nivel-atencion-red-publica | error | Organization | Un establecimiento de la red pública indica su nivel de atención. |
type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('ebais' | 'sede-ebais' | 'sede-area-salud' | 'pvp' | 'clinica-t1' | 'clinica-t2' | 'clinica-t3' | 'clinica-t4' | 'hospital-nacional-general' | 'hospital-nacional-especializado' | 'hospital-regional' | 'hospital-periferico')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion').exists()
|
| cr-org-nivel-atencion-tipo | error | Organization | El nivel de atención es coherente con el tipo de establecimiento: consultorios, EBAIS y puestos de visita periódica son de primer nivel; las clínicas privadas y las clínicas tipo 4, de segundo o tercer nivel. |
(type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('consultorio-medico' | 'ebais' | 'sede-ebais' | 'pvp')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code != 'primer-nivel').empty()) and (type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud' and code in ('clinica-privada' | 'clinica-t4')).exists() implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-nivel-atencion' and code = 'primer-nivel').empty())
|
| cr-org-tipo-establecimiento | error | Organization | Un prestador de servicios de salud que forma parte de otra organización o que no es institución del Estado indica su tipo de establecimiento. |
(type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'prov').exists() and (partOf.exists() or type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/organization-type' and code = 'govt').empty())) implies type.coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud').exists()
|
| cr-organization-identifier-value-max-length | warning | Organization.identifier | El valor del identificador no puede exceder 1000 caracteres. |
value.length() <= 1000
|
| cr-organization-name-max-length | warning | Organization.name | El nombre no puede exceder 1000 caracteres. |
$this.length() <= 1000
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | Organization | 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()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
Esta estructura se deriva de CROrganization .
Otras representaciones de perfil: CSV, Excel, Schematron