CarePlan
type: StructureDefinition
node role: treeRoot
resource.id:
  value: CarePlan
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: StructureDefinition CarePlan Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> CarePlan 0..* TWCoreCarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫 #xD; status 1..1 code 狀態代碼，表示照護計畫的流轉狀態 #xD; intent 1..1 code 照護計畫的執行意圖 (如提案, 規劃, 指令, 選項) #xD; category 1..* CodeableConcept 照護計畫的類型 #xD; description 0..1 string 計畫摘要說明 #xD; subject 1..1 Reference(根據醫院實際病人範例進行資料定義) 照護計畫的對象 #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
structure definition.url:
  value: https://build.fhir.org/ig/Rehabotics-Medical-Techology-Co/RTS-IG/StructureDefinition/CarePlan
structure definition.version:
  value: 0.2.0
structure definition.name:
  value: CarePlan
structure definition.title:
  value: Care Plan
structure definition.status:
  value: draft
structure definition.date:
  value: 2026-07-20T03:27:44+00:00
structure definition.publisher:
  value: Kimsber
structure definition.contact:
  index: 0
  contact detail.name:
    value: Kimsber
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://github.com/Kimsber
structure definition.description:
  value: 照護計畫
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
  link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
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: 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
    element definition.definition:
      value: 描述為實現一個或多個目標而將為一位患者(或一群患者)進行的活動的計畫，包括診斷、監測、評估、治療、藥物治療、追蹤等。
    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
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Entity. Role, or Act
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: workflow

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.

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: 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄，通常又稱為邏輯性 ID。
element definition.definition:
  value: resource 的邏輯 ID，在 resource 的 URL 中使用。一旦指定，這個值永遠不會改變。
element definition.comment:
  value: 一個 resource 使用新增操作(create operation)提交給伺服器時，此 resource 沒有 id，它的 id 在 resource 被創建後由伺器分配/指定。
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: 此 CarePlan Resource 的 metadata
element definition.definition:
  value: 關於 resource 的 metadata。這是由基礎建設維護的內容。內容的更改可能並不總是與 resource 的版本更改相關聯。
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: 創建此內容所依據的一組規則
element definition.definition:
  value: 構建 resource 時遵循的一系列規則的參照，在處理內容時必須理解這些規則。通常這是對 IG 所定義之特殊規則及其他 profiles 的參照。
element definition.comment:
  value: 宣告這套規則限制了內容只能被有限的交易夥伴所理解。這從本質上限制了資料的長期有用性。然而，現有的健康生態體系高度分裂，還沒有準備好以普遍可計算的方式定義、收集和交換資料。只要有可能，實作者和/或規範編寫者應該避免使用這個資料項目。通常在使用時，此 URL 是對 IG 的參照，此 IG 將這些特殊規則與其他 profiles、value sets 等一起定義為其敘述的一部分。
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: 用以表述 CarePlan Resource 內容的語言
element definition.definition:
  value: 編寫此 resource 的語言
element definition.comment:
  value: 提供語言是為了支援索引和可存取性(通常，文字表述轉語音等服務使用此語言標籤)。html lanuage tag 適用於此敘述。resource 上的語言標籤可用於指定從 resource 中的資料所產成的其他表述之語言。不是所有的內容都必須使用此語言。不應該假定 Resource.language 自動適用於敘述。如果指定語言，它也應該被指定在 html 中的 div 資料項目(關於 xml:lang 和 html lang 屬性之間的關係，見 HTML5 中的規則)。
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.example:
  index: 0
  element definition.example.label:
    value: Value
  element definition.example.value string:
    value: zh-TW
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: 人類語言；鼓勵使用 CommonLanguages 代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/languages
    link: http://hl7.org/fhir/ValueSet/languages

index: 5
element.id:
  value: CarePlan.text
element definition.path:
  value: CarePlan.text
element definition.short:
  value: CarePlan Resource 之內容摘要以供人閱讀
element definition.definition:
  value: 人可讀的敘述，包含 resource 的摘要，可用於向人表述 resource 的內容。敘述不需要對所有的結構化資料進行編碼，但需要包含足夠的細節使人在閱讀敘述時理解「臨床安全性」。resource 定義有哪些內容應該在敘述中表示，以確保臨床安全。
