agrosus-plano-acompanhamento
type: StructureDefinition
node role: treeRoot
resource.id:
  value: agrosus-plano-acompanhamento
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Narrativa gerada: StructureDefinition agrosus-plano-acompanhamento Nome Bandeiras Card. Tipo Descrição e condicionalismos<img src="[binary]" alt="doco" style="background-color: inherit"/> CarePlan 0..* BRCoreCarePlan Healthcare plan for patient or group #xD; identifier S 1..1 Identifier Identificador único do plano de acompanhamento #xD; system 1..1 uri The namespace for the identifier value #xD; value 1..1 string The value that is unique #xD; instantiatesUri S 1..* uri Norma ou protocolo utilizado como referência para o plano #xD; status S 1..1 code Situação atual do plano #xD; intent S 1..1 code Intenção assistencial do plano #xD; category S 1..1 CodeableConcept Categoria do acompanhamento longitudinal Vínculo: Categorias de Plano de Cuidado AgroSUS (required) #xD; title S 1..1 string Título resumido do plano #xD; description S 1..1 string Descrição do acompanhamento definido #xD; subject S 1..1 Reference(Paciente AgroSUS) Paciente referenciado pelo Plano de Cuidado #xD; encounter S 1..1 Reference(Atendimento Clínico da UBS AgroSUS) Atendimento no qual o plano foi definido ou revisado #xD; period S 1..1 Period Período de vigência do plano #xD; created S 1..1 dateTime Data de criação do plano #xD; author S 1..1 Reference(Função do Profissional Assistencial da UBS AgroSUS) Profissional responsável pela definição da periodicidade #xD; contributor S 0..* Reference(Função do Profissional Assistencial da UBS AgroSUS | Unidade Básica de Saúde AgroSUS) Colaboradores na definição do Plano de Cuidado #xD; addresses S 1..1 Reference(Suspeita ou Confirmação de Intoxicação por Pesticida AgroSUS) Condição clínica acompanhada pelo plano #xD; supportingInfo S 0..* Reference(Resposta da Anamnese AgroSUS | Solicitação de Exame AgroSUS | Resultado Laboratorial AgroSUS | Laudo Laboratorial AgroSUS) Anamneses, solicitações e resultados considerados no planejamento #xD; activity S 1..1 BackboneElement Atividade parte do Plano de Cuidado #xD; outcomeCodeableConcept S 0..* CodeableConcep…
structure definition.url:
  value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-plano-acompanhamento
structure definition.version:
  value: 0.1.0
structure definition.name:
  value: AgroSUSPlanoAcompanhamento
structure definition.title:
  value: Plano de Acompanhamento AgroSUS
structure definition.status:
  value: draft
structure definition.date:
  value: 2026-07-27T16:20:32+00:00
structure definition.publisher:
  value: Fatec Ferraz de Vasconcelos
structure definition.contact:
  index: 0
  contact detail.name:
    value: Fatec Ferraz de Vasconcelos
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://www.fatecferraz.edu.br
structure definition.description:
  value: Plano longitudinal definido pela equipe assistencial da UBS para acompanhamento clínico e ocupacional do trabalhador rural.
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: BR
    coding.display:
      value: Brazil
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: workflow
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/workflow
  structure definition.mapping.name:
    value: Workflow Pattern
structure definition.mapping:
  index: 1
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.mapping:
  index: 2
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/fivews
  structure definition.mapping.name:
    value: FiveWs Pattern Mapping
structure definition.mapping:
  index: 3
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: CarePlan
structure definition.base definition:
  value: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
  link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 1.0.0
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: CarePlan
    element definition.path:
      value: CarePlan
    element definition.short:
      value: Healthcare plan for patient or group
    element definition.definition:
      value: 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.
    element definition.alias:
      value: Care Team
      index: 0
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: CarePlan
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: 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
      element definition.constraint.expression:
        value: 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()
      element definition.constraint.xpath:
        value: 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='#'])]))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: dom-4
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      element definition.constraint.expression:
        value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: dom-5
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a security label
      element definition.constraint.expression:
        value: contained.meta.security.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:security))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 4
      element.extension:
        index: 0
      element.extension:
        index: 1
      element definition.constraint.key:
        value: dom-6
      element definition.constraint.severity:
        value: warning
      element definition.constraint.human:
        value: A resource should have narrative for robust management
      element definition.constraint.expression:
        value: text.`div`.exists()
      element definition.constraint.xpath:
        value: exists(f:text/h:div)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.is modifier:
      value: false
    element definition.is summary:
      value: false

