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.

This structure is derived from CarePlan

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


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


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

.... coding 1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... userSelected 0..0
.... text 0..0
... title 0..0
... description 0..0
... subject 1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Identificação do Indivíduo
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
..... extension:birthYear S1..1ExtensionExtension
..... extension:reason S1..1ExtensionExtension
.... reference 0..0
.... type 0..0
.... identifier 1..1IdentifierLogical reference, when literal reference is not known
..... use 0..0
..... type 0..0
..... system 1..1uriThe namespace for the identifier value
..... value 1..1stringThe 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..1Reference(CID10 Avaliado)Health issues this plan addresses
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
.... display 0..0
... supportingInfo 0..0
... goal 0..0
... activity 1..1BackboneElementAction to occur as part of plan
.... id 0..0
.... outcomeCodeableConcept 0..0
.... outcomeReference 0..0
.... progress 0..0
.... reference 0..0
.... detail 1..1BackboneElementIn-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..1codenot-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..1TimingWhen activity is to occur
...... event 1..1dateTimeData de início do afastamento
...... repeat 1..1ElementWhen the event is to occur
....... id 0..0
....... bounds[x] 0..0
....... count 1..1positiveIntTempo 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..1stringInformaçõ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..*CarePlanAtestado médico/odontológico
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeEstado do atestado.
Binding: Status do atestado (required): Estado do atestado.


Fixed Value: active
... category Σ1..1CodeableConceptTipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.


.... coding Σ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Identificação do Indivíduo
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringThe value that is unique
Example General: 123456
... addresses Σ0..1Reference(CID10 Avaliado)Health issues this plan addresses
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... activity C1..1BackboneElementAction to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... detail C1..1BackboneElementIn-line definition of activity
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status ?!1..1codenot-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..1TimingWhen activity is to occur
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... event Σ1..1dateTimeData de início do afastamento
...... repeat ΣC1..1ElementWhen 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
....... count Σ1..1positiveIntTempo de afastamento
..... description 0..1stringInformações adicionais

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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanAtestado médico/odontológico
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeEstado do atestado.
Binding: Status do atestado (required): Estado do atestado.


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


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


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..1CodingCode defined by a terminology system
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ0..1stringRepresentation defined by the system
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Identificação do Indivíduo
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringThe value that is unique
Example General: 123456
... addresses Σ0..1Reference(CID10 Avaliado)Health issues this plan addresses
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... activity C1..1BackboneElementAction to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... detail C1..1BackboneElementIn-line definition of activity
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status ?!1..1codenot-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..1TimingWhen activity is to occur
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... event Σ1..1dateTimeData de início do afastamento
...... repeat ΣC1..1ElementWhen 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..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... count Σ1..1positiveIntTempo de afastamento
..... description 0..1stringInformações adicionais

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
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 Value: 3 elements
Prohibited: 71 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Maturity: 1

Differential View

This structure is derived from CarePlan

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


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


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

.... coding 1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... userSelected 0..0
.... text 0..0
... title 0..0
... description 0..0
... subject 1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Identificação do Indivíduo
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
..... extension:birthYear S1..1ExtensionExtension
..... extension:reason S1..1ExtensionExtension
.... reference 0..0
.... type 0..0
.... identifier 1..1IdentifierLogical reference, when literal reference is not known
..... use 0..0
..... type 0..0
..... system 1..1uriThe namespace for the identifier value
..... value 1..1stringThe 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..1Reference(CID10 Avaliado)Health issues this plan addresses
.... reference 1..1stringLiteral reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
.... display 0..0
... supportingInfo 0..0
... goal 0..0
... activity 1..1BackboneElementAction to occur as part of plan
.... id 0..0
.... outcomeCodeableConcept 0..0
.... outcomeReference 0..0
.... progress 0..0
.... reference 0..0
.... detail 1..1BackboneElementIn-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..1codenot-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..1TimingWhen activity is to occur
...... event 1..1dateTimeData de início do afastamento
...... repeat 1..1ElementWhen the event is to occur
....... id 0..0
....... bounds[x] 0..0
....... count 1..1positiveIntTempo 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..1stringInformaçõ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

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanAtestado médico/odontológico
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeEstado do atestado.
Binding: Status do atestado (required): Estado do atestado.


Fixed Value: active
... category Σ1..1CodeableConceptTipo do atestado
Binding: Tipo de atestado (required): Tipo do atestado.


.... coding Σ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Identificação do Indivíduo
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringThe value that is unique
Example General: 123456
... addresses Σ0..1Reference(CID10 Avaliado)Health issues this plan addresses
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... activity C1..1BackboneElementAction to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... detail C1..1BackboneElementIn-line definition of activity
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status ?!1..1codenot-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..1TimingWhen activity is to occur
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... event Σ1..1dateTimeData de início do afastamento
...... repeat ΣC1..1ElementWhen 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
....... count Σ1..1positiveIntTempo de afastamento
..... description 0..1stringInformações adicionais

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanAtestado médico/odontológico
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeEstado do atestado.
Binding: Status do atestado (required): Estado do atestado.


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


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


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..1CodingCode defined by a terminology system
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ0..1stringRepresentation defined by the system
... subject Σ1..1Reference(http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuo-1.0)Identificação do Indivíduo
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... unidentifiedPatient S0..*(Complex)Dados do Indivíduo Não Identificado
URL: http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:gender S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"gender"
...... value[x] 1..1codeValue of extension
..... extension:birthYear S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"birthYear"
...... value[x] 1..1dateValue of extension
..... extension:reason S1..1ExtensionExtension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uri"reason"
...... value[x] 1..1CodeableConceptValue of extension
..... url 1..1uri"http://www.saude.gov.br/fhir/r4/StructureDefinition/BRIndividuoNaoIdentificado-1.0"
.... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringThe value that is unique
Example General: 123456
... addresses Σ0..1Reference(CID10 Avaliado)Health issues this plan addresses
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... activity C1..1BackboneElementAction to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... detail C1..1BackboneElementIn-line definition of activity
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status ?!1..1codenot-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..1TimingWhen activity is to occur
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... event Σ1..1dateTimeData de início do afastamento
...... repeat ΣC1..1ElementWhen 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..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... count Σ1..1positiveIntTempo de afastamento
..... description 0..1stringInformações adicionais

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
CarePlan.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
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 Value: 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