TWComposition
type: StructureDefinition
node role: treeRoot
id:
  v: TWComposition
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition TWComposition Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> TWComposition 0..* Base 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型 #xD; identifier 0..1 Identifier 不分版本的臨床文件架構(Composition)識別碼。 #xD; status 1..1 code 臨床文件架構的工作流程/臨床狀態。 #xD; type 1..1 CodeableConcept 臨床文件架構的種類(如果可能請使用LOINC)。 #xD; subject 0..1 BackboneElement 臨床文件架構是關於誰和/或什麼。 #xD; patient 0..1 Patient 關於某病人。 #xD; group 0..1 Group 關於某團體/群體。 #xD; device 0..1 Device 關於某設備。 #xD; substance 0..1 Substance 關於某物質。 #xD; location 0..1 Location 關於某地點。 #xD; date 1..1 dateTime 臨床文件架構的編輯時間。 #xD; author 1..* BackboneElement 誰和/或什麼創建了這個臨床文件架構。 #xD; practitioner 0..* Practitioner 某健康照護服務提供者創建這個臨床文件架構。 #xD; practitionerRole 0..* PractitionerRole 某健康照護服務角色創建這個臨床文件架構。 #xD; organization 0..* Organization 某機構創建這個臨床文件架構。 #xD; patient 0..* Patient 某病人創建這個臨床文件架構。 #xD; device 0..* Device 某設備創建這個臨床文件架構。 #xD; relatedPerson 0..* RelatedPerson 某相關人士創建這個臨床文件架構。 #xD; title 1..1 string 人類可讀的名稱/標題。 #xD; attester 0..* BackboneElement 證明臨床文件架構的準確性。 #xD; custodian 0..1 Organization 維護臨床文件架構的機構。 #xD; section 0..* BackboneElement 臨床文件架構被分成一個或數個小節。 #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWComposition
  l: TWComposition
version:
  v: 1.0.0
name:
  v: TWCompositionModel
title:
  v: 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型
status:
  v: active
date:
  v: 2026-01-07T07:13:09+00:00
contact:
  name:
    v: 衛生福利部
  telecom:
    system:
      v: url
    value:
      v: https://www.mohw.gov.tw/
  telecom:
    system:
      v: email
description:
  v: 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: TWComposition
  uri:
    v: https://twcore.mohw.gov.tw/ig/twcore
    l: twcore
  name:
    v: TW Core IG
kind:
  v: logical
abstract:
  v: false
type:
  v: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWComposition
  l: TWComposition
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: TWComposition
    path:
      v: TWComposition
    short:
      v: 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型
    definition:
      v: 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: TWComposition
      map:
        v: TWCoreComposition
  element:
    id:
      v: TWComposition.identifier
    path:
      v: TWComposition.identifier
    short:
      v: 不分版本的臨床文件架構(Composition)識別碼。
    definition:
      v: 不分版本的臨床文件架構(臨床文件架構)識別碼。
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: TWComposition.identifier
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Identifier
        l: Identifier
    mapping:
      identity:
        v: TWComposition
      map:
        v: TWCoreComposition.identifier
  element:
    id:
      v: TWComposition.status
    path:
      v: TWComposition.status
    short:
      v: 臨床文件架構的工作流程/臨床狀態。
    definition:
      v: 臨床文件架構的工作流程/臨床狀態。
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: TWComposition.status
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: code
        l: code
    mapping:
      identity:
        v: TWComposition
      map:
        v: TWCoreComposition.status
  element:
    id:
      v: TWComposition.type
    path:
      v: TWComposition.type
    short:
      v: 臨床文件架構的種類(如果可能請使用LOINC)。
    definition:
      v: 臨床文件架構的種類(如果可能請使用LOINC)。
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: TWComposition.type
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: CodeableConcept
        l: CodeableConcept
    mapping:
      identity:
        v: TWComposition
      map:
        v: TWCoreComposition.type
  element:
    id:
      v: TWComposition.subject
    path:
      v: TWComposition.subject
    short:
      v: 臨床文件架構是關於誰和/或什麼。
    definition:
      v: 臨床文件架構是關於誰和/或什麼。
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: TWComposition.subject
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: BackboneElement
        l: 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
  l: Element

id:
  v: TWComposition.subject.id
path:
  v: TWComposition.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: TWComposition.subject.extension
path:
  v: TWComposition.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: TWComposition.subject.modifierExtension
path:
  v: TWComposition.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: TWComposition.subject.patient
path:
  v: TWComposition.subject.patient
short:
  v: 關於某病人。
definition:
  v: 關於某病人。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWComposition.subject.patient
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Patient
    l: Patient
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.subject.Reference(TW Core Patient)

id:
  v: TWComposition.subject.group
path:
  v: TWComposition.subject.group
short:
  v: 關於某團體/群體。
