Guia de Implementação do Registro de Atendimento Clínico (RAC) da RNDS
0.1.0 - CI Build Brazil flag

Guia de Implementação do Registro de Atendimento Clínico (RAC) da RNDS - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Conjunto Mínimo de Dados (CMD)

Official URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRConjuntoMinimoDados-1.1 Version: 0.1.0
Standards status: Informative Maturity Level: 1 Computable Name: BRConjuntoMinimoDados

Documento público que coleta os dados dos atendimentos em saúde realizados em qualquer estabelecimento de saúde do país, público ou privado, em cada contato assistencial

Usage:

Formal Views of Profile Content

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

This structure is derived from Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition S 0..* Composition Conjunto Mínimo de Dados
... identifier 0..0
... status S 1..1 code final | entered-in-error
Binding: Estado do Documento (required): Estado do Documento

... type S 1..1 CodeableConcept Tipo de Documento
Binding: Tipo de Documento (required): Tipo de Documento

.... coding S 1..1 Coding Code defined by a terminology system
..... system 1..1 uri Identity of the terminology system
..... code 1..1 code Symbol in syntax defined by the system
..... display 0..0
..... userSelected 0..0
.... text 0..0
.... coding S 1..1 Coding Code defined by a terminology system
..... system 1..1 uri Identity of the terminology system
..... code 1..1 code Symbol in syntax defined by the system
..... display 0..0
..... userSelected 0..0
.... text 0..0
... subject S 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Sujeito da Composição
.... Slices for extension Content/Rules for all slices
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
...... extension 3..* Extension Extension
...... Slices for extension Content/Rules for all slices
....... extension:gender S 1..1 Extension Extension
....... extension:birthYear S 1..1 Extension Extension
....... extension:reason S 1..1 Extension Extension
.... reference 0..0
.... type 0..0
.... identifier
..... use 0..0
..... type 0..0
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
.... display 0..0
... encounter 0..0
... date S 1..1 dateTime Data/hora de Geração do Documento
... author S 1..* Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0) Reponsável pelo Contato Assistencial
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... use 0..0
..... type 0..0
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
.... display 0..0
... title S 1..1 string Título do documento
... confidentiality 0..0
... attester 0..0
... custodian 0..0
... relatesTo 0..1 BackboneElement Relação a Outros Documentos
.... code 1..1 code Tipo de Relacionamento
Fixed Value: replaces
.... target[x] 1..1 Reference() Documento a Ser Substituído
..... id 0..0
..... reference 1..1 string Literal reference, Relative, internal or absolute URL
..... type 0..0
..... identifier 0..0
..... display 0..0
... event 0..0
... Slices for section S 1..* BackboneElement Seções do documento
Slice: Unordered, Open by profile:entry.resolve()
.... section:informacoesContatoAssistencial S 1..1 BackboneElement Informações do Contato Assistencial
..... title 0..0
..... code 0..0
..... author 0..0
..... focus 0..0
..... text 0..0
..... mode 0..0
..... orderedBy 0..0
..... entry S 1..1 Reference(Contato Assistencial) A reference to data that supports this section
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
...... type 0..0
...... identifier 0..0
...... display 0..0
..... emptyReason 0..0
..... section 0..0
.... section:problemasDiagnosticosAvaliados S 0..* BackboneElement Problema(s)/Diagnóstico(s) Avaliado(s)
..... title 0..0
..... code 0..0
..... author 0..0
..... focus 0..0
..... text 0..0
..... mode 0..0
..... orderedBy 0..0
..... entry S 1..* Reference(Problema / Diagnóstico) A reference to data that supports this section
...... reference S 1..1 string Literal reference, Relative, internal or absolute URL
...... type 0..0
...... identifier 0..0
...... display 0..0
..... emptyReason S 0..0
..... section 0..0
.... section:procedimentosRealizados S 0..* BackboneElement Procedimento(s) Realizado(s)
..... title 0..0
..... code 0..0
..... author 0..0
..... focus 0..0
..... text 0..0
..... mode 0..0
..... orderedBy 0..0
..... entry S 1..* Reference(Procedimento Realizado) A reference to data that supports this section
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
...... type 0..0
...... identifier 0..0
...... display 0..0
..... emptyReason 0..0
..... section 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Composition.statusrequiredBREstadoDocumento
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoDocumento-1.0
from this IG
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.categoryrequiredBRModalidadeAssistencial (a valid code from Modalidade Assistencial)
http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition S 0..* Composition Conjunto Mínimo de Dados
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code final | entered-in-error
Binding: Estado do Documento (required): Estado do Documento

