臺灣核心實作指引(TW Core IG)
1.0.0 - STU 1.0.0 Taiwan flag

臺灣核心實作指引(TW Core IG), published by 衛生福利部. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TU9IVy1UV0NvcmVJRw/VFcgQ29yZSBJRyBJVFJJ/ and changes regularly. See the Directory of published versions

Resource Profile: TW Core CarePlan

Official URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CarePlan-twcore Version: 1.0.0
Active as of 2026-11-10 Computable Name: TWCoreCarePlan

此臺灣核心-照護計畫(TW Core CarePlan) Profile 說明本 IG 如何進一步定義 FHIR 的 CarePlan Resource 以呈現照護計畫資料。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
CarePlan 0..* CarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
CarePlan.id This element is included in summaries. 0..1 id 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄,通常又稱為邏輯性 ID。
CarePlan.meta This element is included in summaries. 0..1 Meta 此 CarePlan Resource 的 metadata
CarePlan.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
CarePlan.language 0..1 code 用以表述 CarePlan Resource 內容的語言
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用 CommonLanguages 代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
CarePlan.text This element must be supported. 0..1 Narrative CarePlan Resource 之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
CarePlan.text.status This element must be supported. 1..1 code generated | additional
Binding: 臺灣衛福部資訊處Narrative狀態值集 (required): 敘述狀態的受限值集。
CarePlan.text.div This element must be supported. C 1..1 xhtml 有限的 xhtml 內容
Constraints: txt-1, txt-2
CarePlan.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
CarePlan.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan) 履行或延伸的照護計畫
CarePlan.replaces This element is included in summaries. 0..* Reference(TW Core CarePlan) 被此計畫取代的照護計畫
CarePlan.partOf This element is included in summaries. 0..* Reference(TW Core CarePlan) 作為父照護計畫的一部分
CarePlan.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫目前的狀態
Binding: RequestStatus (required): 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
CarePlan.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫的意圖
Binding: CarePlanIntent (required): 表示與照護計畫相關的權威性/意向性程度的代碼
CarePlan.Slices for category This element must be supported. This element is included in summaries. 1..* CodeableConcept 照護計畫的類型
Slice: Unordered, Open by pattern:$this
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
CarePlan.Slices for category.category:AssessPlan This element must be supported. This element is included in summaries. 1..1 CodeableConcept 評估計畫
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Required Pattern:
{
  "coding" : [
    {
      "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw",
      "code" : "assess-plan"
    }
  ]
}
CarePlan.subject This element must be supported. This element is included in summaries. 1..1 Reference(TW Core Patient This type must be supported. | Group) 照護計畫的對象
CarePlan.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此照護計畫相關的就醫事件
CarePlan.author This element is included in summaries. 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 照護計畫的作者
CarePlan.contributor 0..* Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 對計畫提供資訊的人員
CarePlan.careTeam 0..* Reference(TW Core CareTeam) 執行照護工作的團隊
CarePlan.addresses This element is included in summaries. 0..* Reference(TW Core Condition) 本計畫處理的健康問題

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CarePlan.language Base preferred Common Languages 📦4.0.1 FHIR Std.
CarePlan.text.status Base required 臺灣衛福部資訊處Narrative狀態值集 📦0.3.0 This IG
CarePlan.status Base required RequestStatus 📦4.0.1 FHIR Std.
CarePlan.intent Base required Care Plan Intent 📦4.0.1 FHIR Std.
CarePlan.category Base example Care Plan Category 📍4.0.1 FHIR Std.
CarePlan.category:AssessPlan Base example Care Plan Category 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error CarePlan If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error CarePlan If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error CarePlan If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error CarePlan If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice CarePlan A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error CarePlan.text.div 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, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error CarePlan.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraints    Filter: doco
CarePlan 0..* CarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
CarePlan.id 0..1 id 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄,通常又稱為邏輯性 ID。
CarePlan.meta 0..1 Meta 此 CarePlan Resource 的 metadata
CarePlan.implicitRules 0..1 uri 創建此內容所依據的一組規則
CarePlan.text This element must be supported. 0..1 Narrative CarePlan Resource 之內容摘要以供人閱讀
CarePlan.text.status This element must be supported. 1..1 code generated | additional
Binding: 臺灣衛福部資訊處Narrative狀態值集 (required): 敘述狀態的受限值集。
CarePlan.text.div This element must be supported. 1..1 xhtml 有限的 xhtml 內容
CarePlan.basedOn 0..* Reference(TW Core CarePlan) 履行或延伸的照護計畫
CarePlan.replaces 0..* Reference(TW Core CarePlan) 被此計畫取代的照護計畫
CarePlan.partOf 0..* Reference(TW Core CarePlan) 作為父照護計畫的一部分
CarePlan.status This element must be supported. 1..1 code 照護計畫目前的狀態
Binding: RequestStatus (required): 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
CarePlan.intent This element must be supported. 1..1 code 照護計畫的意圖
Binding: CarePlanIntent (required): 表示與照護計畫相關的權威性/意向性程度的代碼
CarePlan.Slices for category This element must be supported. 1..* CodeableConcept 照護計畫的類型
Slice: Unordered, Open by pattern:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
CarePlan.Slices for category.category:AssessPlan This element must be supported. 1..1 CodeableConcept 評估計畫
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw",
      "code" : "assess-plan"
    }
  ]
}
CarePlan.subject This element must be supported. 1..1 Reference(TW Core Patient This type must be supported. | Group) 照護計畫的對象
CarePlan.encounter 0..1 Reference(TW Core Encounter) 與此照護計畫相關的就醫事件
CarePlan.author 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 照護計畫的作者
CarePlan.contributor 0..* Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 對計畫提供資訊的人員
CarePlan.careTeam 0..* Reference(TW Core CareTeam) 執行照護工作的團隊
CarePlan.addresses 0..* Reference(TW Core Condition) 本計畫處理的健康問題
CarePlan.activity
CarePlan.activity.reference 0..1 Reference(Appointment | CommunicationRequest | DeviceRequest | TW Core MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) 照護行動的明細
CarePlan.activity.detail
CarePlan.activity.detail.reasonReference 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) 為何需要此行動
CarePlan.activity.detail.location 0..1 Reference(TW Core Location) 行動發生的地點
CarePlan.activity.detail.performer 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core RelatedPerson | TW Core Patient | TW Core CareTeam | HealthcareService | TW Core Implantable Device) 執行或提供此行動的人員
CarePlan.activity.detail.Slices for product[x] 0..1 CodeableConcept, Reference(Medication | Substance) What is to be administered/supplied
Slice: Unordered, Open by type:$this
Slicing Note: Other type slices that contain no new information are not shown in this view
CarePlan.activity.detail.Slices for product[x].product[x]:productReference 0..1 Reference(TW Core Medication | Substance) 物料/主題/產品資訊要參照的資源

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
CarePlan.language Base preferred Common Languages 📦4.0.1 FHIR Std.
CarePlan.text.status Base required 臺灣衛福部資訊處Narrative狀態值集 📦0.3.0 This IG
CarePlan.status Base required RequestStatus 📦4.0.1 FHIR Std.
CarePlan.intent Base required Care Plan Intent 📦4.0.1 FHIR Std.
NameFlagsCard.TypeDescription & Constraints    Filter: doco
CarePlan 0..* CarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
CarePlan.id This element is included in summaries. 0..1 id 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄,通常又稱為邏輯性 ID。
CarePlan.meta This element is included in summaries. 0..1 Meta 此 CarePlan Resource 的 metadata
CarePlan.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
CarePlan.language 0..1 code 用以表述 CarePlan Resource 內容的語言
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用 CommonLanguages 代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
CarePlan.text This element must be supported. 0..1 Narrative CarePlan Resource 之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
CarePlan.text.id 0..1 string Unique id for inter-element referencing
CarePlan.text.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
CarePlan.text.status This element must be supported. 1..1 code generated | additional
Binding: 臺灣衛福部資訊處Narrative狀態值集 (required): 敘述狀態的受限值集。
CarePlan.text.div This element must be supported. C 1..1 xhtml 有限的 xhtml 內容
Constraints: txt-1, txt-2
CarePlan.contained 0..* Resource Contained, inline Resources
CarePlan.extension 0..* Extension Additional content defined by implementations
CarePlan.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
CarePlan.identifier This element is included in summaries. 0..* Identifier External Ids for this plan
CarePlan.instantiatesCanonical This element is included in summaries. 0..* canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) Instantiates FHIR protocol or definition
CarePlan.instantiatesUri This element is included in summaries. 0..* uri Instantiates external protocol or definition
CarePlan.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan) 履行或延伸的照護計畫
CarePlan.replaces This element is included in summaries. 0..* Reference(TW Core CarePlan) 被此計畫取代的照護計畫
CarePlan.partOf This element is included in summaries. 0..* Reference(TW Core CarePlan) 作為父照護計畫的一部分
CarePlan.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫目前的狀態
Binding: RequestStatus (required): 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
CarePlan.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫的意圖
Binding: CarePlanIntent (required): 表示與照護計畫相關的權威性/意向性程度的代碼
CarePlan.Slices for category This element must be supported. This element is included in summaries. 1..* CodeableConcept 照護計畫的類型
Slice: Unordered, Open by pattern:$this
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
CarePlan.Slices for category.category:AssessPlan This element must be supported. This element is included in summaries. 1..1 CodeableConcept 評估計畫
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Required Pattern:
{
  "coding" : [
    {
      "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw",
      "code" : "assess-plan"
    }
  ]
}
CarePlan.title This element is included in summaries. 0..1 string Human-friendly name for the care plan
CarePlan.description This element is included in summaries. 0..1 string Summary of nature of plan
CarePlan.subject This element must be supported. This element is included in summaries. 1..1 Reference(TW Core Patient This type must be supported. | Group) 照護計畫的對象
CarePlan.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此照護計畫相關的就醫事件
CarePlan.period This element is included in summaries. 0..1 Period Time period plan covers
CarePlan.created This element is included in summaries. 0..1 dateTime Date record was first recorded
CarePlan.author This element is included in summaries. 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 照護計畫的作者
CarePlan.contributor 0..* Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 對計畫提供資訊的人員
CarePlan.careTeam 0..* Reference(TW Core CareTeam) 執行照護工作的團隊
CarePlan.addresses This element is included in summaries. 0..* Reference(TW Core Condition) 本計畫處理的健康問題
CarePlan.supportingInfo 0..* Reference(Resource) Information considered as part of plan
CarePlan.goal 0..* Reference(Goal) Desired outcome of plan
CarePlan.activity C 0..* BackboneElement Action to occur as part of plan
Constraints: cpl-3
CarePlan.activity.id 0..1 string Unique id for inter-element referencing
CarePlan.activity.extension 0..* Extension Additional content defined by implementations
CarePlan.activity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
CarePlan.activity.outcomeCodeableConcept 0..* CodeableConcept Results of the activity
Binding: CarePlanActivityOutcome (example): Identifies the results of the activity.
CarePlan.activity.outcomeReference 0..* Reference(Resource) Appointment, Encounter, Procedure, etc.
CarePlan.activity.progress 0..* Annotation Comments about the activity status/progress
CarePlan.activity.reference C 0..1 Reference(Appointment | CommunicationRequest | DeviceRequest | TW Core MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) 照護行動的明細
CarePlan.activity.detail C 0..1 BackboneElement In-line definition of activity
CarePlan.activity.detail.id 0..1 string Unique id for inter-element referencing
CarePlan.activity.detail.extension 0..* Extension Additional content defined by implementations
CarePlan.activity.detail.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
CarePlan.activity.detail.kind 0..1 code Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.
CarePlan.activity.detail.instantiatesCanonical 0..* canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) Instantiates FHIR protocol or definition
CarePlan.activity.detail.instantiatesUri 0..* uri Instantiates external protocol or definition
CarePlan.activity.detail.code 0..1 CodeableConcept Detail type of activity
Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.
CarePlan.activity.detail.reasonCode 0..* CodeableConcept Why activity should be done or why activity was prohibited
Binding: SNOMEDCTClinicalFindings (example): 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.
CarePlan.activity.detail.reasonReference 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) 為何需要此行動
CarePlan.activity.detail.goal 0..* Reference(Goal) Goals this activity relates to
CarePlan.activity.detail.status This element is a modifier element. 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle.
CarePlan.activity.detail.statusReason 0..1 CodeableConcept Reason for current status
CarePlan.activity.detail.doNotPerform This element is a modifier element. 0..1 boolean If true, activity is prohibiting action
CarePlan.activity.detail.scheduled[x] 0..1 When activity is to occur
CarePlan.activity.detail.scheduled[x].scheduledTiming Timing
CarePlan.activity.detail.scheduled[x].scheduledPeriod Period
CarePlan.activity.detail.scheduled[x].scheduledString string
CarePlan.activity.detail.location 0..1 Reference(TW Core Location) 行動發生的地點
CarePlan.activity.detail.performer 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core RelatedPerson | TW Core Patient | TW Core CareTeam | HealthcareService | TW Core Implantable Device) 執行或提供此行動的人員
CarePlan.activity.detail.Slices for product[x] 0..1 What is to be administered/supplied
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.
Slicing Note: Other type slices that contain no new information are not shown in this view
CarePlan.activity.detail.Slices for product[x].productCodeableConcept CodeableConcept
CarePlan.activity.detail.Slices for product[x].productReference Reference(Medication | Substance)
CarePlan.activity.detail.Slices for product[x].product[x]:productReference 0..1 Reference(TW Core Medication | Substance) 物料/主題/產品資訊要參照的資源
CarePlan.activity.detail.dailyAmount C 0..1 SimpleQuantity(4.0.1) How to consume/day?
Constraints: sqty-1
CarePlan.activity.detail.quantity C 0..1 SimpleQuantity(4.0.1) How much to administer/supply/consume
Constraints: sqty-1
CarePlan.activity.detail.description 0..1 string Extra info describing activity to perform
CarePlan.note 0..* Annotation Comments about the plan

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CarePlan.language Base preferred Common Languages 📦4.0.1 FHIR Std.
CarePlan.text.status Base required 臺灣衛福部資訊處Narrative狀態值集 📦0.3.0 This IG
CarePlan.status Base required RequestStatus 📦4.0.1 FHIR Std.
CarePlan.intent Base required Care Plan Intent 📦4.0.1 FHIR Std.
CarePlan.category Base example Care Plan Category 📍4.0.1 FHIR Std.
CarePlan.category:AssessPlan Base example Care Plan Category 📍4.0.1 FHIR Std.
CarePlan.activity.outcomeCodeableConcept Base example Care Plan Activity Outcome 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​kind Base required Care Plan Activity Kind 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​reasonCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​status Base required CarePlanActivityStatus 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​product[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​product[x]:productCodeableConcept Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cpl-3 error CarePlan.activity Provide a reference or detail, not both detail.empty() or reference.empty()
dom-2 error CarePlan If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error CarePlan If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error CarePlan If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error CarePlan If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice CarePlan A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error CarePlan.activity.detail.dailyAmount, CarePlan.activity.detail.quantity The comparator is not used on a SimpleQuantity comparator.empty()
txt-1 error CarePlan.text.div 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, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error CarePlan.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from CarePlan

Summary

Mandatory: 2 elements
Must-Support: 8 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of CarePlan.category
  • The element 1 is sliced based on the value of CarePlan.activity.detail.product[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
CarePlan 0..* CarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
CarePlan.id This element is included in summaries. 0..1 id 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄,通常又稱為邏輯性 ID。
CarePlan.meta This element is included in summaries. 0..1 Meta 此 CarePlan Resource 的 metadata
CarePlan.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
CarePlan.language 0..1 code 用以表述 CarePlan Resource 內容的語言
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用 CommonLanguages 代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
CarePlan.text This element must be supported. 0..1 Narrative CarePlan Resource 之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
CarePlan.text.status This element must be supported. 1..1 code generated | additional
Binding: 臺灣衛福部資訊處Narrative狀態值集 (required): 敘述狀態的受限值集。
CarePlan.text.div This element must be supported. C 1..1 xhtml 有限的 xhtml 內容
Constraints: txt-1, txt-2
CarePlan.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
CarePlan.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan) 履行或延伸的照護計畫
CarePlan.replaces This element is included in summaries. 0..* Reference(TW Core CarePlan) 被此計畫取代的照護計畫
CarePlan.partOf This element is included in summaries. 0..* Reference(TW Core CarePlan) 作為父照護計畫的一部分
CarePlan.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫目前的狀態
Binding: RequestStatus (required): 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
CarePlan.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫的意圖
Binding: CarePlanIntent (required): 表示與照護計畫相關的權威性/意向性程度的代碼
CarePlan.Slices for category This element must be supported. This element is included in summaries. 1..* CodeableConcept 照護計畫的類型
Slice: Unordered, Open by pattern:$this
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
CarePlan.Slices for category.category:AssessPlan This element must be supported. This element is included in summaries. 1..1 CodeableConcept 評估計畫
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Required Pattern:
{
  "coding" : [
    {
      "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw",
      "code" : "assess-plan"
    }
  ]
}
CarePlan.subject This element must be supported. This element is included in summaries. 1..1 Reference(TW Core Patient This type must be supported. | Group) 照護計畫的對象
CarePlan.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此照護計畫相關的就醫事件
CarePlan.author This element is included in summaries. 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 照護計畫的作者
CarePlan.contributor 0..* Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 對計畫提供資訊的人員
CarePlan.careTeam 0..* Reference(TW Core CareTeam) 執行照護工作的團隊
CarePlan.addresses This element is included in summaries. 0..* Reference(TW Core Condition) 本計畫處理的健康問題

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CarePlan.language Base preferred Common Languages 📦4.0.1 FHIR Std.
CarePlan.text.status Base required 臺灣衛福部資訊處Narrative狀態值集 📦0.3.0 This IG
CarePlan.status Base required RequestStatus 📦4.0.1 FHIR Std.
CarePlan.intent Base required Care Plan Intent 📦4.0.1 FHIR Std.
CarePlan.category Base example Care Plan Category 📍4.0.1 FHIR Std.
CarePlan.category:AssessPlan Base example Care Plan Category 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error CarePlan If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error CarePlan If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error CarePlan If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error CarePlan If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice CarePlan A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error CarePlan.text.div 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, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error CarePlan.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Differential View

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraints    Filter: doco
CarePlan 0..* CarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
CarePlan.id 0..1 id 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄,通常又稱為邏輯性 ID。
CarePlan.meta 0..1 Meta 此 CarePlan Resource 的 metadata
CarePlan.implicitRules 0..1 uri 創建此內容所依據的一組規則
CarePlan.language 0..1 code 用以表述 CarePlan Resource 內容的語言
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用 CommonLanguages 代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
CarePlan.text This element must be supported. 0..1 Narrative CarePlan Resource 之內容摘要以供人閱讀
CarePlan.text.status This element must be supported. 1..1 code generated | additional
Binding: 臺灣衛福部資訊處Narrative狀態值集 (required): 敘述狀態的受限值集。
CarePlan.text.div This element must be supported. 1..1 xhtml 有限的 xhtml 內容
CarePlan.basedOn 0..* Reference(TW Core CarePlan) 履行或延伸的照護計畫
CarePlan.replaces 0..* Reference(TW Core CarePlan) 被此計畫取代的照護計畫
CarePlan.partOf 0..* Reference(TW Core CarePlan) 作為父照護計畫的一部分
CarePlan.status This element must be supported. 1..1 code 照護計畫目前的狀態
Binding: RequestStatus (required): 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
CarePlan.intent This element must be supported. 1..1 code 照護計畫的意圖
Binding: CarePlanIntent (required): 表示與照護計畫相關的權威性/意向性程度的代碼
CarePlan.Slices for category This element must be supported. 1..* CodeableConcept 照護計畫的類型
Slice: Unordered, Open by pattern:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
CarePlan.Slices for category.category:AssessPlan This element must be supported. 1..1 CodeableConcept 評估計畫
Required Pattern:
{
  "coding" : [
    {
      "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw",
      "code" : "assess-plan"
    }
  ]
}
CarePlan.subject This element must be supported. 1..1 Reference(TW Core Patient This type must be supported. | Group) 照護計畫的對象
CarePlan.encounter 0..1 Reference(TW Core Encounter) 與此照護計畫相關的就醫事件
CarePlan.author 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 照護計畫的作者
CarePlan.contributor 0..* Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 對計畫提供資訊的人員
CarePlan.careTeam 0..* Reference(TW Core CareTeam) 執行照護工作的團隊
CarePlan.addresses 0..* Reference(TW Core Condition) 本計畫處理的健康問題
CarePlan.activity
CarePlan.activity.reference 0..1 Reference(Appointment | CommunicationRequest | DeviceRequest | TW Core MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) 照護行動的明細
CarePlan.activity.detail
CarePlan.activity.detail.reasonReference 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) 為何需要此行動
CarePlan.activity.detail.location 0..1 Reference(TW Core Location) 行動發生的地點
CarePlan.activity.detail.performer 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core RelatedPerson | TW Core Patient | TW Core CareTeam | HealthcareService | TW Core Implantable Device) 執行或提供此行動的人員
CarePlan.activity.detail.Slices for product[x] 0..1 CodeableConcept, Reference(Medication | Substance) What is to be administered/supplied
Slice: Unordered, Open by type:$this
Slicing Note: Other type slices that contain no new information are not shown in this view
CarePlan.activity.detail.Slices for product[x].product[x]:productReference 0..1 Reference(TW Core Medication | Substance) 物料/主題/產品資訊要參照的資源

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
CarePlan.language Base preferred Common Languages 📦4.0.1 FHIR Std.
CarePlan.text.status Base required 臺灣衛福部資訊處Narrative狀態值集 📦0.3.0 This IG
CarePlan.status Base required RequestStatus 📦4.0.1 FHIR Std.
CarePlan.intent Base required Care Plan Intent 📦4.0.1 FHIR Std.

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
CarePlan 0..* CarePlan 特定照護目標下為一位患者或一群患者識別的活動、干預和結果計畫
CarePlan.id This element is included in summaries. 0..1 id 不重複的 ID 用以識別儲存在特定 FHIR Server 中的 CarePlan 紀錄,通常又稱為邏輯性 ID。
CarePlan.meta This element is included in summaries. 0..1 Meta 此 CarePlan Resource 的 metadata
CarePlan.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
CarePlan.language 0..1 code 用以表述 CarePlan Resource 內容的語言
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用 CommonLanguages 代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
CarePlan.text This element must be supported. 0..1 Narrative CarePlan Resource 之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
CarePlan.text.id 0..1 string Unique id for inter-element referencing
CarePlan.text.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
CarePlan.text.status This element must be supported. 1..1 code generated | additional
Binding: 臺灣衛福部資訊處Narrative狀態值集 (required): 敘述狀態的受限值集。
CarePlan.text.div This element must be supported. C 1..1 xhtml 有限的 xhtml 內容
Constraints: txt-1, txt-2
CarePlan.contained 0..* Resource Contained, inline Resources
CarePlan.extension 0..* Extension Additional content defined by implementations
CarePlan.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
CarePlan.identifier This element is included in summaries. 0..* Identifier External Ids for this plan
CarePlan.instantiatesCanonical This element is included in summaries. 0..* canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) Instantiates FHIR protocol or definition
CarePlan.instantiatesUri This element is included in summaries. 0..* uri Instantiates external protocol or definition
CarePlan.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan) 履行或延伸的照護計畫
CarePlan.replaces This element is included in summaries. 0..* Reference(TW Core CarePlan) 被此計畫取代的照護計畫
CarePlan.partOf This element is included in summaries. 0..* Reference(TW Core CarePlan) 作為父照護計畫的一部分
CarePlan.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫目前的狀態
Binding: RequestStatus (required): 指出計畫是否正在實施、代表未來意圖或是現在的歷史記錄。
CarePlan.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 照護計畫的意圖
Binding: CarePlanIntent (required): 表示與照護計畫相關的權威性/意向性程度的代碼
CarePlan.Slices for category This element must be supported. This element is included in summaries. 1..* CodeableConcept 照護計畫的類型
Slice: Unordered, Open by pattern:$this
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
CarePlan.Slices for category.category:AssessPlan This element must be supported. This element is included in summaries. 1..1 CodeableConcept 評估計畫
Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.

