臺灣社政領域基礎實作指引
0.0.1 - ci-build

臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions

Resource Profile: 個案服務案件-EpisodeOfCare TWSS Base

Official URL: https://sfaa.gov.tw/base/StructureDefinition/EpisodeOfCare-twss-base Version: 0.0.1
Draft as of 2026-10-20 Computable Name: EpisodeOfCareTWSSBase

個案服務案件-EpisodeOfCare TWSS Base Profile 表達衛生福利部社會及家庭署業務中的個案服務案件。因 TW Core 0.3.2 尚未提供 EpisodeOfCare Profile,故繼承原生 EpisodeOfCare,並於設定社福欄位後補回適用的 TW Core 0.3.2 共通交換規則。

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
EpisodeOfCare 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
EpisodeOfCare.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
EpisodeOfCare.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for extension.extension:caseCloseReason This element must be supported. 0..* CodeableConceptTW 結案原因
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-close-reason
EpisodeOfCare.Slices for extension.extension:serviceCaseStatus This element must be supported. 0..1 CodeableConceptTW 服務案件狀態
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-status-extension
Binding: TWSS-個案案件狀態值集 (extensible)
EpisodeOfCare.Slices for extension.extension:isReferredAtClosure This element must be supported. 0..1 boolean 結案時是否轉介
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-is-referred-at-closure
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.Slices for identifier This element must be supported. 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for identifier.identifier:caseNumber This element must be supported. 0..1 Identifier 個案編號
EpisodeOfCare.Slices for identifier.identifier:caseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:caseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:caseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber This element must be supported. 0..1 Identifier 跨系統個案編號
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/cross-system-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber This element must be supported. 0..1 Identifier 歷史案號
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/historical-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory This element must be supported. 0..* BackboneElement Past list of status codes (the current status may be included to cover the start date of the status)
EpisodeOfCare.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.statusHistory.status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory.period 1..1 Period Duration the EpisodeOfCare was in the specified status
EpisodeOfCare.Slices for type This element must be supported. This element is included in summaries. 1..* CodeableConcept Type/class - e.g. specialist referral, disease management
Slice: Unordered, Open by pattern:coding.system
Binding: EpisodeOfCareType (example): The type of the episode of care.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for type.type:caseType This element must be supported. This element is included in summaries. 0..* CodeableConcept 案件類型
Binding: TWSS-案件類型值集 (required)
EpisodeOfCare.Slices for type.type:caseServiceType This element must be supported. This element is included in summaries. 0..* CodeableConcept 個案服務別
Binding: TWSS-個案服務別值集 (required)
EpisodeOfCare.diagnosis This element must be supported. This element is included in summaries. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.diagnosis.condition This element is included in summaries. 1..1 Reference(Condition) Conditions/problems/diagnoses this episode of care is for
EpisodeOfCare.patient This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization This element must be supported. This element is included in summaries. 1..1 Reference(機構資料-Organization TWSS Base) Organization that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 0..1 Period 主責單位承擔個案服務案件責任的期間。
EpisodeOfCare.referralRequest This element must be supported. 0..* Reference(個案轉介-ServiceRequest TWSS Base) Originating Referral Request(s)
EpisodeOfCare.careManager This element must be supported. 0..1 Reference(人員資料-Practitioner TWSS Base | 人員角色-PractitionerRole TWSS Base) Care manager/care coordinator for the patient
EpisodeOfCare.team This element must be supported. 0..* Reference(CareTeam) Other practitioners facilitating this episode of care
EpisodeOfCare.account This element must be supported. 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.identifier:caseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:crossSystemCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:historicalCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base example Episode of care type 📍4.0.1 FHIR Std.
EpisodeOfCare.type:caseType Base required TWSS-案件類型值集 📦0.0.1 This IG
EpisodeOfCare.type:caseServiceType Base required TWSS-個案服務別值集 📦0.0.1 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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()

