Guia de implementação do Core do Brasil: Release 1 - BR Realm | STU1
1.7.1 - STU1 Brazil flag

This page is part of the Core do Brasil (v1.7.1: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: br-core-bundle-documento

URL Canônica: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-bundle-documento Versão: 1.7.1
Draft as of 2026-10-21 Nome computável: BRCoreBundleDocumento

Documento clínico FHIR: Bundle do tipo document cuja primeira entrada é uma br-core-composition (ou perfil derivado, como o br-core-sumarioalta), seguida dos recursos que ela referencia. Segue as regras do clinical-document-bundle do FHIR Clinical Documents (HL7, STU1 1.0.1): identificador persistente, timestamp e Composition como primeira entrada.

Escopo/Uso

Este perfil define o documento clínico FHIR no BR-Core: um Bundle do tipo document, imutável, cuja primeira entrada é uma Composition derivada do br-core-composition, como o br-core-sumarioalta, seguida de todos os recursos que ela referencia.

As regras seguem o perfil internacional clinical-document-bundle do FHIR Clinical Documents (HL7, STU1 1.0.1):

  • identifier persistente (system e value);
  • type = document;
  • timestamp obrigatório e igual ou posterior a Composition.date;
  • Composition como primeira entrada;
  • fullUrl em todas as entradas.

Caso de uso da RNDS

Envio de documentos clínicos, como o Sumário de Alta, em substituição aos perfis de documento próprios da RNDS. Retificação: novo documento, com novo identifier, e Composition.relatesTo (replaces) apontando para a Composition anterior.

Usos:

You can also check for usages in the FHIR IG Statistics

Visões formais do conteúdo do perfil

Descrição de perfis, diferenciais, instantâneos e como as diferentes apresentações funcionam.

Esta estrutura é derivada de Bundle

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Documento clínico (Bundle document)
Constraints: br-core-bdoc-1, br-core-bdoc-2
... identifier S 1..1 Identifier Identificador persistente do documento
.... system S 1..1 uri The namespace for the identifier value
.... value S 1..1 string The value that is unique
... type S 1..1 code document
Padrão necessário: document
... timestamp S 1..1 instant Data e hora de montagem do documento
.... entry:Todas as fatias Conteúdo/regras para todas as fatias
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource S 1..1 Resource A resource in the bundle
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:composicao S 1..1 BackboneElement Composition do documento (primeira entrada)
..... resource 1..1 BRCoreComposition A set of resources composed into a single coherent clinical statement with clinical attestation
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
... signature S 0..1 Signature Assinatura digital do documento

doco Documentação para este formato

Restrições

Id Grau Caminho(s) Descrição Expressão
br-core-bdoc-1 error Bundle O timestamp do documento DEVE ser igual ou posterior à data da Composition (primeira entrada). timestamp >= entry.first().resource.date
br-core-bdoc-2 error Bundle Todas as entradas do documento DEVEM ter fullUrl. entry.all(fullUrl.exists())
NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Documento clínico (Bundle document)
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, br-core-bdoc-1, br-core-bdoc-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Identificador persistente do documento
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Vínculo: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Exemplo General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Exemplo General: 123456
... type SΣ 1..1 code document
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: document
... Fatias para entry SΣC 1..* BackboneElement Entradas do documento
Fatia: Não ordenado, Aberto por type:resource
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
.... entry:Todas as fatias Conteúdo/regras para todas as fatias
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource SΣ 1..1 Resource A resource in the bundle
.... entry:composicao SΣC 1..1 BackboneElement Composition do documento (primeira entrada)
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource S 1..1 BRCoreComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... signature SΣ 0..1 Signature Assinatura digital do documento

doco Documentação para este formato

Terminologia Ligações

Caminho Estado Utilização Conjunto de valores Versão Fonte
Bundle.identifier.use Base required IdentifierUse 📍4.0.1 a norma FHIR
Bundle.type Base required BundleType 📍4.0.1 a norma FHIR
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:composicao.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR

Restrições

Id Grau Caminho(s) Descrição Expressão
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 entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:composicao 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&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicao fullUrl cannot be a version specific reference 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)
br-core-bdoc-1 error Bundle O timestamp do documento DEVE ser igual ou posterior à data da Composition (primeira entrada). timestamp >= entry.first().resource.date
br-core-bdoc-2 error Bundle Todas as entradas do documento DEVEM ter fullUrl. entry.all(fullUrl.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Documento clínico (Bundle document)
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, br-core-bdoc-1, br-core-bdoc-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Identificador persistente do documento
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Fatia: Não ordenado, Aberto por value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Vínculo: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Vínculo: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri The namespace for the identifier value
Exemplo General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Exemplo General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... type SΣ 1..1 code document
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: document
... timestamp SΣ 1..1 instant Data e hora de montagem do documento
... total ΣC 0..1 unsignedInt If search, the total number of matches
... link Σ 0..* BackboneElement Links related to this Bundle
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relation Σ 1..1 string See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
.... url Σ 1..1 uri Reference details for the link
... Fatias para entry SΣC 1..* BackboneElement Entradas do documento
Fatia: Não ordenado, Aberto por type:resource
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
.... entry:Todas as fatias Conteúdo/regras para todas as fatias
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* Ver link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource SΣ 1..1 Resource A resource in the bundle
.... entry:composicao SΣC 1..1 BackboneElement Composition do documento (primeira entrada)
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* Ver link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource S 1..1 BRCoreComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... signature SΣ 0..1 Signature Assinatura digital do documento

doco Documentação para este formato

Terminologia Ligações

Caminho Estado Utilização Conjunto de valores Versão Fonte
Bundle.language Base preferred Common Languages 📍4.0.1 a norma FHIR
Bundle.identifier.use Base required IdentifierUse 📍4.0.1 a norma FHIR
Bundle.identifier.type Base extensible IdentifierType 📍4.0.1 a norma FHIR
Bundle.type Base required BundleType 📍4.0.1 a norma FHIR
Bundle.entry.search.​mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:composicao.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:composicao.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR

Restrições

Id Grau Caminho(s) Descrição Expressão
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 entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:composicao 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&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicao fullUrl cannot be a version specific reference 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)
br-core-bdoc-1 error Bundle O timestamp do documento DEVE ser igual ou posterior à data da Composition (primeira entrada). timestamp >= entry.first().resource.date
br-core-bdoc-2 error Bundle Todas as entradas do documento DEVEM ter fullUrl. entry.all(fullUrl.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Esta estrutura é derivada de Bundle

Resumo

Obrigatório: 8 elementos
Deve ser suportado: 10 elementos
Proibido: 6 elementos

Estruturas

Esta estrutura refere-se a estas outras estruturas:

Fatias

Esta estrutura define os seguintes Slices:

  • The element 1 is sliced based on the value of Bundle.entry

Visão diferencial

Esta estrutura é derivada de Bundle

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Documento clínico (Bundle document)
Constraints: br-core-bdoc-1, br-core-bdoc-2
... identifier S 1..1 Identifier Identificador persistente do documento
.... system S 1..1 uri The namespace for the identifier value
.... value S 1..1 string The value that is unique
... type S 1..1 code document
Padrão necessário: document
... timestamp S 1..1 instant Data e hora de montagem do documento
.... entry:Todas as fatias Conteúdo/regras para todas as fatias
..... fullUrl S 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource S 1..1 Resource A resource in the bundle
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:composicao S 1..1 BackboneElement Composition do documento (primeira entrada)
..... resource 1..1 BRCoreComposition A set of resources composed into a single coherent clinical statement with clinical attestation
..... search 0..0 Search related information
..... request 0..0 Additional execution information (transaction/batch/history)
..... response 0..0 Results of execution (transaction/batch/history)
... signature S 0..1 Signature Assinatura digital do documento

doco Documentação para este formato

Restrições

Id Grau Caminho(s) Descrição Expressão
br-core-bdoc-1 error Bundle O timestamp do documento DEVE ser igual ou posterior à data da Composition (primeira entrada). timestamp >= entry.first().resource.date
br-core-bdoc-2 error Bundle Todas as entradas do documento DEVEM ter fullUrl. entry.all(fullUrl.exists())

Visualização de elementos -chave

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Documento clínico (Bundle document)
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, br-core-bdoc-1, br-core-bdoc-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Identificador persistente do documento
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Vínculo: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Exemplo General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Exemplo General: 123456
... type SΣ 1..1 code document
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: document
... Fatias para entry SΣC 1..* BackboneElement Entradas do documento
Fatia: Não ordenado, Aberto por type:resource
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
.... entry:Todas as fatias Conteúdo/regras para todas as fatias
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource SΣ 1..1 Resource A resource in the bundle
.... entry:composicao SΣC 1..1 BackboneElement Composition do documento (primeira entrada)
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource S 1..1 BRCoreComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... signature SΣ 0..1 Signature Assinatura digital do documento

doco Documentação para este formato

Terminologia Ligações

Caminho Estado Utilização Conjunto de valores Versão Fonte
Bundle.identifier.use Base required IdentifierUse 📍4.0.1 a norma FHIR
Bundle.type Base required BundleType 📍4.0.1 a norma FHIR
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:composicao.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR

Restrições

Id Grau Caminho(s) Descrição Expressão
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 entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:composicao 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&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicao fullUrl cannot be a version specific reference 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)
br-core-bdoc-1 error Bundle O timestamp do documento DEVE ser igual ou posterior à data da Composition (primeira entrada). timestamp >= entry.first().resource.date
br-core-bdoc-2 error Bundle Todas as entradas do documento DEVEM ter fullUrl. entry.all(fullUrl.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Visualização instantânea

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Documento clínico (Bundle document)
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, br-core-bdoc-1, br-core-bdoc-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Identificador persistente do documento
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Fatia: Não ordenado, Aberto por value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Vínculo: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Vínculo: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri The namespace for the identifier value
Exemplo General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Exemplo General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... type SΣ 1..1 code document
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: document
... timestamp SΣ 1..1 instant Data e hora de montagem do documento
... total ΣC 0..1 unsignedInt If search, the total number of matches
... link Σ 0..* BackboneElement Links related to this Bundle
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relation Σ 1..1 string See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
.... url Σ 1..1 uri Reference details for the link
... Fatias para entry SΣC 1..* BackboneElement Entradas do documento
Fatia: Não ordenado, Aberto por type:resource
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
.... entry:Todas as fatias Conteúdo/regras para todas as fatias
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* Ver link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource SΣ 1..1 Resource A resource in the bundle
.... entry:composicao SΣC 1..1 BackboneElement Composition do documento (primeira entrada)
Constraints: bdl-5, bdl-8
Esta ordem de repetição de elementos: 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
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* Ver link (Bundle) Links related to this entry
..... fullUrl SΣ 1..1 uri URI for resource (Absolute URL server address or URI for UUID/OID)
..... resource S 1..1 BRCoreComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... signature SΣ 0..1 Signature Assinatura digital do documento

doco Documentação para este formato

Terminologia Ligações

Caminho Estado Utilização Conjunto de valores Versão Fonte
Bundle.language Base preferred Common Languages 📍4.0.1 a norma FHIR
Bundle.identifier.use Base required IdentifierUse 📍4.0.1 a norma FHIR
Bundle.identifier.type Base extensible IdentifierType 📍4.0.1 a norma FHIR
Bundle.type Base required BundleType 📍4.0.1 a norma FHIR
Bundle.entry.search.​mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry.request.​method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:composicao.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:composicao.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR

Restrições

Id Grau Caminho(s) Descrição Expressão
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 entry.search.empty() or (type = 'searchset')
bdl-3 error Bundle entry.request mandatory for batch/transaction/history, otherwise prohibited entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4 error Bundle entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5 error Bundle.entry, Bundle.entry:composicao 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&resource.meta.versionId).isDistinct()
bdl-8 error Bundle.entry, Bundle.entry:composicao fullUrl cannot be a version specific reference 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)
br-core-bdoc-1 error Bundle O timestamp do documento DEVE ser igual ou posterior à data da Composition (primeira entrada). timestamp >= entry.first().resource.date
br-core-bdoc-2 error Bundle Todas as entradas do documento DEVEM ter fullUrl. entry.all(fullUrl.exists())
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Esta estrutura é derivada de Bundle

Resumo

Obrigatório: 8 elementos
Deve ser suportado: 10 elementos
Proibido: 6 elementos

Estruturas

Esta estrutura refere-se a estas outras estruturas:

Fatias

Esta estrutura define os seguintes Slices:

  • The element 1 is sliced based on the value of Bundle.entry

 

Outras representações de perfil: CSV, Excel, Schematron