element definition.comment:
  value: 內嵌(contained)的 resource 沒有敘述，非內嵌(contained)的 resource 則 **建議應該(SHOULD)** 有敘述。有時 resource 可能只有文字表述，很少或沒有額外的結構化資料(只要滿足所有 minOccurs=1 的資料項目)。這可能出現在舊系統的資料，當資訊以 「文字表述區塊(text blob)」的形式被取得，或者文字表述是原始輸入或說明，而編碼資訊稍後再添加。
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.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: Act.text?

index: 6
element.id:
  value: CarePlan.text.id
element definition.path:
  value: CarePlan.text.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: 7
element.id:
  value: CarePlan.text.extension
element definition.path:
  value: CarePlan.text.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: 8
element.id:
  value: CarePlan.text.status
element definition.path:
  value: CarePlan.text.status
element definition.short:
  value: generated | additional
element definition.definition:
  value: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Narrative.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: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: 敘述狀態的受限值集。
  element definition.binding.value set:
    value: https://twcore.mohw.gov.tw/ig/twcore/ValueSet/narrative-status
    link: https://twcore.mohw.gov.tw/ig/twcore/ValueSet/narrative-status
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 9
element.id:
  value: CarePlan.text.div
element definition.path:
  value: CarePlan.text.div
element definition.short:
  value: 有限的 xhtml 內容
element definition.definition:
  value: The actual narrative content, a stripped down version of XHTML.
element definition.comment:
  value: The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Narrative.div
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: xhtml
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: txt-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes
  element definition.constraint.expression:
    value: htmlChecks()
  element definition.constraint.xpath:
    value: not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
element definition.constraint:
  index: 2
  element definition.constraint.key:
    value: txt-2
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: The narrative SHALL have some non-whitespace content
  element definition.constraint.expression:
    value: htmlChecks()
  element definition.constraint.xpath:
    value: descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
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: N/A

index: 10
element.id:
  value: CarePlan.contained
element definition.path:
  value: CarePlan.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
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: 11
element.id:
  value: CarePlan.extension
element definition.path:
  value: CarePlan.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 resource. 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: 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
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 12
element.id:
  value: CarePlan.modifierExtension
element definition.path:
  value: CarePlan.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
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.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
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: 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
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 13
element.id:
  value: CarePlan.identifier
element definition.path:
  value: CarePlan.identifier
element definition.short:
  value: External Ids for this plan
element definition.definition:
  value: Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
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: 0
element definition.max:
  value: *
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.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: 14
element.id:
  value: CarePlan.instantiatesCanonical
element definition.path:
  value: CarePlan.instantiatesCanonical
element definition.short:
  value: Instantiates FHIR protocol or definition
element definition.definition:
  value: The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.
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: 15
element.id:
  value: CarePlan.instantiatesUri
element definition.path:
  value: CarePlan.instantiatesUri
element definition.short:
  value: Instantiates external protocol or definition
element definition.definition:
  value: The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.
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: 0
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.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: 16
element.id:
  value: CarePlan.basedOn
element definition.path:
  value: CarePlan.basedOn
element definition.short:
  value: 履行或延伸的照護計畫
element definition.definition:
  value: 識別此照護計畫所建立的父計畫。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
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: 17
element.id:
  value: CarePlan.replaces
element definition.path:
  value: CarePlan.replaces
element definition.short:
  value: 被此計畫取代的照護計畫
element definition.definition:
  value: 識別被此照護計畫所取代的照護計畫。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
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: 18
element.id:
  value: CarePlan.partOf
element definition.path:
  value: CarePlan.partOf
element definition.short:
  value: 作為父照護計畫的一部分
element definition.definition:
  value: 此照護計畫是另一個照護計畫的一部分。例如，專門針對骨折修復或糖尿病控制的計畫可能是出院護理計畫的一部分。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore
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: 19
element.id:
  value: CarePlan.status
element definition.path:
  value: CarePlan.status
element definition.short:
  value: 狀態代碼，表示照護計畫的流轉狀態
element definition.definition:
  value: 此欄位表示該照護計畫是否處於啟用、草稿、完成等狀態；必填。
element definition.comment:
value: 可以在 事件模式 文件中找到一個標準的狀態轉換圖。「未知」不代表「其他」狀態 - 必須使用其中一個已定義的狀態，「未知」用於表示不確定當前狀態。
element definition.requirements:
  value: 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
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 definition.binding.strength:
    value: required
  element definition.binding.description:
    value: 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/request-status
    link: http://hl7.org/fhir/ValueSet/request-status
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: 20
element.id:
  value: CarePlan.intent
