LTCAdverseEventModel
type: StructureDefinition
node role: treeRoot
id:
  v: LTCAdverseEventModel
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition LTCAdverseEventModel Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> LTCAdverseEventModel 0..* Base 異常事件警報邏輯模型 #xD; identifier 1..1 BackboneElement 異常事件識別碼 #xD; identifierValue 1..1 string 識別碼值 #xD; identifierSystem 1..1 string 識別碼系統 #xD; identifierUse 0..1 code 識別碼用途 #xD; actuality 1..1 code 異常事件實際性 #xD; event 0..1 BackboneElement 異常事件類型 #xD; eventText 1..1 string 事件類型描述 #xD; subject 1..1 BackboneElement 個案資訊 #xD; subjectReference 1..1 string 個案參考 #xD; date 1..1 dateTime 異常事件發生時間 #xD; detected 0..1 dateTime 異常事件偵測時間 #xD; recordedDate 0..1 dateTime 異常事件記錄時間 #xD; resultingCondition 0..* BackboneElement 結果狀況 #xD; conditionReference 1..1 string 狀況參考 #xD; location 0..1 BackboneElement 位置資訊 #xD; locationReference 1..1 string 位置參考 #xD; seriousness 0..1 code 臨床嚴重程度 #xD; severity 0..1 code 嚴重程度分級 #xD; outcome 0..1 code 異常事件結果 #xD; recorder 0..1 BackboneElement 記錄者資訊 #xD; recorderReference 0..1 string 記錄者參考 #xD; contributor 0..1 BackboneElement 涉及者資訊 #xD; contributorReference 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/LTCAdverseEventModel
  l: LTCAdverseEventModel
version:
  v: 1.0.0
name:
  v: LTCAdverseEventModel
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: 此邏輯模型以失智症照護監測賽道的情境3為基礎，用以描述異常事件警報的資料結構與欄位準備指引。支援記錄異常事件類型、嚴重程度、發生時間、位置等資訊。
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  uri:
    v: http://ltc-ig.fhir.tw/StructureDefinition/AdverseEvent-twltc
    l: AdverseEvent-twltc
  name:
    v: 異常事件警報邏輯模型到AdverseEvent Profile映射
  comment:
    v: 此映射定義如何將異常事件警報邏輯模型轉換為LTCAdverseEvent Profile
kind:
  v: logical
abstract:
  v: false
type:
  v: http://ltc-ig.fhir.tw/StructureDefinition/LTCAdverseEventModel
  l: LTCAdverseEventModel
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: LTCAdverseEventModel
    path:
      v: LTCAdverseEventModel
    short:
      v: 異常事件警報邏輯模型
    definition:
      v: 此邏輯模型以失智症照護監測賽道的情境3為基礎，用以描述異常事件警報的資料結構與欄位準備指引。支援記錄異常事件類型、嚴重程度、發生時間、位置等資訊。
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: LTCAdverseEventModelToLTCAdverseEvent
      map:
        v: AdverseEvent
  element:
    id:
      v: LTCAdverseEventModel.identifier
    path:
      v: LTCAdverseEventModel.identifier
    short:
      v: 異常事件識別碼
    definition:
      v: 異常事件警報的唯一識別碼
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: LTCAdverseEventModel.identifier
      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: LTCAdverseEventModel.identifier.id
    path:
      v: LTCAdverseEventModel.identifier.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: LTCAdverseEventModel.identifier.extension
    path:
      v: LTCAdverseEventModel.identifier.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: LTCAdverseEventModel.identifier.modifierExtension
path:
  v: LTCAdverseEventModel.identifier.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: LTCAdverseEventModel.identifier.identifierValue
path:
  v: LTCAdverseEventModel.identifier.identifierValue
short:
  v: 識別碼值
definition:
  v: 異常事件警報的唯一識別碼值
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.identifier.identifierValue
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.identifier.value

id:
  v: LTCAdverseEventModel.identifier.identifierSystem
path:
  v: LTCAdverseEventModel.identifier.identifierSystem
short:
  v: 識別碼系統
definition:
  v: 異常事件警報識別碼的系統識別符
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.identifier.identifierSystem
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.identifier.system

id:
  v: LTCAdverseEventModel.identifier.identifierUse
path:
  v: LTCAdverseEventModel.identifier.identifierUse
short:
  v: 識別碼用途
