Projeto mareIA: módulo AgroSUS para telemonitoramento e apoio à identificação precoce de intoxicações por uso de defensivos agrícolas
0.1.0 - ci-build Brazil flag

Projeto mareIA: módulo AgroSUS para telemonitoramento e apoio à identificação precoce de intoxicações por uso de defensivos agrícolas, publicado por Fatec Ferraz de Vasconcelos. Este guia não é uma publicação autorizada; é a compilação contínua para a versão 0.1.0 construída pela FHIR (HL7® FHIR® Standard) CI Build. Esta versão é baseada no conteúdo atual de https://github.com/jefersonrl/AgroSUS-FHIR/tree/main e muda regularmente. Veja o Diretório de versões publicadas

Resource Profile: Transação da Visita do ACS AgroSUS

Official URL: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-transacao-visita Version: 0.1.0
Draft as of 2026-07-27 Computable Name: AgroSUSTransacaoVisita

Bundle transacional e idempotente utilizado pelo aplicativo do ACS para sincronizar o paciente, a visita, a resposta da anamnese e sua proveniência em uma única operação atômica.

Usos:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Persistent identifier for the bundle
.... 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 Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: transaction
... Fatias para entry SΣC 4..4 BackboneElement Entry in the bundle - will have a resource or information
Fatia: Não ordenado, Fechado 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
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:paciente SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSPatient Information about an individual or animal receiving health care services
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:visita SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSVisitaACS An interaction during which services are provided to the patient
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:anamnese SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSAnamneseResponse A structured set of questions and their answers
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:proveniencia SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSProvenance Who, What, When for a set of resources
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
... signature SΣ 0..1 Signature Digital Signature

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:paciente.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:visita.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:anamnese.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:proveniencia.​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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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)
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()

This structure is derived from Bundle

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle 0..* Bundle Contains a collection of resources
... identifier S 1..1 Identifier Persistent identifier for the bundle
.... system S 1..1 uri The namespace for the identifier value
.... value S 1..1 string The value that is unique
... type 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Padrão necessário: transaction
... timestamp S 1..1 instant When the bundle was assembled
... link 0..0 Links related to this Bundle
... Fatias para entry S 4..4 BackboneElement Entry in the bundle - will have a resource or information
Fatia: Não ordenado, Fechado por type:resource
.... 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 S 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... method 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Padrão necessário: PUT
...... url S 1..1 uri URL for HTTP equivalent of this entry
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:paciente S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSPatient Information about an individual or animal receiving health care services
.... entry:visita S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSVisitaACS An interaction during which services are provided to the patient
.... entry:anamnese S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSAnamneseResponse A structured set of questions and their answers
.... entry:proveniencia S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSProvenance Who, What, When for a set of resources
... signature S 0..1 Signature Digital Signature

doco Documentação para este formato
NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
... 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 Persistent identifier for the bundle
.... 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 Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: transaction
... timestamp SΣ 1..1 instant When the bundle was assembled
... Fatias para entry SΣC 4..4 BackboneElement Entry in the bundle - will have a resource or information
Fatia: Não ordenado, Fechado 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
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:paciente SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSPatient Information about an individual or animal receiving health care services
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:visita SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSVisitaACS An interaction during which services are provided to the patient
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:anamnese SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSAnamneseResponse A structured set of questions and their answers
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:proveniencia SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSProvenance Who, What, When for a set of resources
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
... signature SΣ 0..1 Signature Digital Signature

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:paciente.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:paciente.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:visita.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:visita.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:anamnese.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:anamnese.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:proveniencia.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:proveniencia.​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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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)
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()

Key Elements View

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... identifier SΣ 1..1 Identifier Persistent identifier for the bundle
.... 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 Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: transaction
... Fatias para entry SΣC 4..4 BackboneElement Entry in the bundle - will have a resource or information
Fatia: Não ordenado, Fechado 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
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:paciente SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSPatient Information about an individual or animal receiving health care services
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:visita SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSVisitaACS An interaction during which services are provided to the patient
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:anamnese SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSAnamneseResponse A structured set of questions and their answers
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
.... entry:proveniencia SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSProvenance Who, What, When for a set of resources
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
... signature SΣ 0..1 Signature Digital Signature

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:paciente.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:visita.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:anamnese.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:proveniencia.​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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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)
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()

Differential View

This structure is derived from Bundle

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle 0..* Bundle Contains a collection of resources
... identifier S 1..1 Identifier Persistent identifier for the bundle
.... system S 1..1 uri The namespace for the identifier value
.... value S 1..1 string The value that is unique
... type 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Padrão necessário: transaction
... timestamp S 1..1 instant When the bundle was assembled
... link 0..0 Links related to this Bundle
... Fatias para entry S 4..4 BackboneElement Entry in the bundle - will have a resource or information
Fatia: Não ordenado, Fechado por type:resource
.... 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 S 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... method 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Padrão necessário: PUT
...... url S 1..1 uri URL for HTTP equivalent of this entry
..... response 0..0 Results of execution (transaction/batch/history)
.... entry:paciente S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSPatient Information about an individual or animal receiving health care services
.... entry:visita S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSVisitaACS An interaction during which services are provided to the patient
.... entry:anamnese S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSAnamneseResponse A structured set of questions and their answers
.... entry:proveniencia S 1..1 BackboneElement Entry in the bundle - will have a resource or information
..... resource 1..1 AgroSUSProvenance Who, What, When for a set of resources
... signature S 0..1 Signature Digital Signature

doco Documentação para este formato

Snapshot View

NomeBandeirasCard.TipoDescrição e condicionalismos    Filter: Filtersdoco
.. Bundle C 0..* Bundle Contains a collection of resources
Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
... 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 Persistent identifier for the bundle
.... 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 Σ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Vínculo: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used.
Padrão necessário: transaction
... timestamp SΣ 1..1 instant When the bundle was assembled
... Fatias para entry SΣC 4..4 BackboneElement Entry in the bundle - will have a resource or information
Fatia: Não ordenado, Fechado 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
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:paciente SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSPatient Information about an individual or animal receiving health care services
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:visita SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSVisitaACS An interaction during which services are provided to the patient
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:anamnese SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSAnamneseResponse A structured set of questions and their answers
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
.... entry:proveniencia SΣC 1..1 BackboneElement Entry in the bundle - will have a resource or information
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 AgroSUSProvenance Who, What, When for a set of resources
..... request SΣC 1..1 BackboneElement Additional execution information (transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Vínculo: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
Padrão necessário: PUT
...... url SΣ 1..1 uri URL for HTTP equivalent of this entry
...... ifNoneMatch Σ 0..1 string For managing cache currency
...... ifModifiedSince Σ 0..1 instant For managing cache currency
...... ifMatch Σ 0..1 string For managing update contention
...... ifNoneExist Σ 0..1 string For conditional creates
... signature SΣ 0..1 Signature Digital Signature

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:paciente.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:paciente.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:visita.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:visita.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:anamnese.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:anamnese.​request.method Base required HTTPVerb 📍4.0.1 a norma FHIR
Bundle.entry:proveniencia.​search.mode Base required SearchEntryMode 📍4.0.1 a norma FHIR
Bundle.entry:proveniencia.​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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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:paciente, Bundle.entry:visita, Bundle.entry:anamnese, Bundle.entry:proveniencia 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)
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()

 

Other representations of profile: CSV, Excel, Schematron