HL7® Iniciativa Costa Rica

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

Guía de Implementación Core de Costa Rica - Compilación local de desarrollo (v0.1.0), generada con las herramientas de compilación de FHIR (HL7® FHIR® Standard). Vea el directorio de versiones publicadas. Por ahora aplica solo al sector privado, hasta que el Ministerio de Salud publique la hoja de ruta de las guías de implementación públicas.

Perfil de los recursos: Documento clínico (Bundle)

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

Documento clínico completo de Costa Rica: un Bundle de tipo document con el encabezado (Documento clínico) y todos los recursos que este referencia. Se guarda sin firma: su firma digital va aparte, en la firma del documento, producida por GAUDÍ (ver Firma digital).

Usos:

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

Vistas formales del contenido del perfil

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

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Bundle C 0..* Bundle Documento clínico completo: el encabezado y los recursos que referencia
Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas
Bundle.id This element must be supported. This element is included in summaries. 1..1 id Id del documento en el repositorio, asignado por el emisor (UUID)
Bundle.meta This element must be supported. This element is included in summaries. 0..1 Meta Metadatos: las etiquetas de seguridad
Bundle.meta.security This element must be supported. This element is included in summaries. 0..* Coding Las mismas etiquetas de seguridad de la Composition
Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Bundle.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Bundle.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Bundle.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de esta versión del documento (UUID)
Bundle.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Bundle.identifier.system This element must be supported. This element is included in summaries. 1..1 uri urn:ietf:rfc:3986 (valor fijo)
Patrón requerido: urn:ietf:rfc:3986 (extensions allowed)
Bundle.identifier.value This element must be supported. This element is included in summaries. C 1..1 string urn:uuid: seguido de un UUID, distinto en cada versión del documento
Ejemplo General: 123456
Bundle.type This element is included in summaries. C 1..1 code document (valor fijo)
Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Patrón requerido: document (extensions allowed)
Bundle.timestamp This element must be supported. This element is included in summaries. C 1..1 instant Cuándo se ensambló el Bundle
Bundle.Slices para entry This element must be supported. This element is included in summaries. C 1..* BackboneElement El encabezado y los recursos que referencia
Slice: Sin orden, Abierto by type:resource
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Bundle.Slices para entry.entry:All Slices Contenido y reglas para todos los slices
Bundle.Slices para entry.entry:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.fullUrl This element must be supported. This element is included in summaries. C 1..1 uri URL completa del recurso (urn:uuid: o URL absoluta)
Bundle.Slices para entry.entry:All Slices.resource This element must be supported. This element is included in summaries. C 1..1 Resource Recurso
Bundle.Slices para entry.entry:All Slices.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.entry:All Slices.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.entry:All Slices.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.Slices para entry.:composicion This element must be supported. This element is included in summaries. C 1..1 BackboneElement Encabezado del documento: la primera entrada
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Bundle.Slices para entry.:composicion.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.fullUrl This element is included in summaries. C 0..1 uri URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)
Bundle.Slices para entry.:composicion.resource 0..1 CRComposition Only some of the constraints on the root of this type profile have been applied to this element in the snapshot. Check the type profile directly as well El encabezado (Documento clínico)
Bundle.Slices para entry.:composicion.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.:composicion.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.:composicion.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.:composicion.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.:composicion.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.issues This element is included in summaries. C 0..1 OperationOutcome(5.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Issues with the Bundle

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Bundle.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR

Security Labels from the Healthcare Privacy and Security Classification System.

Bundle.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📍5.0.0 Estándar FHIR
Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR
Bundle.identifier.use Base required IdentifierUse 📍5.0.0 Estándar FHIR

Identifies the purpose for this identifier, if known .

Bundle.type Base required Bundle Type 📍5.0.0 Estándar FHIR

Indicates the purpose of a bundle - how it is intended to be used.

Bundle.entry.request.​method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Bundle.entry:composicion.​request.method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Restricciones

Id Nivel Ruta(s) Descripción Expresión
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:composicion must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicion 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-bundle-documento-etiquetas error Bundle El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
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 .

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Bundle C 0..* Bundle Documento clínico completo: el encabezado y los recursos que referencia
Constraints: cr-bundle-documento-etiquetas
Other Changes: documentation
Bundle.id This element must be supported. This element is included in summaries. 1..1 id Id del documento en el repositorio, asignado por el emisor (UUID)
Bundle.meta This element must be supported. This element is included in summaries. 0..1 Meta Metadatos: las etiquetas de seguridad
Bundle.meta.security This element must be supported. This element is included in summaries. 0..* Coding Las mismas etiquetas de seguridad de la Composition
Bundle.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Bundle.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Identificador de esta versión del documento (UUID)
Bundle.identifier.system This element must be supported. This element is included in summaries. 1..1 uri urn:ietf:rfc:3986 (valor fijo)
Patrón requerido: urn:ietf:rfc:3986 (extensions allowed)
Bundle.identifier.value This element must be supported. This element is included in summaries. 1..1 string urn:uuid: seguido de un UUID, distinto en cada versión del documento
Bundle.type This element is included in summaries. 1..1 code document (valor fijo)
Patrón requerido: document (extensions allowed)
Bundle.timestamp This element must be supported. This element is included in summaries. 1..1 instant Cuándo se ensambló el Bundle
Bundle.Slices para entry This element must be supported. This element is included in summaries. 1..* BackboneElement El encabezado y los recursos que referencia
Slice: Sin orden, Abierto by type:resource
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Bundle.Slices para entry.entry:All Slices Contenido y reglas para todos los slices
Bundle.Slices para entry.entry:All Slices.fullUrl This element must be supported. This element is included in summaries. 1..1 uri URL completa del recurso (urn:uuid: o URL absoluta)
Bundle.Slices para entry.entry:All Slices.resource This element must be supported. This element is included in summaries. 1..1 Resource Recurso
Bundle.Slices para entry.:composicion This element must be supported. This element is included in summaries. 1..1 BackboneElement Encabezado del documento: la primera entrada
Bundle.Slices para entry.:composicion.resource 0..1 CRComposition El encabezado (Documento clínico)
Bundle.signature This element is included in summaries. 0..0 No se usa: la firma va en la procedencia (cr-provenance-firma-documento)

doco Documentación de este formato

Vinculaciones terminológicas (diferencial)

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Bundle.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR

Restricciones

Id Nivel Ruta(s) Descripción Expresión
cr-bundle-documento-etiquetas error Bundle El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Bundle C 0..* Bundle Documento clínico completo: el encabezado y los recursos que referencia
Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas
Bundle.id This element must be supported. This element is included in summaries. 1..1 id Id del documento en el repositorio, asignado por el emisor (UUID)
Bundle.meta This element must be supported. This element is included in summaries. 0..1 Meta Metadatos: las etiquetas de seguridad
Bundle.meta.id No extension or id. 0..1 id Unique id for inter-element referencing
Bundle.meta.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Bundle.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Bundle.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Bundle.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Bundle.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Bundle.meta.security This element must be supported. This element is included in summaries. 0..* Coding Las mismas etiquetas de seguridad de la Composition
Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Bundle.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Vinculación: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
Bundle.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Bundle.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Bundle.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de esta versión del documento (UUID)
Bundle.identifier.id No extension or id. 0..1 id Unique id for inter-element referencing
Bundle.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Bundle.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Bundle.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Vinculación: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Bundle.identifier.system This element must be supported. This element is included in summaries. 1..1 uri urn:ietf:rfc:3986 (valor fijo)
Patrón requerido: urn:ietf:rfc:3986 (extensions allowed)
Bundle.identifier.value This element must be supported. This element is included in summaries. C 1..1 string urn:uuid: seguido de un UUID, distinto en cada versión del documento
Ejemplo General: 123456
Bundle.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Bundle.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Bundle.type This element is included in summaries. C 1..1 code document (valor fijo)
Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Patrón requerido: document (extensions allowed)
Bundle.timestamp This element must be supported. This element is included in summaries. C 1..1 instant Cuándo se ensambló el Bundle
Bundle.total This element is included in summaries. C 0..1 unsignedInt If search, the total number of matches
Bundle.link This element is included in summaries. C 0..* BackboneElement Links related to this Bundle
Bundle.link.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.link.extension 0..* Extension Additional content defined by implementations
Bundle.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.link.relation This element is included in summaries. C 1..1 code See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
Vinculación: LinkRelationTypes (required)
Bundle.link.url This element is included in summaries. C 1..1 uri Reference details for the link
Bundle.Slices para entry This element must be supported. This element is included in summaries. C 1..* BackboneElement El encabezado y los recursos que referencia
Slice: Sin orden, Abierto by type:resource
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Bundle.Slices para entry.entry:All Slices Contenido y reglas para todos los slices
Bundle.Slices para entry.entry:All Slices.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.link This element is included in summaries. 0..* Vea link (Bundle) Links related to this entry
Bundle.Slices para entry.entry:All Slices.fullUrl This element must be supported. This element is included in summaries. C 1..1 uri URL completa del recurso (urn:uuid: o URL absoluta)
Bundle.Slices para entry.entry:All Slices.resource This element must be supported. This element is included in summaries. C 1..1 Resource Recurso
Bundle.Slices para entry.entry:All Slices.search This element is included in summaries. C 0..1 BackboneElement Search related information
Bundle.Slices para entry.entry:All Slices.search.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.search.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.search.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.search.mode This element is included in summaries. 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.
Bundle.Slices para entry.entry:All Slices.search.score This element is included in summaries. 0..1 decimal Search ranking (between 0 and 1)
Bundle.Slices para entry.entry:All Slices.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.request.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.request.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.entry:All Slices.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.entry:All Slices.request.ifNoneMatch This element is included in summaries. 0..1 string For managing cache validation
Bundle.Slices para entry.entry:All Slices.request.ifModifiedSince This element is included in summaries. 0..1 instant For managing cache currency
Bundle.Slices para entry.entry:All Slices.request.ifMatch This element is included in summaries. 0..1 string For managing update contention
Bundle.Slices para entry.entry:All Slices.request.ifNoneExist This element is included in summaries. 0..1 string For conditional creates
Bundle.Slices para entry.entry:All Slices.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.response.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.response.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.Slices para entry.entry:All Slices.response.location This element is included in summaries. 0..1 uri The location (if the operation returns a location)
Bundle.Slices para entry.entry:All Slices.response.etag This element is included in summaries. 0..1 string The Etag for the resource (if relevant)
Bundle.Slices para entry.entry:All Slices.response.lastModified This element is included in summaries. 0..1 instant Server's date time modified
Bundle.Slices para entry.entry:All Slices.response.outcome This element is included in summaries. 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
Bundle.Slices para entry.:composicion This element must be supported. This element is included in summaries. C 1..1 BackboneElement Encabezado del documento: la primera entrada
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Bundle.Slices para entry.:composicion.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.link This element is included in summaries. 0..* Vea link (Bundle) Links related to this entry
Bundle.Slices para entry.:composicion.fullUrl This element is included in summaries. C 0..1 uri URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)
Bundle.Slices para entry.:composicion.resource 0..1 CRComposition Only some of the constraints on the root of this type profile have been applied to this element in the snapshot. Check the type profile directly as well El encabezado (Documento clínico)
Bundle.Slices para entry.:composicion.search This element is included in summaries. C 0..1 BackboneElement Search related information
Bundle.Slices para entry.:composicion.search.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.search.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.search.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.search.mode This element is included in summaries. 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.
Bundle.Slices para entry.:composicion.search.score This element is included in summaries. 0..1 decimal Search ranking (between 0 and 1)
Bundle.Slices para entry.:composicion.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.:composicion.request.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.request.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.:composicion.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.:composicion.request.ifNoneMatch This element is included in summaries. 0..1 string For managing cache validation
Bundle.Slices para entry.:composicion.request.ifModifiedSince This element is included in summaries. 0..1 instant For managing cache currency
Bundle.Slices para entry.:composicion.request.ifMatch This element is included in summaries. 0..1 string For managing update contention
Bundle.Slices para entry.:composicion.request.ifNoneExist This element is included in summaries. 0..1 string For conditional creates
Bundle.Slices para entry.:composicion.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.:composicion.response.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.response.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.Slices para entry.:composicion.response.location This element is included in summaries. 0..1 uri The location (if the operation returns a location)
Bundle.Slices para entry.:composicion.response.etag This element is included in summaries. 0..1 string The Etag for the resource (if relevant)
Bundle.Slices para entry.:composicion.response.lastModified This element is included in summaries. 0..1 instant Server's date time modified
Bundle.Slices para entry.:composicion.response.outcome This element is included in summaries. 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
Bundle.issues This element is included in summaries. C 0..1 OperationOutcome(5.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Issues with the Bundle

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Bundle.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR

Security Labels from the Healthcare Privacy and Security Classification System.

Bundle.meta.tag Base example Common Tags 📍5.0.0 Estándar FHIR

Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".

Bundle.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📍5.0.0 Estándar FHIR
Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR
Bundle.identifier.use Base required IdentifierUse 📍5.0.0 Estándar FHIR

Identifies the purpose for this identifier, if known .

Bundle.identifier.type Base extensible Identifier Type Codes 📍5.0.0 Estándar FHIR

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Bundle.type Base required Bundle Type 📍5.0.0 Estándar FHIR

Indicates the purpose of a bundle - how it is intended to be used.

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

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.

Bundle.entry.request.​method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Bundle.entry:composicion.​search.mode Base required Search Entry Mode 📍5.0.0 Estándar FHIR

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.

Bundle.entry:composicion.​request.method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Restricciones

Id Nivel Ruta(s) Descripción Expresión
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:composicion must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicion 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-bundle-documento-etiquetas error Bundle El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
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: 9 elementos
Debe dar soporte a: 11 elementos
Prohibidos: 1 elemento

Estructuras

Esta estructura hace referencia a estas otras estructuras:

Slices

Esta estructura define los siguientes slices:

  • El elemento 1 se segmenta según el valor de Bundle.entry

Maturity: 0

Vista de elementos clave

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Bundle C 0..* Bundle Documento clínico completo: el encabezado y los recursos que referencia
Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas
Bundle.id This element must be supported. This element is included in summaries. 1..1 id Id del documento en el repositorio, asignado por el emisor (UUID)
Bundle.meta This element must be supported. This element is included in summaries. 0..1 Meta Metadatos: las etiquetas de seguridad
Bundle.meta.security This element must be supported. This element is included in summaries. 0..* Coding Las mismas etiquetas de seguridad de la Composition
Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Bundle.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Bundle.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Bundle.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de esta versión del documento (UUID)
Bundle.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Bundle.identifier.system This element must be supported. This element is included in summaries. 1..1 uri urn:ietf:rfc:3986 (valor fijo)
Patrón requerido: urn:ietf:rfc:3986 (extensions allowed)
Bundle.identifier.value This element must be supported. This element is included in summaries. C 1..1 string urn:uuid: seguido de un UUID, distinto en cada versión del documento
Ejemplo General: 123456
Bundle.type This element is included in summaries. C 1..1 code document (valor fijo)
Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Patrón requerido: document (extensions allowed)
Bundle.timestamp This element must be supported. This element is included in summaries. C 1..1 instant Cuándo se ensambló el Bundle
Bundle.Slices para entry This element must be supported. This element is included in summaries. C 1..* BackboneElement El encabezado y los recursos que referencia
Slice: Sin orden, Abierto by type:resource
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Bundle.Slices para entry.entry:All Slices Contenido y reglas para todos los slices
Bundle.Slices para entry.entry:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.fullUrl This element must be supported. This element is included in summaries. C 1..1 uri URL completa del recurso (urn:uuid: o URL absoluta)
Bundle.Slices para entry.entry:All Slices.resource This element must be supported. This element is included in summaries. C 1..1 Resource Recurso
Bundle.Slices para entry.entry:All Slices.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.entry:All Slices.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.entry:All Slices.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.Slices para entry.:composicion This element must be supported. This element is included in summaries. C 1..1 BackboneElement Encabezado del documento: la primera entrada
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Bundle.Slices para entry.:composicion.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.fullUrl This element is included in summaries. C 0..1 uri URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)
Bundle.Slices para entry.:composicion.resource 0..1 CRComposition Only some of the constraints on the root of this type profile have been applied to this element in the snapshot. Check the type profile directly as well El encabezado (Documento clínico)
Bundle.Slices para entry.:composicion.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.:composicion.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.:composicion.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.:composicion.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.:composicion.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.issues This element is included in summaries. C 0..1 OperationOutcome(5.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Issues with the Bundle

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Bundle.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR

Security Labels from the Healthcare Privacy and Security Classification System.

Bundle.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📍5.0.0 Estándar FHIR
Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR
Bundle.identifier.use Base required IdentifierUse 📍5.0.0 Estándar FHIR

Identifies the purpose for this identifier, if known .

Bundle.type Base required Bundle Type 📍5.0.0 Estándar FHIR

Indicates the purpose of a bundle - how it is intended to be used.

Bundle.entry.request.​method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Bundle.entry:composicion.​request.method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Restricciones

Id Nivel Ruta(s) Descripción Expresión
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:composicion must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicion 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-bundle-documento-etiquetas error Bundle El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
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 .

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Bundle C 0..* Bundle Documento clínico completo: el encabezado y los recursos que referencia
Constraints: cr-bundle-documento-etiquetas
Other Changes: documentation
Bundle.id This element must be supported. This element is included in summaries. 1..1 id Id del documento en el repositorio, asignado por el emisor (UUID)
Bundle.meta This element must be supported. This element is included in summaries. 0..1 Meta Metadatos: las etiquetas de seguridad
Bundle.meta.security This element must be supported. This element is included in summaries. 0..* Coding Las mismas etiquetas de seguridad de la Composition
Bundle.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Bundle.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
Bundle.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Identificador de esta versión del documento (UUID)
Bundle.identifier.system This element must be supported. This element is included in summaries. 1..1 uri urn:ietf:rfc:3986 (valor fijo)
Patrón requerido: urn:ietf:rfc:3986 (extensions allowed)
Bundle.identifier.value This element must be supported. This element is included in summaries. 1..1 string urn:uuid: seguido de un UUID, distinto en cada versión del documento
Bundle.type This element is included in summaries. 1..1 code document (valor fijo)
Patrón requerido: document (extensions allowed)
Bundle.timestamp This element must be supported. This element is included in summaries. 1..1 instant Cuándo se ensambló el Bundle
Bundle.Slices para entry This element must be supported. This element is included in summaries. 1..* BackboneElement El encabezado y los recursos que referencia
Slice: Sin orden, Abierto by type:resource
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Bundle.Slices para entry.entry:All Slices Contenido y reglas para todos los slices
Bundle.Slices para entry.entry:All Slices.fullUrl This element must be supported. This element is included in summaries. 1..1 uri URL completa del recurso (urn:uuid: o URL absoluta)
Bundle.Slices para entry.entry:All Slices.resource This element must be supported. This element is included in summaries. 1..1 Resource Recurso
Bundle.Slices para entry.:composicion This element must be supported. This element is included in summaries. 1..1 BackboneElement Encabezado del documento: la primera entrada
Bundle.Slices para entry.:composicion.resource 0..1 CRComposition El encabezado (Documento clínico)
Bundle.signature This element is included in summaries. 0..0 No se usa: la firma va en la procedencia (cr-provenance-firma-documento)

doco Documentación de este formato

Vinculaciones terminológicas (diferencial)

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Bundle.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR

Restricciones

Id Nivel Ruta(s) Descripción Expresión
cr-bundle-documento-etiquetas error Bundle El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))