.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
..... code Σ 1..1 code Symbol in syntax defined by the system
... category SΣ 1..1 CodeableConcept Modalidade Assistencial
Binding: Modalidade Assistencial (required): Modalidade Assistencial


.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
..... code Σ 1..1 code Symbol in syntax defined by the system
... subject SΣ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Sujeito da Composição
.... Slices for extension Content/Rules for all slices
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
...... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:gender S 1..1 Extension Extension
........ url 1..1 uri "gender"
........ value[x] 1..1 code Value of extension
....... extension:birthYear S 1..1 Extension Extension
........ url 1..1 uri "birthYear"
........ value[x] 1..1 date Value of extension
....... extension:reason S 1..1 Extension Extension
........ url 1..1 uri "reason"
........ value[x] 1..1 CodeableConcept Value of extension
...... url 1..1 uri "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
... date SΣ 1..1 dateTime Data/hora de Geração do Documento
... author SΣ 1..* Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0) Reponsável pelo Contato Assistencial
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... title SΣ 1..1 string Título do documento
... relatesTo 0..1 BackboneElement Relação a Outros Documentos
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code 1..1 code Tipo de Relacionamento
Binding: DocumentRelationshipType (required): The type of relationship between documents.


Fixed Value: replaces
.... target[x] 1..1 Reference() Documento a Ser Substituído
..... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... Slices for section SC 1..* BackboneElement Seções do documento
Slice: Unordered, Open by profile:entry.resolve()
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... section:informacoesContatoAssistencial SC 1..1 BackboneElement Informações do Contato Assistencial
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry SC 1..1 Reference(Contato Assistencial) A reference to data that supports this section
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:problemasDiagnosticosAvaliados SC 0..* BackboneElement Problema(s)/Diagnóstico(s) Avaliado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry SC 1..* Reference(Problema / Diagnóstico) A reference to data that supports this section
...... reference SΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:procedimentosRealizados SC 0..* BackboneElement Procedimento(s) Realizado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry SC 1..* Reference(Procedimento Realizado) A reference to data that supports this section
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.statusrequiredBREstadoDocumento
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoDocumento-1.0
from this IG
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.categoryrequiredBRModalidadeAssistencial (a valid code from Modalidade Assistencial)
http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0
from this IG
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredFixed Value: replaces
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition S 0..* Composition Conjunto Mínimo de Dados
... 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code final | entered-in-error
Binding: Estado do Documento (required): Estado do Documento

... type SΣ 1..1 CodeableConcept Tipo de Documento
Binding: Tipo de Documento (required): Tipo de Documento

.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
... category SΣ 1..1 CodeableConcept Modalidade Assistencial
Binding: Modalidade Assistencial (required): Modalidade Assistencial


.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
... subject SΣ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Sujeito da Composição
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:gender S 1..1 Extension Extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "gender"
........ value[x] 1..1 code Value of extension
....... extension:birthYear S 1..1 Extension Extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "birthYear"
........ value[x] 1..1 date Value of extension
....... extension:reason S 1..1 Extension Extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "reason"
........ value[x] 1..1 CodeableConcept Value of extension
...... url 1..1 uri "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... date SΣ 1..1 dateTime Data/hora de Geração do Documento
... author SΣ 1..* Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0) Reponsável pelo Contato Assistencial
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... title SΣ 1..1 string Título do documento
... relatesTo 0..1 BackboneElement Relação a Outros Documentos
.... 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
.... code 1..1 code Tipo de Relacionamento
Binding: DocumentRelationshipType (required): The type of relationship between documents.


Fixed Value: replaces
.... target[x] 1..1 Reference() Documento a Ser Substituído
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... Slices for section SC 1..* BackboneElement Seções do documento
Slice: Unordered, Open by profile:entry.resolve()
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... section:All Slices Content/Rules for all slices
..... 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
..... title 0..1 string Label for section (e.g. for ToC)
..... code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.

