TWDentalPeriodontalConsent
type: StructureDefinition
node role: treeRoot
id:
  v: TWDentalPeriodontalConsent
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition TWDentalPeriodontalConsent Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> TWDentalPeriodontalConsent 0..* Base 病人基本資料暨接受牙周病統合治療確認書 (TW Periodontal Consent) 之邏輯模型 patientName 1..1 HumanName 姓名 medicalRecordNumber 1..1 Identifier 病歷號碼 medicalHistory 0..* CodeableConcept 醫學病史 medicalHistoryOther 0..1 string 其他醫學病史 smoking 0..1 BackboneElement 抽菸 present 1..1 boolean 是否抽菸 packPerDay 0..1 integer 包/天 years 0..1 integer 年 alcohol 0..1 boolean 喝酒 betelNut 0..1 BackboneElement 嚼檳榔 present 1..1 boolean 是否嚼檳榔 countPerDay 0..1 integer 顆/天 years 0..1 integer 年 allergy 0..1 BackboneElement 過敏 none 0..1 boolean 無過敏 drug 0..1 string 藥物過敏 food 0..1 string 食物過敏 other 0..1 string 其他過敏 familyHistory 0..* CodeableConcept 家族病史 familyHistoryCancerType 0..1 string 癌症種類 familyHistoryOther 0..1 string 其他家族病史 doctorStatements 1..* string 醫師之聲明 patientStatements 1..* string 病人之聲明 dentistSignature 1..1 Signature 牙醫師簽名 consentSignature 1..1 Signature 立同意書人簽名 consentRelation 0..1 string 與病人之關係 consentDate 1..1 date 同意日期 <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://dental-ig.fhir.tw/StructureDefinition/TWDentalPeriodontalConsent
version:
  v: 0.0.1
name:
  v: TWDentalPeriodontalConsentModel
title:
  v: 病人基本資料暨接受牙周病統合治療確認書 (TW Periodontal Consent) 之邏輯模型
status:
  v: active
date:
  v: 2025-06-10T09:56:59+08:00
publisher:
  v: 金屬工業研究發展中心
contact:
  name:
    v: 金屬工業研究發展中心
  telecom:
    system:
      v: url
    value:
      v: https://www.mirdc.org.tw/
contact:
  name:
    v: 黃怡文
  telecom:
    system:
      v: email
    use:
      v: work
contact:
  name:
    v: 莊世任
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: 此模型說明本 IG 如何定義病人基本資料暨接受牙周病統合治療確認書的資料結構。
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: http://dental-ig.fhir.tw/StructureDefinition/TWDentalPeriodontalConsent
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: TWDentalPeriodontalConsent
    path:
      v: TWDentalPeriodontalConsent
    short:
      v: 病人基本資料暨接受牙周病統合治療確認書 (TW Periodontal Consent) 之邏輯模型
    definition:
      v: 此模型說明本 IG 如何定義病人基本資料暨接受牙周病統合治療確認書的資料結構。
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: TWDentalPeriodontalConsent.patientName
    path:
      v: TWDentalPeriodontalConsent.patientName
    short:
      v: 姓名
    definition:
      v: 病患姓名。
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: TWDentalPeriodontalConsent.patientName
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: HumanName
  element:
    id:
      v: TWDentalPeriodontalConsent.medicalRecordNumber
    path:
      v: TWDentalPeriodontalConsent.medicalRecordNumber
    short:
      v: 病歷號碼
    definition:
      v: 病患的病歷號碼。
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: TWDentalPeriodontalConsent.medicalRecordNumber
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Identifier
  element:
    id:
      v: TWDentalPeriodontalConsent.medicalHistory
    path:
      v: TWDentalPeriodontalConsent.medicalHistory
    short:
      v: 醫學病史
    definition:
      v: 病患的醫學病史（可複選）。
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: TWDentalPeriodontalConsent.medicalHistory
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: CodeableConcept
  element:
    id:
      v: TWDentalPeriodontalConsent.medicalHistoryOther
    path:
      v: TWDentalPeriodontalConsent.medicalHistoryOther
    short:
      v: 其他醫學病史
    definition:
      v: 其他醫學病史說明。
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: TWDentalPeriodontalConsent.medicalHistoryOther
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: string
  element:
    id:
      v: TWDentalPeriodontalConsent.smoking
    path:
      v: TWDentalPeriodontalConsent.smoking
    short:
      v: 抽菸
    definition:
      v: 抽菸習慣。
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: TWDentalPeriodontalConsent.smoking
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: BackboneElement

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
  link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: TWDentalPeriodontalConsent.smoking.id
