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: Atestado Digital

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

Informações de atestado médico/odontológico

Modelo destinado a estruturar as informações de atestado médico/odontológico

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..* CarePlan Atestado médico/odontológico
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code Estado do atestado.
Binding: Status do atestado (required): Estado do atestado.


ele-1: All FHIR elements must have a @value or children
Fixed Value: active
... category Σ 1..1 CodeableConcept Tipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.


ele-1: All FHIR elements must have a @value or children
.... coding Σ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children
..... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Identificação do Indivíduo
ele-1: All FHIR elements must have a @value or children
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... Slices for extension 3..3 Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension:gender S 1..1 Extension Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ url 1..1 uri "gender"
........ value[x] 1..1 code Value of extension
ele-1: All FHIR elements must have a @value or children
....... extension:birthYear S 1..1 Extension Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ url 1..1 uri "birthYear"
........ value[x] 1..1 date Value of extension
ele-1: All FHIR elements must have a @value or children
....... extension:reason S 1..1 Extension Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ url 1..1 uri "reason"
........ value[x] 1..1 CodeableConcept Value of extension
ele-1: All FHIR elements must have a @value or children
...... url 1..1 uri "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
..... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... addresses Σ 0..1 Reference(CID10 Avaliado) Health issues this plan addresses
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... activity C 1..1 BackboneElement Action to occur as part of plan
cpl-3: Provide a reference or detail, not both
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... detail C 1..1 BackboneElement In-line definition of activity
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... status ?! 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: Status do afastamento descrito no atestado (required): Estado do afastamento


ele-1: All FHIR elements must have a @value or children
Fixed Value: unknown
..... scheduled[x] 1..1 Timing When activity is to occur
ele-1: All FHIR elements must have a @value or children
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... event Σ 1..1 dateTime Data de início do afastamento
ele-1: All FHIR elements must have a @value or children
...... repeat ΣC 1..1 Element When the event is to occur
ele-1: All FHIR elements must have a @value or children
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
....... count Σ 1..1 positiveInt Tempo de afastamento
ele-1: All FHIR elements must have a @value or children
..... description 0..1 string Informações adicionais
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.statusrequiredFixed Value: active
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado
from this IG
CarePlan.intentrequiredFixed Value: plan
http://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado
from this IG
CarePlan.categoryrequiredBRTipoAtestado
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado
from this IG
CarePlan.activity.detail.statusrequiredFixed Value: unknown
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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()
tim-1errorCarePlan.activity.detail.scheduled[x].repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorCarePlan.activity.detail.scheduled[x].repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorCarePlan.activity.detail.scheduled[x].repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorCarePlan.activity.detail.scheduled[x].repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorCarePlan.activity.detail.scheduled[x].repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorCarePlan.activity.detail.scheduled[x].repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorCarePlan.activity.detail.scheduled[x].repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorCarePlan.activity.detail.scheduled[x].repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorCarePlan.activity.detail.scheduled[x].repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..* CarePlan Atestado médico/odontológico
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... replaces 0..0
... partOf 0..0
... status 1..1 code Estado do atestado.
Binding: Status do atestado (required): Estado do atestado.


Fixed Value: active
... intent 1..1 code Intenção do atestado
Binding: Intenção do atestado (required): Intenção do atestado médico/odontológico


Fixed Value: plan
... category 1..1 CodeableConcept Tipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.

.... coding 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
..... userSelected 0..0
.... text 0..0
... title 0..0
... description 0..0
... subject 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Identificação do Indivíduo
.... Slices for extension 0..* Extension Extension
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
...... Slices for extension 3..3 Extension Extension
Slice: Unordered, Open by value:url
....... 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 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
... encounter 0..0
... period 0..0
... created 0..0
... author 0..0
... contributor 0..0
... careTeam 0..0
... addresses 0..1 Reference(CID10 Avaliado) Health issues this plan addresses
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
.... display 0..0
... supportingInfo 0..0
... goal 0..0
... activity 1..1 BackboneElement Action to occur as part of plan
.... id 0..0
.... outcomeCodeableConcept 0..0
.... outcomeReference 0..0
.... progress 0..0
.... reference 0..0
.... detail 1..1 BackboneElement In-line definition of activity
..... id 0..0
..... kind 0..0
..... instantiatesCanonical 0..0
..... instantiatesUri 0..0
..... code 0..0
..... reasonCode 0..0
..... reasonReference 0..0
..... goal 0..0
..... status 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: Status do afastamento descrito no atestado (required): Estado do afastamento