definition:
  v: 關於某團體/群體。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWComposition.subject.group
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Group
    l: Group
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.subject.Reference(Group)

id:
  v: TWComposition.subject.device
path:
  v: TWComposition.subject.device
short:
  v: 關於某設備。
definition:
  v: 關於某設備。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWComposition.subject.device
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Device
    l: Device
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.subject.Reference(Device)

id:
  v: TWComposition.subject.substance
path:
  v: TWComposition.subject.substance
short:
  v: 關於某物質。
definition:
  v: 關於某物質。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWComposition.subject.substance
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Substance
    l: Substance
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.subject.Reference(Substance)

id:
  v: TWComposition.subject.location
path:
  v: TWComposition.subject.location
short:
  v: 關於某地點。
definition:
  v: 關於某地點。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWComposition.subject.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Location
    l: Location
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.subject.Reference(TW Core Location)

id:
  v: TWComposition.date
path:
  v: TWComposition.date
short:
  v: 臨床文件架構的編輯時間。
definition:
  v: 臨床文件架構的編輯時間。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWComposition.date
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.date

id:
  v: TWComposition.author
path:
  v: TWComposition.author
short:
  v: 誰和/或什麼創建了這個臨床文件架構。
definition:
  v: 誰和/或什麼創建了這個臨床文件架構。
min:
  v: 1
max:
  v: *
base:
  path:
    v: TWComposition.author
  min:
    v: 1
  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: TWComposition.author.id
path:
  v: TWComposition.author.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: TWComposition.author.extension
path:
  v: TWComposition.author.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: TWComposition.author.modifierExtension
path:
  v: TWComposition.author.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: TWComposition.author.practitioner
path:
  v: TWComposition.author.practitioner
short:
  v: 某健康照護服務提供者創建這個臨床文件架構。
definition:
  v: 某健康照護服務提供者創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.author.practitioner
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Practitioner
    l: Practitioner
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core Practitioner)

id:
  v: TWComposition.author.practitionerRole
path:
  v: TWComposition.author.practitionerRole
short:
  v: 某健康照護服務角色創建這個臨床文件架構。
definition:
  v: 健康照護服務角色創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.author.practitionerRole
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: PractitionerRole
    l: PractitionerRole
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core PractitionerRole)

id:
  v: TWComposition.author.organization
path:
  v: TWComposition.author.organization
short:
  v: 某機構創建這個臨床文件架構。
definition:
  v: 某機構創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.author.organization
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Organization
    l: Organization
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core Organization Hospital Department)

id:
  v: TWComposition.author.patient
path:
  v: TWComposition.author.patient
short:
  v: 某病人創建這個臨床文件架構。
definition:
  v: 某病人創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.author.patient
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Patient
    l: Patient
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core Patient)

id:
  v: TWComposition.author.device
path:
  v: TWComposition.author.device
short:
  v: 某設備創建這個臨床文件架構。
definition:
  v: 某設備創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.author.device
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Device
    l: Device
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(Device)

id:
  v: TWComposition.author.relatedPerson
path:
  v: TWComposition.author.relatedPerson
short:
  v: 某相關人士創建這個臨床文件架構。
definition:
  v: 某相關人士創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.author.relatedPerson
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: RelatedPerson
    l: RelatedPerson
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(RelatedPerson)

id:
  v: TWComposition.title
path:
  v: TWComposition.title
short:
  v: 人類可讀的名稱/標題。
definition:
  v: 人類可讀的名稱/標題。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWComposition.title
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.title

id:
  v: TWComposition.attester
path:
  v: TWComposition.attester
short:
  v: 證明臨床文件架構的準確性。
definition:
  v: 證明臨床文件架構的準確性。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.attester
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.attester

id:
  v: TWComposition.custodian
path:
  v: TWComposition.custodian
short:
  v: 維護臨床文件架構的機構。
definition:
  v: 維護臨床文件架構的機構。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWComposition.custodian
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Organization
    l: Organization
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.custodian

id:
  v: TWComposition.section
path:
  v: TWComposition.section
short:
  v: 臨床文件架構被分成一個或數個小節。
definition:
  v: 臨床文件架構被分成一個或數個小節。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWComposition.section
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.section

element:
  id:
    v: TWComposition
  path:
    v: TWComposition
  short:
    v: 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型
  definition:
    v: 臺灣核心-臨床文件架構(TW Core Composition) 之資料模型
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition
element:
  id:
    v: TWComposition.identifier
  path:
    v: TWComposition.identifier
  short:
    v: 不分版本的臨床文件架構(Composition)識別碼。
  definition:
    v: 不分版本的臨床文件架構(臨床文件架構)識別碼。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.identifier
element:
  id:
    v: TWComposition.status
  path:
    v: TWComposition.status
  short:
    v: 臨床文件架構的工作流程/臨床狀態。
  definition:
    v: 臨床文件架構的工作流程/臨床狀態。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.status