value: true

value: 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.

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Entity. Role, or Act

index: 1
element definition.mapping.identity:
  value: workflow
element definition.mapping.map:
  value: Request

index: 2
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Act[classCode=PCPR, moodCode=INT]

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

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

index: 3
element.id:
  value: CarePlan.implicitRules
element definition.path:
  value: CarePlan.implicitRules
element definition.short:
  value: Um conjunto de regras sob as quais este conteúdo foi criado
element definition.definition:
  value: Um conjunto de regras sob as quais este conteúdo foi criado
element definition.comment:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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
element definition.is summary:
  value: true

index: 4
element.id:
  value: CarePlan.language
element definition.path:
  value: CarePlan.language
element definition.short:
  value: Idioma do recurso
element definition.definition:
  value: Idioma do recurso
element definition.comment:
  value: 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).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value canonical:
      value: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/languages|4.0.1
    link: 4.0
    link: .1

index: 5
element.id:
  value: CarePlan.text
element definition.path:
  value: CarePlan.text
element definition.short:
  value: Resumo do texto do recurso em linguagem natural
element definition.definition:
  value: Resumo do texto do recurso em linguagem natural
element definition.comment:
  value: 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.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 6
element.id:
  value: CarePlan.contained
element definition.path:
  value: CarePlan.contained
element definition.short:
  value: Recursos contidos no recurso
element definition.definition:
  value: Recursos contidos no recurso
element definition.comment:
  value: 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.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

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

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

index: 9
element.id:
  value: CarePlan.identifier
element definition.path:
  value: CarePlan.identifier
element definition.short:
  value: Identificador único do plano de acompanhamento
element definition.definition:
  value: Identificadores externos para este recurso
element definition.comment:
  value: 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.
element definition.requirements:
  value: Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.identifier
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.identifier
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PTH-3
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .id

index: 10
element.id:
  value: CarePlan.identifier.id
element definition.path:
  value: CarePlan.identifier.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 11
element.id:
  value: CarePlan.identifier.extension
element definition.path:
  value: CarePlan.identifier.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 12
element.id:
  value: CarePlan.identifier.use
element definition.path:
  value: CarePlan.identifier.use
element definition.short:
  value: usual | official | temp | secondary | old (If known)
element definition.definition:
  value: The purpose of this identifier.
element definition.comment:
  value: Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.
element definition.requirements:
  value: Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Identifier.use
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: IdentifierUse
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Identifies the purpose for this identifier, if known .
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: N/A
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role.code or implied by context

index: 13
element.id:
  value: CarePlan.identifier.type
element definition.path:
  value: CarePlan.identifier.type
element definition.short:
  value: Description of identifier
element definition.definition:
  value: A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
element definition.comment:
  value: This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.
element definition.requirements:
  value: Allows users to make use of identifiers when the identifier system is not known.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Identifier.type
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: IdentifierType
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/identifier-type|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX.5
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role.code or implied by context

index: 14
element.id:
  value: CarePlan.identifier.system
element definition.path:
  value: CarePlan.identifier.system
element definition.short:
  value: The namespace for the identifier value
element definition.definition:
  value: Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
element definition.comment:
  value: Identifier.system is always case sensitive.
element definition.requirements:
  value: There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Identifier.system
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.example:
  index: 0
  element definition.example.label:
    value: General
  element definition.example.value uri:
    value: http://www.acme.com/identifiers/patient
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX.4 / EI-2-4
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II.root or Role.id.root
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: ./IdentifierType

index: 15
element.id:
  value: CarePlan.identifier.value
element definition.path:
  value: CarePlan.identifier.value
element definition.short:
  value: The value that is unique
element definition.definition:
  value: The portion of the identifier typically relevant to the user and which is unique within the context of the system.
element definition.comment:
  value: If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Identifier.value
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.example:
  index: 0
  element definition.example.label:
    value: General
  element definition.example.value string:
    value: 123456
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX.1 / EI.1
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: ./Value

index: 16
element.id:
  value: CarePlan.identifier.period
element definition.path:
  value: CarePlan.identifier.period
element definition.short:
  value: Time period when id is/was valid for use