element definition.path:
  value: CarePlan.intent
element definition.short:
  value: 照護計畫的執行意圖 (如提案, 規劃, 指令, 選項)
element definition.definition:
  value: 標示這個照護計劃現在是提案、正式計畫、指令還是僅供參考的選項。
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 definition.binding.strength:
    value: required
  element definition.binding.description:
    value: 表示與照護計畫相關的權威性/意向性程度的代碼
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/care-plan-intent
    link: http://hl7.org/fhir/ValueSet/care-plan-intent
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: workflow
  element definition.mapping.map:
    value: Request.intent

index: 21
element.id:
  value: CarePlan.category
element definition.path:
  value: CarePlan.category
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: pattern
    element definition.slicing.discriminator.path:
      value: $this
  element definition.slicing.rules:
    value: open
element definition.short:
  value: 照護計畫的類型
element definition.definition:
  value: 計畫的類型，例如：營養及飲食指導、惡化徵兆偵測及必要處理等。
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: 識別這是什麼「種類」的計畫，以支援多個共存計畫之間的區分；例如：「居家健康」、「精神科」、「氣喘」、「疾病管理」、「保健計畫」等。
element definition.min:
  value: 1
element definition.max:
  value: *
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.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: CarePlanCategory
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/care-plan-category|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.class

index: 22
element.id:
  value: CarePlan.category:AssessPlan
element definition.path:
  value: CarePlan.category
element definition.slice name:
  value: AssessPlan
element definition.short:
  value: 評估計畫
element definition.definition:
  value: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", "wellness plan", etc.
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.pattern codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw
    coding.code:
      value: assess-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.must support:
  value: true
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: CarePlanCategory
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/care-plan-category|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.class

index: 23
element.id:
  value: CarePlan.title
element definition.path:
  value: CarePlan.title
element definition.short:
  value: Human-friendly name for the care plan
element definition.definition:
  value: Human-friendly name for the care plan.
element definition.min:
  value: 0
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.is modifier:
  value: false
element definition.is summary:
  value: true

index: 24
element.id:
  value: CarePlan.description
element definition.path:
  value: CarePlan.description
element definition.short:
  value: 計畫摘要說明
element definition.definition:
  value: 本欄位用於簡要描述照護計畫的性質與目標，提供整體計畫的概要說明。
element definition.requirements:
  value: Provides more detail than conveyed by category.
element definition.min:
  value: 0
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.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: 25
element.id:
  value: CarePlan.subject
element definition.path:
  value: CarePlan.subject
element definition.short:
  value: 照護計畫的對象
element definition.definition:
  value: 指向台灣機器手訓練 Patient 資源，用於標記本照護計畫所屬的病患或病患群體。
element definition.requirements:
  value: 識別計畫描述其意圖照護的病人或群體。
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://build.fhir.org/ig/Rehabotics-Medical-Techology-Co/RTS-IG/StructureDefinition/Patient
    index: 0
    link: https://build.fhir.org/ig/Rehabotics-Medical-Techology-Co/RTS-IG/StructureDefinition/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: 26
element.id:
  value: CarePlan.encounter
element definition.path:
  value: CarePlan.encounter
element definition.short:
  value: 與此照護計畫相關的就醫事件
element definition.definition:
  value: 此照護計畫是在哪個就醫情境產生的。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。注意：如果 Encounter 參照是一個 Episode of Care 的一部分，則此資料點不足以隱含建立關聯。
element definition.min:
  value: 0
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore
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.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: 27
element.id:
  value: CarePlan.period
element definition.path:
  value: CarePlan.period
element definition.short:
  value: Time period plan covers
element definition.definition:
  value: Indicates when the plan did (or is intended to) come into effect and end.
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: 0
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.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: 28
element.id:
  value: CarePlan.created
element definition.path:
  value: CarePlan.created
element definition.short:
  value: Date record was first recorded
element definition.definition:
  value: Represents when this particular CarePlan record was created in the system, which is often a system-generated date.
element definition.alias:
  value: authoredOn
  index: 0
element definition.min:
  value: 0
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.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: 29
element.id:
  value: CarePlan.author
element definition.path:
  value: CarePlan.author