path:
  v: TWDentalPeriodontalConsent.smoking.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWDentalPeriodontalConsent.smoking.extension
path:
  v: TWDentalPeriodontalConsent.smoking.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWDentalPeriodontalConsent.smoking.modifierExtension
path:
  v: TWDentalPeriodontalConsent.smoking.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: TWDentalPeriodontalConsent.smoking.present
path:
  v: TWDentalPeriodontalConsent.smoking.present
short:
  v: 是否抽菸
definition:
  v: 是否有抽菸習慣。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.smoking.present
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean

id:
  v: TWDentalPeriodontalConsent.smoking.packPerDay
path:
  v: TWDentalPeriodontalConsent.smoking.packPerDay
short:
  v: 包/天
definition:
  v: 每日抽菸包數。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.smoking.packPerDay
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: TWDentalPeriodontalConsent.smoking.years
path:
  v: TWDentalPeriodontalConsent.smoking.years
short:
  v: 年
definition:
  v: 抽菸年數。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.smoking.years
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: TWDentalPeriodontalConsent.alcohol
path:
  v: TWDentalPeriodontalConsent.alcohol
short:
  v: 喝酒
definition:
  v: 是否有喝酒習慣。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.alcohol
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean

id:
  v: TWDentalPeriodontalConsent.betelNut
path:
  v: TWDentalPeriodontalConsent.betelNut
short:
  v: 嚼檳榔
definition:
  v: 嚼檳榔習慣。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.betelNut
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: TWDentalPeriodontalConsent.betelNut.id
path:
  v: TWDentalPeriodontalConsent.betelNut.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWDentalPeriodontalConsent.betelNut.extension
path:
  v: TWDentalPeriodontalConsent.betelNut.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWDentalPeriodontalConsent.betelNut.modifierExtension
path:
  v: TWDentalPeriodontalConsent.betelNut.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: TWDentalPeriodontalConsent.betelNut.present
path:
  v: TWDentalPeriodontalConsent.betelNut.present
short:
  v: 是否嚼檳榔
definition:
  v: 是否有嚼檳榔習慣。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.betelNut.present
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean

id:
  v: TWDentalPeriodontalConsent.betelNut.countPerDay
path:
  v: TWDentalPeriodontalConsent.betelNut.countPerDay
short:
  v: 顆/天
definition:
  v: 每日嚼檳榔顆數。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.betelNut.countPerDay
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: TWDentalPeriodontalConsent.betelNut.years
path:
  v: TWDentalPeriodontalConsent.betelNut.years
short:
  v: 年
definition:
  v: 嚼檳榔年數。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.betelNut.years
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: TWDentalPeriodontalConsent.allergy
path:
  v: TWDentalPeriodontalConsent.allergy
short:
  v: 過敏
definition:
  v: 過敏史。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.allergy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: TWDentalPeriodontalConsent.allergy.id
path:
  v: TWDentalPeriodontalConsent.allergy.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWDentalPeriodontalConsent.allergy.extension
path:
  v: TWDentalPeriodontalConsent.allergy.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWDentalPeriodontalConsent.allergy.modifierExtension
path:
  v: TWDentalPeriodontalConsent.allergy.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: TWDentalPeriodontalConsent.allergy.none
path:
  v: TWDentalPeriodontalConsent.allergy.none
short:
  v: 無過敏
definition:
  v: 無過敏史。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.allergy.none
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean

id:
  v: TWDentalPeriodontalConsent.allergy.drug
path:
  v: TWDentalPeriodontalConsent.allergy.drug
short:
  v: 藥物過敏
definition:
  v: 藥物過敏說明。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.allergy.drug
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.allergy.food
path:
  v: TWDentalPeriodontalConsent.allergy.food
short:
  v: 食物過敏
definition:
  v: 食物過敏說明。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.allergy.food
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.allergy.other
path:
  v: TWDentalPeriodontalConsent.allergy.other
short:
  v: 其他過敏