element definition.definition:
  value: Time period during which identifier is/was valid for use.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Identifier.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX.7 + CX.8
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role.effectiveTime or implied by context
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: ./StartDate and ./EndDate

index: 17
element.id:
  value: CarePlan.identifier.assigner
element definition.path:
  value: CarePlan.identifier.assigner
element definition.short:
  value: Organization that issued id (may be just text)
element definition.definition:
  value: Organization that issued/manages the identifier.
element definition.comment:
  value: The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Identifier.assigner
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization|4.0.1
    index: 0
    link: 4.0
    link: .1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: CX.4 / (CX.4,CX.9,CX.10)
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: servd
  element definition.mapping.map:
    value: ./IdentifierIssuingAuthority

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

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

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

index: 21
element.id:
  value: CarePlan.replaces
element definition.path:
  value: CarePlan.replaces
element definition.short:
  value: Plano de Cuidado substituído por este Plano de Cuidado
element definition.definition:
  value: Plano de Cuidado substituído por este Plano de Cuidado
element definition.comment:
  value: 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.
element definition.requirements:
  value: Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.
element definition.alias:
  value: supersedes
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.replaces
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    extension.value boolean:
      value: true
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
    index: 0
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.replaces

index: 22
element.id:
  value: CarePlan.partOf
element definition.path:
  value: CarePlan.partOf
element definition.short:
  value: Parte do Plano de Cuidado referenciado
element definition.definition:
  value: Parte do Plano de Cuidado referenciado
element definition.comment:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.partOf
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    extension.value boolean:
      value: true
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
    index: 0
    link: https://br-core.saude.gov.br/fhir/StructureDefinition/br-core-careplan
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 23
element.id:
  value: CarePlan.status
element definition.path:
  value: CarePlan.status
element definition.short:
  value: Situação atual do plano
element definition.definition:
  value: O status desse Plano de Cuidado: draft | active | on-hold | revoked | completed | entered-in-error | unknown
element definition.comment:
  value: 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.
element definition.requirements:
  value: Allows clinicians to determine whether the plan is actionable or not.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: CarePlanStatus
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/request-status|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.status {uses different ValueSet}
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.status
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PTH-5
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .statusCode planned = new active = active completed = completed

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

index: 25
element.id:
  value: CarePlan.category
element definition.path:
  value: CarePlan.category
element definition.short:
  value: Categoria do acompanhamento longitudinal
element definition.definition:
  value: Tipo de Plano de Cuidado
element definition.comment:
  value: 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.
element definition.requirements:
  value: Used for filtering what plan(s) are retrieved and displayed to different types of users.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.category
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/ValueSet/agrosus-categoria-plano-cuidado
    link: https://jefersonrl.github.io/AgroSUS-FHIR/ValueSet/agrosus-categoria-plano-cuidado
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.class

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

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

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

index: 29
element.id:
  value: CarePlan.encounter
element definition.path:
  value: CarePlan.encounter
element definition.short:
  value: Atendimento no qual o plano foi definido ou revisado
element definition.definition:
  value: Atendimento referenciado pelo Plano de Cuidado
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.encounter
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-atendimento-ubs
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-atendimento-ubs
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.context
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.context
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Associated PV1
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .

index: 30
element.id:
  value: CarePlan.period
element definition.path:
  value: CarePlan.period
element definition.short:
  value: Período de vigência do plano
element definition.definition:
  value: O período de tempo que o Plano de Cuidado abrange
element definition.comment:
  value: 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).
element definition.requirements:
  value: Allows tracking what plan(s) are in effect at a particular time.
element definition.alias:
  value: timing
  index: 0
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.occurrence[x]
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.planned
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: GOL-7 / GOL-8
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .effectiveTime

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

index: 32
element.id:
  value: CarePlan.author
element definition.path:
  value: CarePlan.author
element definition.short:
  value: Profissional responsável pela definição da periodicidade
element definition.definition:
  value: Autoria do Plano de Cuidado
element definition.comment:
  value: The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.author
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.requester
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.author

index: 33
element.id:
  value: CarePlan.contributor
element definition.path:
  value: CarePlan.contributor
element definition.short:
  value: Colaboradores na definição do Plano de Cuidado
element definition.definition:
  value: Colaboradores na definição do Plano de Cuidado
element definition.comment:
  value: Collaborative care plans may have multiple contributors.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.contributor
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
    index: 1
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

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