element:
  id:
    v: TWComposition.type
  path:
    v: TWComposition.type
  short:
    v: 臨床文件架構的種類(如果可能請使用LOINC)。
  definition:
    v: 臨床文件架構的種類(如果可能請使用LOINC)。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.type
element:
  id:
    v: TWComposition.subject
  path:
    v: TWComposition.subject
  short:
    v: 臨床文件架構是關於誰和/或什麼。
  definition:
    v: 臨床文件架構是關於誰和/或什麼。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: TWComposition.subject.patient
  path:
    v: TWComposition.subject.patient
  short:
    v: 關於某病人。
  definition:
    v: 關於某病人。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Patient
      l: Patient
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.subject.Reference(TW Core Patient)
element:
  id:
    v: TWComposition.subject.group
  path:
    v: TWComposition.subject.group
  short:
    v: 關於某團體/群體。
  definition:
    v: 關於某團體/群體。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Group
      l: Group
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.subject.Reference(Group)
element:
  id:
    v: TWComposition.subject.device
  path:
    v: TWComposition.subject.device
  short:
    v: 關於某設備。
  definition:
    v: 關於某設備。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Device
      l: Device
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.subject.Reference(Device)
element:
  id:
    v: TWComposition.subject.substance
  path:
    v: TWComposition.subject.substance
  short:
    v: 關於某物質。
  definition:
    v: 關於某物質。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Substance
      l: Substance
  mapping:
    identity:
      v: TWComposition
    map:
      v: TWCoreComposition.subject.Reference(Substance)
element:
  id:
    v: TWComposition.subject.location
  path:
    v: TWComposition.subject.location
  short:
    v: 關於某地點。
  definition:
    v: 關於某地點。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Location
      l: Location

identity:
  v: TWComposition
map:
  v: TWCoreComposition.subject.Reference(TW Core Location)

id:
  v: TWComposition.date
path:
  v: TWComposition.date
short:
  v: 臨床文件架構的編輯時間。
definition:
  v: 臨床文件架構的編輯時間。
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.date

id:
  v: TWComposition.author
path:
  v: TWComposition.author
short:
  v: 誰和/或什麼創建了這個臨床文件架構。
definition:
  v: 誰和/或什麼創建了這個臨床文件架構。
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TWComposition.author.practitioner
path:
  v: TWComposition.author.practitioner
short:
  v: 某健康照護服務提供者創建這個臨床文件架構。
definition:
  v: 某健康照護服務提供者創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Practitioner
    l: Practitioner
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core Practitioner)

id:
  v: TWComposition.author.practitionerRole
path:
  v: TWComposition.author.practitionerRole
short:
  v: 某健康照護服務角色創建這個臨床文件架構。
definition:
  v: 健康照護服務角色創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
type:
  code:
    v: PractitionerRole
    l: PractitionerRole
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core PractitionerRole)

id:
  v: TWComposition.author.organization
path:
  v: TWComposition.author.organization
short:
  v: 某機構創建這個臨床文件架構。
definition:
  v: 某機構創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Organization
    l: Organization
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core Organization Hospital Department)

id:
  v: TWComposition.author.patient
path:
  v: TWComposition.author.patient
short:
  v: 某病人創建這個臨床文件架構。
definition:
  v: 某病人創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Patient
    l: Patient
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(TW Core Patient)

id:
  v: TWComposition.author.device
path:
  v: TWComposition.author.device
short:
  v: 某設備創建這個臨床文件架構。
definition:
  v: 某設備創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Device
    l: Device
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(Device)

id:
  v: TWComposition.author.relatedPerson
path:
  v: TWComposition.author.relatedPerson
short:
  v: 某相關人士創建這個臨床文件架構。
definition:
  v: 某相關人士創建這個臨床文件架構。
min:
  v: 0
max:
  v: *
type:
  code:
    v: RelatedPerson
    l: RelatedPerson
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.author.Reference(RelatedPerson)

id:
  v: TWComposition.title
path:
  v: TWComposition.title
short:
  v: 人類可讀的名稱/標題。
definition:
  v: 人類可讀的名稱/標題。
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.title

id:
  v: TWComposition.attester
path:
  v: TWComposition.attester
short:
  v: 證明臨床文件架構的準確性。
definition:
  v: 證明臨床文件架構的準確性。
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.attester

id:
  v: TWComposition.custodian
path:
  v: TWComposition.custodian
short:
  v: 維護臨床文件架構的機構。
definition:
  v: 維護臨床文件架構的機構。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Organization
    l: Organization
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.custodian

id:
  v: TWComposition.section
path:
  v: TWComposition.section
short:
  v: 臨床文件架構被分成一個或數個小節。
definition:
  v: 臨床文件架構被分成一個或數個小節。
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: TWComposition
  map:
    v: TWCoreComposition.section