Vista instantáneaView

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Bundle C 0..* Bundle Documento clínico completo: el encabezado y los recursos que referencia
Constraints: bdl-1, bdl-2, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, bdl-13, bdl-14, bdl-15, bdl-16, bdl-17, bdl-18, bdl-3a, bdl-3b, bdl-3c, bdl-3d, cr-bundle-documento-etiquetas
Bundle.id This element must be supported. This element is included in summaries. 1..1 id Id del documento en el repositorio, asignado por el emisor (UUID)
Bundle.meta This element must be supported. This element is included in summaries. 0..1 Meta Metadatos: las etiquetas de seguridad
Bundle.meta.id No extension or id. 0..1 id Unique id for inter-element referencing
Bundle.meta.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Bundle.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Bundle.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Bundle.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Bundle.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Bundle.meta.security This element must be supported. This element is included in summaries. 0..* Coding Las mismas etiquetas de seguridad de la Composition
Vinculación: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Bundle.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Vinculación: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
Bundle.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Bundle.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Bundle.identifier This element must be supported. This element is included in summaries. C 1..1 Identifier Identificador de esta versión del documento (UUID)
Bundle.identifier.id No extension or id. 0..1 id Unique id for inter-element referencing
Bundle.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Bundle.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Vinculación: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Bundle.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Vinculación: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Bundle.identifier.system This element must be supported. This element is included in summaries. 1..1 uri urn:ietf:rfc:3986 (valor fijo)
Patrón requerido: urn:ietf:rfc:3986 (extensions allowed)
Bundle.identifier.value This element must be supported. This element is included in summaries. C 1..1 string urn:uuid: seguido de un UUID, distinto en cada versión del documento
Ejemplo General: 123456
Bundle.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Bundle.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Bundle.type This element is included in summaries. C 1..1 code document (valor fijo)
Vinculación: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Patrón requerido: document (extensions allowed)
Bundle.timestamp This element must be supported. This element is included in summaries. C 1..1 instant Cuándo se ensambló el Bundle
Bundle.total This element is included in summaries. C 0..1 unsignedInt If search, the total number of matches
Bundle.link This element is included in summaries. C 0..* BackboneElement Links related to this Bundle
Bundle.link.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.link.extension 0..* Extension Additional content defined by implementations
Bundle.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.link.relation This element is included in summaries. C 1..1 code See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
Vinculación: LinkRelationTypes (required)
Bundle.link.url This element is included in summaries. C 1..1 uri Reference details for the link
Bundle.Slices para entry This element must be supported. This element is included in summaries. C 1..* BackboneElement El encabezado y los recursos que referencia
Slice: Sin orden, Abierto by type:resource
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Bundle.Slices para entry.entry:All Slices Contenido y reglas para todos los slices
Bundle.Slices para entry.entry:All Slices.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.link This element is included in summaries. 0..* Vea link (Bundle) Links related to this entry
Bundle.Slices para entry.entry:All Slices.fullUrl This element must be supported. This element is included in summaries. C 1..1 uri URL completa del recurso (urn:uuid: o URL absoluta)
Bundle.Slices para entry.entry:All Slices.resource This element must be supported. This element is included in summaries. C 1..1 Resource Recurso
Bundle.Slices para entry.entry:All Slices.search This element is included in summaries. C 0..1 BackboneElement Search related information
Bundle.Slices para entry.entry:All Slices.search.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.search.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.search.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.search.mode This element is included in summaries. 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.
Bundle.Slices para entry.entry:All Slices.search.score This element is included in summaries. 0..1 decimal Search ranking (between 0 and 1)
Bundle.Slices para entry.entry:All Slices.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.request.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.request.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.entry:All Slices.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.entry:All Slices.request.ifNoneMatch This element is included in summaries. 0..1 string For managing cache validation
Bundle.Slices para entry.entry:All Slices.request.ifModifiedSince This element is included in summaries. 0..1 instant For managing cache currency
Bundle.Slices para entry.entry:All Slices.request.ifMatch This element is included in summaries. 0..1 string For managing update contention
Bundle.Slices para entry.entry:All Slices.request.ifNoneExist This element is included in summaries. 0..1 string For conditional creates
Bundle.Slices para entry.entry:All Slices.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.entry:All Slices.response.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.entry:All Slices.response.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.entry:All Slices.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.entry:All Slices.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.Slices para entry.entry:All Slices.response.location This element is included in summaries. 0..1 uri The location (if the operation returns a location)
Bundle.Slices para entry.entry:All Slices.response.etag This element is included in summaries. 0..1 string The Etag for the resource (if relevant)
Bundle.Slices para entry.entry:All Slices.response.lastModified This element is included in summaries. 0..1 instant Server's date time modified
Bundle.Slices para entry.entry:All Slices.response.outcome This element is included in summaries. 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
Bundle.Slices para entry.:composicion This element must be supported. This element is included in summaries. C 1..1 BackboneElement Encabezado del documento: la primera entrada
Constraints: bdl-5, bdl-8
Orden de repetición de este elemento: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
Bundle.Slices para entry.:composicion.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.link This element is included in summaries. 0..* Vea link (Bundle) Links related to this entry
Bundle.Slices para entry.:composicion.fullUrl This element is included in summaries. C 0..1 uri URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)
Bundle.Slices para entry.:composicion.resource 0..1 CRComposition Only some of the constraints on the root of this type profile have been applied to this element in the snapshot. Check the type profile directly as well El encabezado (Documento clínico)
Bundle.Slices para entry.:composicion.search This element is included in summaries. C 0..1 BackboneElement Search related information
Bundle.Slices para entry.:composicion.search.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.search.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.search.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.search.mode This element is included in summaries. 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.
Bundle.Slices para entry.:composicion.search.score This element is included in summaries. 0..1 decimal Search ranking (between 0 and 1)
Bundle.Slices para entry.:composicion.request This element is included in summaries. C 0..1 BackboneElement Additional execution information (transaction/batch/history)
Bundle.Slices para entry.:composicion.request.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.request.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.request.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.request.method This element is included in summaries. C 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vinculación: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Bundle.Slices para entry.:composicion.request.url This element is included in summaries. 1..1 uri URL for HTTP equivalent of this entry
Bundle.Slices para entry.:composicion.request.ifNoneMatch This element is included in summaries. 0..1 string For managing cache validation
Bundle.Slices para entry.:composicion.request.ifModifiedSince This element is included in summaries. 0..1 instant For managing cache currency
Bundle.Slices para entry.:composicion.request.ifMatch This element is included in summaries. 0..1 string For managing update contention
Bundle.Slices para entry.:composicion.request.ifNoneExist This element is included in summaries. 0..1 string For conditional creates
Bundle.Slices para entry.:composicion.response This element is included in summaries. C 0..1 BackboneElement Results of execution (transaction/batch/history)
Bundle.Slices para entry.:composicion.response.id No extension or id. 0..1 string Unique id for inter-element referencing
Bundle.Slices para entry.:composicion.response.extension 0..* Extension Additional content defined by implementations
Bundle.Slices para entry.:composicion.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Bundle.Slices para entry.:composicion.response.status This element is included in summaries. 1..1 string Status response code (text optional)
Bundle.Slices para entry.:composicion.response.location This element is included in summaries. 0..1 uri The location (if the operation returns a location)
Bundle.Slices para entry.:composicion.response.etag This element is included in summaries. 0..1 string The Etag for the resource (if relevant)
Bundle.Slices para entry.:composicion.response.lastModified This element is included in summaries. 0..1 instant Server's date time modified
Bundle.Slices para entry.:composicion.response.outcome This element is included in summaries. 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
Bundle.issues This element is included in summaries. C 0..1 OperationOutcome(5.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Issues with the Bundle

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Bundle.meta.security Base extensible All Security Labels 📍5.0.0 Estándar FHIR

Security Labels from the Healthcare Privacy and Security Classification System.

Bundle.meta.tag Base example Common Tags 📍5.0.0 Estándar FHIR

Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".

Bundle.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📍5.0.0 Estándar FHIR
Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR
Bundle.identifier.use Base required IdentifierUse 📍5.0.0 Estándar FHIR

Identifies the purpose for this identifier, if known .

Bundle.identifier.type Base extensible Identifier Type Codes 📍5.0.0 Estándar FHIR

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Bundle.type Base required Bundle Type 📍5.0.0 Estándar FHIR

Indicates the purpose of a bundle - how it is intended to be used.

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

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.

Bundle.entry.request.​method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Bundle.entry:composicion.​search.mode Base required Search Entry Mode 📍5.0.0 Estándar FHIR

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.

Bundle.entry:composicion.​request.method Base required H T T P Verb 📍5.0.0 Estándar FHIR

HTTP verbs (in the HTTP command line). See HTTP rfc for details.

Restricciones

Id Nivel Ruta(s) Descripción Expresión
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:composicion must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&iif(resource.meta.versionId.exists(), resource.meta.versionId, '')).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicion 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-bundle-documento-etiquetas error Bundle El Bundle lleva en meta.security las mismas etiquetas de seguridad de la Composition. entry.first().resource.meta.security.all((system & '|' & code) in %resource.meta.security.select(system & '|' & code))
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: 9 elementos
Debe dar soporte a: 11 elementos
Prohibidos: 1 elemento

