br-core-careplan
type: StructureDefinition
node role: treeRoot
id:
  v: br-core-careplan
text:
  status:
    v: extensions
  div: Narrativa gerada: StructureDefinition br-core-careplan Nome Bandeiras Card. Tipo Descrição e condicionalismos<img src="[binary]" alt="doco" style="background-color: inherit"/> CarePlan CarePlan #xD; id 0..1 id Identificador lógico deste artefato #xD; meta 0..1 Meta Metadados sobre o recurso #xD; implicitRules 0..1 uri Um conjunto de regras sob as quais este conteúdo foi criado #xD; language 0..1 code Idioma do recurso #xD; text 0..1 Narrative Resumo do texto do recurso em linguagem natural #xD; contained 0..* Resource Recursos contidos no recurso #xD; extension 0..* Extension Extensões adicionais que não fazem parte do modelo base #xD; modifierExtension 0..* Extension Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas #xD; identifier 0..* Identifier Identificadores externos para este recurso #xD; instantiatesCanonical 0..* canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) Instância o protocolo ou definição FHIR #xD; instantiatesUri 0..* uri uri da instância do protocolo ou definição FHIR #xD; basedOn 0..* Reference(BRCoreCarePlan) De acordo com o Plano de Cuidado #xD; replaces 0..* Reference(BRCoreCarePlan) Plano de Cuidado substituído por este Plano de Cuidado #xD; partOf 0..* Reference(BRCoreCarePlan) Parte do Plano de Cuidado referenciado #xD; status 1..1 code O status desse Plano de Cuidado: draft | active | on-hold | revoked | completed | entered-in-error | unknown #xD; intent 1..1 code Propósito do Plano de Cuidado definido: proposal | plan | order | option #xD; category 0..* CodeableConcept Tipo de Plano de Cuidado #xD; title 0..1 string Nome do Plano de Cuidado #xD; description 1..1 string Descrição do Plano de Cuidado #xD; subject 1..1 Reference(BRCorePatient) Paciente referenciado pelo Plano de Cuidado #xD; encounter 0..1 Reference(br-core-encounter) Atendimento referenciado pelo Plano de Cuidado #xD; period 0..1 Period O período de tempo que o Plano de Cuidado abrange #xD; created 0..1…
url:
  v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
version:
  v: 1.0.0
name:
  v: BRCoreCarePlan
status:
  v: active
date:
  v: 2026-01-14T12:59:48+00:00
publisher:
  v: Ministério do Saúde do Brasil
contact:
  name:
    v: Ministério do Saúde do Brasil
  telecom:
    system:
      v: url
    value:
      v: https://gov.br/saude
  telecom:
    system:
      v: email