element definition.short:
  value: 照護計畫的作者
element definition.definition:
  value: 負責建立照護計畫內容的個人或組織。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
element definition.min:
  value: 0
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
    index: 1
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
    index: 2
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Device-twcore
    index: 3
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Device-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore
    index: 4
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
    index: 5
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
    index: 6
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
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.requester
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.author

index: 30
element.id:
  value: CarePlan.contributor
element definition.path:
  value: CarePlan.contributor
element definition.short:
  value: 對計畫提供資訊的人員
element definition.definition:
  value: 對照護計畫的建立提供資訊的個人或組織，但不對照護計畫負責。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
    index: 1
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
    index: 2
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Device-twcore
    index: 3
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Device-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore
    index: 4
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
    index: 5
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
    index: 6
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
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

index: 31
element.id:
  value: CarePlan.careTeam
element definition.path:
  value: CarePlan.careTeam
element definition.short:
  value: 執行照護工作的團隊
element definition.definition:
  value: 確定負責執行此照護計畫的照護團隊。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
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: 32
element.id:
  value: CarePlan.addresses
element definition.path:
  value: CarePlan.addresses
element definition.short:
  value: 本計畫處理的健康問題
element definition.definition:
  value: 本照護計畫試圖解決的健康問題(例如：疾病、病情、問題)。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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: 0
element definition.max:
  value: *
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore
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.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: 33
element.id:
  value: CarePlan.supportingInfo
element definition.path:
  value: CarePlan.supportingInfo
element definition.short:
  value: Information considered as part of plan
element definition.definition:
  value: Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.
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: 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.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: 34
element.id:
  value: CarePlan.goal
element definition.path:
  value: CarePlan.goal
element definition.short:
  value: Desired outcome of plan
element definition.definition:
  value: Describes the intended objective(s) of carrying out the care plan.
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: 35
element.id:
  value: CarePlan.activity
element definition.path:
  value: CarePlan.activity
element definition.short:
  value: Action to occur as part of plan
element definition.definition:
  value: Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.
element definition.requirements:
  value: Allows systems to prompt for performance of planned activities, and validate plans against best practice.
element definition.min:
  value: 0
element definition.max:
  value: *
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.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: 36
element.id:
  value: CarePlan.activity.id
element definition.path:
  value: CarePlan.activity.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: 37
element.id:
  value: CarePlan.activity.extension
element definition.path:
  value: CarePlan.activity.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: 38
element.id:
  value: CarePlan.activity.modifierExtension
element definition.path:
  value: CarePlan.activity.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
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.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
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
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 39
element.id:
  value: CarePlan.activity.outcomeCodeableConcept
element definition.path:
  value: CarePlan.activity.outcomeCodeableConcept
element definition.short:
  value: Results of the activity
element definition.definition:
  value: Identifies the outcome at the point when the status of the activity is assessed. For example, the outcome of an education activity could be patient understands (or not).
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.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: 40
element.id:
  value: CarePlan.activity.outcomeReference
element definition.path:
  value: CarePlan.activity.outcomeReference
element definition.short:
  value: Appointment, Encounter, Procedure, etc.
element definition.definition:
  value: Details of the outcome or action resulting from the activity. The reference to an "event" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself. The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).
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.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: 41
element.id:
  value: CarePlan.activity.progress
element definition.path:
  value: CarePlan.activity.progress
element definition.short:
  value: Comments about the activity status/progress
element definition.definition:
  value: Notes about the adherence/status/progress of the activity.
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.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: 42
element.id:
  value: CarePlan.activity.reference
element definition.path:
  value: CarePlan.activity.reference
element definition.short:
  value: 照護行動的明細
element definition.definition:
  value: 包含照護計畫之照護行動(診斷、治療等)明細的 request/request-like 資源。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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
    index: 0
    link: http://hl7.org/fhir/StructureDefinition/Appointment
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
    index: 1
    link: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    index: 2
    link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-twcore
    index: 3
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-twcore
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/NutritionOrder
    index: 4
    link: http://hl7.org/fhir/StructureDefinition/NutritionOrder
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Task
    index: 5
    link: http://hl7.org/fhir/StructureDefinition/Task
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    index: 6
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/VisionPrescription
    index: 7
    link: http://hl7.org/fhir/StructureDefinition/VisionPrescription
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RequestGroup
    index: 8
    link: http://hl7.org/fhir/StructureDefinition/RequestGroup
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: 43
element.id:
  value: CarePlan.activity.detail