index: 35
element.id:
  value: CarePlan.addresses
element definition.path:
  value: CarePlan.addresses
element definition.short:
  value: Condição clínica acompanhada pelo plano
element definition.definition:
  value: Problemas de saúde referenciado neste Plano de Cuidado
element definition.comment:
  value: 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.
element definition.requirements:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.addresses
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-intoxicacao-pesticida
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-intoxicacao-pesticida
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.reasonReference
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.why[x]
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PRB-4
element definition.mapping:
  index: 3
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]

index: 36
element.id:
  value: CarePlan.supportingInfo
element definition.path:
  value: CarePlan.supportingInfo
element definition.short:
  value: Anamneses, solicitações e resultados considerados no planejamento
element definition.definition:
  value: Informações adicionais do Plano de Cuidado
element definition.comment:
  value: Use "concern" to identify specific conditions addressed by the care plan.
element definition.requirements:
  value: Identifies barriers and other considerations associated with the care plan.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.supportingInfo
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-anamnese-response
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-anamnese-response
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-solicitacao-exame
    index: 1
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-solicitacao-exame
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-resultado-laboratorial
    index: 2
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-resultado-laboratorial
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-laudo-laboratorial
    index: 3
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-laudo-laboratorial
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.supportingInfo

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

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

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

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

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

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

index: 43
element.id:
  value: CarePlan.activity.outcomeReference
element definition.path:
  value: CarePlan.activity.outcomeReference
element definition.short:
  value: Referência à 'Appointment', 'Encounter', 'Procedure', etc
element definition.definition:
  value: Referência à 'Appointment', 'Encounter', 'Procedure', etc
element definition.comment:
  value: 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.
element definition.requirements:
  value: Links plan to resulting actions.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.outcomeReference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    index: 0
    link: 4.0
    link: .1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: {Event that is outcome of Request in activity.reference}
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=FLFS].source

index: 44
element.id:
  value: CarePlan.activity.progress
element definition.path:
  value: CarePlan.activity.progress
element definition.short:
  value: Comentários sobre o status/progresso da atividade
element definition.definition:
  value: Comentários sobre o status/progresso da atividade
element definition.comment:
  value: 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.
element definition.requirements:
  value: Can be used to capture information about adherence, progress, concerns, etc.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.progress
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Annotation
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: NTE?
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

index: 45
element.id:
  value: CarePlan.activity.reference
element definition.path:
  value: CarePlan.activity.reference
element definition.short:
  value: Detalhes da atividade definidos em recursos específicos
element definition.definition:
  value: Detalhes da atividade definidos em recursos específicos
element definition.comment:
  value: 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.
element definition.requirements:
  value: Details in a form consistent with other applications and contexts of use.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.reference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1
    index: 0
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CommunicationRequest|4.0.1
    index: 1
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/DeviceRequest|4.0.1
    index: 2
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1
    index: 3
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/NutritionOrder|4.0.1
    index: 4
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Task|4.0.1
    index: 5
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ServiceRequest|4.0.1
    index: 6
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/VisionPrescription|4.0.1
    index: 7
    link: 4.0
    link: .1
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RequestGroup|4.0.1
    index: 8
    link: 4.0
    link: .1
element definition.condition:
  value: cpl-3
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: {Request that resulted in Event in activity.actionResulting}
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=COMP].target

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

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

index: 48
element.id:
  value: CarePlan.activity.detail.extension
element definition.path:
  value: CarePlan.activity.detail.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

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

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

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

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

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

index: 54
element.id:
  value: CarePlan.activity.detail.reasonCode
element definition.path:
  value: CarePlan.activity.detail.reasonCode
element definition.short:
  value: Por quê a atividade deve ser feita ou por quê a atividade foi proibida
element definition.definition:
  value: Por quê a atividade deve ser feita ou por quê a atividade foi proibida
element definition.comment:
  value: This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.detail.reasonCode
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: CarePlanActivityReason
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: 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.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/clinical-findings|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.reasonCode

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

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

index: 57
element.id:
  value: CarePlan.activity.detail.status
element definition.path:
  value: CarePlan.activity.detail.status
element definition.short:
  value: Situação da atividade de acompanhamento
element definition.definition:
  value: Código que reflete o estado atual de uma atividade do Planos de Cuidado
element definition.comment:
  value: 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.