This structure is derived from EpisodeOfCare

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
EpisodeOfCare.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for extension.extension:caseCloseReason This element must be supported. 0..* CodeableConceptTW 結案原因
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-close-reason
EpisodeOfCare.Slices for extension.extension:serviceCaseStatus This element must be supported. 0..1 CodeableConceptTW 服務案件狀態
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-status-extension
Binding: TWSS-個案案件狀態值集 (extensible)
EpisodeOfCare.Slices for extension.extension:isReferredAtClosure This element must be supported. 0..1 boolean 結案時是否轉介
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-is-referred-at-closure
EpisodeOfCare.Slices for identifier This element must be supported. 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Open by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for identifier.identifier:caseNumber This element must be supported. 0..1 Identifier 個案編號
EpisodeOfCare.Slices for identifier.identifier:caseNumber.system This element must be supported. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:caseNumber.value This element must be supported. 1..1 string The value that is unique
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber This element must be supported. 0..1 Identifier 跨系統個案編號
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.system This element must be supported. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/cross-system-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.value This element must be supported. 1..1 string The value that is unique
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber This element must be supported. 0..1 Identifier 歷史案號
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.system This element must be supported. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/historical-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.value This element must be supported. 1..1 string The value that is unique
EpisodeOfCare.status This element must be supported. 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
EpisodeOfCare.Slices for type This element must be supported. 1..* CodeableConcept Type/class - e.g. specialist referral, disease management
Slice: Unordered, Open by pattern:coding.system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for type.type:caseType This element must be supported. 0..* CodeableConcept 案件類型
Binding: TWSS-案件類型值集 (required)
EpisodeOfCare.Slices for type.type:caseType.coding
EpisodeOfCare.Slices for type.type:caseType.coding.system 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-type (extensions allowed)
EpisodeOfCare.Slices for type.type:caseServiceType This element must be supported. 0..* CodeableConcept 個案服務別
Binding: TWSS-個案服務別值集 (required)
EpisodeOfCare.Slices for type.type:caseServiceType.coding
EpisodeOfCare.Slices for type.type:caseServiceType.coding.system 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-service-type (extensions allowed)
EpisodeOfCare.diagnosis This element must be supported. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.patient This element must be supported. 1..1 Reference(個案資料-Patient TWSS Base) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization This element must be supported. 1..1 Reference(機構資料-Organization TWSS Base) Organization that assumes care
EpisodeOfCare.period This element must be supported. 0..1 Period 主責單位承擔個案服務案件責任的期間。
EpisodeOfCare.referralRequest This element must be supported. 0..* Reference(個案轉介-ServiceRequest TWSS Base) Originating Referral Request(s)
EpisodeOfCare.careManager This element must be supported. 0..1 Reference(人員資料-Practitioner TWSS Base | 人員角色-PractitionerRole TWSS Base) Care manager/care coordinator for the patient
EpisodeOfCare.team This element must be supported. 0..* Reference(CareTeam) Other practitioners facilitating this episode of care
EpisodeOfCare.account This element must be supported. 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
EpisodeOfCare.type:caseType Base required TWSS-案件類型值集 📦0.0.1 This IG
EpisodeOfCare.type:caseServiceType Base required TWSS-個案服務別值集 📦0.0.1 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
EpisodeOfCare.id This element is included in summaries. 0..1 id Logical id of this artifact
EpisodeOfCare.meta This element is included in summaries. 0..1 Meta Metadata about the resource
EpisodeOfCare.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
EpisodeOfCare.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
EpisodeOfCare.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
EpisodeOfCare.contained 0..* Resource Contained, inline Resources
EpisodeOfCare.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for extension.extension:caseCloseReason This element must be supported. 0..* CodeableConceptTW 結案原因
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-close-reason
EpisodeOfCare.Slices for extension.extension:serviceCaseStatus This element must be supported. 0..1 CodeableConceptTW 服務案件狀態
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-status-extension
Binding: TWSS-個案案件狀態值集 (extensible)
EpisodeOfCare.Slices for extension.extension:isReferredAtClosure This element must be supported. 0..1 boolean 結案時是否轉介
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-is-referred-at-closure
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.Slices for identifier This element must be supported. 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for identifier.identifier:caseNumber This element must be supported. 0..1 Identifier 個案編號
EpisodeOfCare.Slices for identifier.identifier:caseNumber.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for identifier.identifier:caseNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for identifier.identifier:caseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:caseNumber.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
EpisodeOfCare.Slices for identifier.identifier:caseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:caseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:caseNumber.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.Slices for identifier.identifier:caseNumber.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber This element must be supported. 0..1 Identifier 跨系統個案編號
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/cross-system-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber This element must be supported. 0..1 Identifier 歷史案號
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/historical-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
EpisodeOfCare.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory This element must be supported. 0..* BackboneElement Past list of status codes (the current status may be included to cover the start date of the status)
EpisodeOfCare.statusHistory.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.statusHistory.extension 0..* Extension Additional content defined by implementations
EpisodeOfCare.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.statusHistory.status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory.period 1..1 Period Duration the EpisodeOfCare was in the specified status
EpisodeOfCare.Slices for type This element must be supported. This element is included in summaries. 1..* CodeableConcept Type/class - e.g. specialist referral, disease management
Slice: Unordered, Open by pattern:coding.system
Binding: EpisodeOfCareType (example): The type of the episode of care.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for type.type:caseType This element must be supported. This element is included in summaries. 0..* CodeableConcept 案件類型
Binding: TWSS-案件類型值集 (required)
EpisodeOfCare.Slices for type.type:caseType.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseType.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseType.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
EpisodeOfCare.Slices for type.type:caseType.coding.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseType.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseType.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-type (extensions allowed)
EpisodeOfCare.Slices for type.type:caseType.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
EpisodeOfCare.Slices for type.type:caseType.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
EpisodeOfCare.Slices for type.type:caseType.coding.display This element is included in summaries. 0..1 string Representation defined by the system
EpisodeOfCare.Slices for type.type:caseType.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
EpisodeOfCare.Slices for type.type:caseType.text This element is included in summaries. 0..1 string Plain text representation of the concept
EpisodeOfCare.Slices for type.type:caseServiceType This element must be supported. This element is included in summaries. 0..* CodeableConcept 個案服務別
Binding: TWSS-個案服務別值集 (required)
EpisodeOfCare.Slices for type.type:caseServiceType.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseServiceType.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseServiceType.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
EpisodeOfCare.Slices for type.type:caseServiceType.coding.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseServiceType.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseServiceType.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-service-type (extensions allowed)
EpisodeOfCare.Slices for type.type:caseServiceType.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
EpisodeOfCare.Slices for type.type:caseServiceType.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
EpisodeOfCare.Slices for type.type:caseServiceType.coding.display This element is included in summaries. 0..1 string Representation defined by the system
EpisodeOfCare.Slices for type.type:caseServiceType.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
EpisodeOfCare.Slices for type.type:caseServiceType.text This element is included in summaries. 0..1 string Plain text representation of the concept
EpisodeOfCare.diagnosis This element must be supported. This element is included in summaries. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.diagnosis.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.diagnosis.extension 0..* Extension Additional content defined by implementations
EpisodeOfCare.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.diagnosis.condition This element is included in summaries. 1..1 Reference(Condition) Conditions/problems/diagnoses this episode of care is for
EpisodeOfCare.diagnosis.role This element is included in summaries. 0..1 CodeableConcept Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.
EpisodeOfCare.diagnosis.rank This element is included in summaries. 0..1 positiveInt Ranking of the diagnosis (for each role type)
EpisodeOfCare.patient This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization This element must be supported. This element is included in summaries. 1..1 Reference(機構資料-Organization TWSS Base) Organization that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 0..1 Period 主責單位承擔個案服務案件責任的期間。
EpisodeOfCare.referralRequest This element must be supported. 0..* Reference(個案轉介-ServiceRequest TWSS Base) Originating Referral Request(s)
EpisodeOfCare.careManager This element must be supported. 0..1 Reference(人員資料-Practitioner TWSS Base | 人員角色-PractitionerRole TWSS Base) Care manager/care coordinator for the patient
EpisodeOfCare.team This element must be supported. 0..* Reference(CareTeam) Other practitioners facilitating this episode of care
EpisodeOfCare.account This element must be supported. 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.language Base preferred Common Languages 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:caseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:caseNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:crossSystemCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:crossSystemCaseNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:historicalCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:historicalCaseNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
EpisodeOfCare.status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base example Episode of care type 📍4.0.1 FHIR Std.
EpisodeOfCare.type:caseType Base required TWSS-案件類型值集 📦0.0.1 This IG
EpisodeOfCare.type:caseServiceType Base required TWSS-個案服務別值集 📦0.0.1 This IG
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
EpisodeOfCare.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
EpisodeOfCare.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for extension.extension:caseCloseReason This element must be supported. 0..* CodeableConceptTW 結案原因
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-close-reason
EpisodeOfCare.Slices for extension.extension:serviceCaseStatus This element must be supported. 0..1 CodeableConceptTW 服務案件狀態
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-status-extension
Binding: TWSS-個案案件狀態值集 (extensible)
EpisodeOfCare.Slices for extension.extension:isReferredAtClosure This element must be supported. 0..1 boolean 結案時是否轉介
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-is-referred-at-closure
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.Slices for identifier This element must be supported. 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for identifier.identifier:caseNumber This element must be supported. 0..1 Identifier 個案編號
EpisodeOfCare.Slices for identifier.identifier:caseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:caseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:caseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber This element must be supported. 0..1 Identifier 跨系統個案編號
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/cross-system-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber This element must be supported. 0..1 Identifier 歷史案號
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/historical-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory This element must be supported. 0..* BackboneElement Past list of status codes (the current status may be included to cover the start date of the status)
EpisodeOfCare.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.statusHistory.status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory.period 1..1 Period Duration the EpisodeOfCare was in the specified status
EpisodeOfCare.Slices for type This element must be supported. This element is included in summaries. 1..* CodeableConcept Type/class - e.g. specialist referral, disease management
Slice: Unordered, Open by pattern:coding.system
Binding: EpisodeOfCareType (example): The type of the episode of care.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for type.type:caseType This element must be supported. This element is included in summaries. 0..* CodeableConcept 案件類型
Binding: TWSS-案件類型值集 (required)
EpisodeOfCare.Slices for type.type:caseServiceType This element must be supported. This element is included in summaries. 0..* CodeableConcept 個案服務別
Binding: TWSS-個案服務別值集 (required)
EpisodeOfCare.diagnosis This element must be supported. This element is included in summaries. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.diagnosis.condition This element is included in summaries. 1..1 Reference(Condition) Conditions/problems/diagnoses this episode of care is for
EpisodeOfCare.patient This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization This element must be supported. This element is included in summaries. 1..1 Reference(機構資料-Organization TWSS Base) Organization that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 0..1 Period 主責單位承擔個案服務案件責任的期間。
EpisodeOfCare.referralRequest This element must be supported. 0..* Reference(個案轉介-ServiceRequest TWSS Base) Originating Referral Request(s)
EpisodeOfCare.careManager This element must be supported. 0..1 Reference(人員資料-Practitioner TWSS Base | 人員角色-PractitionerRole TWSS Base) Care manager/care coordinator for the patient
EpisodeOfCare.team This element must be supported. 0..* Reference(CareTeam) Other practitioners facilitating this episode of care
EpisodeOfCare.account This element must be supported. 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.identifier:caseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:crossSystemCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:historicalCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base example Episode of care type 📍4.0.1 FHIR Std.
EpisodeOfCare.type:caseType Base required TWSS-案件類型值集 📦0.0.1 This IG
EpisodeOfCare.type:caseServiceType Base required TWSS-個案服務別值集 📦0.0.1 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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()