contact:
  name:
    v: Italo Macedo
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Este perfil restringe o recurso [CarePlan](https://hl7.org/fhir/R4/careplan.html) que descreve a intenção de como um ou mais profissionais pretendem prestar cuidados a um determinado paciente, grupo ou comunidade por um período de tempo, possivelmente limitado ao cuidado de uma condição específica ou conjunto de condições
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: BR
    display:
      v: Brazil
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
  name:
    v: HL7 v2 Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: CarePlan
base definition:
  v: http://hl7.org/fhir/StructureDefinition/CarePlan
  link: http://hl7.org/fhir/StructureDefinition/CarePlan
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: CarePlan
    path:
      v: CarePlan
    short:
      v: Healthcare plan for patient or group
    definition:
      v: Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.
    alias:
      v: Care Team
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: CarePlan
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: 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()
      xpath:
        v: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      extension:
        value: boolean
      extension:
        value: markdown
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management
      expression:
        v: text.`div`.exists()
      xpath:
        v: exists(f:text/h:div)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act
    mapping:
      identity:
        v: workflow

boolean
v: true

markdown
v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.

v: Request

identity:
  v: rim
map:
  v: Act[classCode=PCPR, moodCode=INT]

id:
  v: CarePlan.id
path:
  v: CarePlan.id
short:
  v: Identificador lógico deste artefato
definition:
  v: Identificador lógico deste artefato
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.meta
path:
  v: CarePlan.meta
short:
  v: Metadados sobre o recurso
definition:
  v: Metadados sobre o recurso
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.implicitRules
path:
  v: CarePlan.implicitRules
short:
  v: Um conjunto de regras sob as quais este conteúdo foi criado
definition:
  v: Um conjunto de regras sob as quais este conteúdo foi criado
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
is summary:
  v: true

id:
  v: CarePlan.language
path:
  v: CarePlan.language
short:
  v: Idioma do recurso
definition:
  v: Idioma do recurso
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    value: canonical
      v: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages
    link: http://hl7.org/fhir/ValueSet/languages

id:
  v: CarePlan.text
path:
  v: CarePlan.text
short:
  v: Resumo do texto do recurso em linguagem natural
definition:
  v: Resumo do texto do recurso em linguagem natural
comment:
  v: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: CarePlan.contained
path:
  v: CarePlan.contained
short:
  v: Recursos contidos no recurso
definition:
  v: Recursos contidos no recurso
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.extension
path:
  v: CarePlan.extension
short:
  v: Extensões adicionais que não fazem parte do modelo base
definition:
  v: Extensões adicionais que não fazem parte do modelo base
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: CarePlan.modifierExtension
path:
  v: CarePlan.modifierExtension
short:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
definition:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false

id:
  v: CarePlan.identifier
path:
  v: CarePlan.identifier
short:
  v: Identificadores externos para este recurso
definition:
  v: Identificadores externos para este recurso
comment:
  v: This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.
requirements:
  v: Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PTH-3
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: CarePlan.instantiatesCanonical
path:
  v: CarePlan.instantiatesCanonical
short:
  v: Instância o protocolo ou definição FHIR
definition:
  v: Instância o protocolo ou definição FHIR
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.instantiatesCanonical
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Questionnaire
    link: http://hl7.org/fhir/StructureDefinition/Questionnaire
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Measure
    link: http://hl7.org/fhir/StructureDefinition/Measure
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    link: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesCanonical
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.instantiatesUri
path:
  v: CarePlan.instantiatesUri
short:
  v: uri da instância do protocolo ou definição FHIR
definition:
  v: uri da instância do protocolo ou definição FHIR
comment:
  v: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.instantiatesUri
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesUri
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.basedOn
path:
  v: CarePlan.basedOn
short:
  v: De acordo com o Plano de Cuidado
definition:
  v: De acordo com o Plano de Cuidado
requirements:
  v: Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.
alias:
  v: fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.basedOn
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    value: boolean
      v: true
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.basedOn

id:
  v: CarePlan.replaces
path:
  v: CarePlan.replaces
short:
  v: Plano de Cuidado substituído por este Plano de Cuidado
definition:
  v: Plano de Cuidado substituído por este Plano de Cuidado
comment:
  v: The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.
requirements:
  v: Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.
alias:
  v: supersedes
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.replaces
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    value: boolean
      v: true
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.replaces

id:
  v: CarePlan.partOf
path:
  v: CarePlan.partOf
short:
  v: Parte do Plano de Cuidado referenciado
definition:
  v: Parte do Plano de Cuidado referenciado
comment:
  v: Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses. As such, this element is still being discussed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.partOf
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    value: boolean
      v: true
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.status
path:
  v: CarePlan.status
short:
  v: O status desse Plano de Cuidado: draft | active | on-hold | revoked | completed | entered-in-error | unknown
definition:
  v: O status desse Plano de Cuidado: draft | active | on-hold | revoked | completed | entered-in-error | unknown
comment:
  v: The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan. This element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.
requirements:
  v: Allows clinicians to determine whether the plan is actionable or not.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanStatus
  strength:
    v: required
  description:
    v: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Request.status {uses different ValueSet}
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: PTH-5
mapping:
  identity:
    v: rim
  map:
    v: .statusCode planned = new active = active completed = completed

id:
  v: CarePlan.intent
path:
  v: CarePlan.intent
short:
  v: Propósito do Plano de Cuidado definido: proposal | plan | order | option
definition:
  v: Propósito do Plano de Cuidado definido: proposal | plan | order | option
comment:
  v: This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.
requirements:
  v: Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.intent
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element changes the interpretation of all descriptive attributes. For example "the time the request is recommended to occur" vs. "the time the request is authorized to occur" or "who is recommended to perform the request" vs. "who is authorized to perform the request"
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanIntent
  strength:
    v: required
  description:
    v: Codes indicating the degree of authority/intentionality associated with a care plan.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Request.intent

id:
  v: CarePlan.category
path:
  v: CarePlan.category
short:
  v: Tipo de Plano de Cuidado
definition:
  v: Tipo de Plano de Cuidado
comment:
  v: There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.
requirements:
  v: Used for filtering what plan(s) are retrieved and displayed to different types of users.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanCategory
  strength:
    v: example
  description:
    v: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-category
    link: http://hl7.org/fhir/ValueSet/care-plan-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class

id:
  v: CarePlan.title
path:
  v: CarePlan.title
short:
  v: Nome do Plano de Cuidado
definition:
  v: Nome do Plano de Cuidado
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.description
path:
  v: CarePlan.description
short:
  v: Descrição do Plano de Cuidado
definition:
  v: Descrição do Plano de Cuidado
requirements:
  v: Provides more detail than conveyed by category.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]

id:
  v: CarePlan.subject
path:
  v: CarePlan.subject
short:
  v: Paciente referenciado pelo Plano de Cuidado
definition:
  v: Paciente referenciado pelo Plano de Cuidado
alias:
  v: patient
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: v2
  map:
    v: PID-3
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PAT].role[classCode=PAT]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: CarePlan.encounter
path:
  v: CarePlan.encounter
short:
  v: Atendimento referenciado pelo Plano de Cuidado
definition:
  v: Atendimento referenciado pelo Plano de Cuidado
comment:
  v: This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.context
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: v2
  map:
    v: Associated PV1
