臺灣長期照顧實作指引(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/HNWound Version: 1.1.0
Active as of 2026-10-30 Computable Name: HNWound

每個傷口建立一筆紀錄。沿用 TW Core 簡易觀察,因既有壓傷 Condition 不適用失禁性皮膚炎及其他傷口。原規範未明訂尺寸單位,不從來源數字推定單位。

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
Observation C 0..* TWCoreObservationSimple 通用檢驗檢查結果或發現的測量和簡單聲明
Constraints: obs-6, obs-7, hn-wound-stage, hn-wound-dermatitis, hn-wound-other, hn-wound-size
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Observation.Slices for extension 2..* 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
Observation.Slices for extension.extension:episode This element must be supported. 1..1 Reference(居家護理-收案歷程) 居家護理-收案關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNEpisode
Observation.Slices for extension.extension:sourceForm This element must be supported. 1..1 Reference(QuestionnaireResponse) 居家護理-來源表單
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNSourceForm
Observation.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Observation.Slices for category This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查的分類
Slice: Unordered, Open by pattern:$this
Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for category.category:twcore This element must be supported. 1..1 CodeableConcept 臺灣核心分類
Binding: 臺灣衛福部資訊處類型代碼值集 (required): 此 slice 綁定的值集之綁定強度雖為最高強度「要求使用 (Requird)」,但因 slice 之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "exam"
    }
  ]
}
Observation.code This element must be supported. This element is included in summaries. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查類型
Binding: LOINCCodes (preferred): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound"
    }
  ]
}
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(居家護理-個案) 檢驗檢查關注的對象
Observation.effective[x] This element must be supported. This element is included in summaries. 1..1 dateTime This type must be supported. 檢驗檢查的時間或時段
Observation.performer This element must be supported. This element is included in summaries. 0..* Reference(TW Core Practitioner | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core CareTeam) 負責該檢驗檢查的人員
Observation.bodySite This element must be supported. 1..1 CodeableConcept Observed body part
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Observation.bodySite.text This element is included in summaries. 1..1 string Plain text representation of the concept
Observation.Slices for component This element is included in summaries. 4..* BackboneElement Component results
Slice: Unordered, Closed by pattern:code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for component.component:All Slices Content/Rules for all slices
Observation.Slices for component.component:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:All Slices.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Observation.Slices for component.component:category This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:category.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:category.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-category"
    }
  ]
}
Observation.Slices for component.component:category.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口分類 (required)
Observation.Slices for component.component:category.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level This element must be supported. This element is included in summaries. 0..1 BackboneElement Component results
Observation.Slices for component.component:level.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:level.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-level"
    }
  ]
}
Observation.Slices for component.component:level.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口等級 (required)
Observation.Slices for component.component:level.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:length.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:length.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "length"
    }
  ]
}
Observation.Slices for component.component:length.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:length.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:length.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:length.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:width This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:width.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:width.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "width"
    }
  ]
}
Observation.Slices for component.component:width.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:width.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:width.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:width.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:width.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:depth This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:depth.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:depth.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "depth"
    }
  ]
}
Observation.Slices for component.component:depth.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:depth.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:depth.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:depth.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:depth.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處類型代碼值集 📦0.3.0 臺灣核心實作指引 v1.0
Observation.code Base preferred LOINC Codes 📦4.0.1 FHIR Std.
Observation.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:category.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:category.​value[x] Base required 居家護理-傷口分類 📦1.1.0 This IG
Observation.component:level.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:level.​value[x] Base required 居家護理-傷口等級 📦1.1.0 This IG
Observation.component:length.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:length.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:length.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:width.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:width.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:width.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:depth.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:depth.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:depth.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
hn-wound-dermatitis error Observation 失禁性皮膚炎應填入 1A、1B、2A 或 2B。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cc7a2787e9f48').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ccf3d835a3018').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ce33cd81b67cc').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c7259a0720e42').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c5c19c5dfd9c3').exists()))
hn-wound-other error Observation 其他傷口應省略等級並填寫說明。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cd2909f1647e7').exists() implies (component.where(code.coding.where(code='wound-level').exists()).empty() and note.text.exists())
hn-wound-size error Observation 只有無法分期的壓傷可以缺少尺寸;缺值時須填入缺值原因。 component.where(code.coding.where(code='length').exists() or code.coding.where(code='width').exists() or code.coding.where(code='depth').exists()).all(value.exists() or (dataAbsentReason.exists() and %resource.component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() and %resource.component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists()))
hn-wound-stage error Observation 壓傷應填入對應的分期。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cd2309630a543').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c02aab4358253').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cccd9b119924f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cb77fa71e8c7f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c6210bfc58f77').exists()))
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