element definition.requirements:
  value: Indicates progress against the plan, whether the activity is still relevant for the plan.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.detail.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: 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
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: CarePlanActivityStatus
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Codes that reflect the current state of a care plan activity within its overall life cycle.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.status
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: ORC-5?
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted

index: 58
element.id:
  value: CarePlan.activity.detail.statusReason
element definition.path:
  value: CarePlan.activity.detail.statusReason
element definition.short:
  value: Motivo do status atual
element definition.definition:
  value: Motivo do status atual
element definition.comment:
  value: 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.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.detail.statusReason
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.statusReason

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

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

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

index: 62
element.id:
  value: CarePlan.activity.detail.performer
element definition.path:
  value: CarePlan.activity.detail.performer
element definition.short:
  value: Responsável pela atividade
element definition.definition:
  value: Responsável pela atividade
element definition.comment:
  value: A performer MAY also be a participant in the care plan.
element definition.requirements:
  value: Helps in planning of activity.
element definition.min:
  value: 1
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.detail.performer
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
    index: 1
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.performer
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: 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
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=PFM]

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

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

index: 65
element.id:
  value: CarePlan.activity.detail.quantity
element definition.path:
  value: CarePlan.activity.detail.quantity
element definition.short:
  value: Quantidade a ser consumida/fornecida/administrada
element definition.definition:
  value: Quantidade a ser consumida/fornecida/administrada
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: CarePlan.activity.detail.quantity
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Quantity
  element definition.type.profile:
    value: http://hl7.org/fhir/StructureDefinition/SimpleQuantity|4.0.1
    index: 0
    link: 4.0
    link: .1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: 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
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim

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

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

structure definition.differential.element:
  index: 0
  element.id:
    value: CarePlan
  element definition.path:
    value: CarePlan
structure definition.differential.element:
  index: 1
  element.id:
    value: CarePlan.identifier
  element definition.path:
    value: CarePlan.identifier
  element definition.short:
    value: Identificador único do plano de acompanhamento
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 2
  element.id:
    value: CarePlan.identifier.system
  element definition.path:
    value: CarePlan.identifier.system
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 3
  element.id:
    value: CarePlan.identifier.value
  element definition.path:
    value: CarePlan.identifier.value
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 4
  element.id:
    value: CarePlan.instantiatesUri
  element definition.path:
    value: CarePlan.instantiatesUri
  element definition.short:
    value: Norma ou protocolo utilizado como referência para o plano
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 5
  element.id:
    value: CarePlan.status
  element definition.path:
    value: CarePlan.status
  element definition.short:
    value: Situação atual do plano
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 6
  element.id:
    value: CarePlan.intent
  element definition.path:
    value: CarePlan.intent
  element definition.short:
    value: Intenção assistencial do plano
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 7
  element.id:
    value: CarePlan.category
  element definition.path:
    value: CarePlan.category
  element definition.short:
    value: Categoria do acompanhamento longitudinal
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.must support:
    value: true
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set:
      value: https://jefersonrl.github.io/AgroSUS-FHIR/ValueSet/agrosus-categoria-plano-cuidado
      link: https://jefersonrl.github.io/AgroSUS-FHIR/ValueSet/agrosus-categoria-plano-cuidado
structure definition.differential.element:
  index: 8
  element.id:
    value: CarePlan.title
  element definition.path:
    value: CarePlan.title
  element definition.short:
    value: Título resumido do plano
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 9
  element.id:
    value: CarePlan.description
  element definition.path:
    value: CarePlan.description
  element definition.short:
    value: Descrição do acompanhamento definido
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 10
  element.id:
    value: CarePlan.subject
  element definition.path:
    value: CarePlan.subject
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-patient
      index: 0
      link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-patient
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 11
  element.id:
    value: CarePlan.encounter
  element definition.path:
    value: CarePlan.encounter
  element definition.short:
    value: Atendimento no qual o plano foi definido ou revisado
  element definition.min:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-atendimento-ubs
      index: 0
      link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-atendimento-ubs
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 12
  element.id:
    value: CarePlan.period
  element definition.path:
    value: CarePlan.period
  element definition.short:
    value: Período de vigência do plano
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 13
  element.id:
    value: CarePlan.created
  element definition.path:
    value: CarePlan.created
  element definition.short:
    value: Data de criação do plano
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 14
  element.id:
    value: CarePlan.author
  element definition.path:
    value: CarePlan.author
  element definition.short:
    value: Profissional responsável pela definição da periodicidade
  element definition.min:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
      index: 0
      link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 15
  element.id:
    value: CarePlan.contributor
  element definition.path:
    value: CarePlan.contributor
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
      index: 0
      link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role