mapping:
  identity:
    v: rim
  map:
    v: .

id:
  v: CarePlan.period
path:
  v: CarePlan.period
short:
  v: O período de tempo que o Plano de Cuidado abrange
definition:
  v: O período de tempo que o Plano de Cuidado abrange
comment:
  v: Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).
requirements:
  v: Allows tracking what plan(s) are in effect at a particular time.
alias:
  v: timing
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.planned
mapping:
  identity:
    v: v2
  map:
    v: GOL-7 / GOL-8
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: CarePlan.created
path:
  v: CarePlan.created
short:
  v: Data de criação do Plano de Cuidado
definition:
  v: Data de criação do Plano de Cuidado
alias:
  v: authoredOn
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.created
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.authoredOn
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time

id:
  v: CarePlan.author
path:
  v: CarePlan.author
short:
  v: Autoria do Plano de Cuidado
definition:
  v: Autoria do Plano de Cuidado
comment:
  v: The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.author
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.requester
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.author

id:
  v: CarePlan.contributor
path:
  v: CarePlan.contributor
short:
  v: Colaboradores na definição do Plano de Cuidado
definition:
  v: Colaboradores na definição do Plano de Cuidado
comment:
  v: Collaborative care plans may have multiple contributors.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.contributor
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false

id:
  v: CarePlan.careTeam
path:
  v: CarePlan.careTeam
short:
  v: Equipe assistêncial envolvida no Plano de Cuidado
definition:
  v: Equipe assistêncial envolvida no Plano de Cuidado
requirements:
  v: Allows representation of care teams, helps scope care plan. In some cases may be a determiner of access permissions.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.careTeam
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer {similar but does not entail CareTeam}
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor

id:
  v: CarePlan.addresses
path:
  v: CarePlan.addresses
short:
  v: Problemas de saúde referenciado neste Plano de Cuidado
definition:
  v: Problemas de saúde referenciado neste Plano de Cuidado
comment:
  v: When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.
requirements:
  v: Links plan to the conditions it manages. The element can identify risks addressed by the plan as well as active conditions. (The Condition resource can include things like "at risk for hypertension" or "fall risk".) Also scopes plans - multiple plans may exist addressing different concerns.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.addresses
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.reasonReference
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: v2
  map:
    v: PRB-4
mapping:
  identity:
    v: rim
  map:
    v: .actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]

id:
  v: CarePlan.supportingInfo
path:
  v: CarePlan.supportingInfo
short:
  v: Informações adicionais do Plano de Cuidado
definition:
  v: Informações adicionais do Plano de Cuidado
comment:
  v: Use "concern" to identify specific conditions addressed by the care plan.
requirements:
  v: Identifies barriers and other considerations associated with the care plan.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.supportingInfo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.supportingInfo

id:
  v: CarePlan.goal
path:
  v: CarePlan.goal
short:
  v: Resultado esperado do Plano de Cuidado
definition:
  v: Resultado esperado do Plano de Cuidado
comment:
  v: Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.
requirements:
  v: Provides context for plan. Allows plan effectiveness to be evaluated by clinicians.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.goal
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Goal
    link: http://hl7.org/fhir/StructureDefinition/Goal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: GOL.1
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode<=OBJ].

id:
  v: CarePlan.activity
path:
  v: CarePlan.activity
short:
  v: Atividade parte do Plano de Cuidado
definition:
  v: Atividade parte do Plano de Cuidado
requirements:
  v: Allows systems to prompt for performance of planned activities, and validate plans against best practice.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.activity
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: cpl-3
  severity:
    v: error
  human:
    v: Provide a reference or detail, not both
  expression:
    v: detail.empty() or reference.empty()
  xpath:
    v: not(exists(f:detail)) or not(exists(f:reference))
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: {no mapping NOTE: This is a list of contained Request-Event tuples!}
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target

id:
  v: CarePlan.activity.id
path:
  v: CarePlan.activity.id
representation:
  v: xmlAttr
short:
  v: Identificador único para referência cruzada
definition:
  v: Identificador único para referência cruzada
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.extension
path:
  v: CarePlan.activity.extension
short:
  v: Extensões adicionais que não fazem parte do modelo de dados básico
definition:
  v: Extensões adicionais que não fazem parte do modelo de dados básico
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: CarePlan.activity.modifierExtension
path:
  v: CarePlan.activity.modifierExtension
short:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
definition:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true

id:
  v: CarePlan.activity.outcomeCodeableConcept
path:
  v: CarePlan.activity.outcomeCodeableConcept
short:
  v: Resultados da atividade
definition:
  v: Resultados da atividade
comment:
  v: Note that this should not duplicate the activity status (e.g. completed or in progress).
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.outcomeCodeableConcept
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanActivityOutcome
  strength:
    v: example
  description:
    v: Identifies the results of the activity.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-activity-outcome
    link: http://hl7.org/fhir/ValueSet/care-plan-activity-outcome

id:
  v: CarePlan.activity.outcomeReference