Fixed Value: unknown
..... statusReason 0..0
..... doNotPerform 0..0
..... scheduled[x] 1..1 Timing When activity is to occur
...... event 1..1 dateTime Data de início do afastamento
...... repeat 1..1 Element When the event is to occur
....... id 0..0
....... bounds[x] 0..0
....... count 1..1 positiveInt Tempo de afastamento
....... countMax 0..0
....... duration 0..0
....... durationMax 0..0
....... durationUnit 0..0
....... frequency 0..0
....... frequencyMax 0..0
....... period 0..0
....... periodMax 0..0
....... periodUnit 0..0
....... dayOfWeek 0..0
....... timeOfDay 0..0
....... when 0..0
....... offset 0..0
...... code 0..0
..... location 0..0
..... performer 0..0
..... product[x] 0..0
..... dailyAmount 0..0
..... quantity 0..0
..... description 0..1 string Informações adicionais
... note 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
CarePlan.statusrequiredFixed Value: active
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado
from this IG
CarePlan.intentrequiredFixed Value: plan
http://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado
from this IG
CarePlan.categoryrequiredBRTipoAtestado
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado
from this IG
CarePlan.activity.detail.statusrequiredFixed Value: unknown
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..* CarePlan Atestado médico/odontológico
... 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 ?!Σ 1..1 code Estado do atestado.
Binding: Status do atestado (required): Estado do atestado.


Fixed Value: active
... intent ?!Σ 1..1 code Intenção do atestado
Binding: Intenção do atestado (required): Intenção do atestado médico/odontológico


Fixed Value: plan
... category Σ 1..1 CodeableConcept Tipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.


.... 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 Σ 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
..... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Identificação do Indivíduo
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
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..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 Σ 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
... addresses Σ 0..1 Reference(CID10 Avaliado) Health issues this plan addresses
.... 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
... activity C 1..1 BackboneElement Action to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... detail C 1..1 BackboneElement In-line definition of activity
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... status ?! 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: Status do afastamento descrito no atestado (required): Estado do afastamento


Fixed Value: unknown
..... scheduled[x] 1..1 Timing When activity is to occur
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... event Σ 1..1 dateTime Data de início do afastamento
...... repeat ΣC 1..1 Element When the event is to occur
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... count Σ 1..1 positiveInt Tempo de afastamento
..... description 0..1 string Informações adicionais

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
CarePlan.statusrequiredFixed Value: active
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado
from this IG
CarePlan.intentrequiredFixed Value: plan
http://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado
from this IG
CarePlan.categoryrequiredBRTipoAtestado
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado
from this IG
CarePlan.activity.detail.statusrequiredFixed Value: unknown
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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()
tim-1errorCarePlan.activity.detail.scheduled[x].repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorCarePlan.activity.detail.scheduled[x].repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorCarePlan.activity.detail.scheduled[x].repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorCarePlan.activity.detail.scheduled[x].repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorCarePlan.activity.detail.scheduled[x].repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorCarePlan.activity.detail.scheduled[x].repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorCarePlan.activity.detail.scheduled[x].repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorCarePlan.activity.detail.scheduled[x].repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorCarePlan.activity.detail.scheduled[x].repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from CarePlan

Summary

Mandatory: 13 elements(4 nested mandatory elements)
Must-Support: 4 elements
Fixed: 3 elements
Prohibited: 71 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Maturity: 1

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..* CarePlan Atestado médico/odontológico
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code Estado do atestado.
Binding: Status do atestado (required): Estado do atestado.