Estructuras

Esta estructura hace referencia a estas otras estructuras:

Slices

Esta estructura define los siguientes slices:

  • El elemento 1 se segmenta según el valor de Bundle.entry

Maturity: 0

 

Otras representaciones de perfil: CSV, Excel, Schematron

Notas:

Uso en el HIE

Repositorio de documentos. Documentos clínicos FHIR (Bundle de tipo document). Se guardan sin firma y no se actualizan: su firma va en una procedencia (cr-provenance-firma-documento) que apunta a su versión. Se obtienen con la URL de la referencia; la lectura de la versión (vread) es la que hace el verificador de la firma.

Se envía al repositorio dentro de la transacción de envío (IHE MHD ITI-65), con PUT a Bundle/<id> y sus firmas, y se obtiene con un GET a la URL de su referencia a documento (ITI-68). Sus firmas se buscan con GET [base]/Provenance?target=Bundle/<id> (ver Firma digital).

Ver también Servicios del HIE.

Consultas

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: Leer

Leer

Leer
Forma: GET [base]/Bundle/{id}

Lee un documento clínico del repositorio de documentos por su id, la parte final de su URL. Se usa para resolver una referencia que otro recurso hace a un documento clínico. En el ejemplo se lee «Documento completo del informe de imágenes médicas (D1)»; la segunda respuesta es la de un id que no existe.