This structure is derived from TWCoreObservationSimple

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Observation C 0..* TWCoreObservationSimple 通用檢驗檢查結果或發現的測量和簡單聲明
Constraints: hn-wound-stage, hn-wound-dermatitis, hn-wound-other, hn-wound-size
Observation.Slices for extension 2..* 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
Observation.Slices for extension.extension:episode This element must be supported. 1..1 Reference(居家護理-收案歷程) 居家護理-收案關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNEpisode
Observation.Slices for extension.extension:sourceForm This element must be supported. 1..1 Reference(QuestionnaireResponse) 居家護理-來源表單
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNSourceForm
Observation.Slices for category Content/Rules for all slices
Observation.Slices for category.category:twcore 1..1 CodeableConcept 臺灣核心分類
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "exam"
    }
  ]
}
Observation.code 1..1 CodeableConceptTW 檢驗檢查類型
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound"
    }
  ]
}
Observation.effective[x] 1..1 dateTime 檢驗檢查的時間或時段
Observation.value[x] 0..0 檢驗檢查的結果值
Observation.bodySite This element must be supported. 1..1 CodeableConcept Observed body part
Observation.bodySite.text 1..1 string Plain text representation of the concept
Observation.Slices for component 4..* BackboneElement Component results
Slice: Unordered, Closed by pattern:code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for component.component:category This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:category.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-category"
    }
  ]
}
Observation.Slices for component.component:category.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.value[x] 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口分類 (required)
Observation.Slices for component.component:category.value[x].coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level This element must be supported. 0..1 BackboneElement Component results
Observation.Slices for component.component:level.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-level"
    }
  ]
}
Observation.Slices for component.component:level.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.value[x] 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口等級 (required)
Observation.Slices for component.component:level.value[x].coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:length.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "length"
    }
  ]
}
Observation.Slices for component.component:length.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length.value[x] 0..1 Quantity Actual component result
Observation.Slices for component.component:length.value[x].value 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:length.dataAbsentReason 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:width This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:width.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "width"
    }
  ]
}
Observation.Slices for component.component:width.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:width.value[x] 0..1 Quantity Actual component result
Observation.Slices for component.component:width.value[x].value 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:width.dataAbsentReason 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:depth This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:depth.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "depth"
    }
  ]
}
Observation.Slices for component.component:depth.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:depth.value[x] 0..1 Quantity Actual component result
Observation.Slices for component.component:depth.value[x].value 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:depth.dataAbsentReason 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.component:category.​value[x] Base required 居家護理-傷口分類 📦1.1.0 This IG
Observation.component:level.​value[x] Base required 居家護理-傷口等級 📦1.1.0 This IG
Observation.component:length.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:width.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:depth.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
hn-wound-dermatitis error Observation 失禁性皮膚炎應填入 1A、1B、2A 或 2B。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cc7a2787e9f48').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ccf3d835a3018').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ce33cd81b67cc').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c7259a0720e42').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c5c19c5dfd9c3').exists()))
hn-wound-other error Observation 其他傷口應省略等級並填寫說明。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cd2909f1647e7').exists() implies (component.where(code.coding.where(code='wound-level').exists()).empty() and note.text.exists())
hn-wound-size error Observation 只有無法分期的壓傷可以缺少尺寸;缺值時須填入缺值原因。 component.where(code.coding.where(code='length').exists() or code.coding.where(code='width').exists() or code.coding.where(code='depth').exists()).all(value.exists() or (dataAbsentReason.exists() and %resource.component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() and %resource.component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists()))
hn-wound-stage error Observation 壓傷應填入對應的分期。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cd2309630a543').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c02aab4358253').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cccd9b119924f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cb77fa71e8c7f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c6210bfc58f77').exists()))
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Observation C 0..* TWCoreObservationSimple 通用檢驗檢查結果或發現的測量和簡單聲明
Constraints: obs-6, obs-7, hn-wound-stage, hn-wound-dermatitis, hn-wound-other, hn-wound-size
Observation.id This element is included in summaries. 0..1 id Logical id of this artifact
Observation.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Observation.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Observation.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
Observation.contained 0..* Resource Contained, inline Resources
Observation.Slices for extension 2..* 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
Observation.Slices for extension.extension:episode This element must be supported. 1..1 Reference(居家護理-收案歷程) 居家護理-收案關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNEpisode
Observation.Slices for extension.extension:sourceForm This element must be supported. 1..1 Reference(QuestionnaireResponse) 居家護理-來源表單
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNSourceForm
Observation.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Observation.identifier This element is included in summaries. 0..* Identifier Business Identifier for observation
Observation.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan | DeviceRequest | ImmunizationRecommendation | TW Core MedicationRequest | NutritionOrder | TW Core ServiceRequest) 檢驗檢查的依據
Observation.partOf This element is included in summaries. 0..* Reference(MedicationAdministration | TW Core MedicationDispense | TW Core MedicationStatement | TW Core Procedure | TW Core Immunization | TW Core ImagingStudy) 作為較大項目的一部分
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Observation.Slices for category This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查的分類
Slice: Unordered, Open by pattern:$this
Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for category.category:twcore This element must be supported. 1..1 CodeableConcept 臺灣核心分類
Binding: 臺灣衛福部資訊處類型代碼值集 (required): 此 slice 綁定的值集之綁定強度雖為最高強度「要求使用 (Requird)」,但因 slice 之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "exam"
    }
  ]
}
Observation.code This element must be supported. This element is included in summaries. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查類型
Binding: LOINCCodes (preferred): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound"
    }
  ]
}
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(居家護理-個案) 檢驗檢查關注的對象
Observation.focus This element is included in summaries. 0..* Reference(Resource) What the observation is about, when it is not about the subject of record
Observation.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此檢驗檢查相關的就醫事件
Observation.effective[x] This element must be supported. This element is included in summaries. 1..1 dateTime This type must be supported. 檢驗檢查的時間或時段
Observation.issued This element is included in summaries. 0..1 instant Date/Time this version was made available
Observation.performer This element must be supported. This element is included in summaries. 0..* Reference(TW Core Practitioner | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core CareTeam) 負責該檢驗檢查的人員
Observation.dataAbsentReason C 0..1 CodeableConcept Why the result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.note 0..* Annotation Comments about the observation
Observation.bodySite This element must be supported. 1..1 CodeableConcept Observed body part
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Observation.bodySite.id 0..1 string Unique id for inter-element referencing
Observation.bodySite.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.bodySite.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Observation.bodySite.text This element is included in summaries. 1..1 string Plain text representation of the concept
Observation.method 0..1 CodeableConcept How it was done
Binding: ObservationMethods (example): Methods for simple observations.
Observation.specimen 0..1 Reference(TW Core Specimen) 檢驗檢查的檢體
Observation.device 0..1 Reference(Device | DeviceMetric) (Measurement) Device
Observation.referenceRange C 0..* BackboneElement Provides guide for interpretation
Constraints: obs-3
Observation.referenceRange.id 0..1 string Unique id for inter-element referencing
Observation.referenceRange.extension 0..* Extension Additional content defined by implementations
Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.referenceRange.low C 0..1 SimpleQuantity(4.0.1) Low Range, if relevant
Constraints: sqty-1
Observation.referenceRange.high C 0..1 SimpleQuantity(4.0.1) High Range, if relevant
Constraints: sqty-1
Observation.referenceRange.type 0..1 CodeableConcept Reference range qualifier
Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
Observation.referenceRange.appliesTo 0..* CodeableConcept Reference range population
Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
Observation.referenceRange.age 0..1 Range Applicable age range, if relevant
Observation.referenceRange.text 0..1 string Text based reference range in an observation
Observation.hasMember This element is included in summaries. 0..* Reference(TW Core Simple Observation | TW Core QuestionnaireResponse | MolecularSequence) 包含的相關檢驗檢查
Observation.derivedFrom This element is included in summaries. 0..* Reference(Observation | TW Core DocumentReference | TW Core QuestionnaireResponse | TW Core ImagingStudy | TW Core Media | MolecularSequence) 觀察來源或依據
Observation.Slices for component This element is included in summaries. 4..* BackboneElement Component results
Slice: Unordered, Closed by pattern:code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for component.component:All Slices Content/Rules for all slices
Observation.Slices for component.component:All Slices.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:All Slices.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:All Slices.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Observation.Slices for component.component:All Slices.value[x] This element is included in summaries. 0..1 Actual component result
Observation.Slices for component.component:All Slices.value[x].valueQuantity Quantity
Observation.Slices for component.component:All Slices.value[x].valueCodeableConcept CodeableConcept
Observation.Slices for component.component:All Slices.value[x].valueString string
Observation.Slices for component.component:All Slices.value[x].valueBoolean boolean
Observation.Slices for component.component:All Slices.value[x].valueInteger integer
Observation.Slices for component.component:All Slices.value[x].valueRange Range
Observation.Slices for component.component:All Slices.value[x].valueRatio Ratio
Observation.Slices for component.component:All Slices.value[x].valueSampledData SampledData
Observation.Slices for component.component:All Slices.value[x].valueTime time
Observation.Slices for component.component:All Slices.value[x].valueDateTime dateTime
Observation.Slices for component.component:All Slices.value[x].valuePeriod Period
Observation.Slices for component.component:All Slices.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.Slices for component.component:All Slices.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:All Slices.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:category This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:category.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:category.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:category.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:category.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-category"
    }
  ]
}
Observation.Slices for component.component:category.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:category.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:category.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:category.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口分類 (required)
Observation.Slices for component.component:category.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:category.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:category.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.value[x].text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:category.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.Slices for component.component:category.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:category.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:level This element must be supported. This element is included in summaries. 0..1 BackboneElement Component results
Observation.Slices for component.component:level.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:level.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:level.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:level.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-level"
    }
  ]
}
Observation.Slices for component.component:level.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:level.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:level.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:level.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口等級 (required)
Observation.Slices for component.component:level.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:level.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:level.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.value[x].text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:level.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.Slices for component.component:level.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:level.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:length This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:length.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:length.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:length.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:length.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "length"
    }
  ]
}
Observation.Slices for component.component:length.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:length.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:length.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:length.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:length.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:length.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:length.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:length.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:length.value[x].unit This element is included in summaries. 0..1 string Unit representation
Observation.Slices for component.component:length.value[x].system This element is included in summaries. C 0..1 uri System that defines coded unit form
Observation.Slices for component.component:length.value[x].code This element is included in summaries. 0..1 code Coded form of the unit
Observation.Slices for component.component:length.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:length.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:length.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:width This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:width.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:width.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:width.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:width.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "width"
    }
  ]
}
Observation.Slices for component.component:width.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:width.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:width.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:width.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:width.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:width.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:width.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:width.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:width.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:width.value[x].unit This element is included in summaries. 0..1 string Unit representation
Observation.Slices for component.component:width.value[x].system This element is included in summaries. C 0..1 uri System that defines coded unit form
Observation.Slices for component.component:width.value[x].code This element is included in summaries. 0..1 code Coded form of the unit
Observation.Slices for component.component:width.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:width.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:width.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:depth This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:depth.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:depth.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:depth.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:depth.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "depth"
    }
  ]
}
Observation.Slices for component.component:depth.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:depth.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:depth.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:depth.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:depth.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:depth.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:depth.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:depth.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:depth.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:depth.value[x].unit This element is included in summaries. 0..1 string Unit representation
Observation.Slices for component.component:depth.value[x].system This element is included in summaries. C 0..1 uri System that defines coded unit form
Observation.Slices for component.component:depth.value[x].code This element is included in summaries. 0..1 code Coded form of the unit
Observation.Slices for component.component:depth.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:depth.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:depth.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處類型代碼值集 📦0.3.0 臺灣核心實作指引 v1.0
Observation.code Base preferred LOINC Codes 📦4.0.1 FHIR Std.
Observation.dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Observation.method Base example Observation Methods 📍4.0.1 FHIR Std.
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍4.0.1 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍4.0.1 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:category.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:category.​value[x] Base required 居家護理-傷口分類 📦1.1.0 This IG
Observation.component:category.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component:category.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:level.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:level.​value[x] Base required 居家護理-傷口等級 📦1.1.0 This IG
Observation.component:level.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component:level.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:length.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:length.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:length.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:length.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:width.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:width.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:width.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:width.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:depth.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:depth.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:depth.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:depth.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
hn-wound-dermatitis error Observation 失禁性皮膚炎應填入 1A、1B、2A 或 2B。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cc7a2787e9f48').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ccf3d835a3018').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ce33cd81b67cc').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c7259a0720e42').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c5c19c5dfd9c3').exists()))
hn-wound-other error Observation 其他傷口應省略等級並填寫說明。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cd2909f1647e7').exists() implies (component.where(code.coding.where(code='wound-level').exists()).empty() and note.text.exists())
hn-wound-size error Observation 只有無法分期的壓傷可以缺少尺寸;缺值時須填入缺值原因。 component.where(code.coding.where(code='length').exists() or code.coding.where(code='width').exists() or code.coding.where(code='depth').exists()).all(value.exists() or (dataAbsentReason.exists() and %resource.component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() and %resource.component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists()))
hn-wound-stage error Observation 壓傷應填入對應的分期。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cd2309630a543').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c02aab4358253').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cccd9b119924f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cb77fa71e8c7f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c6210bfc58f77').exists()))
obs-3 error Observation.referenceRange Must have at least a low or a high or text low.exists() or high.exists() or text.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
sqty-1 error Observation.referenceRange.low, Observation.referenceRange.high The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from TWCoreObservationSimple