element definition.path:
  value: CarePlan.activity.detail
element definition.short:
  value: In-line definition of activity
element definition.definition:
  value: A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.
element definition.requirements:
  value: Details in a simple form for generic care plan systems.
element definition.min:
  value: 0
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.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: 44
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: 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: 45
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: 46
element.id:
  value: CarePlan.activity.detail.modifierExtension
element definition.path:
  value: CarePlan.activity.detail.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
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.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
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
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 47
element.id:
  value: CarePlan.activity.detail.kind
element definition.path:
  value: CarePlan.activity.detail.kind
element definition.short:
  value: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
element definition.definition:
  value: A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.
element definition.requirements:
  value: May determine what types of extensions are permitted.
element definition.min:
  value: 0
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.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: 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: 48
element.id:
  value: CarePlan.activity.detail.instantiatesCanonical
element definition.path:
  value: CarePlan.activity.detail.instantiatesCanonical
element definition.short:
  value: Instantiates FHIR protocol or definition
element definition.definition:
  value: The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.
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: 49
element.id:
  value: CarePlan.activity.detail.instantiatesUri
element definition.path:
  value: CarePlan.activity.detail.instantiatesUri
element definition.short:
  value: Instantiates external protocol or definition
element definition.definition:
  value: The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.
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: 50
element.id:
  value: CarePlan.activity.detail.code
element definition.path:
  value: CarePlan.activity.detail.code
element definition.short:
  value: Detail type of activity
element definition.definition:
  value: Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter.
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: 0
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.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: CarePlanActivityType
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/procedure-code|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.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: 51
element.id:
  value: CarePlan.activity.detail.reasonCode
element definition.path:
  value: CarePlan.activity.detail.reasonCode
element definition.short:
  value: Why activity should be done or why activity was prohibited
element definition.definition:
  value: Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.
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: 52
element.id:
  value: CarePlan.activity.detail.reasonReference
element definition.path:
  value: CarePlan.activity.detail.reasonReference
element definition.short:
  value: 為何需要此行動
element definition.definition:
  value: 指出為何此行動是此照護計畫的一部分。
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: 0
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-clinical-result-twcore
    index: 1
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-clinical-result-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DiagnosticReport-twcore
    index: 2
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DiagnosticReport-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DocumentReference-twcore
    index: 3
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DocumentReference-twcore
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.reasonReference

index: 53
element.id:
  value: CarePlan.activity.detail.goal
element definition.path:
  value: CarePlan.activity.detail.goal
element definition.short:
  value: Goals this activity relates to
element definition.definition:
  value: Internal reference that identifies the goals that this activity is intended to contribute towards meeting.
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: 54
element.id:
  value: CarePlan.activity.detail.status
element definition.path:
  value: CarePlan.activity.detail.status
element definition.short:
  value: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
element definition.definition:
  value: Identifies what progress is being made for the specific activity.
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.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: 55
element.id:
  value: CarePlan.activity.detail.statusReason
element definition.path:
  value: CarePlan.activity.detail.statusReason
element definition.short:
  value: Reason for current status
element definition.definition:
  value: Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.
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: 56
element.id:
  value: CarePlan.activity.detail.doNotPerform
element definition.path:
  value: CarePlan.activity.detail.doNotPerform
element definition.short:
  value: If true, activity is prohibiting action
element definition.definition:
  value: If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.
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: 57
element.id:
  value: CarePlan.activity.detail.scheduled[x]
element definition.path:
  value: CarePlan.activity.detail.scheduled[x]
element definition.short:
  value: When activity is to occur
element definition.definition:
  value: The period, timing or frequency upon which the described activity is to occur.
element definition.requirements:
  value: Allows prompting for activities and detection of missed planned activities.
element definition.min:
  value: 0
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.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: 58
element.id:
  value: CarePlan.activity.detail.location
element definition.path:
  value: CarePlan.activity.detail.location
element definition.short:
  value: 行動發生的地點
element definition.definition:
  value: 預期要執行此行動的地點。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Location-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Location-twcore
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: 59
element.id:
  value: CarePlan.activity.detail.performer
element definition.path:
  value: CarePlan.activity.detail.performer
element definition.short:
  value: 執行或提供此行動的人員