Required Pattern:
{
  "coding" : [
    {
      "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw",
      "code" : "assess-plan"
    }
  ]
}
CarePlan.title This element is included in summaries. 0..1 string Human-friendly name for the care plan
CarePlan.description This element is included in summaries. 0..1 string Summary of nature of plan
CarePlan.subject This element must be supported. This element is included in summaries. 1..1 Reference(TW Core Patient This type must be supported. | Group) 照護計畫的對象
CarePlan.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此照護計畫相關的就醫事件
CarePlan.period This element is included in summaries. 0..1 Period Time period plan covers
CarePlan.created This element is included in summaries. 0..1 dateTime Date record was first recorded
CarePlan.author This element is included in summaries. 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 照護計畫的作者
CarePlan.contributor 0..* Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core Implantable Device | TW Core RelatedPerson | TW Core Organization | TW Core CareTeam) 對計畫提供資訊的人員
CarePlan.careTeam 0..* Reference(TW Core CareTeam) 執行照護工作的團隊
CarePlan.addresses This element is included in summaries. 0..* Reference(TW Core Condition) 本計畫處理的健康問題
CarePlan.supportingInfo 0..* Reference(Resource) Information considered as part of plan
CarePlan.goal 0..* Reference(Goal) Desired outcome of plan
CarePlan.activity C 0..* BackboneElement Action to occur as part of plan
Constraints: cpl-3
CarePlan.activity.id 0..1 string Unique id for inter-element referencing
CarePlan.activity.extension 0..* Extension Additional content defined by implementations
CarePlan.activity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
CarePlan.activity.outcomeCodeableConcept 0..* CodeableConcept Results of the activity
Binding: CarePlanActivityOutcome (example): Identifies the results of the activity.
CarePlan.activity.outcomeReference 0..* Reference(Resource) Appointment, Encounter, Procedure, etc.
CarePlan.activity.progress 0..* Annotation Comments about the activity status/progress
CarePlan.activity.reference C 0..1 Reference(Appointment | CommunicationRequest | DeviceRequest | TW Core MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) 照護行動的明細
CarePlan.activity.detail C 0..1 BackboneElement In-line definition of activity
CarePlan.activity.detail.id 0..1 string Unique id for inter-element referencing
CarePlan.activity.detail.extension 0..* Extension Additional content defined by implementations
CarePlan.activity.detail.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
CarePlan.activity.detail.kind 0..1 code Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.
CarePlan.activity.detail.instantiatesCanonical 0..* canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) Instantiates FHIR protocol or definition
CarePlan.activity.detail.instantiatesUri 0..* uri Instantiates external protocol or definition
CarePlan.activity.detail.code 0..1 CodeableConcept Detail type of activity
Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.
CarePlan.activity.detail.reasonCode 0..* CodeableConcept Why activity should be done or why activity was prohibited
Binding: SNOMEDCTClinicalFindings (example): 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.
CarePlan.activity.detail.reasonReference 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) 為何需要此行動
CarePlan.activity.detail.goal 0..* Reference(Goal) Goals this activity relates to
CarePlan.activity.detail.status This element is a modifier element. 1..1 code not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle.
CarePlan.activity.detail.statusReason 0..1 CodeableConcept Reason for current status
CarePlan.activity.detail.doNotPerform This element is a modifier element. 0..1 boolean If true, activity is prohibiting action
CarePlan.activity.detail.scheduled[x] 0..1 When activity is to occur
CarePlan.activity.detail.scheduled[x].scheduledTiming Timing
CarePlan.activity.detail.scheduled[x].scheduledPeriod Period
CarePlan.activity.detail.scheduled[x].scheduledString string
CarePlan.activity.detail.location 0..1 Reference(TW Core Location) 行動發生的地點
CarePlan.activity.detail.performer 0..* Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core RelatedPerson | TW Core Patient | TW Core CareTeam | HealthcareService | TW Core Implantable Device) 執行或提供此行動的人員
CarePlan.activity.detail.Slices for product[x] 0..1 What is to be administered/supplied
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.
Slicing Note: Other type slices that contain no new information are not shown in this view
CarePlan.activity.detail.Slices for product[x].productCodeableConcept CodeableConcept
CarePlan.activity.detail.Slices for product[x].productReference Reference(Medication | Substance)
CarePlan.activity.detail.Slices for product[x].product[x]:productReference 0..1 Reference(TW Core Medication | Substance) 物料/主題/產品資訊要參照的資源
CarePlan.activity.detail.dailyAmount C 0..1 SimpleQuantity(4.0.1) How to consume/day?
Constraints: sqty-1
CarePlan.activity.detail.quantity C 0..1 SimpleQuantity(4.0.1) How much to administer/supply/consume
Constraints: sqty-1
CarePlan.activity.detail.description 0..1 string Extra info describing activity to perform
CarePlan.note 0..* Annotation Comments about the plan

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CarePlan.language Base preferred Common Languages 📦4.0.1 FHIR Std.
CarePlan.text.status Base required 臺灣衛福部資訊處Narrative狀態值集 📦0.3.0 This IG
CarePlan.status Base required RequestStatus 📦4.0.1 FHIR Std.
CarePlan.intent Base required Care Plan Intent 📦4.0.1 FHIR Std.
CarePlan.category Base example Care Plan Category 📍4.0.1 FHIR Std.
CarePlan.category:AssessPlan Base example Care Plan Category 📍4.0.1 FHIR Std.
CarePlan.activity.outcomeCodeableConcept Base example Care Plan Activity Outcome 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​kind Base required Care Plan Activity Kind 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​reasonCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​status Base required CarePlanActivityStatus 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​product[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
CarePlan.activity.detail.​product[x]:productCodeableConcept Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cpl-3 error CarePlan.activity Provide a reference or detail, not both detail.empty() or reference.empty()
dom-2 error CarePlan If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error CarePlan If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error CarePlan If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error CarePlan If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice CarePlan A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error CarePlan.activity.detail.dailyAmount, CarePlan.activity.detail.quantity The comparator is not used on a SimpleQuantity comparator.empty()
txt-1 error CarePlan.text.div 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, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error CarePlan.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from CarePlan

Summary

Mandatory: 2 elements
Must-Support: 8 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of CarePlan.category
  • The element 1 is sliced based on the value of CarePlan.activity.detail.product[x]

 

Other representations of profile: CSV, Excel, Schematron

Notes:

以下概述了此Profile所需的RESTful FHIR互動功能。有關TW Core IG支援的RESTful互動功能的完整清單,請參閱TW Core Server能力聲明。

必須支援以下查詢參數:

  1. 必須(SHALL) 支援透過查詢參數 patient 及 category 查詢所有CarePlan:
    (如何透過reference查詢)
    (如何透過token查詢)
    GET [base]/CarePlan?patient={Type/}[id]&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-twy|assess-plan

    例子:
    (1) GET [base]/CarePlan?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw|assess-plan

建議應該支援以下查詢參數:

  1. 建議應該(SHOULD) 支援透過查詢參數 patient 、 category 及 date 查詢所有CarePlan:
    (如何透過reference查詢)
    (如何透過token查詢)
    (如何透過date查詢)
    GET [base]/CarePlan?patient={Type/}[id]&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-twy|assess-plan&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}

    例子:
    (1) GET [base]/CarePlan?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw|assess-plan&date=ge2019-01-01T00:00:00Z
    (2) GET [base]/CarePlan?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw|assess-plan&date=ge2018-01-01T00:00:00Z&date=le2019-01-01T00:00:00Z

  2. 建議應該(SHOULD) 支援透過查詢參數 patient 、 category 及 status 查詢所有CarePlan:
    (如何透過reference查詢)
    (如何透過token查詢)
    GET [base]/CarePlan?patient={Type/}[id]&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-twy|assess-plan&status={system|}[code]{,{system|}[code],...}

    例子:
    (1) GET [base]/CarePlan?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw|assess-plan&status=active

  3. 建議應該(SHOULD) 支援透過查詢參數 patient 、 category 、 status 及 date 查詢所有CarePlan:
    (如何透過reference查詢)
    (如何透過token查詢)
    (如何透過date查詢)
    GET [base]/CarePlan?patient={Type/}[id]&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-twy|assess-plan&status={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}

    例子:
    (1) GET [base]/CarePlan?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw|assess-plan&status=active&date=ge2019-01-01T00:00:00Z
    (2) GET [base]/CarePlan?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/careplan-category-tw|assess-plan&status=active&date=ge2018-01-01T00:00:00Z&date=le2019-01-01T00:00:00Z