..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text C 0..1 Narrative Text summary of the section, for human interpretation
..... mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.

..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... entry C 0..* Reference(Resource) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section C 0..* See section (Composition) Nested Section
.... section:informacoesContatoAssistencial SC 1..1 BackboneElement Informações do Contato Assistencial
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... 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
..... entry SC 1..1 Reference(Contato Assistencial) A reference to data that supports this section
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:problemasDiagnosticosAvaliados SC 0..* BackboneElement Problema(s)/Diagnóstico(s) Avaliado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... 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
..... entry SC 1..* Reference(Problema / Diagnóstico) A reference to data that supports this section
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference SΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:procedimentosRealizados SC 0..* BackboneElement Procedimento(s) Realizado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... 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
..... entry SC 1..* Reference(Procedimento Realizado) A reference to data that supports this section
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Composition.statusrequiredBREstadoDocumento
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoDocumento-1.0
from this IG
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.categoryrequiredBRModalidadeAssistencial (a valid code from Modalidade Assistencial)
http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0
from this IG
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredFixed Value: replaces
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard
Composition.event.codeexampleActCode
http://terminology.hl7.org/ValueSet/v3-ActCode
Composition.section.codeexampleDocumentSectionCodes
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section.moderequiredListMode
http://hl7.org/fhir/ValueSet/list-mode|4.0.1
from the FHIR Standard
Composition.section.orderedBypreferredListOrderCodes
http://hl7.org/fhir/ValueSet/list-order
from the FHIR Standard
Composition.section.emptyReasonpreferredListEmptyReasons
http://hl7.org/fhir/ValueSet/list-empty-reason
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Composition

Summary

Mandatory: 15 elements(10 nested mandatory elements)
Must-Support: 22 elements
Fixed: 2 elements
Prohibited: 69 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Composition.section

Maturity: 1

Differential View

This structure is derived from Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition S 0..* Composition Conjunto Mínimo de Dados
... identifier 0..0
... status S 1..1 code final | entered-in-error
Binding: Estado do Documento (required): Estado do Documento

... type S 1..1 CodeableConcept Tipo de Documento
Binding: Tipo de Documento (required): Tipo de Documento