path:
  v: CarePlan.activity.outcomeReference
short:
  v: Referência à 'Appointment', 'Encounter', 'Procedure', etc
definition:
  v: Referência à 'Appointment', 'Encounter', 'Procedure', etc
comment:
  v: The activity outcome is independent of the outcome of the related goal(s). For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.
requirements:
  v: Links plan to resulting actions.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.outcomeReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: {Event that is outcome of Request in activity.reference}
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=FLFS].source

id:
  v: CarePlan.activity.progress
path:
  v: CarePlan.activity.progress
short:
  v: Comentários sobre o status/progresso da atividade
definition:
  v: Comentários sobre o status/progresso da atividade
comment:
  v: This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.
requirements:
  v: Can be used to capture information about adherence, progress, concerns, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.progress
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: NTE?
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

id:
  v: CarePlan.activity.reference
path:
  v: CarePlan.activity.reference
short:
  v: Detalhes da atividade definidos em recursos específicos
definition:
  v: Detalhes da atividade definidos em recursos específicos
comment:
  v: Standard extension exists ([resource-pertainsToGoal](http://hl7.org/fhir/R4/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. The goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan. Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the "basedOn" element. i.e. Requests that are part of a CarePlan are not "based on" the CarePlan.
requirements:
  v: Details in a form consistent with other applications and contexts of use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Appointment
    link: http://hl7.org/fhir/StructureDefinition/Appointment
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
    link: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
    link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionOrder
    link: http://hl7.org/fhir/StructureDefinition/NutritionOrder
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Task
    link: http://hl7.org/fhir/StructureDefinition/Task
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/VisionPrescription
    link: http://hl7.org/fhir/StructureDefinition/VisionPrescription
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RequestGroup
    link: http://hl7.org/fhir/StructureDefinition/RequestGroup
condition:
  v: cpl-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: {Request that resulted in Event in activity.actionResulting}
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target

id:
  v: CarePlan.activity.detail
path:
  v: CarePlan.activity.detail
short:
  v: Definição da atividade
definition:
  v: Definição da atividade
requirements:
  v: Details in a simple form for generic care plan systems.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
condition:
  v: cpl-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target

id:
  v: CarePlan.activity.detail.id
path:
  v: CarePlan.activity.detail.id
representation:
  v: xmlAttr
short:
  v: Identificador único para referência cruzada
definition:
  v: Identificador único para referência cruzada
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.extension
path:
  v: CarePlan.activity.detail.extension
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.modifierExtension
path:
  v: CarePlan.activity.detail.modifierExtension
short:
  v: Extensões que não podem ser ignoradas
definition:
  v: Extensões que não podem ser ignoradas
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true

id:
  v: CarePlan.activity.detail.kind
path:
  v: CarePlan.activity.detail.kind
short:
  v: Tipos de recursos definidos como parte do FHIR que podem ser representados como definições em conformidade de uma atividade do Plano de Cuidados
definition:
  v: Tipos de recursos definidos como parte do FHIR que podem ser representados como definições em conformidade de uma atividade do Plano de Cuidados
requirements:
  v: May determine what types of extensions are permitted.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.kind
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanActivityKind
  strength:
    v: required
  description:
    v: Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=LIST].code

id:
  v: CarePlan.activity.detail.instantiatesCanonical
path:
  v: CarePlan.activity.detail.instantiatesCanonical
short:
  v: Instância o protocolo ou definição FHIR
definition:
  v: Instância o protocolo ou definição FHIR
requirements:
  v: Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.instantiatesCanonical
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    link: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Questionnaire
    link: http://hl7.org/fhir/StructureDefinition/Questionnaire
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Measure
    link: http://hl7.org/fhir/StructureDefinition/Measure
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesCanonical
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.activity.detail.instantiatesUri
path:
  v: CarePlan.activity.detail.instantiatesUri
short:
  v: Instância protocolo externo ou definição
definition:
  v: Instância protocolo externo ou definição
comment:
  v: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
requirements:
  v: Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.instantiatesUri
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesUri
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.activity.detail.code
path:
  v: CarePlan.activity.detail.code
short:
  v: Código da atividade
definition:
  v: Código da atividade
comment:
  v: Tends to be less relevant for activities involving particular products. Codes should not convey negation - use "prohibited" instead.
requirements:
  v: Allows matching performed to planned as well as validation against protocols.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: https://terminologia.saude.gov.br/fhir/ValueSet/BRSubgrupoTabelaSUS
    link: https://terminologia.saude.gov.br/fhir/ValueSet/BRSubgrupoTabelaSUS
mapping:
  identity:
    v: workflow
  map:
    v: Request.code
mapping:
  identity:
    v: v2
  map:
    v: OBR-4 / RXE-2 / RXO-1 / RXD-2
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: CarePlan.activity.detail.reasonCode
path:
  v: CarePlan.activity.detail.reasonCode
short:
  v: Por quê a atividade deve ser feita ou por quê a atividade foi proibida
definition:
  v: Por quê a atividade deve ser feita ou por quê a atividade foi proibida
comment:
  v: This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.reasonCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanActivityReason
  strength:
    v: example
  description:
    v: Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as "general wellness", prophylaxis, surgical preparation, etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/clinical-findings
    link: http://hl7.org/fhir/ValueSet/clinical-findings
mapping:
  identity:
    v: workflow
  map:
    v: Request.reasonCode

id:
  v: CarePlan.activity.detail.reasonReference
path:
  v: CarePlan.activity.detail.reasonReference
short:
  v: Por quê a atividade é necessária
definition:
  v: Por quê a atividade é necessária
comment:
  v: Conditions can be identified at the activity level that are not identified as reasons for the overall plan.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    link: http://hl7.org/fhir/StructureDefinition/Condition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    link: http://hl7.org/fhir/StructureDefinition/Observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
    link: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    link: http://hl7.org/fhir/StructureDefinition/DocumentReference
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.reasonReference

id:
  v: CarePlan.activity.detail.goal
path:
  v: CarePlan.activity.detail.goal
short:
  v: Objetivos da atividade
definition:
  v: Objetivos da atividade
requirements:
  v: So that participants know the link explicitly.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.goal
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Goal
    link: http://hl7.org/fhir/StructureDefinition/Goal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode<=OBJ].

id:
  v: CarePlan.activity.detail.status
path:
  v: CarePlan.activity.detail.status
short:
  v: Código que reflete o estado atual de uma atividade do Planos de Cuidado
definition:
  v: Código que reflete o estado atual de uma atividade do Planos de Cuidado
comment:
  v: Some aspects of status can be inferred based on the resources linked in actionTaken. Note that "status" is only as current as the plan was most recently updated. The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.
requirements:
  v: Indicates progress against the plan, whether the activity is still relevant for the plan.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanActivityStatus
  strength:
    v: required
  description:
    v: Codes that reflect the current state of a care plan activity within its overall life cycle.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Request.status
mapping:
  identity:
    v: v2
  map:
    v: ORC-5?
mapping:
  identity:
    v: rim
  map:
    v: .statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted

id:
  v: CarePlan.activity.detail.statusReason
path:
  v: CarePlan.activity.detail.statusReason
short:
  v: Motivo do status atual
definition:
  v: Motivo do status atual
comment:
  v: Will generally not be present if status is "complete". Be sure to prompt to update this (or at least remove the existing value) if the status is changed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.statusReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.statusReason

id:
  v: CarePlan.activity.detail.doNotPerform
path:
  v: CarePlan.activity.detail.doNotPerform
short:
  v: Se for verdade, a atividade não deve ser realizada
definition:
  v: Se for verdade, a atividade não deve ser realizada
comment:
  v: This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.
requirements:
  v: Captures intention to not do something that may have been previously typical.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.doNotPerform
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
meaning when missing:
  v: If missing indicates that the described activity is one that should be engaged in when following the plan.
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.doNotPerform
mapping:
  identity:
    v: rim
  map:
    v: actionNegationInd

id:
  v: CarePlan.activity.detail.scheduled[x]
path:
  v: CarePlan.activity.detail.scheduled[x]
short:
  v: Quando a atividade deve ocorrer
definition:
  v: Quando a atividade deve ocorrer
requirements:
  v: Allows prompting for activities and detection of missed planned activities.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.scheduled[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Timing
type:
  code:
    v: Period
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: v2
  map:
    v: TQ1
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: CarePlan.activity.detail.location
path:
  v: CarePlan.activity.detail.location
short:
  v: Onde a atividade deve ocorrer
definition:
  v: Onde a atividade deve ocorrer
comment:
  v: May reference a specific clinical location or may identify a type of location.
requirements:
  v: Helps in planning of activity.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    link: http://hl7.org/fhir/StructureDefinition/Location
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBR-24(???!!)
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: CarePlan.activity.detail.performer
path:
  v: CarePlan.activity.detail.performer
short:
  v: Responsável pela atividade
definition:
  v: Responsável pela atividade
comment:
  v: A performer MAY also be a participant in the care plan.
requirements:
  v: Helps in planning of activity.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    link: http://hl7.org/fhir/StructureDefinition/HealthcareService
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: v2
  map:
    v: PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM]

id:
  v: CarePlan.activity.detail.product[x]
path:
  v: CarePlan.activity.detail.product[x]
short:
  v: O que deve ser administrado/fornecido
definition:
  v: O que deve ser administrado/fornecido
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.product[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    link: http://hl7.org/fhir/StructureDefinition/Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    link: http://hl7.org/fhir/StructureDefinition/Substance
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CarePlanProduct
  strength:
    v: example
  description:
    v: A product supplied or administered as part of a care plan activity.
  value set:
    v: http://hl7.org/fhir/ValueSet/medication-codes
    link: http://hl7.org/fhir/ValueSet/medication-codes
mapping:
  identity:
    v: v2
  map:
    v: RXE-2 / RXO-1 / RXD-2
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRD].role

id:
  v: CarePlan.activity.detail.dailyAmount
path:
  v: CarePlan.activity.detail.dailyAmount
short:
  v: Quantidade diária a ser consumida/fornecida/administrada
definition:
  v: Quantidade diária a ser consumida/fornecida/administrada
requirements:
  v: Allows rough dose checking.
alias:
  v: daily dose
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.dailyAmount
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: RXO-23 / RXE-19 / RXD-12
mapping:
  identity:
    v: rim

id:
  v: CarePlan.activity.detail.quantity
path:
  v: CarePlan.activity.detail.quantity
short:
  v: Quantidade a ser consumida/fornecida/administrada
definition:
  v: Quantidade a ser consumida/fornecida/administrada
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.quantity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2
mapping:
  identity:
    v: rim

id:
  v: CarePlan.activity.detail.description
path:
  v: CarePlan.activity.detail.description
short:
  v: Descrição da atividade a ser realizada
definition:
  v: Descrição da atividade a ser realizada
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: NTE?
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: CarePlan.note
path:
  v: CarePlan.note
short:
  v: Comentários sobre o Planos de Cuidado
definition:
  v: Comentários sobre o Planos de Cuidado
requirements:
  v: Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.note
mapping:
  identity:
    v: v2
  map:
    v: NTE?
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

element:
  id:
    v: CarePlan.id
  path:
    v: CarePlan.id
  short:
    v: Identificador lógico deste artefato
  definition:
    v: Identificador lógico deste artefato
element:
  id:
    v: CarePlan.meta
  path:
    v: CarePlan.meta
  short:
    v: Metadados sobre o recurso
  definition:
    v: Metadados sobre o recurso
element:
  id:
    v: CarePlan.implicitRules
  path:
    v: CarePlan.implicitRules
  short:
    v: Um conjunto de regras sob as quais este conteúdo foi criado
  definition:
    v: Um conjunto de regras sob as quais este conteúdo foi criado
element:
  id:
    v: CarePlan.language
  path:
    v: CarePlan.language
  short:
    v: Idioma do recurso
  definition:
    v: Idioma do recurso
element:
  id:
    v: CarePlan.text
  path:
    v: CarePlan.text
  short:
    v: Resumo do texto do recurso em linguagem natural
  definition:
    v: Resumo do texto do recurso em linguagem natural
element:
  id:
    v: CarePlan.contained
  path:
    v: CarePlan.contained
  short:
    v: Recursos contidos no recurso
  definition:
    v: Recursos contidos no recurso
element:
  id:
    v: CarePlan.extension
  path:
    v: CarePlan.extension
  short:
    v: Extensões adicionais que não fazem parte do modelo base
  definition:
    v: Extensões adicionais que não fazem parte do modelo base
element:
  id:
    v: CarePlan.modifierExtension
  path:
    v: CarePlan.modifierExtension
  short:
    v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
  definition:
    v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
element:
  id:
    v: CarePlan.identifier
  path:
    v: CarePlan.identifier
  short:
    v: Identificadores externos para este recurso
  definition:
    v: Identificadores externos para este recurso
element:
  id:
    v: CarePlan.instantiatesCanonical
  path:
    v: CarePlan.instantiatesCanonical
  short:
    v: Instância o protocolo ou definição FHIR
  definition:
    v: Instância o protocolo ou definição FHIR
element:
  id:
    v: CarePlan.instantiatesUri
  path:
    v: CarePlan.instantiatesUri
  short:
    v: uri da instância do protocolo ou definição FHIR
  definition:
    v: uri da instância do protocolo ou definição FHIR
element:
  id:
    v: CarePlan.basedOn
  path:
    v: CarePlan.basedOn
  short:
    v: De acordo com o Plano de Cuidado
  definition:
    v: De acordo com o Plano de Cuidado
  type:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
      value: boolean
        v: true
    code:
      v: Reference
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
element:
  id:
    v: CarePlan.replaces
  path:
    v: CarePlan.replaces
  short:
    v: Plano de Cuidado substituído por este Plano de Cuidado
  definition:
    v: Plano de Cuidado substituído por este Plano de Cuidado
  type:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
      value: boolean
        v: true
    code:
      v: Reference
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
element:
  id:
    v: CarePlan.partOf
  path:
    v: CarePlan.partOf
  short:
    v: Parte do Plano de Cuidado referenciado
  definition:
    v: Parte do Plano de Cuidado referenciado
  type:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
      value: boolean
        v: true
    code:
      v: Reference
    target profile:
      v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
      link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
element:
  id:
    v: CarePlan.status
  path:
    v: CarePlan.status
  short:
    v: O status desse Plano de Cuidado: draft | active | on-hold | revoked | completed | entered-in-error | unknown
  definition:
    v: O status desse Plano de Cuidado: draft | active | on-hold | revoked | completed | entered-in-error | unknown
element:
  id:
    v: CarePlan.intent
  path:
    v: CarePlan.intent
  short:
    v: Propósito do Plano de Cuidado definido: proposal | plan | order | option
  definition:
    v: Propósito do Plano de Cuidado definido: proposal | plan | order | option
element:
  id:
    v: CarePlan.category
  path:
    v: CarePlan.category
  short:
    v: Tipo de Plano de Cuidado
  definition:
    v: Tipo de Plano de Cuidado
element:
  id:
    v: CarePlan.title
  path:
    v: CarePlan.title
  short:
    v: Nome do Plano de Cuidado
  definition:
    v: Nome do Plano de Cuidado
element:
  id:
    v: CarePlan.description
  path:
    v: CarePlan.description
  short:
    v: Descrição do Plano de Cuidado

v: Descrição do Plano de Cuidado

v: 1

id:
  v: CarePlan.subject
path:
  v: CarePlan.subject
short:
  v: Paciente referenciado pelo Plano de Cuidado
definition:
  v: Paciente referenciado pelo Plano de Cuidado
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient

id:
  v: CarePlan.encounter
path:
  v: CarePlan.encounter
short:
  v: Atendimento referenciado pelo Plano de Cuidado
definition:
  v: Atendimento referenciado pelo Plano de Cuidado
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-encounter

id:
  v: CarePlan.period
path:
  v: CarePlan.period
short:
  v: O período de tempo que o Plano de Cuidado abrange
definition:
  v: O período de tempo que o Plano de Cuidado abrange

id:
  v: CarePlan.created
path:
  v: CarePlan.created
short:
  v: Data de criação do Plano de Cuidado
definition:
  v: Data de criação do Plano de Cuidado

id:
  v: CarePlan.author
path:
  v: CarePlan.author
short:
  v: Autoria do Plano de Cuidado
definition:
  v: Autoria do Plano de Cuidado
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam

id:
  v: CarePlan.contributor
path:
  v: CarePlan.contributor
short:
  v: Colaboradores na definição do Plano de Cuidado
definition:
  v: Colaboradores na definição do Plano de Cuidado
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitioner
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-practitionerrole
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-organization
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-patient
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-relatedperson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam

id:
  v: CarePlan.careTeam
path:
  v: CarePlan.careTeam
short:
  v: Equipe assistêncial envolvida no Plano de Cuidado
definition:
  v: Equipe assistêncial envolvida no Plano de Cuidado

id:
  v: CarePlan.addresses
path:
  v: CarePlan.addresses
short:
  v: Problemas de saúde referenciado neste Plano de Cuidado
definition:
  v: Problemas de saúde referenciado neste Plano de Cuidado
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-condition

id:
  v: CarePlan.supportingInfo
path:
  v: CarePlan.supportingInfo
short:
  v: Informações adicionais do Plano de Cuidado
definition:
  v: Informações adicionais do Plano de Cuidado

id:
  v: CarePlan.goal
path:
  v: CarePlan.goal
short:
  v: Resultado esperado do Plano de Cuidado
definition:
  v: Resultado esperado do Plano de Cuidado

id:
  v: CarePlan.activity
path:
  v: CarePlan.activity
short:
  v: Atividade parte do Plano de Cuidado
definition:
  v: Atividade parte do Plano de Cuidado
min:
  v: 1
max:
  v: 1

id:
  v: CarePlan.activity.id
path:
  v: CarePlan.activity.id
short:
  v: Identificador único para referência cruzada
definition:
  v: Identificador único para referência cruzada

id:
  v: CarePlan.activity.extension
path:
  v: CarePlan.activity.extension
short:
  v: Extensões adicionais que não fazem parte do modelo de dados básico
definition:
  v: Extensões adicionais que não fazem parte do modelo de dados básico

id:
  v: CarePlan.activity.modifierExtension
path:
  v: CarePlan.activity.modifierExtension
short:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas
definition:
  v: Extensões adicionais que não podem ser ignoradas, mesmo que não reconhecidas

id:
  v: CarePlan.activity.outcomeCodeableConcept
path:
  v: CarePlan.activity.outcomeCodeableConcept
short:
  v: Resultados da atividade
definition:
  v: Resultados da atividade

id:
  v: CarePlan.activity.outcomeReference
path:
  v: CarePlan.activity.outcomeReference
short:
  v: Referência à 'Appointment', 'Encounter', 'Procedure', etc
definition:
  v: Referência à 'Appointment', 'Encounter', 'Procedure', etc

id:
  v: CarePlan.activity.progress
path:
  v: CarePlan.activity.progress
short:
  v: Comentários sobre o status/progresso da atividade
definition:
  v: Comentários sobre o status/progresso da atividade

id:
  v: CarePlan.activity.reference
path:
  v: CarePlan.activity.reference
short:
  v: Detalhes da atividade definidos em recursos específicos
definition:
  v: Detalhes da atividade definidos em recursos específicos

id:
  v: CarePlan.activity.detail
path:
  v: CarePlan.activity.detail
short:
  v: Definição da atividade
definition:
  v: Definição da atividade
min:
  v: 1

id:
  v: CarePlan.activity.detail.id
path:
  v: CarePlan.activity.detail.id
short:
  v: Identificador único para referência cruzada
definition:
  v: Identificador único para referência cruzada

id:
  v: CarePlan.activity.detail.modifierExtension
path:
  v: CarePlan.activity.detail.modifierExtension
short:
  v: Extensões que não podem ser ignoradas
definition:
  v: Extensões que não podem ser ignoradas

id:
  v: CarePlan.activity.detail.kind
path:
  v: CarePlan.activity.detail.kind
short:
  v: Tipos de recursos definidos como parte do FHIR que podem ser representados como definições em conformidade de uma atividade do Plano de Cuidados
definition:
  v: Tipos de recursos definidos como parte do FHIR que podem ser representados como definições em conformidade de uma atividade do Plano de Cuidados

id:
  v: CarePlan.activity.detail.instantiatesCanonical
path:
  v: CarePlan.activity.detail.instantiatesCanonical
short:
  v: Instância o protocolo ou definição FHIR
definition:
  v: Instância o protocolo ou definição FHIR

id:
  v: CarePlan.activity.detail.instantiatesUri
path:
  v: CarePlan.activity.detail.instantiatesUri
short:
  v: Instância protocolo externo ou definição
definition:
  v: Instância protocolo externo ou definição

id:
  v: CarePlan.activity.detail.code
path:
  v: CarePlan.activity.detail.code
short:
  v: Código da atividade
definition:
  v: Código da atividade
binding:
  strength:
    v: required
  value set:
    v: https://terminologia.saude.gov.br/fhir/ValueSet/BRSubgrupoTabelaSUS
    link: https://terminologia.saude.gov.br/fhir/ValueSet/BRSubgrupoTabelaSUS

id:
  v: CarePlan.activity.detail.reasonCode
path:
  v: CarePlan.activity.detail.reasonCode
short:
  v: Por quê a atividade deve ser feita ou por quê a atividade foi proibida
definition:
  v: Por quê a atividade deve ser feita ou por quê a atividade foi proibida

id:
  v: CarePlan.activity.detail.reasonReference
path:
  v: CarePlan.activity.detail.reasonReference
short:
  v: Por quê a atividade é necessária
definition:
  v: Por quê a atividade é necessária

id:
  v: CarePlan.activity.detail.goal
path:
  v: CarePlan.activity.detail.goal
short:
  v: Objetivos da atividade
definition:
  v: Objetivos da atividade

id:
  v: CarePlan.activity.detail.status
path:
  v: CarePlan.activity.detail.status
short:
  v: Código que reflete o estado atual de uma atividade do Planos de Cuidado
definition:
  v: Código que reflete o estado atual de uma atividade do Planos de Cuidado

id:
  v: CarePlan.activity.detail.statusReason
path:
  v: CarePlan.activity.detail.statusReason
short:
  v: Motivo do status atual
definition:
  v: Motivo do status atual

id:
  v: CarePlan.activity.detail.doNotPerform
path:
  v: CarePlan.activity.detail.doNotPerform
short:
  v: Se for verdade, a atividade não deve ser realizada
definition:
  v: Se for verdade, a atividade não deve ser realizada

id:
  v: CarePlan.activity.detail.scheduled[x]
path:
  v: CarePlan.activity.detail.scheduled[x]
short:
  v: Quando a atividade deve ocorrer
definition:
  v: Quando a atividade deve ocorrer
min:
  v: 1

id:
  v: CarePlan.activity.detail.location
path:
  v: CarePlan.activity.detail.location
short:
  v: Onde a atividade deve ocorrer
definition:
  v: Onde a atividade deve ocorrer

id:
  v: CarePlan.activity.detail.performer
path:
  v: CarePlan.activity.detail.performer
short:
  v: Responsável pela atividade
definition:
  v: Responsável pela atividade

id:
  v: CarePlan.activity.detail.product[x]
path:
  v: CarePlan.activity.detail.product[x]
short:
  v: O que deve ser administrado/fornecido
definition:
  v: O que deve ser administrado/fornecido

id:
  v: CarePlan.activity.detail.dailyAmount
path:
  v: CarePlan.activity.detail.dailyAmount
short:
  v: Quantidade diária a ser consumida/fornecida/administrada
definition:
  v: Quantidade diária a ser consumida/fornecida/administrada

id:
  v: CarePlan.activity.detail.quantity
path:
  v: CarePlan.activity.detail.quantity
short:
  v: Quantidade a ser consumida/fornecida/administrada
definition:
  v: Quantidade a ser consumida/fornecida/administrada

id:
  v: CarePlan.activity.detail.description
path:
  v: CarePlan.activity.detail.description
short:
  v: Descrição da atividade a ser realizada
definition:
  v: Descrição da atividade a ser realizada
min:
  v: 1

id:
  v: CarePlan.note
path:
  v: CarePlan.note
short:
  v: Comentários sobre o Planos de Cuidado
definition:
  v: Comentários sobre o Planos de Cuidado