Guía de Implementación Core de Costa Rica
0.1.0 - ci-build
Guía de Implementación Core de Costa Rica - Versión en desarrollo (v0.1.0): borrador de trabajo de la Iniciativa HL7® Costa Rica, que puede cambiar sin aviso.
| URL oficial: https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-envio-documentos | Versión: 0.1.0 | ||||
| Standards status: Draft | Nombre computable: CRBundleEnvioDocumentos | ||||
Transacción con que un sistema envía documentos clínicos al HIE de Costa Rica: el lote de envío, una referencia por documento, los documentos (el Bundle de cada documento FHIR o el Binary de cada PDF) y la firma de cada documento FHIR. Es atómica: se guarda todo o nada. Adaptada de IHE MHD ITI-65.
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..* | Bundle | Envío de documentos al HIE: el lote, las referencias, los documentos y sus firmas 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-envio-firma-documento |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
ΣC | 1..1 | code | transaction (valor fijo) Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction |
![]() ![]() |
SΣC | 2..* | BackboneElement | El lote, las referencias, los documentos y sus firmas Slice: Sin orden, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Resource | A resource in the bundle |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Lote de envío Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRListLoteEnvio | Lote de envío: las referencias que un sistema envía juntas al HIE |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 1..* | BackboneElement | Una referencia por documento Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRDocumentReference | Referencia a documento: la ficha del documento en el HIE |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento clínico FHIR (Bundle de tipo document), con PUT a Bundle/<id> Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT (valor fijo) Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: PUT |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento en PDF (Binary) Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Binary | A resource in the bundle |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Firma de un documento FHIR del envío (detached) Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRProvenanceFirmaDocumento | Firma digital de un documento clínico, separada del documento |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() |
ΣC | 0..1 | OperationOutcome(5.0.0) | Issues with the Bundle |
Documentación de este formato | ||||
| Ruta | Estado | Uso | ValueSet | Versión | Fuente |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
| Bundle.entry.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:lote.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:referencias.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:documentos.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:pdf.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:firmas.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Id | Nivel | Ruta(s) | Descripción | Expression |
| 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-5 | error | Bundle.entry, Bundle.entry:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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()
|
| 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())
|
| cr-envio-firma-documento | error | Bundle | Cada documento FHIR final, corregido, con adenda o registrado por error lleva al menos una firma (cr-provenance-firma-documento) que apunta a Bundle/<id>/_history/1. |
entry.resource.ofType(Bundle).where(entry.first().resource.status in ('final' | 'corrected' | 'appended' | 'entered-in-error')).all(('Bundle/' & id & '/_history/1') in %resource.entry.resource.ofType(Provenance).target.reference)
|
| 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 Bundle .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Envío de documentos al HIE: el lote, las referencias, los documentos y sus firmas Constraints: cr-envio-firma-documento |
![]() ![]() |
1..1 | code | transaction (valor fijo) Required Pattern: transaction | |
![]() ![]() |
S | 2..* | BackboneElement | El lote, las referencias, los documentos y sus firmas Slice: Sin orden, Closed by type:resource |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | Resource | A resource in the bundle |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás |
![]() ![]() ![]() |
S | 1..1 | BackboneElement | Lote de envío |
![]() ![]() ![]() ![]() |
1..1 | CRListLoteEnvio | Lote de envío: las referencias que un sistema envía juntas al HIE | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Una referencia por documento |
![]() ![]() ![]() ![]() |
1..1 | CRDocumentReference | Referencia a documento: la ficha del documento en el HIE | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Documento clínico FHIR (Bundle de tipo document), con PUT a Bundle/<id> |
![]() ![]() ![]() ![]() |
1..1 | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT (valor fijo) Required Pattern: PUT | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Documento en PDF (Binary) |
![]() ![]() ![]() ![]() |
1..1 | Binary | A resource in the bundle | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Firma de un documento FHIR del envío (detached) |
![]() ![]() ![]() ![]() |
1..1 | CRProvenanceFirmaDocumento | Firma digital de un documento clínico, separada del documento | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expression |
| cr-envio-firma-documento | error | Bundle | Cada documento FHIR final, corregido, con adenda o registrado por error lleva al menos una firma (cr-provenance-firma-documento) que apunta a Bundle/<id>/_history/1. |
entry.resource.ofType(Bundle).where(entry.first().resource.status in ('final' | 'corrected' | 'appended' | 'entered-in-error')).all(('Bundle/' & id & '/_history/1') in %resource.entry.resource.ofType(Provenance).target.reference)
|
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Envío de documentos al HIE: el lote, las referencias, los documentos y sus firmas 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-envio-firma-documento | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Vinculación: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
ΣC | 0..1 | Identifier | Persistent identifier for the bundle | ||||
![]() ![]() |
ΣC | 1..1 | code | transaction (valor fijo) Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction | ||||
![]() ![]() |
ΣC | 0..1 | instant | When the bundle was assembled | ||||
![]() ![]() |
ΣC | 0..1 | unsignedInt | If search, the total number of matches | ||||
![]() ![]() |
ΣC | 0..* | BackboneElement | Links related to this Bundle | ||||
![]() ![]() ![]() |
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 | code | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 Vinculación: LinkRelationTypes (required) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | uri | Reference details for the link | ||||
![]() ![]() |
SΣC | 2..* | BackboneElement | El lote, las referencias, los documentos y sus firmas Slice: Sin orden, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() |
Content/Rules for all 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Resource | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Lote de envío Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRListLoteEnvio | Lote de envío: las referencias que un sistema envía juntas al HIE | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 1..* | BackboneElement | Una referencia por documento Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRDocumentReference | Referencia a documento: la ficha del documento en el HIE | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento clínico FHIR (Bundle de tipo document), con PUT a Bundle/<id> Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT (valor fijo) Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: PUT | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento en PDF (Binary) Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Binary | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Firma de un documento FHIR del envío (detached) Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRProvenanceFirmaDocumento | Firma digital de un documento clínico, separada del documento | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() |
Σ | 0..1 | Signature | Digital Signature | ||||
![]() ![]() |
ΣC | 0..1 | OperationOutcome(5.0.0) | Issues with the Bundle | ||||
Documentación de este formato | ||||||||
| Ruta | Estado | Uso | ValueSet | Versión | Fuente |
| Bundle.language | Base | required | All Languages | 📍5.0.0 | Estándar FHIR |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
| Bundle.link.relation | Base | required | Link Relation Types | 📍5.0.0 | Estándar FHIR |
| Bundle.entry.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:lote.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:lote.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:referencias.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:referencias.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:documentos.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:documentos.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:pdf.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:pdf.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:firmas.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:firmas.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Id | Nivel | Ruta(s) | Descripción | Expression |
| 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-5 | error | Bundle.entry, Bundle.entry:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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()
|
| 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())
|
| cr-envio-firma-documento | error | Bundle | Cada documento FHIR final, corregido, con adenda o registrado por error lleva al menos una firma (cr-provenance-firma-documento) que apunta a Bundle/<id>/_history/1. |
entry.resource.ofType(Bundle).where(entry.first().resource.status in ('final' | 'corrected' | 'appended' | 'entered-in-error')).all(('Bundle/' & id & '/_history/1') in %resource.entry.resource.ofType(Provenance).target.reference)
|
| 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 Bundle .
Resumen
Obligatorios: 3 elementos(2 nested mandatory elementos)
Must-Support: 10 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Slices
This structure defines the following Slices:
Vista de elementos clave
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Envío de documentos al HIE: el lote, las referencias, los documentos y sus firmas 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-envio-firma-documento |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
ΣC | 1..1 | code | transaction (valor fijo) Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction |
![]() ![]() |
SΣC | 2..* | BackboneElement | El lote, las referencias, los documentos y sus firmas Slice: Sin orden, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Resource | A resource in the bundle |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Lote de envío Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRListLoteEnvio | Lote de envío: las referencias que un sistema envía juntas al HIE |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 1..* | BackboneElement | Una referencia por documento Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRDocumentReference | Referencia a documento: la ficha del documento en el HIE |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento clínico FHIR (Bundle de tipo document), con PUT a Bundle/<id> Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT (valor fijo) Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: PUT |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento en PDF (Binary) Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Binary | A resource in the bundle |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Firma de un documento FHIR del envío (detached) Constraints: bdl-5, bdl-8 This repeating element order: 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 |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | CRProvenanceFirmaDocumento | Firma digital de un documento clínico, separada del documento |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Status response code (text optional) |
![]() ![]() |
ΣC | 0..1 | OperationOutcome(5.0.0) | Issues with the Bundle |
Documentación de este formato | ||||
| Ruta | Estado | Uso | ValueSet | Versión | Fuente |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
| Bundle.entry.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:lote.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:referencias.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:documentos.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:pdf.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:firmas.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Id | Nivel | Ruta(s) | Descripción | Expression |
| 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-5 | error | Bundle.entry, Bundle.entry:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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()
|
| 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())
|
| cr-envio-firma-documento | error | Bundle | Cada documento FHIR final, corregido, con adenda o registrado por error lleva al menos una firma (cr-provenance-firma-documento) que apunta a Bundle/<id>/_history/1. |
entry.resource.ofType(Bundle).where(entry.first().resource.status in ('final' | 'corrected' | 'appended' | 'entered-in-error')).all(('Bundle/' & id & '/_history/1') in %resource.entry.resource.ofType(Provenance).target.reference)
|
| 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 Bundle .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Envío de documentos al HIE: el lote, las referencias, los documentos y sus firmas Constraints: cr-envio-firma-documento |
![]() ![]() |
1..1 | code | transaction (valor fijo) Required Pattern: transaction | |
![]() ![]() |
S | 2..* | BackboneElement | El lote, las referencias, los documentos y sus firmas Slice: Sin orden, Closed by type:resource |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás |
![]() ![]() ![]() ![]() |
S | 1..1 | Resource | A resource in the bundle |
![]() ![]() ![]() ![]() |
S | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás |
![]() ![]() ![]() |
S | 1..1 | BackboneElement | Lote de envío |
![]() ![]() ![]() ![]() |
1..1 | CRListLoteEnvio | Lote de envío: las referencias que un sistema envía juntas al HIE | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Una referencia por documento |
![]() ![]() ![]() ![]() |
1..1 | CRDocumentReference | Referencia a documento: la ficha del documento en el HIE | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Documento clínico FHIR (Bundle de tipo document), con PUT a Bundle/<id> |
![]() ![]() ![]() ![]() |
1..1 | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT (valor fijo) Required Pattern: PUT | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Documento en PDF (Binary) |
![]() ![]() ![]() ![]() |
1..1 | Binary | A resource in the bundle | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Firma de un documento FHIR del envío (detached) |
![]() ![]() ![]() ![]() |
1..1 | CRProvenanceFirmaDocumento | Firma digital de un documento clínico, separada del documento | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Required Pattern: POST | |
Documentación de este formato | ||||
| Id | Nivel | Ruta(s) | Descripción | Expression |
| cr-envio-firma-documento | error | Bundle | Cada documento FHIR final, corregido, con adenda o registrado por error lleva al menos una firma (cr-provenance-firma-documento) que apunta a Bundle/<id>/_history/1. |
entry.resource.ofType(Bundle).where(entry.first().resource.status in ('final' | 'corrected' | 'appended' | 'entered-in-error')).all(('Bundle/' & id & '/_history/1') in %resource.entry.resource.ofType(Provenance).target.reference)
|
Vista instantáneaView
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Envío de documentos al HIE: el lote, las referencias, los documentos y sus firmas 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-envio-firma-documento | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Vinculación: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
ΣC | 0..1 | Identifier | Persistent identifier for the bundle | ||||
![]() ![]() |
ΣC | 1..1 | code | transaction (valor fijo) Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction | ||||
![]() ![]() |
ΣC | 0..1 | instant | When the bundle was assembled | ||||
![]() ![]() |
ΣC | 0..1 | unsignedInt | If search, the total number of matches | ||||
![]() ![]() |
ΣC | 0..* | BackboneElement | Links related to this Bundle | ||||
![]() ![]() ![]() |
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 | code | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 Vinculación: LinkRelationTypes (required) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | uri | Reference details for the link | ||||
![]() ![]() |
SΣC | 2..* | BackboneElement | El lote, las referencias, los documentos y sus firmas Slice: Sin orden, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() |
Content/Rules for all 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Resource | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Lote de envío Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRListLoteEnvio | Lote de envío: las referencias que un sistema envía juntas al HIE | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 1..* | BackboneElement | Una referencia por documento Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRDocumentReference | Referencia a documento: la ficha del documento en el HIE | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento clínico FHIR (Bundle de tipo document), con PUT a Bundle/<id> Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRBundleDocumento | Documento clínico completo: el encabezado y los recursos que referencia | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT (valor fijo) Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: PUT | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Documento en PDF (Binary) Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Binary | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() ![]() |
SΣC | 0..* | BackboneElement | Firma de un documento FHIR del envío (detached) Constraints: bdl-5, bdl-8 This repeating element order: 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Vea link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | urn:uuid: de la entrada, o la URL del documento FHIR, a la que apuntan las demás | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | CRProvenanceFirmaDocumento | Firma digital de un documento clínico, separada del documento | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include - why this is in the result set Vinculación: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | BackboneElement | Additional execution information (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | PUT para el documento FHIR (Bundle/<id>); POST para lo demás Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: POST | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing cache validation | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | For managing cache currency | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For managing update contention | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | For conditional creates | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | string | Status response code (text optional) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The location (if the operation returns a location) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The Etag for the resource (if relevant) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | instant | Server's date time modified | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | ||||
![]() ![]() |
Σ | 0..1 | Signature | Digital Signature | ||||
![]() ![]() |
ΣC | 0..1 | OperationOutcome(5.0.0) | Issues with the Bundle | ||||
Documentación de este formato | ||||||||
| Ruta | Estado | Uso | ValueSet | Versión | Fuente |
| Bundle.language | Base | required | All Languages | 📍5.0.0 | Estándar FHIR |
| Bundle.type | Base | required | Bundle Type | 📍5.0.0 | Estándar FHIR |
| Bundle.link.relation | Base | required | Link Relation Types | 📍5.0.0 | Estándar FHIR |
| Bundle.entry.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:lote.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:lote.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:referencias.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:referencias.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:documentos.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:documentos.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:pdf.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:pdf.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:firmas.search.mode | Base | required | Search Entry Mode | 📍5.0.0 | Estándar FHIR |
| Bundle.entry:firmas.request.method | Base | required | H T T P Verb | 📍5.0.0 | Estándar FHIR |
| Id | Nivel | Ruta(s) | Descripción | Expression |
| 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-5 | error | Bundle.entry, Bundle.entry:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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:lote, Bundle.entry:referencias, Bundle.entry:documentos, Bundle.entry:pdf, Bundle.entry:firmas | 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()
|
| 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())
|
| cr-envio-firma-documento | error | Bundle | Cada documento FHIR final, corregido, con adenda o registrado por error lleva al menos una firma (cr-provenance-firma-documento) que apunta a Bundle/<id>/_history/1. |
entry.resource.ofType(Bundle).where(entry.first().resource.status in ('final' | 'corrected' | 'appended' | 'entered-in-error')).all(('Bundle/' & id & '/_history/1') in %resource.entry.resource.ofType(Provenance).target.reference)
|
| 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 Bundle .
Resumen
Obligatorios: 3 elementos(2 nested mandatory elementos)
Must-Support: 10 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Slices
This structure defines the following Slices:
Otras representaciones de perfil: CSV, Excel, Schematron
Es el cuerpo de la transacción de envío al repositorio de documentos (IHE MHD ITI-65): un POST a la base del servidor con el lote de envío, las referencias a documento y los documentos. El servidor la procesa entera o la rechaza entera.
Ver también Servicios del HIE.
Lo que el servidor debe responder para este perfil. En la forma, [base] es la URL base del servidor del servicio y lo que va entre llaves se reemplaza por un valor. Cada solicitud usa valores reales de los ejemplos de esta guía, y la respuesta trae los que coinciden; los cuerpos JSON se expanden al hacer clic. Todas las solicitudes llevan el token de acceso al HIE (Authorization: Bearer [token]). Las búsquedas de texto encuentran los valores que empiezan con el texto, sin distinguir mayúsculas ni tildes; las de fecha admiten los prefijos ge, gt, le y lt. En la URL los valores van codificados (| como %7C, + como %2B, un espacio como %20); aquí se muestran sin codificar para que se lean mejor.
Ir a: Enviar documentos
Enviar documentos (IHE MHD ITI-65)
Forma: POST [base]cuerpo: Bundle de tipo transaction
Envía al repositorio uno o varios documentos en una sola transacción: el lote de envío, la referencia de cada documento, el documento y sus firmas (IHE MHD ITI-65). El servidor guarda todo o nada: si una entrada no cumple su perfil, no se guarda ninguna. En el ejemplo se envía «Envío de un informe al HIE»: un informe de imágenes con su referencia, su lote, la firma del radiólogo y el sello del hospital; la segunda respuesta es el rechazo de toda la transacción porque una entrada no cumple su perfil.
Solicitud
POST [base] HTTP/1.1
Accept: application/fhir+json
Authorization: Bearer [token]
Content-Type: application/fhir+json
{
"resourceType": "Bundle",
"id": "ejemplo-envio-informe-imagenes",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-envio-documentos"
]
},
"entry": [
{
"request": {
"method": "POST",
"url": "List"
},
"fullUrl": "urn:uuid:8a1d2c3b-4e5f-4a6b-9c7d-0e1f2a3b4c5d",
"resource": {
"resourceType": "List",
"id": "ejemplo-envio-lote",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-list-lote-envio"
]
},
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:8a1d2c3b-4e5f-4a6b-9c7d-0e1f2a3b4c5d"
}
],
"subject": [
{
"reference": "Patient/ejemplo-paciente-dimex",
"display": "José Mendoza"
}
],
"entry": [
{
"item": {
"reference": "urn:uuid:5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e"
}
}
],
"status": "current",
"mode": "working",
"code": {
"coding": [
{
"code": "submissionset",
"system": "https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes"
}
]
},
"date": "2026-09-30T10:31:00-06:00",
"source": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
}
}
},
{
"request": {
"method": "POST",
"url": "DocumentReference"
},
"fullUrl": "urn:uuid:5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"resource": {
"resourceType": "DocumentReference",
"id": "ejemplo-envio-referencia",
"meta": {
"security": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
"display": "normal"
}
],
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-documentreference"
]
},
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90"
},
{
"system": "https://hl7.or.cr/fhir/sid/documento/cj-3101123456",
"value": "INF-IMG-2026-000871"
}
],
"type": {
"coding": [
{
"code": "18748-4",
"system": "http://loinc.org"
}
],
"text": "Informe de imágenes médicas"
},
"category": [
{
"coding": [
{
"code": "LP173421-1",
"system": "http://loinc.org"
}
],
"text": "Informe"
}
],
"context": [
{
"reference": "Encounter/ejemplo-atencion-resonancia",
"display": "Resonancia magnética"
}
],
"period": {
"start": "2026-09-30T08:15:00-06:00",
"end": "2026-09-30T08:55:00-06:00"
},
"author": [
{
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
}
],
"attester": [
{
"mode": {
"coding": [
{
"code": "legal",
"system": "http://hl7.org/fhir/composition-attestation-mode",
"display": "Legal"
}
]
},
"time": "2026-09-30T10:25:00-06:00",
"party": {
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
}
}
],
"modality": [
{
"coding": [
{
"code": "MR",
"system": "http://dicom.nema.org/resources/ontology/DCM",
"display": "Magnetic Resonance"
}
]
}
],
"securityLabel": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
"display": "normal"
}
]
}
],
"content": [
{
"attachment": {
"language": "es",
"creation": "2026-09-30T10:20:00-06:00",
"contentType": "application/fhir+json",
"url": "https://hie.example.cr/fhir/Bundle/ejemplo-bundle-documento-imagenes"
},
"profile": [
{
"valueCanonical": "https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-documento"
}
]
}
],
"version": "1",
"status": "current",
"subject": {
"reference": "Patient/ejemplo-paciente-dimex",
"display": "José Mendoza"
},
"date": "2026-09-30T10:30:00-06:00",
"custodian": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
}
}
},
{
"request": {
"method": "PUT",
"url": "Bundle/ejemplo-bundle-documento-imagenes"
},
"fullUrl": "https://hie.example.cr/fhir/Bundle/ejemplo-bundle-documento-imagenes",
"resource": {
"resourceType": "Bundle",
"id": "ejemplo-bundle-documento-imagenes",
"meta": {
"security": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
"display": "normal"
}
],
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-documento"
]
},
"identifier": {
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90"
},
"entry": [
{
"fullUrl": "https://hl7.or.cr/fhir/core/Composition/ejemplo-documento-imagenes",
"resource": {
"resourceType": "Composition",
"id": "ejemplo-documento-imagenes",
"meta": {
"security": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
"code": "N",
"display": "normal"
}
],
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-composition"
]
},
"identifier": [
{
"system": "https://hl7.or.cr/fhir/sid/documento/cj-3101123456",
"value": "INF-IMG-2026-000871"
}
],
"type": {
"coding": [
{
"code": "18748-4",
"system": "http://loinc.org"
}
],
"text": "Informe de imágenes médicas"
},
"subject": [
{
"reference": "Patient/ejemplo-paciente-dimex",
"display": "José Mendoza"
}
],
"author": [
{
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
}
],
"attester": [
{
"mode": {
"coding": [
{
"code": "legal",
"system": "http://hl7.org/fhir/composition-attestation-mode",
"display": "Legal"
}
]
},
"time": "2026-09-30T10:25:00-06:00",
"party": {
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
}
}
],
"section": [
{
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Ruptura parcial del ligamento cruzado anterior. Menisco medial sin alteraciones.</div>"
},
"title": "Hallazgos",
"code": {
"coding": [
{
"code": "59776-5",
"system": "http://loinc.org"
}
]
}
},
{
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Ruptura parcial del ligamento cruzado anterior.</div>"
},
"title": "Conclusión",
"code": {
"coding": [
{
"code": "19005-8",
"system": "http://loinc.org"
}
]
}
}
],
"encounter": {
"reference": "Encounter/ejemplo-atencion-resonancia",
"display": "Resonancia magnética"
},
"title": "Informe de resonancia magnética de rodilla derecha",
"custodian": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
},
"version": "1",
"status": "final",
"date": "2026-09-30T10:20:00-06:00"
}
},
{
"fullUrl": "https://hl7.or.cr/fhir/core/Patient/ejemplo-paciente-dimex",
"resource": {
"resourceType": "Patient",
"id": "ejemplo-paciente-dimex",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient"
]
},
"identifier": [
{
"type": {
"coding": [
{
"code": "dimex",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
"display": "DIMEX"
},
{
"code": "PRC",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "Permanent Resident Card Number"
}
]
},
"use": "official",
"system": "https://hl7.or.cr/fhir/sid/dimex",
"value": "155812345678"
},
{
"assigner": {
"display": "Nicaragua"
},
"use": "official",
"system": "https://hl7.or.cr/fhir/sid/pasaporte/NIC",
"value": "C01234567"
}
],
"name": [
{
"given": [
"José"
],
"use": "official",
"family": "Mendoza",
"_family": {
"extension": [
{
"extension": [
{
"url": "valor",
"valueString": "Mendoza"
},
{
"url": "origen",
"valueCoding": {
"code": "FTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "father"
}
}
],
"url": "https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido"
}
]
}
}
],
"telecom": [
{
"system": "phone",
"value": "+50670001122"
}
],
"extension": [
{
"extension": [
{
"valueCodeableConcept": {
"coding": [
{
"code": "NIC",
"system": "urn:iso:std:iso:3166"
}
],
"text": "Nicaragua"
},
"url": "code"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/patient-nationality"
}
],
"address": [
{
"line": [
"Calle 3, 100 metros al este de la rotonda, apartamento 4"
],
"use": "home",
"country": "CRI",
"state": "1",
"city": "115",
"district": "11501",
"text": "Calle 3, 100 metros al este de la rotonda, apartamento 4, San Pedro, Montes de Oca, San José"
}
],
"active": true,
"gender": "male",
"birthDate": "1984-11-02"
}
},
{
"fullUrl": "https://hl7.or.cr/fhir/core/Encounter/ejemplo-atencion-resonancia",
"resource": {
"resourceType": "Encounter",
"id": "ejemplo-atencion-resonancia",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-encounter"
]
},
"identifier": [
{
"system": "https://hl7.or.cr/fhir/sid/atencion/cj-3101123456",
"value": "IMG-2026-000871"
}
],
"class": [
{
"coding": [
{
"code": "AMB",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "ambulatory"
}
],
"text": "Ambulatoria"
}
],
"subject": {
"identifier": {
"system": "https://hl7.or.cr/fhir/sid/dimex",
"value": "155812345678"
},
"display": "José Mendoza"
},
"serviceType": [
{
"concept": {
"coding": [
{
"code": "imagenes-medicas",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-servicio-salud",
"display": "Imágenes médicas"
}
]
},
"reference": {
"reference": "HealthcareService/ejemplo-servicio-resonancia",
"display": "Resonancia magnética"
}
}
],
"actualPeriod": {
"start": "2026-09-30T08:15:00-06:00",
"end": "2026-09-30T08:55:00-06:00"
},
"participant": [
{
"type": [
{
"coding": [
{
"code": "ATND",
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"display": "attender"
}
],
"text": "Responsable de la atención"
}
],
"actor": {
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
}
}
],
"location": [
{
"location": {
"reference": "Location/ejemplo-ubicacion-radiologia",
"display": "Servicio de Radiología"
}
}
],
"status": "completed",
"serviceProvider": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
}
}
},
{
"fullUrl": "https://hl7.or.cr/fhir/core/PractitionerRole/ejemplo-rol-radiologia",
"resource": {
"resourceType": "PractitionerRole",
"id": "ejemplo-rol-radiologia",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-practitioner-role"
]
},
"identifier": [
{
"system": "https://hl7.or.cr/fhir/sid/rol/cj-3101123456",
"value": "MED-0345"
}
],
"period": {
"start": "2024-02-01"
},
"location": [
{
"reference": "Location/ejemplo-ubicacion-radiologia",
"display": "Servicio de Radiología"
}
],
"code": [
{
"coding": [
{
"code": "medicina",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud",
"display": "Medicina"
}
]
}
],
"specialty": [
{
"coding": [
{
"code": "06.05.01",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-especialidad-salud",
"display": "Medicina con especialidad en Radiología e Imágenes Médicas"
}
]
}
],
"contact": [
{
"telecom": [
{
"system": "phone",
"value": "+50622220000;ext=2110"
},
{
"system": "email",
"value": "radiologia@hospital-ejemplo.cr"
}
]
}
],
"active": true,
"practitioner": {
"reference": "Practitioner/ejemplo-profesional-radiologia",
"display": "Carlos Jiménez Solano"
},
"organization": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
}
}
},
{
"fullUrl": "https://hl7.or.cr/fhir/core/Practitioner/ejemplo-profesional-radiologia",
"resource": {
"resourceType": "Practitioner",
"id": "ejemplo-profesional-radiologia",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-practitioner"
]
},
"identifier": [
{
"type": {
"coding": [
{
"code": "cedula-nacional",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
"display": "Cédula Nacional"
},
{
"code": "NI",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "National unique individual identifier"
}
]
},
"use": "official",
"system": "https://hl7.or.cr/fhir/sid/cedula-nacional",
"value": "204560789"
},
{
"type": {
"coding": [
{
"code": "codigo-colegiado",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
"display": "Código de colegiado"
},
{
"code": "LN",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "License number"
}
]
},
"use": "official",
"system": "https://hl7.or.cr/fhir/sid/colegiado/cmc",
"value": "23456"
}
],
"name": [
{
"given": [
"Carlos"
],
"use": "official",
"family": "Jiménez Solano",
"_family": {
"extension": [
{
"extension": [
{
"url": "valor",
"valueString": "Jiménez"
}
],
"url": "https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido"
},
{
"extension": [
{
"url": "valor",
"valueString": "Solano"
}
],
"url": "https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido"
}
]
}
}
],
"qualification": [
{
"identifier": [
{
"system": "https://hl7.or.cr/fhir/sid/colegiado/cmc",
"value": "23456"
}
],
"period": {
"start": "2008-02-20"
},
"code": {
"coding": [
{
"code": "medicina",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud",
"display": "Medicina"
}
]
},
"issuer": {
"reference": "Organization/ejemplo-organizacion-cmc",
"display": "Colegio de Médicos y Cirujanos de Costa Rica"
}
},
{
"identifier": [
{
"system": "https://hl7.or.cr/fhir/sid/especialidad/cmc",
"value": "ESP-0345"
}
],
"period": {
"start": "2014-07-01"
},
"code": {
"coding": [
{
"code": "06.05.01",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-especialidad-salud",
"display": "Medicina con especialidad en Radiología e Imágenes Médicas"
}
]
},
"issuer": {
"reference": "Organization/ejemplo-organizacion-cmc",
"display": "Colegio de Médicos y Cirujanos de Costa Rica"
}
}
],
"communication": [
{
"language": {
"coding": [
{
"code": "es",
"system": "urn:ietf:bcp:47",
"display": "español"
}
]
},
"preferred": true
},
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47",
"display": "inglés"
}
]
}
}
],
"active": true,
"gender": "male"
}
},
{
"fullUrl": "https://hl7.or.cr/fhir/core/Organization/ejemplo-establecimiento",
"resource": {
"resourceType": "Organization",
"id": "ejemplo-establecimiento",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-organization"
]
},
"identifier": [
{
"type": {
"coding": [
{
"code": "cedula-juridica",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion-organizacion",
"display": "Cédula Jurídica"
},
{
"code": "XX",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "Organization identifier"
}
]
},
"use": "official",
"system": "https://hl7.or.cr/fhir/sid/cedula-juridica",
"value": "3101123456"
},
{
"type": {
"coding": [
{
"code": "codigo-establecimiento",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion-organizacion",
"display": "Código de establecimiento"
},
{
"code": "FI",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "Facility ID"
}
]
},
"use": "official",
"system": "https://hl7.or.cr/fhir/sid/establecimiento",
"value": "cj-3101123456"
}
],
"type": [
{
"coding": [
{
"code": "prov",
"system": "http://terminology.hl7.org/CodeSystem/organization-type",
"display": "Healthcare Provider"
}
],
"text": "Prestador de servicios de salud"
},
{
"coding": [
{
"code": "hospital-nacional-privado",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud"
}
]
},
{
"coding": [
{
"code": "facility",
"system": "https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types",
"display": "Facility"
}
]
}
],
"alias": [
"Hospital Privado de Ejemplo"
],
"contact": [
{
"telecom": [
{
"system": "phone",
"value": "+50622220000"
},
{
"system": "email",
"value": "info@hospital-ejemplo.cr"
},
{
"system": "url",
"value": "https://www.hospital-ejemplo.cr"
}
],
"address": {
"line": [
"Avenida 2, entre calles 5 y 7"
],
"country": "CRI",
"state": "1",
"city": "101",
"district": "10101",
"text": "Avenida 2, entre calles 5 y 7, Carmen, San José, San José"
}
}
],
"qualification": [
{
"identifier": [
{
"value": "PF-2026-000123"
}
],
"period": {
"start": "2026-01-15",
"end": "2031-01-14"
},
"code": {
"coding": [
{
"code": "permiso-funcionamiento-salud",
"system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-autorizacion-salud",
"display": "Permiso de Funcionamiento de Salud"
}
]
},
"issuer": {
"reference": "Organization/ejemplo-organizacion-ministerio-salud",
"display": "Ministerio de Salud"
}
}
],
"active": true,
"name": "Hospital Privado de Ejemplo Sociedad Anónima"
}
}
],
"type": "document",
"timestamp": "2026-09-30T10:26:00-06:00"
}
},
{
"request": {
"method": "POST",
"url": "Provenance"
},
"fullUrl": "urn:uuid:7c1e2d3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
"resource": {
"resourceType": "Provenance",
"id": "ejemplo-firma-documento-imagenes",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-provenance-firma-documento"
]
},
"target": [
{
"reference": "Bundle/ejemplo-bundle-documento-imagenes/_history/1",
"display": "Documento completo del informe de imágenes médicas (D1), versión 1"
}
],
"agent": [
{
"type": {
"coding": [
{
"code": "assembler",
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"display": "Assembler"
}
]
},
"who": {
"reference": "Device/ejemplo-sistema-hce-hospital",
"display": "Expediente electrónico del hospital"
}
},
{
"type": {
"coding": [
{
"code": "attester",
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"display": "Attester"
}
]
},
"who": {
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
}
}
],
"signature": [
{
"type": [
{
"code": "1.2.840.10065.1.12.1.1",
"system": "urn:iso-astm:E1762-95:2013",
"display": "Author's Signature"
}
],
"targetFormat": "application/fhir+json",
"sigFormat": "application/jose+json",
"when": "2026-09-30T10:26:30-06:00",
"who": {
"reference": "PractitionerRole/ejemplo-rol-radiologia",
"display": "Carlos Jiménez Solano"
},
"data": "eyJzaWduYXR1cmVzIjpbeyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltTjBlU0k2SW1wemIyNGlMQ0owZVhBaU9pSnFiM05sSzJwemIyNGlmUSIsInNpZ25hdHVyZSI6IlpXcGxiWEJzYncifV19"
}
],
"activity": {
"coding": [
{
"code": "attest",
"system": "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle"
}
]
},
"patient": {
"reference": "Patient/ejemplo-paciente-dimex",
"display": "José Mendoza"
},
"recorded": "2026-09-30T10:27:05-06:00"
}
},
{
"request": {
"method": "POST",
"url": "Provenance"
},
"fullUrl": "urn:uuid:8d2f3e4a-5b6c-4d7e-9f8a-0b1c2d3e4f5a",
"resource": {
"resourceType": "Provenance",
"id": "ejemplo-sello-documento-imagenes",
"meta": {
"profile": [
"https://hl7.or.cr/fhir/core/StructureDefinition/cr-provenance-firma-documento"
]
},
"target": [
{
"reference": "Bundle/ejemplo-bundle-documento-imagenes/_history/1",
"display": "Documento completo del informe de imágenes médicas (D1), versión 1"
}
],
"agent": [
{
"type": {
"coding": [
{
"code": "assembler",
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"display": "Assembler"
}
]
},
"who": {
"reference": "Device/ejemplo-sistema-hce-hospital",
"display": "Expediente electrónico del hospital"
}
},
{
"type": {
"coding": [
{
"code": "attester",
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"display": "Attester"
}
]
},
"who": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
}
}
],
"signature": [
{
"type": [
{
"code": "1.2.840.10065.1.12.1.14",
"system": "urn:iso-astm:E1762-95:2013",
"display": "Source Signature"
}
],
"targetFormat": "application/fhir+json",
"sigFormat": "application/jose+json",
"when": "2026-09-30T10:27:00-06:00",
"who": {
"reference": "Organization/ejemplo-establecimiento",
"display": "Hospital Privado de Ejemplo"
},
"data": "eyJzaWduYXR1cmVzIjpbeyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltTjBlU0k2SW1wemIyNGlMQ0owZVhBaU9pSnFiM05sSzJwemIyNGlmUSIsInNpZ25hdHVyZSI6ImMyVnNiRzgifV19"
}
],
"activity": {
"coding": [
{
"code": "attest",
"system": "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle"
}
]
},
"patient": {
"reference": "Patient/ejemplo-paciente-dimex",
"display": "José Mendoza"
},
"recorded": "2026-09-30T10:27:10-06:00"
}
}
],
"type": "transaction"
}
Respuesta si se guarda todo
HTTP/1.1 200 OK
Content-Type: application/fhir+json
{
"resourceType": "Bundle",
"type": "transaction-response",
"entry": [
{
"response": {
"status": "201 Created",
"location": "List/ejemplo-envio-lote/_history/1",
"etag": "W/\"1\"",
"lastModified": "2026-10-01T10:00:00-06:00"
}
},
{
"response": {
"status": "201 Created",
"location": "DocumentReference/ejemplo-envio-referencia/_history/1",
"etag": "W/\"1\"",
"lastModified": "2026-10-01T10:00:00-06:00"
}
},
{
"response": {
"status": "201 Created",
"location": "Bundle/ejemplo-bundle-documento-imagenes/_history/1",
"etag": "W/\"1\"",
"lastModified": "2026-10-01T10:00:00-06:00"
}
},
{
"response": {
"status": "201 Created",
"location": "Provenance/ejemplo-firma-documento-imagenes/_history/1",
"etag": "W/\"1\"",
"lastModified": "2026-10-01T10:00:00-06:00"
}
},
{
"response": {
"status": "201 Created",
"location": "Provenance/ejemplo-sello-documento-imagenes/_history/1",
"etag": "W/\"1\"",
"lastModified": "2026-10-01T10:00:00-06:00"
}
}
]
}
Respuesta si una entrada no cumple su perfil: no se guarda nada
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/fhir+json
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invariant",
"diagnostics": "La transacción se rechazó entera: ninguna entrada se guardó. Entrada 2 (DocumentReference): no cumple el perfil cr-documentreference.",
"expression": [
"Bundle.entry[1].resource"
]
}
]
}