element definition.definition:
  value: 確定預期要執行此行動的特定人員或組織。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
element definition.requirements:
  value: Helps in planning of activity.
element definition.min:
  value: 0
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://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
    index: 1
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
    index: 2
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore
    index: 3
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
    index: 4
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
    index: 5
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CareTeam-twcore
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/HealthcareService
    index: 6
    link: http://hl7.org/fhir/StructureDefinition/HealthcareService
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Device-twcore
    index: 7
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Device-twcore
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
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: 60
element.id:
  value: CarePlan.activity.detail.product[x]
element definition.path:
  value: CarePlan.activity.detail.product[x]
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: type
    element definition.slicing.discriminator.path:
      value: $this
  element definition.slicing.ordered:
    value: false
  element definition.slicing.rules:
    value: open
element definition.short:
  value: What is to be administered/supplied
element definition.definition:
  value: Identifies the food, drug or other product to be consumed or supplied in the activity.
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: 61
element.id:
  value: CarePlan.activity.detail.product[x]:productReference
element definition.path:
  value: CarePlan.activity.detail.product[x]
element definition.slice name:
  value: productReference
element definition.short:
  value: 物料/主題/產品資訊要參照的資源
element definition.definition:
  value: 辨識行動所涉及的物料/主題/產品。
element definition.comment:
  value: 參照可以是相對的、絕對的或內部的。
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: Reference
  element definition.type.target profile:
    value: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore
    index: 0
    link: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Substance
    index: 1
    link: http://hl7.org/fhir/StructureDefinition/Substance
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: 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: 62
element.id:
  value: CarePlan.activity.detail.dailyAmount
element definition.path:
  value: CarePlan.activity.detail.dailyAmount
element definition.short:
  value: How to consume/day?
element definition.definition:
  value: Identifies the quantity expected to be consumed in a given day.
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: 63
element.id:
  value: CarePlan.activity.detail.quantity
element definition.path:
  value: CarePlan.activity.detail.quantity
element definition.short:
  value: How much to administer/supply/consume
element definition.definition:
  value: Identifies the quantity expected to be supplied, administered or consumed by the subject.
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: 64
element.id:
  value: CarePlan.activity.detail.description
element definition.path:
  value: CarePlan.activity.detail.description
element definition.short:
  value: Extra info describing activity to perform
element definition.definition:
  value: This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
element definition.min:
  value: 0
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.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: 65
element.id:
  value: CarePlan.note
element definition.path:
  value: CarePlan.note
element definition.short:
  value: Comments about the plan
element definition.definition:
  value: General notes about the care plan not covered elsewhere.
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.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.status
  element definition.path:
    value: CarePlan.status
  element definition.short:
    value: 狀態代碼，表示照護計畫的流轉狀態
  element definition.definition:
    value: 此欄位表示該照護計畫是否處於啟用、草稿、完成等狀態；必填。
structure definition.differential.element:
  index: 2
  element.id:
    value: CarePlan.intent
  element definition.path:
    value: CarePlan.intent
  element definition.short:
    value: 照護計畫的執行意圖 (如提案, 規劃, 指令, 選項)
  element definition.definition:
    value: 標示這個照護計劃現在是提案、正式計畫、指令還是僅供參考的選項。
structure definition.differential.element:
  index: 3
  element.id:
    value: CarePlan.category
  element definition.path:
    value: CarePlan.category
  element definition.definition:
    value: 計畫的類型，例如：營養及飲食指導、惡化徵兆偵測及必要處理等。
structure definition.differential.element:
  index: 4
  element.id:
    value: CarePlan.description
  element definition.path:
    value: CarePlan.description
  element definition.short:
    value: 計畫摘要說明
  element definition.definition:
    value: 本欄位用於簡要描述照護計畫的性質與目標，提供整體計畫的概要說明。
structure definition.differential.element:
  index: 5
  element.id:
    value: CarePlan.subject
  element definition.path:
    value: CarePlan.subject
  element definition.definition:
    value: 指向台灣機器手訓練 Patient 資源，用於標記本照護計畫所屬的病患或病患群體。
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://build.fhir.org/ig/Rehabotics-Medical-Techology-Co/RTS-IG/StructureDefinition/Patient
      index: 0
      link: https://build.fhir.org/ig/Rehabotics-Medical-Techology-Co/RTS-IG/StructureDefinition/Patient