Differential View

This structure is derived from EpisodeOfCare

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
EpisodeOfCare.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for extension.extension:caseCloseReason This element must be supported. 0..* CodeableConceptTW 結案原因
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-close-reason
EpisodeOfCare.Slices for extension.extension:serviceCaseStatus This element must be supported. 0..1 CodeableConceptTW 服務案件狀態
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-status-extension
Binding: TWSS-個案案件狀態值集 (extensible)
EpisodeOfCare.Slices for extension.extension:isReferredAtClosure This element must be supported. 0..1 boolean 結案時是否轉介
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-is-referred-at-closure
EpisodeOfCare.Slices for identifier This element must be supported. 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Open by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for identifier.identifier:caseNumber This element must be supported. 0..1 Identifier 個案編號
EpisodeOfCare.Slices for identifier.identifier:caseNumber.system This element must be supported. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:caseNumber.value This element must be supported. 1..1 string The value that is unique
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber This element must be supported. 0..1 Identifier 跨系統個案編號
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.system This element must be supported. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/cross-system-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.value This element must be supported. 1..1 string The value that is unique
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber This element must be supported. 0..1 Identifier 歷史案號
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.system This element must be supported. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/historical-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.value This element must be supported. 1..1 string The value that is unique
EpisodeOfCare.status This element must be supported. 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
EpisodeOfCare.statusHistory This element must be supported. 0..* BackboneElement Past list of status codes (the current status may be included to cover the start date of the status)
EpisodeOfCare.Slices for type This element must be supported. 1..* CodeableConcept Type/class - e.g. specialist referral, disease management
Slice: Unordered, Open by pattern:coding.system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for type.type:caseType This element must be supported. 0..* CodeableConcept 案件類型
Binding: TWSS-案件類型值集 (required)
EpisodeOfCare.Slices for type.type:caseType.coding
EpisodeOfCare.Slices for type.type:caseType.coding.system 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-type (extensions allowed)
EpisodeOfCare.Slices for type.type:caseServiceType This element must be supported. 0..* CodeableConcept 個案服務別
Binding: TWSS-個案服務別值集 (required)
EpisodeOfCare.Slices for type.type:caseServiceType.coding
EpisodeOfCare.Slices for type.type:caseServiceType.coding.system 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-service-type (extensions allowed)
EpisodeOfCare.diagnosis This element must be supported. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.patient This element must be supported. 1..1 Reference(個案資料-Patient TWSS Base) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization This element must be supported. 1..1 Reference(機構資料-Organization TWSS Base) Organization that assumes care
EpisodeOfCare.period This element must be supported. 0..1 Period 主責單位承擔個案服務案件責任的期間。
EpisodeOfCare.referralRequest This element must be supported. 0..* Reference(個案轉介-ServiceRequest TWSS Base) Originating Referral Request(s)
EpisodeOfCare.careManager This element must be supported. 0..1 Reference(人員資料-Practitioner TWSS Base | 人員角色-PractitionerRole TWSS Base) Care manager/care coordinator for the patient
EpisodeOfCare.team This element must be supported. 0..* Reference(CareTeam) Other practitioners facilitating this episode of care
EpisodeOfCare.account This element must be supported. 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
EpisodeOfCare.type:caseType Base required TWSS-案件類型值集 📦0.0.1 This IG
EpisodeOfCare.type:caseServiceType Base required TWSS-個案服務別值集 📦0.0.1 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
EpisodeOfCare.id This element is included in summaries. 0..1 id Logical id of this artifact
EpisodeOfCare.meta This element is included in summaries. 0..1 Meta Metadata about the resource
EpisodeOfCare.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
EpisodeOfCare.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
EpisodeOfCare.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
EpisodeOfCare.contained 0..* Resource Contained, inline Resources
EpisodeOfCare.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for extension.extension:caseCloseReason This element must be supported. 0..* CodeableConceptTW 結案原因
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-close-reason
EpisodeOfCare.Slices for extension.extension:serviceCaseStatus This element must be supported. 0..1 CodeableConceptTW 服務案件狀態
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-case-status-extension
Binding: TWSS-個案案件狀態值集 (extensible)
EpisodeOfCare.Slices for extension.extension:isReferredAtClosure This element must be supported. 0..1 boolean 結案時是否轉介
URL: https://sfaa.gov.tw/base/StructureDefinition/twss-is-referred-at-closure
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.Slices for identifier This element must be supported. 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
Slice: Unordered, Open by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for identifier.identifier:caseNumber This element must be supported. 0..1 Identifier 個案編號
EpisodeOfCare.Slices for identifier.identifier:caseNumber.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for identifier.identifier:caseNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for identifier.identifier:caseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:caseNumber.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
EpisodeOfCare.Slices for identifier.identifier:caseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:caseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:caseNumber.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.Slices for identifier.identifier:caseNumber.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber This element must be supported. 0..1 Identifier 跨系統個案編號
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/cross-system-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.Slices for identifier.identifier:crossSystemCaseNumber.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber This element must be supported. 0..1 Identifier 歷史案號
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://sfaa.gov.tw/base/identifier/historical-case-number (extensions allowed)
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.Slices for identifier.identifier:historicalCaseNumber.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
EpisodeOfCare.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory This element must be supported. 0..* BackboneElement Past list of status codes (the current status may be included to cover the start date of the status)
EpisodeOfCare.statusHistory.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.statusHistory.extension 0..* Extension Additional content defined by implementations
EpisodeOfCare.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.statusHistory.status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: EpisodeOfCareStatus (required): The status of the episode of care.
EpisodeOfCare.statusHistory.period 1..1 Period Duration the EpisodeOfCare was in the specified status
EpisodeOfCare.Slices for type This element must be supported. This element is included in summaries. 1..* CodeableConcept Type/class - e.g. specialist referral, disease management
Slice: Unordered, Open by pattern:coding.system
Binding: EpisodeOfCareType (example): The type of the episode of care.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
EpisodeOfCare.Slices for type.type:caseType This element must be supported. This element is included in summaries. 0..* CodeableConcept 案件類型
Binding: TWSS-案件類型值集 (required)
EpisodeOfCare.Slices for type.type:caseType.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseType.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseType.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
EpisodeOfCare.Slices for type.type:caseType.coding.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseType.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseType.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-type (extensions allowed)
EpisodeOfCare.Slices for type.type:caseType.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
EpisodeOfCare.Slices for type.type:caseType.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
EpisodeOfCare.Slices for type.type:caseType.coding.display This element is included in summaries. 0..1 string Representation defined by the system
EpisodeOfCare.Slices for type.type:caseType.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
EpisodeOfCare.Slices for type.type:caseType.text This element is included in summaries. 0..1 string Plain text representation of the concept
EpisodeOfCare.Slices for type.type:caseServiceType This element must be supported. This element is included in summaries. 0..* CodeableConcept 個案服務別
Binding: TWSS-個案服務別值集 (required)
EpisodeOfCare.Slices for type.type:caseServiceType.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseServiceType.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseServiceType.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
EpisodeOfCare.Slices for type.type:caseServiceType.coding.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.Slices for type.type:caseServiceType.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.Slices for type.type:caseServiceType.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-case-service-type (extensions allowed)
EpisodeOfCare.Slices for type.type:caseServiceType.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
EpisodeOfCare.Slices for type.type:caseServiceType.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
EpisodeOfCare.Slices for type.type:caseServiceType.coding.display This element is included in summaries. 0..1 string Representation defined by the system
EpisodeOfCare.Slices for type.type:caseServiceType.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
EpisodeOfCare.Slices for type.type:caseServiceType.text This element is included in summaries. 0..1 string Plain text representation of the concept
EpisodeOfCare.diagnosis This element must be supported. This element is included in summaries. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.diagnosis.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.diagnosis.extension 0..* Extension Additional content defined by implementations
EpisodeOfCare.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
EpisodeOfCare.diagnosis.condition This element is included in summaries. 1..1 Reference(Condition) Conditions/problems/diagnoses this episode of care is for
EpisodeOfCare.diagnosis.role This element is included in summaries. 0..1 CodeableConcept Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.
EpisodeOfCare.diagnosis.rank This element is included in summaries. 0..1 positiveInt Ranking of the diagnosis (for each role type)
EpisodeOfCare.patient This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization This element must be supported. This element is included in summaries. 1..1 Reference(機構資料-Organization TWSS Base) Organization that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 0..1 Period 主責單位承擔個案服務案件責任的期間。
EpisodeOfCare.referralRequest This element must be supported. 0..* Reference(個案轉介-ServiceRequest TWSS Base) Originating Referral Request(s)
EpisodeOfCare.careManager This element must be supported. 0..1 Reference(人員資料-Practitioner TWSS Base | 人員角色-PractitionerRole TWSS Base) Care manager/care coordinator for the patient
EpisodeOfCare.team This element must be supported. 0..* Reference(CareTeam) Other practitioners facilitating this episode of care
EpisodeOfCare.account This element must be supported. 0..* Reference(Account) The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.language Base preferred Common Languages 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:caseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:caseNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:crossSystemCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:crossSystemCaseNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:historicalCaseNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier:historicalCaseNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
EpisodeOfCare.status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base example Episode of care type 📍4.0.1 FHIR Std.
EpisodeOfCare.type:caseType Base required TWSS-案件類型值集 📦0.0.1 This IG
EpisodeOfCare.type:caseServiceType Base required TWSS-個案服務別值集 📦0.0.1 This IG
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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()

 

Other representations of profile: CSV, Excel, Schematron

Notes:

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

此 Profile 使用 FHIR R4 EpisodeOfCare Resource;伺服端建議(SHOULD)支援以下 FHIR 原生查詢參數: 完整定義請參考 FHIR R4 EpisodeOfCare 原生查詢參數。

查詢參數 類型 查詢範例
_content string GET [base]/_content=[value]
_filter special GET [base]/_filter=[value]
_id token GET [base]/EpisodeOfCare/[id]
_lastUpdated date GET [base]/_lastUpdated=[value]
_profile uri GET [base]/_profile=[value]
_query token GET [base]/_query=[value]
_security token GET [base]/_security=[value]
_source uri GET [base]/_source=[value]
_tag token GET [base]/_tag=[value]
_text string GET [base]/_text=[value]
care-manager reference GET [base]/care-manager=[value]
condition reference GET [base]/condition=[value]
date date GET [base]/date=[value]
identifier token GET [base]/identifier=[value]
incoming-referral reference GET [base]/incoming-referral=[value]
organization reference GET [base]/organization=[value]
patient reference GET [base]/patient=[value]
status token GET [base]/status=[value]
type token GET [base]/type=[value]