ele-1: All FHIR elements must have a @value or children
Fixed Value: active
... category Σ 1..1 CodeableConcept Tipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.


ele-1: All FHIR elements must have a @value or children
.... coding Σ 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children
..... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Identificação do Indivíduo
ele-1: All FHIR elements must have a @value or children
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... unidentifiedPatient S 0..* (Complex) Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... Slices for extension 3..3 Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
....... extension:gender S 1..1 Extension Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ url 1..1 uri "gender"
........ value[x] 1..1 code Value of extension
ele-1: All FHIR elements must have a @value or children
....... extension:birthYear S 1..1 Extension Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ url 1..1 uri "birthYear"
........ value[x] 1..1 date Value of extension
ele-1: All FHIR elements must have a @value or children
....... extension:reason S 1..1 Extension Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
........ url 1..1 uri "reason"
........ value[x] 1..1 CodeableConcept Value of extension
ele-1: All FHIR elements must have a @value or children
...... url 1..1 uri "http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ 1..1 Identifier Logical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
..... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... addresses Σ 0..1 Reference(CID10 Avaliado) Health issues this plan addresses
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... activity C 1..1 BackboneElement Action to occur as part of plan
cpl-3: Provide a reference or detail, not both
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... detail C 1..1 BackboneElement In-line definition of activity
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... status ?! 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: Status do afastamento descrito no atestado (required): Estado do afastamento


ele-1: All FHIR elements must have a @value or children
Fixed Value: unknown
..... scheduled[x] 1..1 Timing When activity is to occur
ele-1: All FHIR elements must have a @value or children
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... event Σ 1..1 dateTime Data de início do afastamento
ele-1: All FHIR elements must have a @value or children
...... repeat ΣC 1..1 Element When the event is to occur
ele-1: All FHIR elements must have a @value or children
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
....... count Σ 1..1 positiveInt Tempo de afastamento
ele-1: All FHIR elements must have a @value or children
..... description 0..1 string Informações adicionais
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.statusrequiredFixed Value: active
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado
from this IG
CarePlan.intentrequiredFixed Value: plan
http://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado
from this IG
CarePlan.categoryrequiredBRTipoAtestado
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado
from this IG
CarePlan.activity.detail.statusrequiredFixed Value: unknown
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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()
tim-1errorCarePlan.activity.detail.scheduled[x].repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorCarePlan.activity.detail.scheduled[x].repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorCarePlan.activity.detail.scheduled[x].repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorCarePlan.activity.detail.scheduled[x].repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorCarePlan.activity.detail.scheduled[x].repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorCarePlan.activity.detail.scheduled[x].repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorCarePlan.activity.detail.scheduled[x].repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorCarePlan.activity.detail.scheduled[x].repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorCarePlan.activity.detail.scheduled[x].repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

Differential View

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..* CarePlan Atestado médico/odontológico
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... replaces 0..0
... partOf 0..0
... status 1..1 code Estado do atestado.
Binding: Status do atestado (required): Estado do atestado.


Fixed Value: active
... intent 1..1 code Intenção do atestado
Binding: Intenção do atestado (required): Intenção do atestado médico/odontológico


Fixed Value: plan
... category 1..1 CodeableConcept Tipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.

.... coding 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
..... userSelected 0..0
.... text 0..0
... title 0..0
... description 0..0
... subject 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Identificação do Indivíduo
.... Slices for extension 0..* Extension Extension
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
...... Slices for extension 3..3 Extension Extension
Slice: Unordered, Open by value:url
....... 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 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
... encounter 0..0
... period 0..0
... created 0..0
... author 0..0
... contributor 0..0
... careTeam 0..0
... addresses 0..1 Reference(CID10 Avaliado) Health issues this plan addresses
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
.... display 0..0
... supportingInfo 0..0
... goal 0..0
... activity 1..1 BackboneElement Action to occur as part of plan
.... id 0..0
.... outcomeCodeableConcept 0..0
.... outcomeReference 0..0
.... progress 0..0
.... reference 0..0
.... detail 1..1 BackboneElement In-line definition of activity
..... id 0..0
..... kind 0..0
..... instantiatesCanonical 0..0
..... instantiatesUri 0..0
..... code 0..0
..... reasonCode 0..0
..... reasonReference 0..0
..... goal 0..0
..... status 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: Status do afastamento descrito no atestado (required): Estado do afastamento


