Guia de Implementação do Registro de Atendimento Clínico (RAC) da RNDS
0.1.0 - CI Build
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
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CarePlan
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | 0..* | CarePlan | Atestado médico/odontológico | |
identifier | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
basedOn | 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..* | 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 | |||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
CarePlan.status | required | Fixed Value: activehttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado from this IG | |
CarePlan.intent | required | Fixed Value: planhttp://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado from this IG | |
CarePlan.category | required | BRTipoAtestadohttp://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado from this IG | |
CarePlan.activity.detail.status | required | Fixed Value: unknownhttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado from this IG |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | 0..* | CarePlan | Atestado médico/odontológico | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
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. |
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 |
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..* | 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" | |
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 |
addresses | Σ | 0..1 | Reference(CID10 Avaliado) | Health issues this plan addresses |
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 |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
detail | C | 1..1 | BackboneElement | In-line definition of activity |
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 | |
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 |
count | Σ | 1..1 | positiveInt | Tempo de afastamento |
description | 0..1 | string | Informações adicionais | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
CarePlan.status | required | Fixed Value: activehttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado from this IG | |
CarePlan.intent | required | Fixed Value: planhttp://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado from this IG | |
CarePlan.category | required | BRTipoAtestadohttp://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado from this IG | |
CarePlan.activity.detail.status | required | Fixed Value: unknownhttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado from this IG |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
tim-1 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a duration, there needs to be duration units : duration.empty() or durationUnit.exists() | |
tim-2 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a period, there needs to be period units : period.empty() or periodUnit.exists() | |
tim-4 | error | CarePlan.activity.detail.scheduled[x].repeat | duration SHALL be a non-negative value : duration.exists() implies duration >= 0 | |
tim-5 | error | CarePlan.activity.detail.scheduled[x].repeat | period SHALL be a non-negative value : period.exists() implies period >= 0 | |
tim-6 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a periodMax, there must be a period : periodMax.empty() or period.exists() | |
tim-7 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a durationMax, there must be a duration : durationMax.empty() or duration.exists() | |
tim-8 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a countMax, there must be a count : countMax.empty() or count.exists() | |
tim-9 | error | CarePlan.activity.detail.scheduled[x].repeat | If 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-10 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a timeOfDay, there cannot be a when, or vice versa : timeOfDay.empty() or when.empty() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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..* | 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 | |||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
CarePlan.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
CarePlan.status | required | Fixed Value: activehttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado from this IG | ||||
CarePlan.intent | required | Fixed Value: planhttp://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado from this IG | ||||
CarePlan.category | required | BRTipoAtestadohttp://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado from this IG | ||||
CarePlan.activity.detail.status | required | Fixed Value: unknownhttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado from this IG |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
tim-1 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a duration, there needs to be duration units : duration.empty() or durationUnit.exists() | |
tim-2 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a period, there needs to be period units : period.empty() or periodUnit.exists() | |
tim-4 | error | CarePlan.activity.detail.scheduled[x].repeat | duration SHALL be a non-negative value : duration.exists() implies duration >= 0 | |
tim-5 | error | CarePlan.activity.detail.scheduled[x].repeat | period SHALL be a non-negative value : period.exists() implies period >= 0 | |
tim-6 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a periodMax, there must be a period : periodMax.empty() or period.exists() | |
tim-7 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a durationMax, there must be a duration : durationMax.empty() or duration.exists() | |
tim-8 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a countMax, there must be a count : countMax.empty() or count.exists() | |
tim-9 | error | CarePlan.activity.detail.scheduled[x].repeat | If 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-10 | error | CarePlan.activity.detail.scheduled[x].repeat | If 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
Differential View
This structure is derived from CarePlan
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | 0..* | CarePlan | Atestado médico/odontológico | |
identifier | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
basedOn | 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..* | 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 | |||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
CarePlan.status | required | Fixed Value: activehttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado from this IG | |
CarePlan.intent | required | Fixed Value: planhttp://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado from this IG | |
CarePlan.category | required | BRTipoAtestadohttp://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado from this IG | |
CarePlan.activity.detail.status | required | Fixed Value: unknownhttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado from this IG |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | 0..* | CarePlan | Atestado médico/odontológico | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
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. |
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 |
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..* | 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" | |
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 |
addresses | Σ | 0..1 | Reference(CID10 Avaliado) | Health issues this plan addresses |
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 |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
detail | C | 1..1 | BackboneElement | In-line definition of activity |
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 | |
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 |
count | Σ | 1..1 | positiveInt | Tempo de afastamento |
description | 0..1 | string | Informações adicionais | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
CarePlan.status | required | Fixed Value: activehttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado from this IG | |
CarePlan.intent | required | Fixed Value: planhttp://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado from this IG | |
CarePlan.category | required | BRTipoAtestadohttp://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado from this IG | |
CarePlan.activity.detail.status | required | Fixed Value: unknownhttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado from this IG |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
tim-1 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a duration, there needs to be duration units : duration.empty() or durationUnit.exists() | |
tim-2 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a period, there needs to be period units : period.empty() or periodUnit.exists() | |
tim-4 | error | CarePlan.activity.detail.scheduled[x].repeat | duration SHALL be a non-negative value : duration.exists() implies duration >= 0 | |
tim-5 | error | CarePlan.activity.detail.scheduled[x].repeat | period SHALL be a non-negative value : period.exists() implies period >= 0 | |
tim-6 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a periodMax, there must be a period : periodMax.empty() or period.exists() | |
tim-7 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a durationMax, there must be a duration : durationMax.empty() or duration.exists() | |
tim-8 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a countMax, there must be a count : countMax.empty() or count.exists() | |
tim-9 | error | CarePlan.activity.detail.scheduled[x].repeat | If 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-10 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a timeOfDay, there cannot be a when, or vice versa : timeOfDay.empty() or when.empty() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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..* | 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 | |||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
CarePlan.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
CarePlan.status | required | Fixed Value: activehttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAtestado from this IG | ||||
CarePlan.intent | required | Fixed Value: planhttp://www.saude.gov.br/fhir/r4/ValueSet/BRIntencaoAtestado from this IG | ||||
CarePlan.category | required | BRTipoAtestadohttp://www.saude.gov.br/fhir/r4/ValueSet/BRTipoAtestado from this IG | ||||
CarePlan.activity.detail.status | required | Fixed Value: unknownhttp://www.saude.gov.br/fhir/r4/ValueSet/BREstadoAfastamentoAtestado from this IG |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
tim-1 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a duration, there needs to be duration units : duration.empty() or durationUnit.exists() | |
tim-2 | error | CarePlan.activity.detail.scheduled[x].repeat | if there's a period, there needs to be period units : period.empty() or periodUnit.exists() | |
tim-4 | error | CarePlan.activity.detail.scheduled[x].repeat | duration SHALL be a non-negative value : duration.exists() implies duration >= 0 | |
tim-5 | error | CarePlan.activity.detail.scheduled[x].repeat | period SHALL be a non-negative value : period.exists() implies period >= 0 | |
tim-6 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a periodMax, there must be a period : periodMax.empty() or period.exists() | |
tim-7 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a durationMax, there must be a duration : durationMax.empty() or duration.exists() | |
tim-8 | error | CarePlan.activity.detail.scheduled[x].repeat | If there's a countMax, there must be a count : countMax.empty() or count.exists() | |
tim-9 | error | CarePlan.activity.detail.scheduled[x].repeat | If 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-10 | error | CarePlan.activity.detail.scheduled[x].repeat | If 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