definition:
  v: 識別碼的用途，通常為 official
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.identifier.identifierUse
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.identifier.use

id:
  v: LTCAdverseEventModel.actuality
path:
  v: LTCAdverseEventModel.actuality
short:
  v: 異常事件實際性
definition:
  v: 異常事件的實際性 (實際的異常：actual / 潛在的異常：potential)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.actuality
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.actuality

id:
  v: LTCAdverseEventModel.event
path:
  v: LTCAdverseEventModel.event
short:
  v: 異常事件類型
definition:
  v: 異常事件的具體類型
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.event
  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: LTCAdverseEventModel.event.id
path:
  v: LTCAdverseEventModel.event.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: LTCAdverseEventModel.event.extension
path:
  v: LTCAdverseEventModel.event.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: LTCAdverseEventModel.event.modifierExtension
path:
  v: LTCAdverseEventModel.event.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: LTCAdverseEventModel.event.eventText
path:
  v: LTCAdverseEventModel.event.eventText
short:
  v: 事件類型描述
definition:
  v: 異常事件類型的描述
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.event.eventText
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.event.text

id:
  v: LTCAdverseEventModel.subject
path:
  v: LTCAdverseEventModel.subject
short:
  v: 個案資訊
definition:
  v: 發生異常事件的個案資訊
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.subject
  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: LTCAdverseEventModel.subject.id
path:
  v: LTCAdverseEventModel.subject.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: LTCAdverseEventModel.subject.extension
path:
  v: LTCAdverseEventModel.subject.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: LTCAdverseEventModel.subject.modifierExtension
path:
  v: LTCAdverseEventModel.subject.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: LTCAdverseEventModel.subject.subjectReference
path:
  v: LTCAdverseEventModel.subject.subjectReference
short:
  v: 個案參考
definition:
  v: 對個案資源的參考
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.subject.subjectReference
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.subject.reference

id:
  v: LTCAdverseEventModel.date
path:
  v: LTCAdverseEventModel.date
short:
  v: 異常事件發生時間
definition:
  v: 異常事件實際發生的日期和時間
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.date
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.date

id:
  v: LTCAdverseEventModel.detected
path:
  v: LTCAdverseEventModel.detected
short:
  v: 異常事件偵測時間
definition:
  v: 異常事件被系統偵測到的時間
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.detected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.detected

id:
  v: LTCAdverseEventModel.recordedDate
path:
  v: LTCAdverseEventModel.recordedDate
short:
  v: 異常事件記錄時間
definition:
  v: 異常事件被記錄到系統的時間
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.recordedDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.recordedDate

id:
  v: LTCAdverseEventModel.resultingCondition
path:
  v: LTCAdverseEventModel.resultingCondition
short:
  v: 結果狀況
definition:
  v: 異常事件導致的結果狀況
min:
  v: 0
max:
  v: *
base:
  path:
    v: LTCAdverseEventModel.resultingCondition
  min:
    v: 0
  max:
    v: *
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: LTCAdverseEventModel.resultingCondition.id
path:
  v: LTCAdverseEventModel.resultingCondition.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: LTCAdverseEventModel.resultingCondition.extension
path:
  v: LTCAdverseEventModel.resultingCondition.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: LTCAdverseEventModel.resultingCondition.modifierExtension
path:
  v: LTCAdverseEventModel.resultingCondition.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: LTCAdverseEventModel.resultingCondition.conditionReference
path:
  v: LTCAdverseEventModel.resultingCondition.conditionReference
short:
  v: 狀況參考
definition:
  v: 對結果狀況資源的參考
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.resultingCondition.conditionReference
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.resultingCondition.reference

id:
  v: LTCAdverseEventModel.location
path:
  v: LTCAdverseEventModel.location
short:
  v: 位置資訊
definition:
  v: 異常事件發生的位置資訊
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.location
  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: LTCAdverseEventModel.location.id
path:
  v: LTCAdverseEventModel.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:
    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: LTCAdverseEventModel.location.extension
path:
  v: LTCAdverseEventModel.location.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: LTCAdverseEventModel.location.modifierExtension
path:
  v: LTCAdverseEventModel.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: LTCAdverseEventModel.location.locationReference
path:
  v: LTCAdverseEventModel.location.locationReference
short:
  v: 位置參考
definition:
  v: 對位置資源的參考