Solicitud

GET [base]/Bundle/ejemplo-bundle-documento-imagenes HTTP/1.1
Accept: application/fhir+json
Authorization: Bearer [token]

Respuesta si el recurso existe

HTTP/1.1 200 OK
ETag: W/"1"
Last-Modified: 2026-10-01T10:00:00-06:00
Content-Type: application/fhir+json
{
  "resourceType": "Bundle",
  "id": "ejemplo-bundle-documento-imagenes",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-10-01T10:00:00-06:00",
    "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"
          },
          {
            "type": {
              "coding": [
                {
                  "code": "pasaporte",
                  "system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
                  "display": "Número de Pasaporte"
                },
                {
                  "code": "PPN",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "display": "Passport number"
                }
              ]
            },
            "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"
                }
              ]
            }
          }
        ],
        "extension": [
          {
            "extension": [
              {
                "url": "type",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "76689-9",
                      "system": "http://loinc.org"
                    }
                  ]
                }
              },
              {
                "url": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "male",
                      "system": "http://hl7.org/fhir/administrative-gender"
                    }
                  ]
                }
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
          },
          {
            "extension": [
              {
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "NIC",
                      "system": "urn:iso:std:iso:3166"
                    }
                  ],
                  "text": "Nicaragua"
                },
                "url": "code"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "+50670001122"
          }
        ],
        "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,
        "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"
              }
            ]
          }
        ],
        "communication": [
          {
            "coding": [
              {
                "code": "es",
                "system": "urn:ietf:bcp:47",
                "display": "español"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "en",
                "system": "urn:ietf:bcp:47",
                "display": "inglés"
              }
            ]
          }
        ],
        "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"
                }
              ]
            }
          }
        ],
        "extension": [
          {
            "extension": [
              {
                "url": "type",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "76689-9",
                      "system": "http://loinc.org"
                    }
                  ]
                }
              },
              {
                "url": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "male",
                      "system": "http://hl7.org/fhir/administrative-gender"
                    }
                  ]
                }
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
          }
        ],
        "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"
            }
          }
        ],
        "active": true
      }
    },
    {
      "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"
}

