LTCLocationModel
type: StructureDefinition
node role: treeRoot
id:
  v: LTCLocationModel
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition LTCLocationModel Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> LTCLocationModel 0..* Base 個案位置監測邏輯模型 #xD; location 1..1 BackboneElement 位置基本資料 #xD; locationName 1..1 string 地點名稱 #xD; locationDescription 0..1 string 位置描述 #xD; locationType 1..1 code 位置類型 #xD; coordinates 1..1 BackboneElement 座標資訊 #xD; longitude 1..1 decimal 經度座標 #xD; latitude 1..1 decimal 緯度座標 #xD; altitude 0..1 decimal 海拔高度 #xD; telecom 0..* BackboneElement 聯絡資訊 #xD; address 0..1 BackboneElement 地址資訊 #xD; addressText 0..1 string 地址文字描述 #xD; hierarchy 0..1 BackboneElement 層級關係 #xD; parentLocationReference 0..1 string 上層位置參考 #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://ltc-ig.fhir.tw/StructureDefinition/LTCLocationModel
  l: LTCLocationModel
version:
  v: 1.0.0
name:
  v: LTCLocationModel
title:
  v: 個案位置監測邏輯模型
status:
  v: active
date:
  v: 2026-03-01T18:36:01+00:00
publisher:
  v: 經濟部產業發展署
contact:
  name:
    v: 經濟部產業發展署
  telecom:
    system:
      v: url
    value:
      v: https://www.ida.gov.tw/
description:
  v: 此邏輯模型以失智症照護監測賽道的情境2為基礎，用以描述個案位置監測的資料結構與欄位準備指引。支援記錄個案所在的地點名稱與經緯度座標資訊。
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  uri:
    v: http://ltc-ig.fhir.tw/StructureDefinition/Location-twltc
    l: Location-twltc
  name:
    v: 個案位置監測邏輯模型到Location Profile映射
  comment:
    v: 此映射定義如何將個案位置監測邏輯模型轉換為LTCLocation Profile
kind:
  v: logical
abstract:
  v: false
type:
  v: http://ltc-ig.fhir.tw/StructureDefinition/LTCLocationModel
  l: LTCLocationModel
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: LTCLocationModel
    path:
      v: LTCLocationModel
    short:
      v: 個案位置監測邏輯模型
    definition:
      v: 此邏輯模型以失智症照護監測賽道的情境2為基礎，用以描述個案位置監測的資料結構與欄位準備指引。支援記錄個案所在的地點名稱與經緯度座標資訊。
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: LTCLocationModelToLTCLocation
      map:
        v: Location
  element:
    id:
      v: LTCLocationModel.location
    path:
      v: LTCLocationModel.location
    short:
      v: 位置基本資料
    definition:
      v: 個案所在位置的基本資訊
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: LTCLocationModel.location
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: BackboneElement
        l: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
  element:
    id:
      v: LTCLocationModel.location.id
    path:
      v: LTCLocationModel.location.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: LTCLocationModel.location.extension
    path:
      v: LTCLocationModel.location.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Additional content defined by implementations
    definition:
      v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    comment:
      v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    alias:
      v: extensions
    alias:
      v: user content
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element.extension
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Extension
        l: Extension

Url
v: string
l: string

v: value

v: url

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: LTCLocationModel.location.modifierExtension
path:
  v: LTCLocationModel.location.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: LTCLocationModel.location.locationName
path:
  v: LTCLocationModel.location.locationName
short:
  v: 地點名稱
definition:
  v: 個案所在的地點名稱，例如：日照中心、家裡、公園等
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCLocationModel.location.locationName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.name

id:
  v: LTCLocationModel.location.locationDescription
path:
  v: LTCLocationModel.location.locationDescription
short:
  v: 位置描述
definition:
  v: 位置的詳細描述資訊
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCLocationModel.location.locationDescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.description

id:
  v: LTCLocationModel.location.locationType
path:
  v: LTCLocationModel.location.locationType
short:
  v: 位置類型
definition:
  v: 位置的類型分類
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCLocationModel.location.locationType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.type

id:
  v: LTCLocationModel.coordinates
path:
  v: LTCLocationModel.coordinates
short:
  v: 座標資訊
definition:
  v: 位置的經緯度座標資訊
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCLocationModel.coordinates
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: LTCLocationModel.coordinates.id
path:
  v: LTCLocationModel.coordinates.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: LTCLocationModel.coordinates.extension
path:
  v: LTCLocationModel.coordinates.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: LTCLocationModel.coordinates.modifierExtension
path:
  v: LTCLocationModel.coordinates.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: LTCLocationModel.coordinates.longitude
path:
  v: LTCLocationModel.coordinates.longitude
short:
  v: 經度座標
definition:
  v: GPS 經度座標，以十進位度數格式表示
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCLocationModel.coordinates.longitude
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.position.longitude

id:
  v: LTCLocationModel.coordinates.latitude
path:
  v: LTCLocationModel.coordinates.latitude
short:
  v: 緯度座標
definition:
  v: GPS 緯度座標，以十進位度數格式表示
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCLocationModel.coordinates.latitude
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.position.latitude

id:
  v: LTCLocationModel.coordinates.altitude
path:
  v: LTCLocationModel.coordinates.altitude
short:
  v: 海拔高度