definition:
  v: 其他過敏說明。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.allergy.other
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.familyHistory
path:
  v: TWDentalPeriodontalConsent.familyHistory
short:
  v: 家族病史
definition:
  v: 家族病史（可複選）。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWDentalPeriodontalConsent.familyHistory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept

id:
  v: TWDentalPeriodontalConsent.familyHistoryCancerType
path:
  v: TWDentalPeriodontalConsent.familyHistoryCancerType
short:
  v: 癌症種類
definition:
  v: 家族癌症種類。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.familyHistoryCancerType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.familyHistoryOther
path:
  v: TWDentalPeriodontalConsent.familyHistoryOther
short:
  v: 其他家族病史
definition:
  v: 其他家族病史說明。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.familyHistoryOther
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.doctorStatements
path:
  v: TWDentalPeriodontalConsent.doctorStatements
short:
  v: 醫師之聲明
definition:
  v: 醫師聲明條款內容。
min:
  v: 1
max:
  v: *
base:
  path:
    v: TWDentalPeriodontalConsent.doctorStatements
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.patientStatements
path:
  v: TWDentalPeriodontalConsent.patientStatements
short:
  v: 病人之聲明
definition:
  v: 病人聲明條款內容。
min:
  v: 1
max:
  v: *
base:
  path:
    v: TWDentalPeriodontalConsent.patientStatements
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.dentistSignature
path:
  v: TWDentalPeriodontalConsent.dentistSignature
short:
  v: 牙醫師簽名
definition:
  v: 牙醫師簽名。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.dentistSignature
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Signature

id:
  v: TWDentalPeriodontalConsent.consentSignature
path:
  v: TWDentalPeriodontalConsent.consentSignature
short:
  v: 立同意書人簽名
definition:
  v: 立同意書人簽名。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.consentSignature
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Signature

id:
  v: TWDentalPeriodontalConsent.consentRelation
path:
  v: TWDentalPeriodontalConsent.consentRelation
short:
  v: 與病人之關係
definition:
  v: 立同意書人與病人之關係。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.consentRelation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.consentDate
path:
  v: TWDentalPeriodontalConsent.consentDate
short:
  v: 同意日期
definition:
  v: 同意書簽署日期。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWDentalPeriodontalConsent.consentDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date

element:
  id:
    v: TWDentalPeriodontalConsent
  path:
    v: TWDentalPeriodontalConsent
  short:
    v: 病人基本資料暨接受牙周病統合治療確認書 (TW Periodontal Consent) 之邏輯模型
  definition:
    v: 此模型說明本 IG 如何定義病人基本資料暨接受牙周病統合治療確認書的資料結構。
element:
  id:
    v: TWDentalPeriodontalConsent.patientName
  path:
    v: TWDentalPeriodontalConsent.patientName
  short:
    v: 姓名
  definition:
    v: 病患姓名。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: HumanName
element:
  id:
    v: TWDentalPeriodontalConsent.medicalRecordNumber
  path:
    v: TWDentalPeriodontalConsent.medicalRecordNumber
  short:
    v: 病歷號碼
  definition:
    v: 病患的病歷號碼。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
element:
  id:
    v: TWDentalPeriodontalConsent.medicalHistory
  path:
    v: TWDentalPeriodontalConsent.medicalHistory
  short:
    v: 醫學病史
  definition:
    v: 病患的醫學病史（可複選）。
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: CodeableConcept
element:
  id:
    v: TWDentalPeriodontalConsent.medicalHistoryOther
  path:
    v: TWDentalPeriodontalConsent.medicalHistoryOther
  short:
    v: 其他醫學病史
  definition:
    v: 其他醫學病史說明。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: TWDentalPeriodontalConsent.smoking
  path:
    v: TWDentalPeriodontalConsent.smoking
  short:
    v: 抽菸
  definition:
    v: 抽菸習慣。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: TWDentalPeriodontalConsent.smoking.present
  path:
    v: TWDentalPeriodontalConsent.smoking.present
  short:
    v: 是否抽菸
  definition:
    v: 是否有抽菸習慣。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: boolean
element:
  id:
    v: TWDentalPeriodontalConsent.smoking.packPerDay
  path:
    v: TWDentalPeriodontalConsent.smoking.packPerDay
  short:
    v: 包/天
  definition:
    v: 每日抽菸包數。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: integer