Respuesta si no existe

HTTP/1.1 404 Not Found
Content-Type: application/fhir+json
{
  "resourceType": "OperationOutcome",
  "issue": [
    {
      "severity": "error",
      "code": "not-found",
      "diagnostics": "No existe el recurso Bundle/no-existe."
    }
  ]
}

Leer una versión
Forma: GET [base]/Bundle/{id}/_history/{versión}

Lee una versión anterior de un documento clínico. Sirve para ver los datos tal como estaban cuando otro recurso los citó; por ejemplo, cuando se firmó un documento. En el ejemplo se lee la versión 1 de «Documento completo del informe de imágenes médicas (D1)».

Solicitud

GET [base]/Bundle/ejemplo-bundle-documento-imagenes/_history/1 HTTP/1.1
Accept: application/fhir+json
Authorization: Bearer [token]

Respuesta: la versión 1

HTTP/1.1 200 OK
ETag: W/"1"
Content-Type: application/fhir+json
{
  "resourceType": "Bundle",
  "id": "ejemplo-bundle-documento-imagenes",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-10-01T10:00:00-06:00",
    "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"
          },
          {
            "type": {
              "coding": [
                {
                  "code": "pasaporte",
                  "system": "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
                  "display": "Número de Pasaporte"
                },
                {
                  "code": "PPN",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "display": "Passport number"
                }
              ]
            },
            "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"
                }
              ]
            }
          }
        ],
        "extension": [
          {
            "extension": [
              {
                "url": "type",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "76689-9",
                      "system": "http://loinc.org"
                    }
                  ]
                }
              },
              {
                "url": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "male",
                      "system": "http://hl7.org/fhir/administrative-gender"
                    }
                  ]
                }
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
          },
          {
            "extension": [
              {
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "NIC",
                      "system": "urn:iso:std:iso:3166"
                    }
                  ],
                  "text": "Nicaragua"
                },
                "url": "code"
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "+50670001122"
          }
        ],
        "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,
        "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"
              }
            ]
          }
        ],
        "communication": [
          {
            "coding": [
              {
                "code": "es",
                "system": "urn:ietf:bcp:47",
                "display": "español"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "en",
                "system": "urn:ietf:bcp:47",
                "display": "inglés"
              }
            ]
          }
        ],
        "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"
                }
              ]
            }
          }
        ],
        "extension": [
          {
            "extension": [
              {
                "url": "type",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "76689-9",
                      "system": "http://loinc.org"
                    }
                  ]
                }
              },
              {
                "url": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "male",
                      "system": "http://hl7.org/fhir/administrative-gender"
                    }
                  ]
                }
              }
            ],
            "url": "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
          }
        ],
        "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"
            }
          }
        ],
        "active": true
      }
    },
    {
      "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"
}