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
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
| Official URL: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-provenance | Version: 0.1.0 | |||
| Draft as of 2026-07-27 | Computable Name: AgroSUSProvenance | |||
Registro de autoria, criação, atualização e origem dos recursos clínicos e assistenciais do AgroSUS.
Usos:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recursos criados ou atualizados pela atividade registrada |
![]() ![]() |
S | 1..1 | Momento em que a atividade ocorreu | |
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() |
SΣ | 1..1 | instant | Momento em que a proveniência foi registrada |
![]() ![]() |
S | 0..* | uri | Política institucional aplicável ao registro |
![]() ![]() |
S | 0..* | CodeableConcept | Finalidade da criação ou atualização Vínculo: PurposeOfUse (extensible): The reason the activity took place. |
![]() ![]() |
S | 1..1 | CodeableConcept | Operação realizada, como criação ou atualização Vínculo: ProvenanceActivityType (extensible): The activity that took place. |
![]() ![]() |
S | 1..* | BackboneElement | Actor involved |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Forma de participação do agente Vínculo: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Função exercida pelo agente Vínculo: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Função do ACS no AgroSUS | Função do Profissional Assistencial da UBS AgroSUS | Laboratório AgroSUS | Unidade Básica de Saúde AgroSUS) | Agente responsável pela atividade |
![]() ![]() ![]() |
S | 0..1 | Reference(Unidade Básica de Saúde AgroSUS | Laboratório AgroSUS) | Organização representada pelo agente |
![]() ![]() |
S | 0..* | BackboneElement | An entity used in this activity |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | code | derivation | revision | quotation | source | removal Vínculo: ProvenanceEntityRole (required): How an entity was used in an activity. |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recurso utilizado como fonte para a atividade |
![]() ![]() |
S | 0..* | Signature | Assinatura digital, quando implementada |
Documentação para este formato | ||||
| Caminho | Estado | Utilização | Conjunto de valores | Versão | Fonte |
| Provenance.reason | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.2 |
| Provenance.activity | Base | extensible | Provenance activity type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.type | Base | extensible | Provenance participant type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | a norma FHIR |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | a norma FHIR |
| Id | Grau | Caminho(s) | Descrição | Expressão |
| dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.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()
|
This structure is derived from Provenance
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Vínculo: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recursos criados ou atualizados pela atividade registrada | ||||
![]() ![]() |
S | 1..1 | Momento em que a atividade ocorreu | |||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
SΣ | 1..1 | instant | Momento em que a proveniência foi registrada | ||||
![]() ![]() |
S | 0..* | uri | Política institucional aplicável ao registro | ||||
![]() ![]() |
0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||
![]() ![]() |
S | 0..* | CodeableConcept | Finalidade da criação ou atualização Vínculo: PurposeOfUse (extensible): The reason the activity took place. | ||||
![]() ![]() |
S | 1..1 | CodeableConcept | Operação realizada, como criação ou atualização Vínculo: ProvenanceActivityType (extensible): The activity that took place. | ||||
![]() ![]() |
S | 1..* | BackboneElement | Actor involved | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Forma de participação do agente Vínculo: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Função exercida pelo agente Vínculo: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Função do ACS no AgroSUS | Função do Profissional Assistencial da UBS AgroSUS | Laboratório AgroSUS | Unidade Básica de Saúde AgroSUS) | Agente responsável pela atividade | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Unidade Básica de Saúde AgroSUS | Laboratório AgroSUS) | Organização representada pelo agente | ||||
![]() ![]() |
S | 0..* | BackboneElement | An entity used in this activity | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | derivation | revision | quotation | source | removal Vínculo: ProvenanceEntityRole (required): How an entity was used in an activity. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recurso utilizado como fonte para a atividade | ||||
![]() ![]() ![]() |
0..* | Ver agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() |
S | 0..* | Signature | Assinatura digital, quando implementada | ||||
Documentação para este formato | ||||||||
| Caminho | Estado | Utilização | Conjunto de valores | Versão | Fonte |
| Provenance.language | Base | preferred | Common Languages | 📍4.0.1 | a norma FHIR |
| Provenance.reason | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.2 |
| Provenance.activity | Base | extensible | Provenance activity type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.type | Base | extensible | Provenance participant type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | a norma FHIR |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | a norma FHIR |
| Id | Grau | Caminho(s) | Descrição | Expressão |
| dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.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()
|
This structure is derived from Provenance
Resumo
Obrigatório: 3 elementos
Deve ser suportado: 15 elementos
Estruturas
Esta estrutura refere-se a estas outras estruturas:
Key Elements View
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recursos criados ou atualizados pela atividade registrada |
![]() ![]() |
S | 1..1 | Momento em que a atividade ocorreu | |
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() |
SΣ | 1..1 | instant | Momento em que a proveniência foi registrada |
![]() ![]() |
S | 0..* | uri | Política institucional aplicável ao registro |
![]() ![]() |
S | 0..* | CodeableConcept | Finalidade da criação ou atualização Vínculo: PurposeOfUse (extensible): The reason the activity took place. |
![]() ![]() |
S | 1..1 | CodeableConcept | Operação realizada, como criação ou atualização Vínculo: ProvenanceActivityType (extensible): The activity that took place. |
![]() ![]() |
S | 1..* | BackboneElement | Actor involved |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Forma de participação do agente Vínculo: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Função exercida pelo agente Vínculo: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Função do ACS no AgroSUS | Função do Profissional Assistencial da UBS AgroSUS | Laboratório AgroSUS | Unidade Básica de Saúde AgroSUS) | Agente responsável pela atividade |
![]() ![]() ![]() |
S | 0..1 | Reference(Unidade Básica de Saúde AgroSUS | Laboratório AgroSUS) | Organização representada pelo agente |
![]() ![]() |
S | 0..* | BackboneElement | An entity used in this activity |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | code | derivation | revision | quotation | source | removal Vínculo: ProvenanceEntityRole (required): How an entity was used in an activity. |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recurso utilizado como fonte para a atividade |
![]() ![]() |
S | 0..* | Signature | Assinatura digital, quando implementada |
Documentação para este formato | ||||
| Caminho | Estado | Utilização | Conjunto de valores | Versão | Fonte |
| Provenance.reason | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.2 |
| Provenance.activity | Base | extensible | Provenance activity type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.type | Base | extensible | Provenance participant type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | a norma FHIR |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | a norma FHIR |
| Id | Grau | Caminho(s) | Descrição | Expressão |
| dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.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()
|
Differential View
This structure is derived from Provenance
Snapshot View
| Nome | Bandeiras | Card. | Tipo | Descrição e condicionalismos Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Vínculo: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recursos criados ou atualizados pela atividade registrada | ||||
![]() ![]() |
S | 1..1 | Momento em que a atividade ocorreu | |||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
SΣ | 1..1 | instant | Momento em que a proveniência foi registrada | ||||
![]() ![]() |
S | 0..* | uri | Política institucional aplicável ao registro | ||||
![]() ![]() |
0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||
![]() ![]() |
S | 0..* | CodeableConcept | Finalidade da criação ou atualização Vínculo: PurposeOfUse (extensible): The reason the activity took place. | ||||
![]() ![]() |
S | 1..1 | CodeableConcept | Operação realizada, como criação ou atualização Vínculo: ProvenanceActivityType (extensible): The activity that took place. | ||||
![]() ![]() |
S | 1..* | BackboneElement | Actor involved | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Forma de participação do agente Vínculo: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Função exercida pelo agente Vínculo: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Função do ACS no AgroSUS | Função do Profissional Assistencial da UBS AgroSUS | Laboratório AgroSUS | Unidade Básica de Saúde AgroSUS) | Agente responsável pela atividade | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Unidade Básica de Saúde AgroSUS | Laboratório AgroSUS) | Organização representada pelo agente | ||||
![]() ![]() |
S | 0..* | BackboneElement | An entity used in this activity | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | derivation | revision | quotation | source | removal Vínculo: ProvenanceEntityRole (required): How an entity was used in an activity. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Paciente AgroSUS | Visita do ACS AgroSUS | Resposta da Anamnese AgroSUS | Atendimento Clínico da UBS AgroSUS | Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS | Plano de Acompanhamento AgroSUS) | Recurso utilizado como fonte para a atividade | ||||
![]() ![]() ![]() |
0..* | Ver agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() |
S | 0..* | Signature | Assinatura digital, quando implementada | ||||
Documentação para este formato | ||||||||
| Caminho | Estado | Utilização | Conjunto de valores | Versão | Fonte |
| Provenance.language | Base | preferred | Common Languages | 📍4.0.1 | a norma FHIR |
| Provenance.reason | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.2 |
| Provenance.activity | Base | extensible | Provenance activity type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.type | Base | extensible | Provenance participant type | 📍4.0.1 | a norma FHIR |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | a norma FHIR |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | a norma FHIR |
| Id | Grau | Caminho(s) | Descrição | Expressão |
| dom-2 | error | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Provenance | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.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()
|
This structure is derived from Provenance
Resumo
Obrigatório: 3 elementos
Deve ser suportado: 15 elementos
Estruturas
Esta estrutura refere-se a estas outras estruturas:
Other representations of profile: CSV, Excel, Schematron