definition:
  v: 位置的海拔高度，以公尺為單位
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCLocationModel.coordinates.altitude
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.position.altitude

id:
  v: LTCLocationModel.telecom
path:
  v: LTCLocationModel.telecom
short:
  v: 聯絡資訊
definition:
  v: 位置相關的聯絡方式
min:
  v: 0
max:
  v: *
base:
  path:
    v: LTCLocationModel.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.telecom

id:
  v: LTCLocationModel.address
path:
  v: LTCLocationModel.address
short:
  v: 地址資訊
definition:
  v: 位置的地址相關資訊
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCLocationModel.address
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: LTCLocationModel.address.id
path:
  v: LTCLocationModel.address.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: LTCLocationModel.address.extension
path:
  v: LTCLocationModel.address.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: LTCLocationModel.address.modifierExtension
path:
  v: LTCLocationModel.address.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: LTCLocationModel.address.addressText
path:
  v: LTCLocationModel.address.addressText
short:
  v: 地址文字描述
definition:
  v: 地址的完整文字描述
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCLocationModel.address.addressText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.address.text

id:
  v: LTCLocationModel.hierarchy
path:
  v: LTCLocationModel.hierarchy
short:
  v: 層級關係
definition:
  v: 位置在組織架構中的層級關係
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCLocationModel.hierarchy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: LTCLocationModel.hierarchy.id
path:
  v: LTCLocationModel.hierarchy.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: LTCLocationModel.hierarchy.extension
path:
  v: LTCLocationModel.hierarchy.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: LTCLocationModel.hierarchy.modifierExtension
path:
  v: LTCLocationModel.hierarchy.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: LTCLocationModel.hierarchy.parentLocationReference
path:
  v: LTCLocationModel.hierarchy.parentLocationReference
short:
  v: 上層位置參考
definition:
  v: 對上層位置資源的參考
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCLocationModel.hierarchy.parentLocationReference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.partOf.reference

element:
  id:
    v: LTCLocationModel
  path:
    v: LTCLocationModel
  short:
    v: 個案位置監測邏輯模型
  definition:
    v: 此邏輯模型以失智症照護監測賽道的情境2為基礎，用以描述個案位置監測的資料結構與欄位準備指引。支援記錄個案所在的地點名稱與經緯度座標資訊。
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location
element:
  id:
    v: LTCLocationModel.location
  path:
    v: LTCLocationModel.location
  short:
    v: 位置基本資料
  definition:
    v: 個案所在位置的基本資訊
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: LTCLocationModel.location.locationName
  path:
    v: LTCLocationModel.location.locationName
  short:
    v: 地點名稱
  definition:
    v: 個案所在的地點名稱，例如：日照中心、家裡、公園等
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.name
element:
  id:
    v: LTCLocationModel.location.locationDescription
  path:
    v: LTCLocationModel.location.locationDescription
  short:
    v: 位置描述
  definition:
    v: 位置的詳細描述資訊
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.description
element:
  id:
    v: LTCLocationModel.location.locationType
  path:
    v: LTCLocationModel.location.locationType
  short:
    v: 位置類型
  definition:
    v: 位置的類型分類
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.type
element:
  id:
    v: LTCLocationModel.coordinates
  path:
    v: LTCLocationModel.coordinates
  short:
    v: 座標資訊
  definition:
    v: 位置的經緯度座標資訊
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: LTCLocationModel.coordinates.longitude
  path:
    v: LTCLocationModel.coordinates.longitude
  short:
    v: 經度座標
  definition:
    v: GPS 經度座標，以十進位度數格式表示
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: decimal
      l: decimal
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.position.longitude
element:
  id:
    v: LTCLocationModel.coordinates.latitude
  path:
    v: LTCLocationModel.coordinates.latitude
  short:
    v: 緯度座標
  definition:
    v: GPS 緯度座標，以十進位度數格式表示
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: decimal
      l: decimal
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.position.latitude
element:
  id:
    v: LTCLocationModel.coordinates.altitude
  path:
    v: LTCLocationModel.coordinates.altitude
  short:
    v: 海拔高度
  definition:
    v: 位置的海拔高度，以公尺為單位
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: decimal
      l: decimal
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.position.altitude
element:
  id:
    v: LTCLocationModel.telecom
  path:
    v: LTCLocationModel.telecom
  short:
    v: 聯絡資訊
  definition:
    v: 位置相關的聯絡方式
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: LTCLocationModelToLTCLocation
    map:
      v: Location.telecom

id:
  v: LTCLocationModel.address
path:
  v: LTCLocationModel.address
short:
  v: 地址資訊
definition:
  v: 位置的地址相關資訊
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: LTCLocationModel.address.addressText
path:
  v: LTCLocationModel.address.addressText
short:
  v: 地址文字描述
definition:
  v: 地址的完整文字描述
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.address.text

id:
  v: LTCLocationModel.hierarchy
path:
  v: LTCLocationModel.hierarchy
short:
  v: 層級關係
definition:
  v: 位置在組織架構中的層級關係
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: LTCLocationModel.hierarchy.parentLocationReference
path:
  v: LTCLocationModel.hierarchy.parentLocationReference
short:
  v: 上層位置參考
definition:
  v: 對上層位置資源的參考
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCLocationModelToLTCLocation
  map:
    v: Location.partOf.reference