min:
  v: 1
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.location.locationReference
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.location.reference

id:
  v: LTCAdverseEventModel.seriousness
path:
  v: LTCAdverseEventModel.seriousness
short:
  v: 臨床嚴重程度
definition:
  v: 異常事件的臨床嚴重程度，指臨床上會對患者造成生命威脅或導致患者長期失能的風險程度
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.seriousness
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.seriousness

id:
  v: LTCAdverseEventModel.severity
path:
  v: LTCAdverseEventModel.severity
short:
  v: 嚴重程度分級
definition:
  v: 異常事件本身的嚴重程度（輕微、中度、重度）
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.severity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.severity

id:
  v: LTCAdverseEventModel.outcome
path:
  v: LTCAdverseEventModel.outcome
short:
  v: 異常事件結果
definition:
  v: 異常事件的最終結果
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.outcome
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.outcome

id:
  v: LTCAdverseEventModel.recorder
path:
  v: LTCAdverseEventModel.recorder
short:
  v: 記錄者資訊
definition:
  v: 記錄異常事件的人員資訊
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.recorder
  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: LTCAdverseEventModel.recorder.id
path:
  v: LTCAdverseEventModel.recorder.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: LTCAdverseEventModel.recorder.extension
path:
  v: LTCAdverseEventModel.recorder.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: LTCAdverseEventModel.recorder.modifierExtension
path:
  v: LTCAdverseEventModel.recorder.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: LTCAdverseEventModel.recorder.recorderReference
path:
  v: LTCAdverseEventModel.recorder.recorderReference
short:
  v: 記錄者參考
definition:
  v: 對記錄者資源的參考
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.recorder.recorderReference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.recorder.reference

id:
  v: LTCAdverseEventModel.contributor
path:
  v: LTCAdverseEventModel.contributor
short:
  v: 涉及者資訊
definition:
  v: 涉及此異常事件的人員或設備
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.contributor
  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: LTCAdverseEventModel.contributor.id
path:
  v: LTCAdverseEventModel.contributor.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: LTCAdverseEventModel.contributor.extension
path:
  v: LTCAdverseEventModel.contributor.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: LTCAdverseEventModel.contributor.modifierExtension
path:
  v: LTCAdverseEventModel.contributor.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: LTCAdverseEventModel.contributor.contributorReference
path:
  v: LTCAdverseEventModel.contributor.contributorReference
short:
  v: 涉及者參考
definition:
  v: 對涉及者資源的參考
min:
  v: 0
max:
  v: 1
base:
  path:
    v: LTCAdverseEventModel.contributor.contributorReference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.contributor.reference

element:
  id:
    v: LTCAdverseEventModel
  path:
    v: LTCAdverseEventModel
  short:
    v: 異常事件警報邏輯模型
  definition:
    v: 此邏輯模型以失智症照護監測賽道的情境3為基礎，用以描述異常事件警報的資料結構與欄位準備指引。支援記錄異常事件類型、嚴重程度、發生時間、位置等資訊。
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent
element:
  id:
    v: LTCAdverseEventModel.identifier
  path:
    v: LTCAdverseEventModel.identifier
  short:
    v: 異常事件識別碼
  definition:
    v: 異常事件警報的唯一識別碼
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: LTCAdverseEventModel.identifier.identifierValue
  path:
    v: LTCAdverseEventModel.identifier.identifierValue
  short:
    v: 識別碼值
  definition:
    v: 異常事件警報的唯一識別碼值
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent.identifier.value
element:
  id:
    v: LTCAdverseEventModel.identifier.identifierSystem
  path:
    v: LTCAdverseEventModel.identifier.identifierSystem
  short:
    v: 識別碼系統
  definition:
    v: 異常事件警報識別碼的系統識別符
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent.identifier.system
element:
  id:
    v: LTCAdverseEventModel.identifier.identifierUse
  path:
    v: LTCAdverseEventModel.identifier.identifierUse
  short:
    v: 識別碼用途
  definition:
    v: 識別碼的用途，通常為 official
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent.identifier.use
element:
  id:
    v: LTCAdverseEventModel.actuality
  path:
    v: LTCAdverseEventModel.actuality
  short:
    v: 異常事件實際性
  definition:
    v: 異常事件的實際性 (實際的異常：actual / 潛在的異常：potential)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent.actuality