Summary

Mandatory: 15 elements(6 nested mandatory elements)
Must-Support: 8 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Observation.component (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Observation C 0..* TWCoreObservationSimple 通用檢驗檢查結果或發現的測量和簡單聲明
Constraints: obs-6, obs-7, hn-wound-stage, hn-wound-dermatitis, hn-wound-other, hn-wound-size
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Observation.Slices for extension 2..* 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
Observation.Slices for extension.extension:episode This element must be supported. 1..1 Reference(居家護理-收案歷程) 居家護理-收案關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNEpisode
Observation.Slices for extension.extension:sourceForm This element must be supported. 1..1 Reference(QuestionnaireResponse) 居家護理-來源表單
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNSourceForm
Observation.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Observation.Slices for category This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查的分類
Slice: Unordered, Open by pattern:$this
Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for category.category:twcore This element must be supported. 1..1 CodeableConcept 臺灣核心分類
Binding: 臺灣衛福部資訊處類型代碼值集 (required): 此 slice 綁定的值集之綁定強度雖為最高強度「要求使用 (Requird)」,但因 slice 之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "exam"
    }
  ]
}
Observation.code This element must be supported. This element is included in summaries. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查類型
Binding: LOINCCodes (preferred): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound"
    }
  ]
}
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(居家護理-個案) 檢驗檢查關注的對象
Observation.effective[x] This element must be supported. This element is included in summaries. 1..1 dateTime This type must be supported. 檢驗檢查的時間或時段
Observation.performer This element must be supported. This element is included in summaries. 0..* Reference(TW Core Practitioner | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core CareTeam) 負責該檢驗檢查的人員
Observation.bodySite This element must be supported. 1..1 CodeableConcept Observed body part
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Observation.bodySite.text This element is included in summaries. 1..1 string Plain text representation of the concept
Observation.Slices for component This element is included in summaries. 4..* BackboneElement Component results
Slice: Unordered, Closed by pattern:code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for component.component:All Slices Content/Rules for all slices
Observation.Slices for component.component:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:All Slices.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Observation.Slices for component.component:category This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:category.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:category.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-category"
    }
  ]
}
Observation.Slices for component.component:category.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口分類 (required)
Observation.Slices for component.component:category.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level This element must be supported. This element is included in summaries. 0..1 BackboneElement Component results
Observation.Slices for component.component:level.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:level.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-level"
    }
  ]
}
Observation.Slices for component.component:level.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口等級 (required)
Observation.Slices for component.component:level.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:length.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:length.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "length"
    }
  ]
}
Observation.Slices for component.component:length.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:length.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:length.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:length.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:width This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:width.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:width.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "width"
    }
  ]
}
Observation.Slices for component.component:width.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:width.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:width.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:width.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:width.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:depth This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:depth.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:depth.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "depth"
    }
  ]
}
Observation.Slices for component.component:depth.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:depth.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:depth.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:depth.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:depth.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處類型代碼值集 📦0.3.0 臺灣核心實作指引 v1.0
Observation.code Base preferred LOINC Codes 📦4.0.1 FHIR Std.
Observation.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:category.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:category.​value[x] Base required 居家護理-傷口分類 📦1.1.0 This IG
Observation.component:level.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:level.​value[x] Base required 居家護理-傷口等級 📦1.1.0 This IG
Observation.component:length.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:length.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:length.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:width.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:width.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:width.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:depth.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:depth.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:depth.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
hn-wound-dermatitis error Observation 失禁性皮膚炎應填入 1A、1B、2A 或 2B。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cc7a2787e9f48').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ccf3d835a3018').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ce33cd81b67cc').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c7259a0720e42').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c5c19c5dfd9c3').exists()))
hn-wound-other error Observation 其他傷口應省略等級並填寫說明。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cd2909f1647e7').exists() implies (component.where(code.coding.where(code='wound-level').exists()).empty() and note.text.exists())
hn-wound-size error Observation 只有無法分期的壓傷可以缺少尺寸;缺值時須填入缺值原因。 component.where(code.coding.where(code='length').exists() or code.coding.where(code='width').exists() or code.coding.where(code='depth').exists()).all(value.exists() or (dataAbsentReason.exists() and %resource.component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() and %resource.component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists()))
hn-wound-stage error Observation 壓傷應填入對應的分期。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cd2309630a543').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c02aab4358253').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cccd9b119924f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cb77fa71e8c7f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c6210bfc58f77').exists()))
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()