.... coding S 1..1 Coding Code defined by a terminology system
..... system 1..1 uri Identity of the terminology system
..... code 1..1 code Symbol in syntax defined by the system
..... display 0..0
..... userSelected 0..0
.... text 0..0
.... coding S 1..1 Coding Code defined by a terminology system
..... system 1..1 uri Identity of the terminology system
..... code 1..1 code Symbol in syntax defined by the system
..... display 0..0
..... userSelected 0..0
.... text 0..0
... subject S 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Sujeito da Composição
.... Slices for extension Content/Rules for all slices
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
...... extension 3..* Extension Extension
...... Slices for extension Content/Rules for all slices
....... extension:gender S 1..1 Extension Extension
....... extension:birthYear S 1..1 Extension Extension
....... extension:reason S 1..1 Extension Extension
.... reference 0..0
.... type 0..0
.... identifier
..... use 0..0
..... type 0..0
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
.... display 0..0
... encounter 0..0
... date S 1..1 dateTime Data/hora de Geração do Documento
... author S 1..* Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0) Reponsável pelo Contato Assistencial
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Logical reference, when literal reference is not known
..... use 0..0
..... type 0..0
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
..... period 0..0
..... assigner 0..0
.... display 0..0
... title S 1..1 string Título do documento
... confidentiality 0..0
... attester 0..0
... custodian 0..0
... relatesTo 0..1 BackboneElement Relação a Outros Documentos
.... code 1..1 code Tipo de Relacionamento
Fixed Value: replaces
.... target[x] 1..1 Reference() Documento a Ser Substituído
..... id 0..0
..... reference 1..1 string Literal reference, Relative, internal or absolute URL
..... type 0..0
..... identifier 0..0
..... display 0..0
... event 0..0
... Slices for section S 1..* BackboneElement Seções do documento
Slice: Unordered, Open by profile:entry.resolve()
.... section:informacoesContatoAssistencial S 1..1 BackboneElement Informações do Contato Assistencial
..... title 0..0
..... code 0..0
..... author 0..0
..... focus 0..0
..... text 0..0
..... mode 0..0
..... orderedBy 0..0
..... entry S 1..1 Reference(Contato Assistencial) A reference to data that supports this section
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
...... type 0..0
...... identifier 0..0
...... display 0..0
..... emptyReason 0..0
..... section 0..0
.... section:problemasDiagnosticosAvaliados S 0..* BackboneElement Problema(s)/Diagnóstico(s) Avaliado(s)
..... title 0..0
..... code 0..0
..... author 0..0
..... focus 0..0
..... text 0..0
..... mode 0..0
..... orderedBy 0..0
..... entry S 1..* Reference(Problema / Diagnóstico) A reference to data that supports this section
...... reference S 1..1 string Literal reference, Relative, internal or absolute URL
...... type 0..0
...... identifier 0..0
...... display 0..0
..... emptyReason S 0..0
..... section 0..0
.... section:procedimentosRealizados S 0..* BackboneElement Procedimento(s) Realizado(s)
..... title 0..0
..... code 0..0
..... author 0..0
..... focus 0..0
..... text 0..0
..... mode 0..0
..... orderedBy 0..0
..... entry S 1..* Reference(Procedimento Realizado) A reference to data that supports this section
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
...... type 0..0
...... identifier 0..0
...... display 0..0
..... emptyReason 0..0
..... section 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Composition.statusrequiredBREstadoDocumento
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoDocumento-1.0
from this IG
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.categoryrequiredBRModalidadeAssistencial (a valid code from Modalidade Assistencial)
http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition S 0..* Composition Conjunto Mínimo de Dados
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code final | entered-in-error
Binding: Estado do Documento (required): Estado do Documento

.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
..... code Σ 1..1 code Symbol in syntax defined by the system
... category SΣ 1..1 CodeableConcept Modalidade Assistencial
Binding: Modalidade Assistencial (required): Modalidade Assistencial


.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system Σ 1..1 uri Identity of the terminology system
..... code Σ 1..1 code Symbol in syntax defined by the system
... subject SΣ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Sujeito da Composição
.... Slices for extension Content/Rules for all slices
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
...... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:gender S 1..1 Extension Extension
........ url 1..1 uri "gender"
........ value[x] 1..1 code Value of extension
....... extension:birthYear S 1..1 Extension Extension
........ url 1..1 uri "birthYear"
........ value[x] 1..1 date Value of extension
....... extension:reason S 1..1 Extension Extension
........ url 1..1 uri "reason"
........ value[x] 1..1 CodeableConcept Value of extension
...... url 1..1 uri "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
... date SΣ 1..1 dateTime Data/hora de Geração do Documento
... author SΣ 1..* Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0) Reponsável pelo Contato Assistencial
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... title SΣ 1..1 string Título do documento
... relatesTo 0..1 BackboneElement Relação a Outros Documentos
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code 1..1 code Tipo de Relacionamento
Binding: DocumentRelationshipType (required): The type of relationship between documents.


Fixed Value: replaces
.... target[x] 1..1 Reference() Documento a Ser Substituído
..... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... Slices for section SC 1..* BackboneElement Seções do documento
Slice: Unordered, Open by profile:entry.resolve()
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... section:informacoesContatoAssistencial SC 1..1 BackboneElement Informações do Contato Assistencial
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry SC 1..1 Reference(Contato Assistencial) A reference to data that supports this section
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:problemasDiagnosticosAvaliados SC 0..* BackboneElement Problema(s)/Diagnóstico(s) Avaliado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry SC 1..* Reference(Problema / Diagnóstico) A reference to data that supports this section
...... reference SΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:procedimentosRealizados SC 0..* BackboneElement Procedimento(s) Realizado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry SC 1..* Reference(Procedimento Realizado) A reference to data that supports this section
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.statusrequiredBREstadoDocumento
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoDocumento-1.0
from this IG
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.categoryrequiredBRModalidadeAssistencial (a valid code from Modalidade Assistencial)
http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0
from this IG
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredFixed Value: replaces
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition S 0..* Composition Conjunto Mínimo de Dados
... 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code final | entered-in-error
Binding: Estado do Documento (required): Estado do Documento