value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
index: 1
link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs

value: true

index: 16
element.id:
  value: CarePlan.addresses
element definition.path:
  value: CarePlan.addresses
element definition.short:
  value: Condição clínica acompanhada pelo plano
element definition.min:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-intoxicacao-pesticida
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-intoxicacao-pesticida
element definition.must support:
  value: true

index: 17
element.id:
  value: CarePlan.supportingInfo
element definition.path:
  value: CarePlan.supportingInfo
element definition.short:
  value: Anamneses, solicitações e resultados considerados no planejamento
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-anamnese-response
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-anamnese-response
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-solicitacao-exame
    index: 1
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-solicitacao-exame
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-resultado-laboratorial
    index: 2
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-resultado-laboratorial
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-laudo-laboratorial
    index: 3
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-laudo-laboratorial
element definition.must support:
  value: true

index: 18
element.id:
  value: CarePlan.activity
element definition.path:
  value: CarePlan.activity
element definition.must support:
  value: true

index: 19
element.id:
  value: CarePlan.activity.outcomeCodeableConcept
element definition.path:
  value: CarePlan.activity.outcomeCodeableConcept
element definition.must support:
  value: true

index: 20
element.id:
  value: CarePlan.activity.outcomeReference
element definition.path:
  value: CarePlan.activity.outcomeReference
element definition.must support:
  value: true

index: 21
element.id:
  value: CarePlan.activity.progress
element definition.path:
  value: CarePlan.activity.progress
element definition.must support:
  value: true

index: 22
element.id:
  value: CarePlan.activity.detail
element definition.path:
  value: CarePlan.activity.detail
element definition.must support:
  value: true

index: 23
element.id:
  value: CarePlan.activity.detail.kind
element definition.path:
  value: CarePlan.activity.detail.kind
element definition.min:
  value: 1
element definition.pattern code:
  value: ServiceRequest
element definition.must support:
  value: true

index: 24
element.id:
  value: CarePlan.activity.detail.code
element definition.path:
  value: CarePlan.activity.detail.code
element definition.min:
  value: 1
element definition.pattern codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: https://terminologia.saude.gov.br/fhir/CodeSystem/BRSubgrupoTabelaSUS
    coding.code:
      value: 0301
    coding.display:
      value: Consultas / Atendimentos / Acompanhamentos
element definition.must support:
  value: true

index: 25
element.id:
  value: CarePlan.activity.detail.reasonReference
element definition.path:
  value: CarePlan.activity.detail.reasonReference
element definition.min:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-intoxicacao-pesticida
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-intoxicacao-pesticida
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-resultado-laboratorial
    index: 1
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-resultado-laboratorial
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-laudo-laboratorial
    index: 2
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-laudo-laboratorial
element definition.must support:
  value: true

index: 26
element.id:
  value: CarePlan.activity.detail.status
element definition.path:
  value: CarePlan.activity.detail.status
element definition.short:
  value: Situação da atividade de acompanhamento
element definition.must support:
  value: true

index: 27
element.id:
  value: CarePlan.activity.detail.scheduled[x]
element definition.path:
  value: CarePlan.activity.detail.scheduled[x]
element definition.short:
  value: Data, período ou frequência definida pelo profissional
element definition.must support:
  value: true

index: 28
element.id:
  value: CarePlan.activity.detail.performer
element definition.path:
  value: CarePlan.activity.detail.performer
element definition.min:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
    index: 0
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-profissional-ubs-role
  element definition.type.target profile:
    value: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
    index: 1
    link: https://jefersonrl.github.io/AgroSUS-FHIR/StructureDefinition/agrosus-ubs
element definition.must support:
  value: true

index: 29
element.id:
  value: CarePlan.activity.detail.description
element definition.path:
  value: CarePlan.activity.detail.description
element definition.short:
  value: Descrição da avaliação que deverá ser realizada
element definition.must support:
  value: true

index: 30
element.id:
  value: CarePlan.note
element definition.path:
  value: CarePlan.note
element definition.short:
  value: Justificativa da periodicidade e orientações adicionais
element definition.must support:
  value: true