Fixed Value: unknown
..... statusReason 0..0
..... doNotPerform 0..0
..... scheduled[x] 1..1 Timing When activity is to occur
...... event 1..1 dateTime Data de início do afastamento
...... repeat 1..1 Element When the event is to occur
....... id 0..0
....... bounds[x] 0..0
....... count 1..1 positiveInt Tempo de afastamento
....... countMax 0..0
....... duration 0..0
....... durationMax 0..0
....... durationUnit 0..0
....... frequency 0..0
....... frequencyMax 0..0
....... period 0..0
....... periodMax 0..0
....... periodUnit 0..0
....... dayOfWeek 0..0
....... timeOfDay 0..0
....... when 0..0
....... offset 0..0
...... code 0..0
..... location 0..0
..... performer 0..0
..... product[x] 0..0
..... dailyAmount 0..0
..... quantity 0..0
..... description 0..1 string Informações adicionais
... note 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
CarePlan.statusrequiredFixed Value: active
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado
from this IG
CarePlan.intentrequiredFixed Value: plan
http://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado
from this IG
CarePlan.categoryrequiredBRTipoAtestado
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado
from this IG
CarePlan.activity.detail.statusrequiredFixed Value: unknown
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..* CarePlan Atestado médico/odontológico
... 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 ?!Σ 1..1 code Estado do atestado.
Binding: Status do atestado (required): Estado do atestado.


Fixed Value: active
... intent ?!Σ 1..1 code Intenção do atestado
Binding: Intenção do atestado (required): Intenção do atestado médico/odontológico


Fixed Value: plan
... category Σ 1..1 CodeableConcept Tipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.


.... 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 Σ 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
..... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0) Identificação do Indivíduo
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
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..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 Σ 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
... addresses Σ 0..1 Reference(CID10 Avaliado) Health issues this plan addresses
.... 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
... activity C 1..1 BackboneElement Action to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... detail C 1..1 BackboneElement In-line definition of activity
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... status ?! 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: Status do afastamento descrito no atestado (required): Estado do afastamento


Fixed Value: unknown
..... scheduled[x] 1..1 Timing When activity is to occur
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... event Σ 1..1 dateTime Data de início do afastamento
...... repeat ΣC 1..1 Element When the event is to occur
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... count Σ 1..1 positiveInt Tempo de afastamento
..... description 0..1 string Informações adicionais

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
CarePlan.statusrequiredFixed Value: active
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado
from this IG
CarePlan.intentrequiredFixed Value: plan
http://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado
from this IG
CarePlan.categoryrequiredBRTipoAtestado
http://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado
from this IG
CarePlan.activity.detail.statusrequiredFixed Value: unknown
http://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado
from this IG

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA 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()
tim-1errorCarePlan.activity.detail.scheduled[x].repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorCarePlan.activity.detail.scheduled[x].repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorCarePlan.activity.detail.scheduled[x].repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorCarePlan.activity.detail.scheduled[x].repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorCarePlan.activity.detail.scheduled[x].repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorCarePlan.activity.detail.scheduled[x].repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorCarePlan.activity.detail.scheduled[x].repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorCarePlan.activity.detail.scheduled[x].repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorCarePlan.activity.detail.scheduled[x].repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from CarePlan

Summary

Mandatory: 13 elements(4 nested mandatory elements)
Must-Support: 4 elements
Fixed: 3 elements
Prohibited: 71 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Maturity: 1

 

Other representations of profile: CSV, Excel, Schematron