... type SΣ 1..1 CodeableConcept Tipo de Documento
Binding: Tipo de Documento (required): Tipo de Documento

.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
... category SΣ 1..1 CodeableConcept Modalidade Assistencial
Binding: Modalidade Assistencial (required): Modalidade Assistencial


.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Identity of the terminology system
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Symbol in syntax defined by the system
... subject SΣ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Sujeito da Composição
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:gender S 1..1 Extension Extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "gender"
........ value[x] 1..1 code Value of extension
....... extension:birthYear S 1..1 Extension Extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "birthYear"
........ value[x] 1..1 date Value of extension
....... extension:reason S 1..1 Extension Extension
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ url 1..1 uri "reason"
........ value[x] 1..1 CodeableConcept Value of extension
...... url 1..1 uri "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... date SΣ 1..1 dateTime Data/hora de Geração do Documento
... author SΣ 1..* Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRPessoaJuridicaProfissionalLiberal-1.0) Reponsável pelo Contato Assistencial
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... title SΣ 1..1 string Título do documento
... relatesTo 0..1 BackboneElement Relação a Outros Documentos
.... 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
.... code 1..1 code Tipo de Relacionamento
Binding: DocumentRelationshipType (required): The type of relationship between documents.


Fixed Value: replaces
.... target[x] 1..1 Reference() Documento a Ser Substituído
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... Slices for section SC 1..* BackboneElement Seções do documento
Slice: Unordered, Open by profile:entry.resolve()
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... section:All Slices Content/Rules for all slices
..... 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
..... title 0..1 string Label for section (e.g. for ToC)
..... code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.

..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text C 0..1 Narrative Text summary of the section, for human interpretation
..... mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.

..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... entry C 0..* Reference(Resource) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section C 0..* See section (Composition) Nested Section
.... section:informacoesContatoAssistencial SC 1..1 BackboneElement Informações do Contato Assistencial
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... 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
..... entry SC 1..1 Reference(Contato Assistencial) A reference to data that supports this section
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:problemasDiagnosticosAvaliados SC 0..* BackboneElement Problema(s)/Diagnóstico(s) Avaliado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... 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
..... entry SC 1..* Reference(Problema / Diagnóstico) A reference to data that supports this section
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference SΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... section:procedimentosRealizados SC 0..* BackboneElement Procedimento(s) Realizado(s)
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
..... 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
..... entry SC 1..* Reference(Procedimento Realizado) A reference to data that supports this section
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Composition.statusrequiredBREstadoDocumento
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoDocumento-1.0
from this IG
Composition.typerequiredBRTipoDocumento (a valid code from Tipo de Documento)
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoDocumento-1.0
from this IG
Composition.categoryrequiredBRModalidadeAssistencial (a valid code from Modalidade Assistencial)
http://www.saude.gov.br/fhir/r4/ValueSet/BRModalidadeAssistencial-1.0
from this IG
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.relatesTo.coderequiredFixed Value: replaces
http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1
from the FHIR Standard
Composition.event.codeexampleActCode
http://terminology.hl7.org/ValueSet/v3-ActCode
Composition.section.codeexampleDocumentSectionCodes
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section.moderequiredListMode
http://hl7.org/fhir/ValueSet/list-mode|4.0.1
from the FHIR Standard
Composition.section.orderedBypreferredListOrderCodes
http://hl7.org/fhir/ValueSet/list-order
from the FHIR Standard
Composition.section.emptyReasonpreferredListEmptyReasons
http://hl7.org/fhir/ValueSet/list-empty-reason
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:informacoesContatoAssistencial, Composition.section:problemasDiagnosticosAvaliados, Composition.section:procedimentosRealizadosA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Composition

Summary

Mandatory: 15 elements(10 nested mandatory elements)
Must-Support: 22 elements
Fixed: 2 elements
Prohibited: 69 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Composition.section

Maturity: 1

 

Other representations of profile: CSV, Excel, Schematron