Differential View

This structure is derived from TWCoreObservationSimple

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Observation C 0..* TWCoreObservationSimple 通用檢驗檢查結果或發現的測量和簡單聲明
Constraints: hn-wound-stage, hn-wound-dermatitis, hn-wound-other, hn-wound-size
Observation.Slices for extension 2..* 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
Observation.Slices for extension.extension:episode This element must be supported. 1..1 Reference(居家護理-收案歷程) 居家護理-收案關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNEpisode
Observation.Slices for extension.extension:sourceForm This element must be supported. 1..1 Reference(QuestionnaireResponse) 居家護理-來源表單
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNSourceForm
Observation.Slices for category Content/Rules for all slices
Observation.Slices for category.category:twcore 1..1 CodeableConcept 臺灣核心分類
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "exam"
    }
  ]
}
Observation.code 1..1 CodeableConceptTW 檢驗檢查類型
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound"
    }
  ]
}
Observation.subject 1..1 Reference(居家護理-個案) 檢驗檢查關注的對象
Observation.effective[x] 1..1 dateTime 檢驗檢查的時間或時段
Observation.value[x] 0..0 檢驗檢查的結果值
Observation.bodySite This element must be supported. 1..1 CodeableConcept Observed body part
Observation.bodySite.text 1..1 string Plain text representation of the concept
Observation.Slices for component 4..* BackboneElement Component results
Slice: Unordered, Closed by pattern:code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for component.component:category This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:category.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-category"
    }
  ]
}
Observation.Slices for component.component:category.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.value[x] 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口分類 (required)
Observation.Slices for component.component:category.value[x].coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level This element must be supported. 0..1 BackboneElement Component results
Observation.Slices for component.component:level.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-level"
    }
  ]
}
Observation.Slices for component.component:level.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.value[x] 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口等級 (required)
Observation.Slices for component.component:level.value[x].coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:length.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "length"
    }
  ]
}
Observation.Slices for component.component:length.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length.value[x] 0..1 Quantity Actual component result
Observation.Slices for component.component:length.value[x].value 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:length.dataAbsentReason 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:width This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:width.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "width"
    }
  ]
}
Observation.Slices for component.component:width.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:width.value[x] 0..1 Quantity Actual component result
Observation.Slices for component.component:width.value[x].value 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:width.dataAbsentReason 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:depth This element must be supported. 1..1 BackboneElement Component results
Observation.Slices for component.component:depth.code 1..1 CodeableConcept Type of component observation (code / type)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "depth"
    }
  ]
}
Observation.Slices for component.component:depth.code.coding 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:depth.value[x] 0..1 Quantity Actual component result
Observation.Slices for component.component:depth.value[x].value 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:depth.dataAbsentReason 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.component:category.​value[x] Base required 居家護理-傷口分類 📦1.1.0 This IG
Observation.component:level.​value[x] Base required 居家護理-傷口等級 📦1.1.0 This IG
Observation.component:length.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:width.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:depth.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
hn-wound-dermatitis error Observation 失禁性皮膚炎應填入 1A、1B、2A 或 2B。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cc7a2787e9f48').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ccf3d835a3018').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ce33cd81b67cc').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c7259a0720e42').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c5c19c5dfd9c3').exists()))
hn-wound-other error Observation 其他傷口應省略等級並填寫說明。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cd2909f1647e7').exists() implies (component.where(code.coding.where(code='wound-level').exists()).empty() and note.text.exists())
hn-wound-size error Observation 只有無法分期的壓傷可以缺少尺寸;缺值時須填入缺值原因。 component.where(code.coding.where(code='length').exists() or code.coding.where(code='width').exists() or code.coding.where(code='depth').exists()).all(value.exists() or (dataAbsentReason.exists() and %resource.component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() and %resource.component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists()))
hn-wound-stage error Observation 壓傷應填入對應的分期。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cd2309630a543').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c02aab4358253').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cccd9b119924f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cb77fa71e8c7f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c6210bfc58f77').exists()))

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Observation C 0..* TWCoreObservationSimple 通用檢驗檢查結果或發現的測量和簡單聲明
Constraints: obs-6, obs-7, hn-wound-stage, hn-wound-dermatitis, hn-wound-other, hn-wound-size
Observation.id This element is included in summaries. 0..1 id Logical id of this artifact
Observation.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Observation.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Observation.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
Observation.contained 0..* Resource Contained, inline Resources
Observation.Slices for extension 2..* 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
Observation.Slices for extension.extension:episode This element must be supported. 1..1 Reference(居家護理-收案歷程) 居家護理-收案關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNEpisode
Observation.Slices for extension.extension:sourceForm This element must be supported. 1..1 Reference(QuestionnaireResponse) 居家護理-來源表單
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHNSourceForm
Observation.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Observation.identifier This element is included in summaries. 0..* Identifier Business Identifier for observation
Observation.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan | DeviceRequest | ImmunizationRecommendation | TW Core MedicationRequest | NutritionOrder | TW Core ServiceRequest) 檢驗檢查的依據
Observation.partOf This element is included in summaries. 0..* Reference(MedicationAdministration | TW Core MedicationDispense | TW Core MedicationStatement | TW Core Procedure | TW Core Immunization | TW Core ImagingStudy) 作為較大項目的一部分
Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): Codes providing the status of an observation.
Observation.Slices for category This element must be supported. 1..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查的分類
Slice: Unordered, Open by pattern:$this
Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for category.category:twcore This element must be supported. 1..1 CodeableConcept 臺灣核心分類
Binding: 臺灣衛福部資訊處類型代碼值集 (required): 此 slice 綁定的值集之綁定強度雖為最高強度「要求使用 (Requird)」,但因 slice 之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
      "code" : "exam"
    }
  ]
}
Observation.code This element must be supported. This element is included in summaries. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 檢驗檢查類型
Binding: LOINCCodes (preferred): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound"
    }
  ]
}
Observation.subject This element must be supported. This element is included in summaries. 1..1 Reference(居家護理-個案) 檢驗檢查關注的對象
Observation.focus This element is included in summaries. 0..* Reference(Resource) What the observation is about, when it is not about the subject of record
Observation.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此檢驗檢查相關的就醫事件
Observation.effective[x] This element must be supported. This element is included in summaries. 1..1 dateTime This type must be supported. 檢驗檢查的時間或時段
Observation.issued This element is included in summaries. 0..1 instant Date/Time this version was made available
Observation.performer This element must be supported. This element is included in summaries. 0..* Reference(TW Core Practitioner | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core CareTeam) 負責該檢驗檢查的人員
Observation.dataAbsentReason C 0..1 CodeableConcept Why the result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.note 0..* Annotation Comments about the observation
Observation.bodySite This element must be supported. 1..1 CodeableConcept Observed body part
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Observation.bodySite.id 0..1 string Unique id for inter-element referencing
Observation.bodySite.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.bodySite.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Observation.bodySite.text This element is included in summaries. 1..1 string Plain text representation of the concept
Observation.method 0..1 CodeableConcept How it was done
Binding: ObservationMethods (example): Methods for simple observations.
Observation.specimen 0..1 Reference(TW Core Specimen) 檢驗檢查的檢體
Observation.device 0..1 Reference(Device | DeviceMetric) (Measurement) Device
Observation.referenceRange C 0..* BackboneElement Provides guide for interpretation
Constraints: obs-3
Observation.referenceRange.id 0..1 string Unique id for inter-element referencing
Observation.referenceRange.extension 0..* Extension Additional content defined by implementations
Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.referenceRange.low C 0..1 SimpleQuantity(4.0.1) Low Range, if relevant
Constraints: sqty-1
Observation.referenceRange.high C 0..1 SimpleQuantity(4.0.1) High Range, if relevant
Constraints: sqty-1
Observation.referenceRange.type 0..1 CodeableConcept Reference range qualifier
Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.
Observation.referenceRange.appliesTo 0..* CodeableConcept Reference range population
Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.
Observation.referenceRange.age 0..1 Range Applicable age range, if relevant
Observation.referenceRange.text 0..1 string Text based reference range in an observation
Observation.hasMember This element is included in summaries. 0..* Reference(TW Core Simple Observation | TW Core QuestionnaireResponse | MolecularSequence) 包含的相關檢驗檢查
Observation.derivedFrom This element is included in summaries. 0..* Reference(Observation | TW Core DocumentReference | TW Core QuestionnaireResponse | TW Core ImagingStudy | TW Core Media | MolecularSequence) 觀察來源或依據
Observation.Slices for component This element is included in summaries. 4..* BackboneElement Component results
Slice: Unordered, Closed by pattern:code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Observation.Slices for component.component:All Slices Content/Rules for all slices
Observation.Slices for component.component:All Slices.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:All Slices.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:All Slices.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Observation.Slices for component.component:All Slices.value[x] This element is included in summaries. 0..1 Actual component result
Observation.Slices for component.component:All Slices.value[x].valueQuantity Quantity
Observation.Slices for component.component:All Slices.value[x].valueCodeableConcept CodeableConcept
Observation.Slices for component.component:All Slices.value[x].valueString string
Observation.Slices for component.component:All Slices.value[x].valueBoolean boolean
Observation.Slices for component.component:All Slices.value[x].valueInteger integer
Observation.Slices for component.component:All Slices.value[x].valueRange Range
Observation.Slices for component.component:All Slices.value[x].valueRatio Ratio
Observation.Slices for component.component:All Slices.value[x].valueSampledData SampledData
Observation.Slices for component.component:All Slices.value[x].valueTime time
Observation.Slices for component.component:All Slices.value[x].valueDateTime dateTime
Observation.Slices for component.component:All Slices.value[x].valuePeriod Period
Observation.Slices for component.component:All Slices.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.Slices for component.component:All Slices.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:All Slices.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:category This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:category.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:category.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:category.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:category.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-category"
    }
  ]
}
Observation.Slices for component.component:category.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:category.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:category.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:category.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口分類 (required)
Observation.Slices for component.component:category.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:category.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:category.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:category.value[x].text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:category.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.Slices for component.component:category.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:category.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:level This element must be supported. This element is included in summaries. 0..1 BackboneElement Component results
Observation.Slices for component.component:level.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:level.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:level.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:level.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "wound-level"
    }
  ]
}
Observation.Slices for component.component:level.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:level.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:level.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:level.value[x] This element is included in summaries. 1..1 CodeableConcept Actual component result
Binding: 居家護理-傷口等級 (required)
Observation.Slices for component.component:level.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:level.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:level.value[x].coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:level.value[x].text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:level.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.
Observation.Slices for component.component:level.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:level.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:length This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:length.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:length.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:length.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:length.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "length"
    }
  ]
}
Observation.Slices for component.component:length.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:length.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:length.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:length.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:length.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:length.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:length.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:length.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:length.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:length.value[x].unit This element is included in summaries. 0..1 string Unit representation
Observation.Slices for component.component:length.value[x].system This element is included in summaries. C 0..1 uri System that defines coded unit form
Observation.Slices for component.component:length.value[x].code This element is included in summaries. 0..1 code Coded form of the unit
Observation.Slices for component.component:length.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:length.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:length.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:width This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:width.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:width.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:width.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:width.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "width"
    }
  ]
}
Observation.Slices for component.component:width.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:width.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:width.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:width.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:width.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:width.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:width.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:width.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:width.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:width.value[x].unit This element is included in summaries. 0..1 string Unit representation
Observation.Slices for component.component:width.value[x].system This element is included in summaries. C 0..1 uri System that defines coded unit form
Observation.Slices for component.component:width.value[x].code This element is included in summaries. 0..1 code Coded form of the unit
Observation.Slices for component.component:width.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:width.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:width.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result
Observation.Slices for component.component:depth This element must be supported. This element is included in summaries. 1..1 BackboneElement Component results
Observation.Slices for component.component:depth.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:depth.extension 0..* Extension Additional content defined by implementations
Observation.Slices for component.component:depth.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Observation.Slices for component.component:depth.code This element is included in summaries. 1..1 CodeableConcept Type of component observation (code / type)
Binding: LOINCCodes (example): Codes identifying names of simple observations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow",
      "code" : "depth"
    }
  ]
}
Observation.Slices for component.component:depth.code.id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:depth.code.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:depth.code.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Observation.Slices for component.component:depth.code.text This element is included in summaries. 0..1 string Plain text representation of the concept
Observation.Slices for component.component:depth.value[x] This element is included in summaries. 0..1 Quantity Actual component result
Observation.Slices for component.component:depth.value[x].id 0..1 string Unique id for inter-element referencing
Observation.Slices for component.component:depth.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Observation.Slices for component.component:depth.value[x].value This element is included in summaries. 1..1 decimal Numerical value (with implicit precision)
Min Value: 0
Observation.Slices for component.component:depth.value[x].comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
Observation.Slices for component.component:depth.value[x].unit This element is included in summaries. 0..1 string Unit representation
Observation.Slices for component.component:depth.value[x].system This element is included in summaries. C 0..1 uri System that defines coded unit form
Observation.Slices for component.component:depth.value[x].code This element is included in summaries. 0..1 code Coded form of the unit
Observation.Slices for component.component:depth.dataAbsentReason C 0..1 CodeableConcept Why the component result is missing
Binding: DataAbsentReason (required)
Observation.Slices for component.component:depth.interpretation 0..* CodeableConcept High, low, normal, etc.
Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.
Observation.Slices for component.component:depth.referenceRange 0..* See referenceRange (Observation) Provides guide for interpretation of component result

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處類型代碼值集 📦0.3.0 臺灣核心實作指引 v1.0
Observation.code Base preferred LOINC Codes 📦4.0.1 FHIR Std.
Observation.dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Observation.method Base example Observation Methods 📍4.0.1 FHIR Std.
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍4.0.1 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍4.0.1 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:category.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:category.​value[x] Base required 居家護理-傷口分類 📦1.1.0 This IG
Observation.component:category.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component:category.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:level.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:level.​value[x] Base required 居家護理-傷口等級 📦1.1.0 This IG
Observation.component:level.​dataAbsentReason Base extensible DataAbsentReason 📍4.0.1 FHIR Std.
Observation.component:level.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:length.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:length.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:length.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:length.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:width.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:width.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:width.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:width.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.
Observation.component:depth.​code Base example LOINC Codes 📍4.0.1 FHIR Std.
Observation.component:depth.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Observation.component:depth.​dataAbsentReason Base required DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:depth.​interpretation Base extensible Observation Interpretation Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
hn-wound-dermatitis error Observation 失禁性皮膚炎應填入 1A、1B、2A 或 2B。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cc7a2787e9f48').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ccf3d835a3018').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='ce33cd81b67cc').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c7259a0720e42').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c5c19c5dfd9c3').exists()))
hn-wound-other error Observation 其他傷口應省略等級並填寫說明。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='cd2909f1647e7').exists() implies (component.where(code.coding.where(code='wound-level').exists()).empty() and note.text.exists())
hn-wound-size error Observation 只有無法分期的壓傷可以缺少尺寸;缺值時須填入缺值原因。 component.where(code.coding.where(code='length').exists() or code.coding.where(code='width').exists() or code.coding.where(code='depth').exists()).all(value.exists() or (dataAbsentReason.exists() and %resource.component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() and %resource.component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists()))
hn-wound-stage error Observation 壓傷應填入對應的分期。 component.where(code.coding.where(code='wound-category').exists()).value.ofType(CodeableConcept).coding.where(code='c7ead2b329689').exists() implies (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.code.count()=1 and (component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cd2309630a543').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c02aab4358253').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cccd9b119924f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cb77fa71e8c7f').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='cecf422c03011').exists() or component.where(code.coding.where(code='wound-level').exists()).value.ofType(CodeableConcept).coding.where(code='c6210bfc58f77').exists()))
obs-3 error Observation.referenceRange Must have at least a low or a high or text low.exists() or high.exists() or text.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
sqty-1 error Observation.referenceRange.low, Observation.referenceRange.high The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from TWCoreObservationSimple

Summary

Mandatory: 15 elements(6 nested mandatory elements)
Must-Support: 8 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Observation.component (Closed)

 

Other representations of profile: CSV, Excel, Schematron