element:
  id:
    v: TWDentalPeriodontalConsent.smoking.years
  path:
    v: TWDentalPeriodontalConsent.smoking.years
  short:
    v: 年
  definition:
    v: 抽菸年數。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: integer
element:
  id:
    v: TWDentalPeriodontalConsent.alcohol
  path:
    v: TWDentalPeriodontalConsent.alcohol
  short:
    v: 喝酒
  definition:
    v: 是否有喝酒習慣。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: boolean
element:
  id:
    v: TWDentalPeriodontalConsent.betelNut
  path:
    v: TWDentalPeriodontalConsent.betelNut
  short:
    v: 嚼檳榔
  definition:
    v: 嚼檳榔習慣。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: TWDentalPeriodontalConsent.betelNut.present
  path:
    v: TWDentalPeriodontalConsent.betelNut.present
  short:
    v: 是否嚼檳榔
  definition:
    v: 是否有嚼檳榔習慣。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: boolean
element:
  id:
    v: TWDentalPeriodontalConsent.betelNut.countPerDay
  path:
    v: TWDentalPeriodontalConsent.betelNut.countPerDay
  short:
    v: 顆/天
  definition:
    v: 每日嚼檳榔顆數。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: integer

id:
  v: TWDentalPeriodontalConsent.betelNut.years
path:
  v: TWDentalPeriodontalConsent.betelNut.years
short:
  v: 年
definition:
  v: 嚼檳榔年數。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer

id:
  v: TWDentalPeriodontalConsent.allergy
path:
  v: TWDentalPeriodontalConsent.allergy
short:
  v: 過敏
definition:
  v: 過敏史。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: TWDentalPeriodontalConsent.allergy.none
path:
  v: TWDentalPeriodontalConsent.allergy.none
short:
  v: 無過敏
definition:
  v: 無過敏史。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean

id:
  v: TWDentalPeriodontalConsent.allergy.drug
path:
  v: TWDentalPeriodontalConsent.allergy.drug
short:
  v: 藥物過敏
definition:
  v: 藥物過敏說明。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.allergy.food
path:
  v: TWDentalPeriodontalConsent.allergy.food
short:
  v: 食物過敏
definition:
  v: 食物過敏說明。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.allergy.other
path:
  v: TWDentalPeriodontalConsent.allergy.other
short:
  v: 其他過敏
definition:
  v: 其他過敏說明。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.familyHistory
path:
  v: TWDentalPeriodontalConsent.familyHistory
short:
  v: 家族病史
definition:
  v: 家族病史（可複選）。
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept

id:
  v: TWDentalPeriodontalConsent.familyHistoryCancerType
path:
  v: TWDentalPeriodontalConsent.familyHistoryCancerType
short:
  v: 癌症種類
definition:
  v: 家族癌症種類。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.familyHistoryOther
path:
  v: TWDentalPeriodontalConsent.familyHistoryOther
short:
  v: 其他家族病史
definition:
  v: 其他家族病史說明。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.doctorStatements
path:
  v: TWDentalPeriodontalConsent.doctorStatements
short:
  v: 醫師之聲明
definition:
  v: 醫師聲明條款內容。
min:
  v: 1
max:
  v: *
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.patientStatements
path:
  v: TWDentalPeriodontalConsent.patientStatements
short:
  v: 病人之聲明
definition:
  v: 病人聲明條款內容。
min:
  v: 1
max:
  v: *
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.dentistSignature
path:
  v: TWDentalPeriodontalConsent.dentistSignature
short:
  v: 牙醫師簽名
definition:
  v: 牙醫師簽名。
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Signature

id:
  v: TWDentalPeriodontalConsent.consentSignature
path:
  v: TWDentalPeriodontalConsent.consentSignature
short:
  v: 立同意書人簽名
definition:
  v: 立同意書人簽名。
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Signature

id:
  v: TWDentalPeriodontalConsent.consentRelation
path:
  v: TWDentalPeriodontalConsent.consentRelation
short:
  v: 與病人之關係
definition:
  v: 立同意書人與病人之關係。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: TWDentalPeriodontalConsent.consentDate
path:
  v: TWDentalPeriodontalConsent.consentDate
short:
  v: 同意日期
definition:
  v: 同意書簽署日期。
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date