臺灣長期照顧實作指引(TW LTC IG)
1.1.0 - STU 1.1.0

臺灣長期照顧實作指引(TW LTC IG), published by 經濟部產業發展署. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Lorex/TWLongTermCare_IG_Build/ and changes regularly. See the Directory of published versions

Resource Profile: 在宅急症-收案療程

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/HAHEpisodeOfCare Version: 1.1.0
Draft as of 2026-10-30 Computable Name: HAHEpisodeOfCare

每次收案建立一筆療程,記錄負責機構、期間、診斷與團隊。再次收案建立新的療程,仍參照同一個案。

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 C 0..* LTCEpisodeOfCareBase 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
Constraints: hah-episode-finished
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:outcome This element must be supported. 0..1 CodeableConcept 在宅急症-療程結束原因
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome
Binding: 在宅急症-療程結束原因值集 (required)
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.identifier This element must be supported. 1..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
EpisodeOfCare.identifier.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.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
EpisodeOfCare.identifier.value 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.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: EpisodeOfCareType (example): The type of the episode of care.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hah-activity",
      "code" : "acute-home"
    }
  ]
}
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(在宅急症-診斷與照護問題) 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(在宅急症-個案) 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 that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 1..1 Period Interval during responsibility is assumed
EpisodeOfCare.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
EpisodeOfCare.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
EpisodeOfCare.referralRequest 0..* Reference(在宅急症-服務請求) Originating Referral Request(s)
EpisodeOfCare.careManager 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) Care manager/care coordinator for the patient
EpisodeOfCare.team 0..* Reference(在宅急症-照護團隊) Other practitioners facilitating this episode of care

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.identifier.​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.

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()
hah-episode-finished error EpisodeOfCare 療程完成時應填寫實際結束時間與結束原因。 status = 'finished' implies (period.end.exists() and extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome').exists())

This structure is derived from LTCEpisodeOfCareBase

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare C 0..* LTCEpisodeOfCareBase 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
Constraints: hah-episode-finished
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:outcome This element must be supported. 0..1 CodeableConcept 在宅急症-療程結束原因
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome
Binding: 在宅急症-療程結束原因值集 (required)
EpisodeOfCare.identifier This element must be supported. 1..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
EpisodeOfCare.identifier.system 1..1 uri The namespace for the identifier value
EpisodeOfCare.identifier.value 1..1 string The value that is unique
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.diagnosis This element must be supported. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.diagnosis.condition 1..1 Reference(在宅急症-診斷與照護問題) Conditions/problems/diagnoses this episode of care is for
EpisodeOfCare.patient 1..1 Reference(在宅急症-個案) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization 1..1 Reference(長期照顧-機構) Organization that assumes care
EpisodeOfCare.referralRequest 0..* Reference(在宅急症-服務請求) Originating Referral Request(s)
EpisodeOfCare.careManager 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) Care manager/care coordinator for the patient
EpisodeOfCare.team 0..* Reference(在宅急症-照護團隊) Other practitioners facilitating this episode of care

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
hah-episode-finished error EpisodeOfCare 療程完成時應填寫實際結束時間與結束原因。 status = 'finished' implies (period.end.exists() and extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome').exists())
NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare C 0..* LTCEpisodeOfCareBase 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
Constraints: hah-episode-finished
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:outcome This element must be supported. 0..1 CodeableConcept 在宅急症-療程結束原因
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome
Binding: 在宅急症-療程結束原因值集 (required)
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.identifier This element must be supported. 1..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
EpisodeOfCare.identifier.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.identifier.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.identifier.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.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
EpisodeOfCare.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.identifier.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.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: EpisodeOfCareType (example): The type of the episode of care.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hah-activity",
      "code" : "acute-home"
    }
  ]
}
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(在宅急症-診斷與照護問題) 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(在宅急症-個案) 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 that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 1..1 Period Interval during responsibility is assumed
EpisodeOfCare.period.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.period.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
EpisodeOfCare.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
EpisodeOfCare.referralRequest 0..* Reference(在宅急症-服務請求) Originating Referral Request(s)
EpisodeOfCare.careManager 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) Care manager/care coordinator for the patient
EpisodeOfCare.team 0..* Reference(在宅急症-照護團隊) Other practitioners facilitating this episode of care
EpisodeOfCare.account 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.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier.​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.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()
hah-episode-finished error EpisodeOfCare 療程完成時應填寫實際結束時間與結束原因。 status = 'finished' implies (period.end.exists() and extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome').exists())

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare C 0..* LTCEpisodeOfCareBase 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
Constraints: hah-episode-finished
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:outcome This element must be supported. 0..1 CodeableConcept 在宅急症-療程結束原因
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome
Binding: 在宅急症-療程結束原因值集 (required)
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.identifier This element must be supported. 1..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
EpisodeOfCare.identifier.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.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
EpisodeOfCare.identifier.value 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.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: EpisodeOfCareType (example): The type of the episode of care.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hah-activity",
      "code" : "acute-home"
    }
  ]
}
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(在宅急症-診斷與照護問題) 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(在宅急症-個案) 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 that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 1..1 Period Interval during responsibility is assumed
EpisodeOfCare.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
EpisodeOfCare.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
EpisodeOfCare.referralRequest 0..* Reference(在宅急症-服務請求) Originating Referral Request(s)
EpisodeOfCare.careManager 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) Care manager/care coordinator for the patient
EpisodeOfCare.team 0..* Reference(在宅急症-照護團隊) Other practitioners facilitating this episode of care

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.identifier.​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.

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()
hah-episode-finished error EpisodeOfCare 療程完成時應填寫實際結束時間與結束原因。 status = 'finished' implies (period.end.exists() and extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome').exists())

Differential View

This structure is derived from LTCEpisodeOfCareBase

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare C 0..* LTCEpisodeOfCareBase 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
Constraints: hah-episode-finished
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:outcome This element must be supported. 0..1 CodeableConcept 在宅急症-療程結束原因
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome
Binding: 在宅急症-療程結束原因值集 (required)
EpisodeOfCare.identifier This element must be supported. 1..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
EpisodeOfCare.identifier.system 1..1 uri The namespace for the identifier value
EpisodeOfCare.identifier.value 1..1 string The value that is unique
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.type This element must be supported. 1..1 CodeableConcept Type/class - e.g. specialist referral, disease management
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hah-activity",
      "code" : "acute-home"
    }
  ]
}
EpisodeOfCare.diagnosis This element must be supported. 0..* BackboneElement The list of diagnosis relevant to this episode of care
EpisodeOfCare.diagnosis.condition 1..1 Reference(在宅急症-診斷與照護問題) Conditions/problems/diagnoses this episode of care is for
EpisodeOfCare.patient 1..1 Reference(在宅急症-個案) The patient who is the focus of this episode of care
EpisodeOfCare.managingOrganization 1..1 Reference(長期照顧-機構) Organization that assumes care
EpisodeOfCare.referralRequest 0..* Reference(在宅急症-服務請求) Originating Referral Request(s)
EpisodeOfCare.careManager 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) Care manager/care coordinator for the patient
EpisodeOfCare.team 0..* Reference(在宅急症-照護團隊) Other practitioners facilitating this episode of care

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
hah-episode-finished error EpisodeOfCare 療程完成時應填寫實際結束時間與結束原因。 status = 'finished' implies (period.end.exists() and extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome').exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
EpisodeOfCare C 0..* LTCEpisodeOfCareBase 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
Constraints: hah-episode-finished
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:outcome This element must be supported. 0..1 CodeableConcept 在宅急症-療程結束原因
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome
Binding: 在宅急症-療程結束原因值集 (required)
EpisodeOfCare.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
EpisodeOfCare.identifier This element must be supported. 1..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
EpisodeOfCare.identifier.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.identifier.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.identifier.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.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
EpisodeOfCare.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
EpisodeOfCare.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
EpisodeOfCare.identifier.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.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: EpisodeOfCareType (example): The type of the episode of care.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hah-activity",
      "code" : "acute-home"
    }
  ]
}
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(在宅急症-診斷與照護問題) 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(在宅急症-個案) 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 that assumes care
EpisodeOfCare.period This element must be supported. This element is included in summaries. 1..1 Period Interval during responsibility is assumed
EpisodeOfCare.period.id 0..1 string Unique id for inter-element referencing
EpisodeOfCare.period.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
EpisodeOfCare.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
EpisodeOfCare.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
EpisodeOfCare.referralRequest 0..* Reference(在宅急症-服務請求) Originating Referral Request(s)
EpisodeOfCare.careManager 0..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) Care manager/care coordinator for the patient
EpisodeOfCare.team 0..* Reference(在宅急症-照護團隊) Other practitioners facilitating this episode of care
EpisodeOfCare.account 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.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
EpisodeOfCare.identifier.​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.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()
hah-episode-finished error EpisodeOfCare 療程完成時應填寫實際結束時間與結束原因。 status = 'finished' implies (period.end.exists() and extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHOutcome').exists())

 

Other representations of profile: CSV, Excel, Schematron