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-bundle-laboratory-result | Versión: 0.1.0 | ||||
| Standards status: Informative * | Nombre computable: CRBundleLaboratoryResult | ||||
Perfil de Bundle tipo document para intercambio de resultados de laboratorio (HbA1c y glucosa en ayunas) en el PoC de Costa Rica. La firma digital JAdES se conserva de forma detached en CRDetachedSignatureProvenanceLaboratoryResult.
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..* | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas, CRBundleDR1, CRBundleComp1, CRBundleOBS1, CRBundleDROBSLink1, CRBundleCompDRSubj1, CRBundleCompDRType1, CRBundleCompFirst1, CRBundleAttester1 |
![]() ![]() |
1..1 | id | Id del documento en el repositorio, asignado por el emisor (UUID) | |
![]() ![]() |
0..1 | Meta | Metadatos: las etiquetas de seguridad | |
![]() ![]() ![]() |
0..* | Coding | Las mismas etiquetas de seguridad de la Composition Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
C | 1..1 | Identifier | Identificador de esta versión del Bundle |
![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador del documento Patrón requerido: urn:ietf:rfc:3986 (extensions allowed) | |
![]() ![]() ![]() |
C | 1..1 | string | Valor del identificador del documento Ejemplo General: 123456 |
![]() ![]() |
C | 1..1 | code | Bundle document Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Patrón requerido: document (extensions allowed) |
![]() ![]() |
C | 1..1 | instant | Fecha de ensamblaje del bundle Constraints: cr-bundle-timestamp-no-future |
![]() ![]() |
C | 5..* | BackboneElement | Entradas del documento clínico Slice: Sin orden, Abierto by type:resource Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them |
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URL absoluta de la entrada |
![]() ![]() ![]() ![]() |
C | 1..1 | Resource | Recurso contenido en la entrada |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Composition Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
1..1 | CRCompositionLaboratoryResult |
Documento clínico: encabezado común | |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de DiagnosticReport Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRDiagnosticReportLaboratoryResult |
A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Patient Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRPatientLaboratoryResult |
Paciente: persona que recibe atención de salud en Costa Rica | |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Observation Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRObservationLaboratoryResult |
Observación: resultado de una medición, un examen o una evaluación | |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Organization Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CROrganizationLaboratoryResult |
Organización: prestador de servicios de salud, institución, colegio u otra organización | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Specimen Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRSpecimenLaboratoryResult |
Sample for analysis | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Practitioner Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerLaboratoryResult |
Profesional de salud, con su identificación y su habilitación para ejercer | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de PractitionerRole Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerRoleLaboratoryResult |
Rol del profesional: organización, profesión, lugar e idiomas de atención | |
![]() ![]() |
C | 0..1 | OperationOutcome(5.0.0) |
Issues with the Bundle |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Bundle.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Bundle.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
Indicates the purpose of a bundle - how it is intended to be used. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| CRBundleAttester1 | error | Bundle | El documento debe declarar su atestacion en Composition.attester. La firma detached se conserva en Provenance y la declaracion clinica de responsabilidad debe vivir dentro de entry[]. |
entry.resource.ofType(Composition).attester.exists()
|
| CRBundleComp1 | error | Bundle | El documento debe incluir una y solo una Composition. |
entry.resource.ofType(Composition).count() = 1
|
| CRBundleCompDRSubj1 | error | Bundle | Composition y DiagnosticReport deben referenciar el mismo sujeto. |
entry.resource.ofType(Composition).subject.reference.single() = entry.resource.ofType(DiagnosticReport).subject.reference.single()
|
| CRBundleCompDRType1 | error | Bundle | La Composition debe enlazar al menos un DiagnosticReport del documento mediante section.entry. |
entry.resource.ofType(Composition).section.entry.resolve().ofType(DiagnosticReport).exists()
|
| CRBundleCompFirst1 | error | Bundle | La primera entrada del documento debe ser Composition. |
entry.first().resource.ofType(Composition).exists()
|
| CRBundleDR1 | error | Bundle | El documento debe incluir uno y solo un DiagnosticReport. |
entry.resource.ofType(DiagnosticReport).count() = 1
|
| CRBundleDROBSLink1 | error | Bundle | Debe existir al menos un DiagnosticReport con result que resuelva a una Observation del documento. |
entry.resource.ofType(DiagnosticReport).where(result.resolve().ofType(Observation).exists()).exists()
|
| CRBundleOBS1 | error | Bundle | El documento debe incluir al menos una Observation de laboratorio. |
entry.resource.ofType(Observation).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
(type = 'searchset') or entry.search.empty()
|
| bdl-3a | error | Bundle | For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements |
type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())
|
| bdl-3b | error | Bundle | For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH |
type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3c | error | Bundle | For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH |
type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3d | error | Bundle | For collections of type transaction-response or batch-response, all entries must contain response elements |
type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())
|
| bdl-5 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | fullUrl cannot be a version specific reference |
fullUrl.exists() implies fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| bdl-13 | error | Bundle | A subscription-notification must have a SubscriptionStatus as the first resource |
type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)
|
| bdl-14 | error | Bundle | entry.request.method PATCH not allowed for history |
type = 'history' implies entry.request.method != 'PATCH'
|
| bdl-15 | error | Bundle | Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated |
type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')
|
| bdl-16 | error | Bundle | Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'. |
issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')
|
| bdl-17 | error | Bundle | Use and meaning of issues for documents has not been validated because the content will not be rendered in the document. |
type = 'document' implies issues.empty()
|
| bdl-18 | error | Bundle | Self link is required for searchsets. |
type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()
|
| cr-bundle-documento-etiquetas | error | Bundle | El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. |
entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
|
| cr-bundle-timestamp-no-future | error | Bundle.timestamp | La fecha de ensamblaje del Bundle no puede ser futura. |
$this <= now()
|
| 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()
|
Esta estructura se deriva de CRBundleDocumento .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia Constraints: CRBundleDR1, CRBundleComp1, CRBundleOBS1, CRBundleDROBSLink1, CRBundleCompDRSubj1, CRBundleCompDRType1, CRBundleCompFirst1, CRBundleAttester1 |
![]() ![]() |
1..1 | Identifier | Identificador de esta versión del Bundle Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador del documento Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | string | Valor del identificador del documento Other Changes: documentation | |
![]() ![]() |
1..1 | code | Bundle document Other Changes: documentation | |
![]() ![]() |
C | 1..1 | instant | Fecha de ensamblaje del bundle Constraints: cr-bundle-timestamp-no-future Other Changes: documentation |
![]() ![]() |
0..0 | Sin total Other Changes: documentation | ||
![]() ![]() |
0..0 | Sin links globales Other Changes: documentation | ||
![]() ![]() |
5..* | BackboneElement | Entradas del documento clínico Other Changes: documentation | |
![]() ![]() ![]() |
0..0 | Sin links por entrada Other Changes: documentation | ||
![]() ![]() ![]() |
1..1 | uri | URL absoluta de la entrada Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | Resource | Recurso contenido en la entrada Other Changes: documentation | |
![]() ![]() ![]() |
0..0 | Sin metadatos de búsqueda Other Changes: documentation | ||
![]() ![]() ![]() |
0..0 | Sin metadatos de request Other Changes: documentation | ||
![]() ![]() ![]() |
0..0 | Sin metadatos de response Other Changes: documentation | ||
![]() ![]() |
Contenido y reglas para todos los slices | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Entrada de Composition Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
1..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | |
![]() ![]() ![]() ![]() |
1..1 | CRCompositionLaboratoryResult | Documento clínico: encabezado común | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Entrada de DiagnosticReport Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRDiagnosticReportLaboratoryResult | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Entrada de Patient Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRPatientLaboratoryResult | Paciente: persona que recibe atención de salud en Costa Rica | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..* | BackboneElement | Entradas de Observation Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRObservationLaboratoryResult | Observación: resultado de una medición, un examen o una evaluación | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..* | BackboneElement | Entradas de Organization Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CROrganizationLaboratoryResult | Organización: prestador de servicios de salud, institución, colegio u otra organización | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Entradas de Specimen Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRSpecimenLaboratoryResult | Sample for analysis | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Entradas de Practitioner Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerLaboratoryResult | Profesional de salud, con su identificación y su habilitación para ejercer | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Entradas de PractitionerRole Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerRoleLaboratoryResult | Rol del profesional: organización, profesión, lugar e idiomas de atención | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() |
0..0 | Signature | Sin firma embebida Other Changes: documentation | |
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| CRBundleAttester1 | error | Bundle | El documento debe declarar su atestacion en Composition.attester. La firma detached se conserva en Provenance y la declaracion clinica de responsabilidad debe vivir dentro de entry[]. |
entry.resource.ofType(Composition).attester.exists()
|
| CRBundleComp1 | error | Bundle | El documento debe incluir una y solo una Composition. |
entry.resource.ofType(Composition).count() = 1
|
| CRBundleCompDRSubj1 | error | Bundle | Composition y DiagnosticReport deben referenciar el mismo sujeto. |
entry.resource.ofType(Composition).subject.reference.single() = entry.resource.ofType(DiagnosticReport).subject.reference.single()
|
| CRBundleCompDRType1 | error | Bundle | La Composition debe enlazar al menos un DiagnosticReport del documento mediante section.entry. |
entry.resource.ofType(Composition).section.entry.resolve().ofType(DiagnosticReport).exists()
|
| CRBundleCompFirst1 | error | Bundle | La primera entrada del documento debe ser Composition. |
entry.first().resource.ofType(Composition).exists()
|
| CRBundleDR1 | error | Bundle | El documento debe incluir uno y solo un DiagnosticReport. |
entry.resource.ofType(DiagnosticReport).count() = 1
|
| CRBundleDROBSLink1 | error | Bundle | Debe existir al menos un DiagnosticReport con result que resuelva a una Observation del documento. |
entry.resource.ofType(DiagnosticReport).where(result.resolve().ofType(Observation).exists()).exists()
|
| CRBundleOBS1 | error | Bundle | El documento debe incluir al menos una Observation de laboratorio. |
entry.resource.ofType(Observation).exists()
|
| cr-bundle-timestamp-no-future | error | Bundle.timestamp | La fecha de ensamblaje del Bundle no puede ser futura. |
$this <= now()
|
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas, CRBundleDR1, CRBundleComp1, CRBundleOBS1, CRBundleDROBSLink1, CRBundleCompDRSubj1, CRBundleCompDRType1, CRBundleCompFirst1, CRBundleAttester1 | ||||||
![]() ![]() |
1..1 | id | Id del documento en el repositorio, asignado por el emisor (UUID) | |||||||
![]() ![]() |
0..1 | Meta | Metadatos: las etiquetas de seguridad | |||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||||
![]() ![]() ![]() |
0..* | Coding | Las mismas etiquetas de seguridad de la Composition Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Vinculación: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
C | 1..1 | Identifier | Identificador de esta versión del Bundle | ||||||
![]() ![]() ![]() |
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. | |||||||
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador del documento Patrón requerido: urn:ietf:rfc:3986 (extensions allowed) | |||||||
![]() ![]() ![]() |
C | 1..1 | string | Valor del identificador del documento 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) | |||||||
![]() ![]() |
C | 1..1 | code | Bundle document Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Patrón requerido: document (extensions allowed) | ||||||
![]() ![]() |
C | 1..1 | instant | Fecha de ensamblaje del bundle Constraints: cr-bundle-timestamp-no-future | ||||||
![]() ![]() |
C | 5..* | BackboneElement | Entradas del documento clínico Slice: Sin orden, Abierto by type:resource Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||||
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URL absoluta de la entrada | ||||||
![]() ![]() ![]() ![]() |
C | 1..1 | Resource | Recurso contenido en la entrada | ||||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Composition Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
1..1 | CRCompositionLaboratoryResult |
Documento clínico: encabezado común | |||||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de DiagnosticReport Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRDiagnosticReportLaboratoryResult |
A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Patient Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRPatientLaboratoryResult |
Paciente: persona que recibe atención de salud en Costa Rica | |||||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Observation Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRObservationLaboratoryResult |
Observación: resultado de una medición, un examen o una evaluación | |||||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Organization Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CROrganizationLaboratoryResult |
Organización: prestador de servicios de salud, institución, colegio u otra organización | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Specimen Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRSpecimenLaboratoryResult |
Sample for analysis | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Practitioner Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerLaboratoryResult |
Profesional de salud, con su identificación y su habilitación para ejercer | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de PractitionerRole Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerRoleLaboratoryResult |
Rol del profesional: organización, profesión, lugar e idiomas de atención | |||||||
![]() ![]() |
C | 0..1 | OperationOutcome(5.0.0) |
Issues with the Bundle | ||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Bundle.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Bundle.meta.tag | Base | example | Common Tags | 📍5.0.0 | Estándar FHIR |
Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
| Bundle.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 | ||
| Bundle.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Bundle.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. |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
Indicates the purpose of a bundle - how it is intended to be used. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| CRBundleAttester1 | error | Bundle | El documento debe declarar su atestacion en Composition.attester. La firma detached se conserva en Provenance y la declaracion clinica de responsabilidad debe vivir dentro de entry[]. |
entry.resource.ofType(Composition).attester.exists()
|
| CRBundleComp1 | error | Bundle | El documento debe incluir una y solo una Composition. |
entry.resource.ofType(Composition).count() = 1
|
| CRBundleCompDRSubj1 | error | Bundle | Composition y DiagnosticReport deben referenciar el mismo sujeto. |
entry.resource.ofType(Composition).subject.reference.single() = entry.resource.ofType(DiagnosticReport).subject.reference.single()
|
| CRBundleCompDRType1 | error | Bundle | La Composition debe enlazar al menos un DiagnosticReport del documento mediante section.entry. |
entry.resource.ofType(Composition).section.entry.resolve().ofType(DiagnosticReport).exists()
|
| CRBundleCompFirst1 | error | Bundle | La primera entrada del documento debe ser Composition. |
entry.first().resource.ofType(Composition).exists()
|
| CRBundleDR1 | error | Bundle | El documento debe incluir uno y solo un DiagnosticReport. |
entry.resource.ofType(DiagnosticReport).count() = 1
|
| CRBundleDROBSLink1 | error | Bundle | Debe existir al menos un DiagnosticReport con result que resuelva a una Observation del documento. |
entry.resource.ofType(DiagnosticReport).where(result.resolve().ofType(Observation).exists()).exists()
|
| CRBundleOBS1 | error | Bundle | El documento debe incluir al menos una Observation de laboratorio. |
entry.resource.ofType(Observation).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
(type = 'searchset') or entry.search.empty()
|
| bdl-3a | error | Bundle | For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements |
type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())
|
| bdl-3b | error | Bundle | For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH |
type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3c | error | Bundle | For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH |
type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3d | error | Bundle | For collections of type transaction-response or batch-response, all entries must contain response elements |
type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())
|
| bdl-5 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | fullUrl cannot be a version specific reference |
fullUrl.exists() implies fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| bdl-13 | error | Bundle | A subscription-notification must have a SubscriptionStatus as the first resource |
type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)
|
| bdl-14 | error | Bundle | entry.request.method PATCH not allowed for history |
type = 'history' implies entry.request.method != 'PATCH'
|
| bdl-15 | error | Bundle | Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated |
type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')
|
| bdl-16 | error | Bundle | Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'. |
issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')
|
| bdl-17 | error | Bundle | Use and meaning of issues for documents has not been validated because the content will not be rendered in the document. |
type = 'document' implies issues.empty()
|
| bdl-18 | error | Bundle | Self link is required for searchsets. |
type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()
|
| cr-bundle-documento-etiquetas | error | Bundle | El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. |
entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
|
| cr-bundle-timestamp-no-future | error | Bundle.timestamp | La fecha de ensamblaje del Bundle no puede ser futura. |
$this <= now()
|
| 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()
|
Esta estructura se deriva de CRBundleDocumento .
Resumen
Obligatorios: 6 elementos
Debe dar soporte a: 10 elementos
Prohibidos: 38 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Vista de elementos clave
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas, CRBundleDR1, CRBundleComp1, CRBundleOBS1, CRBundleDROBSLink1, CRBundleCompDRSubj1, CRBundleCompDRType1, CRBundleCompFirst1, CRBundleAttester1 |
![]() ![]() |
1..1 | id | Id del documento en el repositorio, asignado por el emisor (UUID) | |
![]() ![]() |
0..1 | Meta | Metadatos: las etiquetas de seguridad | |
![]() ![]() ![]() |
0..* | Coding | Las mismas etiquetas de seguridad de la Composition Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
C | 1..1 | Identifier | Identificador de esta versión del Bundle |
![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador del documento Patrón requerido: urn:ietf:rfc:3986 (extensions allowed) | |
![]() ![]() ![]() |
C | 1..1 | string | Valor del identificador del documento Ejemplo General: 123456 |
![]() ![]() |
C | 1..1 | code | Bundle document Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Patrón requerido: document (extensions allowed) |
![]() ![]() |
C | 1..1 | instant | Fecha de ensamblaje del bundle Constraints: cr-bundle-timestamp-no-future |
![]() ![]() |
C | 5..* | BackboneElement | Entradas del documento clínico Slice: Sin orden, Abierto by type:resource Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them |
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URL absoluta de la entrada |
![]() ![]() ![]() ![]() |
C | 1..1 | Resource | Recurso contenido en la entrada |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Composition Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
1..1 | CRCompositionLaboratoryResult |
Documento clínico: encabezado común | |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de DiagnosticReport Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRDiagnosticReportLaboratoryResult |
A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Patient Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRPatientLaboratoryResult |
Paciente: persona que recibe atención de salud en Costa Rica | |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Observation Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRObservationLaboratoryResult |
Observación: resultado de una medición, un examen o una evaluación | |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Organization Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CROrganizationLaboratoryResult |
Organización: prestador de servicios de salud, institución, colegio u otra organización | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Specimen Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRSpecimenLaboratoryResult |
Sample for analysis | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Practitioner Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerLaboratoryResult |
Profesional de salud, con su identificación y su habilitación para ejercer | |
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de PractitionerRole Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerRoleLaboratoryResult |
Rol del profesional: organización, profesión, lugar e idiomas de atención | |
![]() ![]() |
C | 0..1 | OperationOutcome(5.0.0) |
Issues with the Bundle |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Bundle.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Bundle.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
Indicates the purpose of a bundle - how it is intended to be used. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| CRBundleAttester1 | error | Bundle | El documento debe declarar su atestacion en Composition.attester. La firma detached se conserva en Provenance y la declaracion clinica de responsabilidad debe vivir dentro de entry[]. |
entry.resource.ofType(Composition).attester.exists()
|
| CRBundleComp1 | error | Bundle | El documento debe incluir una y solo una Composition. |
entry.resource.ofType(Composition).count() = 1
|
| CRBundleCompDRSubj1 | error | Bundle | Composition y DiagnosticReport deben referenciar el mismo sujeto. |
entry.resource.ofType(Composition).subject.reference.single() = entry.resource.ofType(DiagnosticReport).subject.reference.single()
|
| CRBundleCompDRType1 | error | Bundle | La Composition debe enlazar al menos un DiagnosticReport del documento mediante section.entry. |
entry.resource.ofType(Composition).section.entry.resolve().ofType(DiagnosticReport).exists()
|
| CRBundleCompFirst1 | error | Bundle | La primera entrada del documento debe ser Composition. |
entry.first().resource.ofType(Composition).exists()
|
| CRBundleDR1 | error | Bundle | El documento debe incluir uno y solo un DiagnosticReport. |
entry.resource.ofType(DiagnosticReport).count() = 1
|
| CRBundleDROBSLink1 | error | Bundle | Debe existir al menos un DiagnosticReport con result que resuelva a una Observation del documento. |
entry.resource.ofType(DiagnosticReport).where(result.resolve().ofType(Observation).exists()).exists()
|
| CRBundleOBS1 | error | Bundle | El documento debe incluir al menos una Observation de laboratorio. |
entry.resource.ofType(Observation).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
(type = 'searchset') or entry.search.empty()
|
| bdl-3a | error | Bundle | For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements |
type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())
|
| bdl-3b | error | Bundle | For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH |
type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3c | error | Bundle | For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH |
type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3d | error | Bundle | For collections of type transaction-response or batch-response, all entries must contain response elements |
type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())
|
| bdl-5 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | fullUrl cannot be a version specific reference |
fullUrl.exists() implies fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| bdl-13 | error | Bundle | A subscription-notification must have a SubscriptionStatus as the first resource |
type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)
|
| bdl-14 | error | Bundle | entry.request.method PATCH not allowed for history |
type = 'history' implies entry.request.method != 'PATCH'
|
| bdl-15 | error | Bundle | Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated |
type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')
|
| bdl-16 | error | Bundle | Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'. |
issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')
|
| bdl-17 | error | Bundle | Use and meaning of issues for documents has not been validated because the content will not be rendered in the document. |
type = 'document' implies issues.empty()
|
| bdl-18 | error | Bundle | Self link is required for searchsets. |
type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()
|
| cr-bundle-documento-etiquetas | error | Bundle | El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. |
entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
|
| cr-bundle-timestamp-no-future | error | Bundle.timestamp | La fecha de ensamblaje del Bundle no puede ser futura. |
$this <= now()
|
| 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()
|
Vista diferencial
Esta estructura se deriva de CRBundleDocumento .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia Constraints: CRBundleDR1, CRBundleComp1, CRBundleOBS1, CRBundleDROBSLink1, CRBundleCompDRSubj1, CRBundleCompDRType1, CRBundleCompFirst1, CRBundleAttester1 |
![]() ![]() |
1..1 | Identifier | Identificador de esta versión del Bundle Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador del documento Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | string | Valor del identificador del documento Other Changes: documentation | |
![]() ![]() |
1..1 | code | Bundle document Other Changes: documentation | |
![]() ![]() |
C | 1..1 | instant | Fecha de ensamblaje del bundle Constraints: cr-bundle-timestamp-no-future Other Changes: documentation |
![]() ![]() |
0..0 | Sin total Other Changes: documentation | ||
![]() ![]() |
0..0 | Sin links globales Other Changes: documentation | ||
![]() ![]() |
5..* | BackboneElement | Entradas del documento clínico Other Changes: documentation | |
![]() ![]() ![]() |
0..0 | Sin links por entrada Other Changes: documentation | ||
![]() ![]() ![]() |
1..1 | uri | URL absoluta de la entrada Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | Resource | Recurso contenido en la entrada Other Changes: documentation | |
![]() ![]() ![]() |
0..0 | Sin metadatos de búsqueda Other Changes: documentation | ||
![]() ![]() ![]() |
0..0 | Sin metadatos de request Other Changes: documentation | ||
![]() ![]() ![]() |
0..0 | Sin metadatos de response Other Changes: documentation | ||
![]() ![]() |
Contenido y reglas para todos los slices | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Entrada de Composition Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
1..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | |
![]() ![]() ![]() ![]() |
1..1 | CRCompositionLaboratoryResult | Documento clínico: encabezado común | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Entrada de DiagnosticReport Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRDiagnosticReportLaboratoryResult | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Entrada de Patient Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRPatientLaboratoryResult | Paciente: persona que recibe atención de salud en Costa Rica | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..* | BackboneElement | Entradas de Observation Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRObservationLaboratoryResult | Observación: resultado de una medición, un examen o una evaluación | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..* | BackboneElement | Entradas de Organization Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CROrganizationLaboratoryResult | Organización: prestador de servicios de salud, institución, colegio u otra organización | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Entradas de Specimen Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRSpecimenLaboratoryResult | Sample for analysis | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Entradas de Practitioner Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerLaboratoryResult | Profesional de salud, con su identificación y su habilitación para ejercer | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Entradas de PractitionerRole Other Changes: documentation | |
![]() ![]() ![]() ![]() |
0..0 | Links related to this entry | ||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerRoleLaboratoryResult | Rol del profesional: organización, profesión, lugar e idiomas de atención | |
![]() ![]() ![]() ![]() |
0..0 | Search related information | ||
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() |
0..0 | Signature | Sin firma embebida Other Changes: documentation | |
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| CRBundleAttester1 | error | Bundle | El documento debe declarar su atestacion en Composition.attester. La firma detached se conserva en Provenance y la declaracion clinica de responsabilidad debe vivir dentro de entry[]. |
entry.resource.ofType(Composition).attester.exists()
|
| CRBundleComp1 | error | Bundle | El documento debe incluir una y solo una Composition. |
entry.resource.ofType(Composition).count() = 1
|
| CRBundleCompDRSubj1 | error | Bundle | Composition y DiagnosticReport deben referenciar el mismo sujeto. |
entry.resource.ofType(Composition).subject.reference.single() = entry.resource.ofType(DiagnosticReport).subject.reference.single()
|
| CRBundleCompDRType1 | error | Bundle | La Composition debe enlazar al menos un DiagnosticReport del documento mediante section.entry. |
entry.resource.ofType(Composition).section.entry.resolve().ofType(DiagnosticReport).exists()
|
| CRBundleCompFirst1 | error | Bundle | La primera entrada del documento debe ser Composition. |
entry.first().resource.ofType(Composition).exists()
|
| CRBundleDR1 | error | Bundle | El documento debe incluir uno y solo un DiagnosticReport. |
entry.resource.ofType(DiagnosticReport).count() = 1
|
| CRBundleDROBSLink1 | error | Bundle | Debe existir al menos un DiagnosticReport con result que resuelva a una Observation del documento. |
entry.resource.ofType(DiagnosticReport).where(result.resolve().ofType(Observation).exists()).exists()
|
| CRBundleOBS1 | error | Bundle | El documento debe incluir al menos una Observation de laboratorio. |
entry.resource.ofType(Observation).exists()
|
| cr-bundle-timestamp-no-future | error | Bundle.timestamp | La fecha de ensamblaje del Bundle no puede ser futura. |
$this <= now()
|
Vista instantáneaView
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas, CRBundleDR1, CRBundleComp1, CRBundleOBS1, CRBundleDROBSLink1, CRBundleCompDRSubj1, CRBundleCompDRType1, CRBundleCompFirst1, CRBundleAttester1 | ||||||
![]() ![]() |
1..1 | id | Id del documento en el repositorio, asignado por el emisor (UUID) | |||||||
![]() ![]() |
0..1 | Meta | Metadatos: las etiquetas de seguridad | |||||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Sin orden, Abierto by value:url | |||||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||||
![]() ![]() ![]() |
0..* | Coding | Las mismas etiquetas de seguridad de la Composition Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Vinculación: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
C | 1..1 | Identifier | Identificador de esta versión del Bundle | ||||||
![]() ![]() ![]() |
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. | |||||||
![]() ![]() ![]() |
1..1 | uri | Sistema del identificador del documento Patrón requerido: urn:ietf:rfc:3986 (extensions allowed) | |||||||
![]() ![]() ![]() |
C | 1..1 | string | Valor del identificador del documento 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) | |||||||
![]() ![]() |
C | 1..1 | code | Bundle document Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Patrón requerido: document (extensions allowed) | ||||||
![]() ![]() |
C | 1..1 | instant | Fecha de ensamblaje del bundle Constraints: cr-bundle-timestamp-no-future | ||||||
![]() ![]() |
C | 5..* | BackboneElement | Entradas del documento clínico Slice: Sin orden, Abierto by type:resource Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||||
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URL absoluta de la entrada | ||||||
![]() ![]() ![]() ![]() |
C | 1..1 | Resource | Recurso contenido en la entrada | ||||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Composition Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
1..1 | CRCompositionLaboratoryResult |
Documento clínico: encabezado común | |||||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de DiagnosticReport Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRDiagnosticReportLaboratoryResult |
A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Entrada de Patient Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRPatientLaboratoryResult |
Paciente: persona que recibe atención de salud en Costa Rica | |||||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Observation Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRObservationLaboratoryResult |
Observación: resultado de una medición, un examen o una evaluación | |||||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Entradas de Organization Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CROrganizationLaboratoryResult |
Organización: prestador de servicios de salud, institución, colegio u otra organización | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Specimen Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRSpecimenLaboratoryResult |
Sample for analysis | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de Practitioner Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerLaboratoryResult |
Profesional de salud, con su identificación y su habilitación para ejercer | |||||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Entradas de PractitionerRole Constraints: bdl-5, bdl-8 Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
C | 0..1 | uri | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) | ||||||
![]() ![]() ![]() ![]() |
0..1 | CRPractitionerRoleLaboratoryResult |
Rol del profesional: organización, profesión, lugar e idiomas de atención | |||||||
![]() ![]() |
C | 0..1 | OperationOutcome(5.0.0) |
Issues with the Bundle | ||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| Bundle.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | Estándar FHIR |
Security Labels from the Healthcare Privacy and Security Classification System. |
| Bundle.meta.tag | Base | example | Common Tags | 📍5.0.0 | Estándar FHIR |
Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
| Bundle.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 | ||
| Bundle.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | Estándar FHIR |
Identifies the purpose for this identifier, if known . |
| Bundle.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. |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
Indicates the purpose of a bundle - how it is intended to be used. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| CRBundleAttester1 | error | Bundle | El documento debe declarar su atestacion en Composition.attester. La firma detached se conserva en Provenance y la declaracion clinica de responsabilidad debe vivir dentro de entry[]. |
entry.resource.ofType(Composition).attester.exists()
|
| CRBundleComp1 | error | Bundle | El documento debe incluir una y solo una Composition. |
entry.resource.ofType(Composition).count() = 1
|
| CRBundleCompDRSubj1 | error | Bundle | Composition y DiagnosticReport deben referenciar el mismo sujeto. |
entry.resource.ofType(Composition).subject.reference.single() = entry.resource.ofType(DiagnosticReport).subject.reference.single()
|
| CRBundleCompDRType1 | error | Bundle | La Composition debe enlazar al menos un DiagnosticReport del documento mediante section.entry. |
entry.resource.ofType(Composition).section.entry.resolve().ofType(DiagnosticReport).exists()
|
| CRBundleCompFirst1 | error | Bundle | La primera entrada del documento debe ser Composition. |
entry.first().resource.ofType(Composition).exists()
|
| CRBundleDR1 | error | Bundle | El documento debe incluir uno y solo un DiagnosticReport. |
entry.resource.ofType(DiagnosticReport).count() = 1
|
| CRBundleDROBSLink1 | error | Bundle | Debe existir al menos un DiagnosticReport con result que resuelva a una Observation del documento. |
entry.resource.ofType(DiagnosticReport).where(result.resolve().ofType(Observation).exists()).exists()
|
| CRBundleOBS1 | error | Bundle | El documento debe incluir al menos una Observation de laboratorio. |
entry.resource.ofType(Observation).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
(type = 'searchset') or entry.search.empty()
|
| bdl-3a | error | Bundle | For collections of type document, message, searchset or collection, all entries must contain resources, and not have request or response elements |
type in ('document' | 'message' | 'searchset' | 'collection') implies entry.all(resource.exists() and request.empty() and response.empty())
|
| bdl-3b | error | Bundle | For collections of type history, all entries must contain request or response elements, and resources if the method is POST, PUT or PATCH |
type = 'history' implies entry.all(request.exists() and response.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3c | error | Bundle | For collections of type transaction or batch, all entries must contain request elements, and resources if the method is POST, PUT or PATCH |
type in ('transaction' | 'batch') implies entry.all(request.method.exists() and ((request.method in ('POST' | 'PATCH' | 'PUT')) = resource.exists()))
|
| bdl-3d | error | Bundle | For collections of type transaction-response or batch-response, all entries must contain response elements |
type in ('transaction-response' | 'batch-response') implies entry.all(response.exists())
|
| bdl-5 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:composicion, Bundle.entry:diagnosticReport, Bundle.entry:patient, Bundle.entry:observation, Bundle.entry:organization, Bundle.entry:specimen, Bundle.entry:practitioner, Bundle.entry:practitionerRole | fullUrl cannot be a version specific reference |
fullUrl.exists() implies fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| bdl-13 | error | Bundle | A subscription-notification must have a SubscriptionStatus as the first resource |
type = 'subscription-notification' implies entry.first().resource.is(SubscriptionStatus)
|
| bdl-14 | error | Bundle | entry.request.method PATCH not allowed for history |
type = 'history' implies entry.request.method != 'PATCH'
|
| bdl-15 | error | Bundle | Bundle resources where type is not transaction, transaction-response, batch, or batch-response or when the request is a POST SHALL have Bundle.entry.fullUrl populated |
type='transaction' or type='transaction-response' or type='batch' or type='batch-response' or entry.all(fullUrl.exists() or request.method='POST')
|
| bdl-16 | error | Bundle | Issue.severity for all issues within the OperationOutcome must be either 'information' or 'warning'. |
issues.exists() implies (issues.issue.severity = 'information' or issues.issue.severity = 'warning')
|
| bdl-17 | error | Bundle | Use and meaning of issues for documents has not been validated because the content will not be rendered in the document. |
type = 'document' implies issues.empty()
|
| bdl-18 | error | Bundle | Self link is required for searchsets. |
type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()
|
| cr-bundle-documento-etiquetas | error | Bundle | El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. |
entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
|
| cr-bundle-timestamp-no-future | error | Bundle.timestamp | La fecha de ensamblaje del Bundle no puede ser futura. |
$this <= now()
|
| 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()
|
Esta estructura se deriva de CRBundleDocumento .
Resumen
Obligatorios: 6 elementos
Debe dar soporte a: 10 elementos
Prohibidos: 38 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Otras representaciones de perfil: CSV, Excel, Schematron