element:
  id:
    v: LTCAdverseEventModel.event
  path:
    v: LTCAdverseEventModel.event
  short:
    v: 異常事件類型
  definition:
    v: 異常事件的具體類型
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: LTCAdverseEventModel.event.eventText
  path:
    v: LTCAdverseEventModel.event.eventText
  short:
    v: 事件類型描述
  definition:
    v: 異常事件類型的描述
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent.event.text
element:
  id:
    v: LTCAdverseEventModel.subject
  path:
    v: LTCAdverseEventModel.subject
  short:
    v: 個案資訊
  definition:
    v: 發生異常事件的個案資訊
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: LTCAdverseEventModel.subject.subjectReference
  path:
    v: LTCAdverseEventModel.subject.subjectReference
  short:
    v: 個案參考
  definition:
    v: 對個案資源的參考
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: LTCAdverseEventModelToLTCAdverseEvent
    map:
      v: AdverseEvent.subject.reference
element:
  id:
    v: LTCAdverseEventModel.date
  path:
    v: LTCAdverseEventModel.date

v: 異常事件發生時間

v: 異常事件實際發生的日期和時間

v: 1

v: 1

code:
  v: dateTime
  l: dateTime

identity:
  v: LTCAdverseEventModelToLTCAdverseEvent
map:
  v: AdverseEvent.date

id:
  v: LTCAdverseEventModel.detected
path:
  v: LTCAdverseEventModel.detected
short:
  v: 異常事件偵測時間
definition:
  v: 異常事件被系統偵測到的時間
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.detected

id:
  v: LTCAdverseEventModel.recordedDate
path:
  v: LTCAdverseEventModel.recordedDate
short:
  v: 異常事件記錄時間
definition:
  v: 異常事件被記錄到系統的時間
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.recordedDate

id:
  v: LTCAdverseEventModel.resultingCondition
path:
  v: LTCAdverseEventModel.resultingCondition
short:
  v: 結果狀況
definition:
  v: 異常事件導致的結果狀況
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: LTCAdverseEventModel.resultingCondition.conditionReference
path:
  v: LTCAdverseEventModel.resultingCondition.conditionReference
short:
  v: 狀況參考
definition:
  v: 對結果狀況資源的參考
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.resultingCondition.reference

id:
  v: LTCAdverseEventModel.location
path:
  v: LTCAdverseEventModel.location
short:
  v: 位置資訊
definition:
  v: 異常事件發生的位置資訊
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: LTCAdverseEventModel.location.locationReference
path:
  v: LTCAdverseEventModel.location.locationReference
short:
  v: 位置參考
definition:
  v: 對位置資源的參考
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.location.reference

id:
  v: LTCAdverseEventModel.seriousness
path:
  v: LTCAdverseEventModel.seriousness
short:
  v: 臨床嚴重程度
definition:
  v: 異常事件的臨床嚴重程度，指臨床上會對患者造成生命威脅或導致患者長期失能的風險程度
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.seriousness

id:
  v: LTCAdverseEventModel.severity
path:
  v: LTCAdverseEventModel.severity
short:
  v: 嚴重程度分級
definition:
  v: 異常事件本身的嚴重程度（輕微、中度、重度）
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.severity

id:
  v: LTCAdverseEventModel.outcome
path:
  v: LTCAdverseEventModel.outcome
short:
  v: 異常事件結果
definition:
  v: 異常事件的最終結果
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.outcome

id:
  v: LTCAdverseEventModel.recorder
path:
  v: LTCAdverseEventModel.recorder
short:
  v: 記錄者資訊
definition:
  v: 記錄異常事件的人員資訊
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: LTCAdverseEventModel.recorder.recorderReference
path:
  v: LTCAdverseEventModel.recorder.recorderReference
short:
  v: 記錄者參考
definition:
  v: 對記錄者資源的參考
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.recorder.reference

id:
  v: LTCAdverseEventModel.contributor
path:
  v: LTCAdverseEventModel.contributor
short:
  v: 涉及者資訊
definition:
  v: 涉及此異常事件的人員或設備
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: LTCAdverseEventModel.contributor.contributorReference
path:
  v: LTCAdverseEventModel.contributor.contributorReference
short:
  v: 涉及者參考
definition:
  v: 對涉及者資源的參考
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: LTCAdverseEventModelToLTCAdverseEvent
  map:
    v: AdverseEvent.contributor.reference