BedCapacityModel
type: StructureDefinition
node role: treeRoot
id:
  v: BedCapacityModel
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> <a href="StructureDefinition-BedCapacityModel-definitions.html#BedCapacityModel" title="此邏輯性資料模型參考臺灣衛生福利部疾病管制署（Taiwan Centers for Disease Control，CDC）病床通報作業中的資料項目，實作者可藉此資料模型快速瞭解病床統計資料的內容， 但受限於FHIR的[資料項目命名原則](https://hl7.org/fhir/elementdefinition-definitions.html#def)字首只能小寫及名稱不能包含特殊符號，命名無法完整參照原始資料項目名稱。若實作者已採用CDC病床通報作業中的資料項目，請留意名稱在此資料模型的差異及原因。 實作者可透過此資料模型上方`Mappings`功能頁籤來瞭解各資料項目可透過哪些Profiles或Resources的資料項目進行實作。">BedCapacityModel 0..* Base 病床統計資料(Hospital Bed Statistics Data)之資料模型 dataId 1..1 string 資料識別碼，格式為「[機構代碼]_[資料日期]」，如：0622020017-20230401 hospNo 1..1 Organization 醫院代碼 inpDate 1..1 date 資料日期 p 1..1 BackboneElement 負壓床 curUsingPTP 1..1 integer 使用中負壓床-結核病-確定 curUsingPTS 1..1 integer 使用中負壓床-結核病-疑似 curUsingPCP 1..1 integer 使用中負壓床-新型流感-確定 curUsingPCS 1..1 integer 使用中負壓床-新型流感-疑似 curUsingPNS 1..1 integer 使用中負壓床-其他 rsvP 1..1 integer 控留-負壓隔離病床 availP 1..1 integer 可供使用-負壓隔離病床 n 1..1 BackboneElement 一般隔離床 curUsingNTP 1..1 integer 使用中一般隔離床-結核病-確定 curUsingNTS 1..1 integer 使用中一般隔離床-結核病-疑似 curUsingNCP 1..1 integer 使用中一般隔離床-新型流感-確定 curUsingNCS 1..1 integer 使用中一般隔離床-新型流感-疑似 curUsingNNS 1..1 integer 使用中一般隔離床-其他 rsvN 1..1 integer 控留-一般隔離病床 availN 1..1 integer 可供使用-一般隔離病床 s 0..1 BackboneElement 專責病床 curUsingSTP 1..1 integer 使用中專責病床-結核病-確定 curUsingSTS 1..1 integer 使用中專責病床-結核病-疑似 curUsingSCP 1..1 integer 使用中專責病床-新型流感-確定 curUsingSCS 1..1 integer 使用中專責病床-新型流感-疑似 curUsingSNS 1..1 integer 使用中專責病床-其他 rsvS 1..1 integer 控留-專責病床 availS 1..1 integer 可供使用-專責病床 icu 0..1 BackboneElement 加護病房 curUsingICUTP 1..1 integer 使用中加護病房-結核病-確定 curUsingICUTS 1..1 integer 使用中加護病房-結核病-疑似 curUsingICUCP 1..1 integer 使用中加護病房-新型流感-確定 curUsingICUCS 1..1 integer 使用中加護病房-新型流感-疑似 curUsingICUNS 1..1 integer 使用中加護病房-其他 rsvICU 1..1 integer 控留-加護病房 availICU 1..1 integer 可供使用-加護病房 note 0..1 Narrative 備註說明 lastUpdate 1..1 date 上傳日期時間 prsnId 1..1 Practitioner 上傳者 <img src="[binary]" alt="doco" style="background-…
url:
  v: https://fhirisolationroom.azurehealthcareapis.com/StructureDefinition/BedCapacityModel
version:
  v: 0.1.0
name:
  v: BedCapacityModel
title:
  v: 病床統計資料(Hospital Bed Statistics Data)之資料模型
status:
  v: active
experimental:
  v: false
date:
  v: 2023-04-15
publisher:
  v: 大同世界科技股份有限公司
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.etatung.com/
description:
  v: 此邏輯性資料模型參考臺灣衛生福利部疾病管制署（Taiwan Centers for Disease Control，CDC）病床通報作業中的資料項目，實作者可藉此資料模型快速瞭解病床統計資料的內容， 但受限於FHIR的[資料項目命名原則](https://hl7.org/fhir/elementdefinition-definitions.html#def)字首只能小寫及名稱不能包含特殊符號，命名無法完整參照原始資料項目名稱。若實作者已採用CDC病床通報作業中的資料項目，請留意名稱在此資料模型的差異及原因。 實作者可透過此資料模型上方`Mappings`功能頁籤來瞭解各資料項目可透過哪些Profiles或Resources的資料項目進行實作。
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: BedCapacity
  uri:
    v: https://fhirisolationroom.azurehealthcareapis.com
  name:
    v: BedCapacity
kind:
  v: logical
abstract:
  v: false
type:
  v: https://fhirisolationroom.azurehealthcareapis.com/StructureDefinition/BedCapacityModel
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  element:
    id:
      v: BedCapacityModel
    path:
      v: BedCapacityModel
    short:
      v: 病床統計資料(Hospital Bed Statistics Data)之資料模型
    definition:
      v: 此邏輯性資料模型參考臺灣衛生福利部疾病管制署（Taiwan Centers for Disease Control，CDC）病床通報作業中的資料項目，實作者可藉此資料模型快速瞭解病床統計資料的內容， 但受限於FHIR的[資料項目命名原則](https://hl7.org/fhir/elementdefinition-definitions.html#def)字首只能小寫及名稱不能包含特殊符號，命名無法完整參照原始資料項目名稱。若實作者已採用CDC病床通報作業中的資料項目，請留意名稱在此資料模型的差異及原因。 實作者可透過此資料模型上方`Mappings`功能頁籤來瞭解各資料項目可透過哪些Profiles或Resources的資料項目進行實作。
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: BedCapacityModel.dataId
    path:
      v: BedCapacityModel.dataId
    short:
      v: 資料識別碼，格式為「[機構代碼]_[資料日期]」，如：0622020017-20230401
    definition:
      v: 資料識別碼，格式為「[機構代碼]_[資料日期]」，如：0622020017-20230401
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: BedCapacityModel.dataId
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
    mapping:
      identity:
        v: BedCapacity
      map:
        v: BundleBedCapacity.id
  element:
    id:
      v: BedCapacityModel.hospNo
    path:
      v: BedCapacityModel.hospNo
    short:
      v: 醫院代碼
    definition:
      v: 醫院代碼
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: BedCapacityModel.hospNo
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Organization
    mapping:
      identity:
        v: BedCapacity
      map:
        v: MessageHeaderHospBed.sender
  element:
    id:
      v: BedCapacityModel.inpDate
    path:
      v: BedCapacityModel.inpDate
    short:
      v: 資料日期
    definition:
      v: 資料日期
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: BedCapacityModel.inpDate
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: date
    mapping:
      identity:
        v: BedCapacity
      map:
        v: MeasureReportBedCapacity.date
  element:
    id:
      v: BedCapacityModel.p
    path:
      v: BedCapacityModel.p
    short:
      v: 負壓床
    definition:
      v: 負壓床
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: BedCapacityModel.p
      min:
        v: 1
      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: BedCapacityModel.p.id
path:
  v: BedCapacityModel.p.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:
      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: BedCapacityModel.p.extension
path:
  v: BedCapacityModel.p.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: BedCapacityModel.p.modifierExtension
path:
  v: BedCapacityModel.p.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: BedCapacityModel.p.curUsingPTP
path:
  v: BedCapacityModel.p.curUsingPTP
short:
  v: 使用中負壓床-結核病-確定
definition:
  v: 使用中負壓床-結核病-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.curUsingPTP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.curUsingPTS
path:
  v: BedCapacityModel.p.curUsingPTS
short:
  v: 使用中負壓床-結核病-疑似
definition:
  v: 使用中負壓床-結核病-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.curUsingPTS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.curUsingPCP
path:
  v: BedCapacityModel.p.curUsingPCP
short:
  v: 使用中負壓床-新型流感-確定
definition:
  v: 使用中負壓床-新型流感-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.curUsingPCP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.curUsingPCS
path:
  v: BedCapacityModel.p.curUsingPCS
short:
  v: 使用中負壓床-新型流感-疑似
definition:
  v: 使用中負壓床-新型流感-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.curUsingPCS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.curUsingPNS
path:
  v: BedCapacityModel.p.curUsingPNS
short:
  v: 使用中負壓床-其他
definition:
  v: 使用中負壓床-其他
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.curUsingPNS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.rsvP
path:
  v: BedCapacityModel.p.rsvP
short:
  v: 控留-負壓隔離病床
definition:
  v: 控留-負壓隔離病床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.rsvP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.availP
path:
  v: BedCapacityModel.p.availP
short:
  v: 可供使用-負壓隔離病床
definition:
  v: 可供使用-負壓隔離病床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.p.availP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n
path:
  v: BedCapacityModel.n
short:
  v: 一般隔離床
definition:
  v: 一般隔離床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n
  min:
    v: 1
  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: BedCapacityModel.n.id
path:
  v: BedCapacityModel.n.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:
      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: BedCapacityModel.n.extension
path:
  v: BedCapacityModel.n.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: BedCapacityModel.n.modifierExtension
path:
  v: BedCapacityModel.n.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: BedCapacityModel.n.curUsingNTP
path:
  v: BedCapacityModel.n.curUsingNTP
short:
  v: 使用中一般隔離床-結核病-確定
definition:
  v: 使用中一般隔離床-結核病-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.curUsingNTP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNTS
path:
  v: BedCapacityModel.n.curUsingNTS
short:
  v: 使用中一般隔離床-結核病-疑似
definition:
  v: 使用中一般隔離床-結核病-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.curUsingNTS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNCP
path:
  v: BedCapacityModel.n.curUsingNCP
short:
  v: 使用中一般隔離床-新型流感-確定
definition:
  v: 使用中一般隔離床-新型流感-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.curUsingNCP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNCS
path:
  v: BedCapacityModel.n.curUsingNCS
short:
  v: 使用中一般隔離床-新型流感-疑似
definition:
  v: 使用中一般隔離床-新型流感-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.curUsingNCS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNNS
path:
  v: BedCapacityModel.n.curUsingNNS
short:
  v: 使用中一般隔離床-其他
definition:
  v: 使用中一般隔離床-其他
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.curUsingNNS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.rsvN
path:
  v: BedCapacityModel.n.rsvN
short:
  v: 控留-一般隔離病床
definition:
  v: 控留-一般隔離病床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.rsvN
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvN', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.availN
path:
  v: BedCapacityModel.n.availN
short:
  v: 可供使用-一般隔離病床
definition:
  v: 可供使用-一般隔離病床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.n.availN
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availN', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s
path:
  v: BedCapacityModel.s
short:
  v: 專責病床
definition:
  v: 專責病床
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s
  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: BedCapacityModel.s.id
path:
  v: BedCapacityModel.s.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:
      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: BedCapacityModel.s.extension
path:
  v: BedCapacityModel.s.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: BedCapacityModel.s.modifierExtension
path:
  v: BedCapacityModel.s.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: BedCapacityModel.s.curUsingSTP
path:
  v: BedCapacityModel.s.curUsingSTP
short:
  v: 使用中專責病床-結核病-確定
definition:
  v: 使用中專責病床-結核病-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.curUsingSTP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSTS
path:
  v: BedCapacityModel.s.curUsingSTS
short:
  v: 使用中專責病床-結核病-疑似
definition:
  v: 使用中專責病床-結核病-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.curUsingSTS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSCP
path:
  v: BedCapacityModel.s.curUsingSCP
short:
  v: 使用中專責病床-新型流感-確定
definition:
  v: 使用中專責病床-新型流感-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.curUsingSCP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSCS
path:
  v: BedCapacityModel.s.curUsingSCS
short:
  v: 使用中專責病床-新型流感-疑似
definition:
  v: 使用中專責病床-新型流感-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.curUsingSCS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSNS
path:
  v: BedCapacityModel.s.curUsingSNS
short:
  v: 使用中專責病床-其他
definition:
  v: 使用中專責病床-其他
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.curUsingSNS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.rsvS
path:
  v: BedCapacityModel.s.rsvS
short:
  v: 控留-專責病床
definition:
  v: 控留-專責病床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.rsvS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.availS
path:
  v: BedCapacityModel.s.availS
short:
  v: 可供使用-專責病床
definition:
  v: 可供使用-專責病床
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.s.availS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu
path:
  v: BedCapacityModel.icu
short:
  v: 加護病房
definition:
  v: 加護病房
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu
  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: BedCapacityModel.icu.id
path:
  v: BedCapacityModel.icu.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:
      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: BedCapacityModel.icu.extension
path:
  v: BedCapacityModel.icu.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: BedCapacityModel.icu.modifierExtension
path:
  v: BedCapacityModel.icu.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: BedCapacityModel.icu.curUsingICUTP
path:
  v: BedCapacityModel.icu.curUsingICUTP
short:
  v: 使用中加護病房-結核病-確定
definition:
  v: 使用中加護病房-結核病-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.curUsingICUTP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUTS
path:
  v: BedCapacityModel.icu.curUsingICUTS
short:
  v: 使用中加護病房-結核病-疑似
definition:
  v: 使用中加護病房-結核病-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.curUsingICUTS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUCP
path:
  v: BedCapacityModel.icu.curUsingICUCP
short:
  v: 使用中加護病房-新型流感-確定
definition:
  v: 使用中加護病房-新型流感-確定
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.curUsingICUCP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUCS
path:
  v: BedCapacityModel.icu.curUsingICUCS
short:
  v: 使用中加護病房-新型流感-疑似
definition:
  v: 使用中加護病房-新型流感-疑似
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.curUsingICUCS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUNS
path:
  v: BedCapacityModel.icu.curUsingICUNS
short:
  v: 使用中加護病房-其他
definition:
  v: 使用中加護病房-其他
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.curUsingICUNS
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.rsvICU
path:
  v: BedCapacityModel.icu.rsvICU
short:
  v: 控留-加護病房
definition:
  v: 控留-加護病房
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.rsvICU
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvICU', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.availICU
path:
  v: BedCapacityModel.icu.availICU
short:
  v: 可供使用-加護病房
definition:
  v: 可供使用-加護病房
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.icu.availICU
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availICU', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.note
path:
  v: BedCapacityModel.note
short:
  v: 備註說明
definition:
  v: 備註說明
min:
  v: 0
max:
  v: 1
base:
  path:
    v: BedCapacityModel.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.text

id:
  v: BedCapacityModel.lastUpdate
path:
  v: BedCapacityModel.lastUpdate
short:
  v: 上傳日期時間
definition:
  v: 上傳日期時間
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.lastUpdate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: BedCapacity
  map:
    v: BundleBedCapacity.meta.lastUpdated

id:
  v: BedCapacityModel.prsnId
path:
  v: BedCapacityModel.prsnId
short:
  v: 上傳者
definition:
  v: 上傳者
min:
  v: 1
max:
  v: 1
base:
  path:
    v: BedCapacityModel.prsnId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Practitioner
mapping:
  identity:
    v: BedCapacity
  map:
    v: MessageHeaderHospBed.author

element:
  id:
    v: BedCapacityModel
  path:
    v: BedCapacityModel
  short:
    v: 病床統計資料(Hospital Bed Statistics Data)之資料模型
  definition:
    v: 此邏輯性資料模型參考臺灣衛生福利部疾病管制署（Taiwan Centers for Disease Control，CDC）病床通報作業中的資料項目，實作者可藉此資料模型快速瞭解病床統計資料的內容， 但受限於FHIR的[資料項目命名原則](https://hl7.org/fhir/elementdefinition-definitions.html#def)字首只能小寫及名稱不能包含特殊符號，命名無法完整參照原始資料項目名稱。若實作者已採用CDC病床通報作業中的資料項目，請留意名稱在此資料模型的差異及原因。 實作者可透過此資料模型上方`Mappings`功能頁籤來瞭解各資料項目可透過哪些Profiles或Resources的資料項目進行實作。
element:
  id:
    v: BedCapacityModel.dataId
  path:
    v: BedCapacityModel.dataId
  short:
    v: 資料識別碼，格式為「[機構代碼]_[資料日期]」，如：0622020017-20230401
  definition:
    v: 資料識別碼，格式為「[機構代碼]_[資料日期]」，如：0622020017-20230401
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
  mapping:
    identity:
      v: BedCapacity
    map:
      v: BundleBedCapacity.id
element:
  id:
    v: BedCapacityModel.hospNo
  path:
    v: BedCapacityModel.hospNo
  short:
    v: 醫院代碼
  definition:
    v: 醫院代碼
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Organization
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MessageHeaderHospBed.sender
element:
  id:
    v: BedCapacityModel.inpDate
  path:
    v: BedCapacityModel.inpDate
  short:
    v: 資料日期
  definition:
    v: 資料日期
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: date
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MeasureReportBedCapacity.date
element:
  id:
    v: BedCapacityModel.p
  path:
    v: BedCapacityModel.p
  short:
    v: 負壓床
  definition:
    v: 負壓床
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: BedCapacityModel.p.curUsingPTP
  path:
    v: BedCapacityModel.p.curUsingPTP
  short:
    v: 使用中負壓床-結核病-確定
  definition:
    v: 使用中負壓床-結核病-確定
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: integer
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPTP', MeasureReportBedCapacity.group.population.count
element:
  id:
    v: BedCapacityModel.p.curUsingPTS
  path:
    v: BedCapacityModel.p.curUsingPTS
  short:
    v: 使用中負壓床-結核病-疑似
  definition:
    v: 使用中負壓床-結核病-疑似
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: integer
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPTS', MeasureReportBedCapacity.group.population.count
element:
  id:
    v: BedCapacityModel.p.curUsingPCP
  path:
    v: BedCapacityModel.p.curUsingPCP
  short:
    v: 使用中負壓床-新型流感-確定
  definition:
    v: 使用中負壓床-新型流感-確定
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: integer
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPCP', MeasureReportBedCapacity.group.population.count
element:
  id:
    v: BedCapacityModel.p.curUsingPCS
  path:
    v: BedCapacityModel.p.curUsingPCS
  short:
    v: 使用中負壓床-新型流感-疑似
  definition:
    v: 使用中負壓床-新型流感-疑似
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: integer
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPCS', MeasureReportBedCapacity.group.population.count
element:
  id:
    v: BedCapacityModel.p.curUsingPNS
  path:
    v: BedCapacityModel.p.curUsingPNS
  short:
    v: 使用中負壓床-其他
  definition:
    v: 使用中負壓床-其他
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: integer
  mapping:
    identity:
      v: BedCapacity
    map:
      v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingPNS', MeasureReportBedCapacity.group.population.count
element:
  id:
    v: BedCapacityModel.p.rsvP
  path:
    v: BedCapacityModel.p.rsvP
  short:
    v: 控留-負壓隔離病床
  definition:
    v: 控留-負壓隔離病床

v: 1

v: 1

code:
  v: integer

identity:
  v: BedCapacity
map:
  v: MeasureReportBedCapacity.group.population.code.coding = 'rsvP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.p.availP
path:
  v: BedCapacityModel.p.availP
short:
  v: 可供使用-負壓隔離病床
definition:
  v: 可供使用-負壓隔離病床
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n
path:
  v: BedCapacityModel.n
short:
  v: 一般隔離床
definition:
  v: 一般隔離床
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: BedCapacityModel.n.curUsingNTP
path:
  v: BedCapacityModel.n.curUsingNTP
short:
  v: 使用中一般隔離床-結核病-確定
definition:
  v: 使用中一般隔離床-結核病-確定
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNTS
path:
  v: BedCapacityModel.n.curUsingNTS
short:
  v: 使用中一般隔離床-結核病-疑似
definition:
  v: 使用中一般隔離床-結核病-疑似
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNCP
path:
  v: BedCapacityModel.n.curUsingNCP
short:
  v: 使用中一般隔離床-新型流感-確定
definition:
  v: 使用中一般隔離床-新型流感-確定
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNCS
path:
  v: BedCapacityModel.n.curUsingNCS
short:
  v: 使用中一般隔離床-新型流感-疑似
definition:
  v: 使用中一般隔離床-新型流感-疑似
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.curUsingNNS
path:
  v: BedCapacityModel.n.curUsingNNS
short:
  v: 使用中一般隔離床-其他
definition:
  v: 使用中一般隔離床-其他
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingNNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.rsvN
path:
  v: BedCapacityModel.n.rsvN
short:
  v: 控留-一般隔離病床
definition:
  v: 控留-一般隔離病床
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvN', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.n.availN
path:
  v: BedCapacityModel.n.availN
short:
  v: 可供使用-一般隔離病床
definition:
  v: 可供使用-一般隔離病床
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availN', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s
path:
  v: BedCapacityModel.s
short:
  v: 專責病床
definition:
  v: 專責病床
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: BedCapacityModel.s.curUsingSTP
path:
  v: BedCapacityModel.s.curUsingSTP
short:
  v: 使用中專責病床-結核病-確定
definition:
  v: 使用中專責病床-結核病-確定
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSTS
path:
  v: BedCapacityModel.s.curUsingSTS
short:
  v: 使用中專責病床-結核病-疑似
definition:
  v: 使用中專責病床-結核病-疑似
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSCP
path:
  v: BedCapacityModel.s.curUsingSCP
short:
  v: 使用中專責病床-新型流感-確定
definition:
  v: 使用中專責病床-新型流感-確定
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSCS
path:
  v: BedCapacityModel.s.curUsingSCS
short:
  v: 使用中專責病床-新型流感-疑似
definition:
  v: 使用中專責病床-新型流感-疑似
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.curUsingSNS
path:
  v: BedCapacityModel.s.curUsingSNS
short:
  v: 使用中專責病床-其他
definition:
  v: 使用中專責病床-其他
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingSNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.rsvS
path:
  v: BedCapacityModel.s.rsvS
short:
  v: 控留-專責病床
definition:
  v: 控留-專責病床
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.s.availS
path:
  v: BedCapacityModel.s.availS
short:
  v: 可供使用-專責病床
definition:
  v: 可供使用-專責病床
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu
path:
  v: BedCapacityModel.icu
short:
  v: 加護病房
definition:
  v: 加護病房
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: BedCapacityModel.icu.curUsingICUTP
path:
  v: BedCapacityModel.icu.curUsingICUTP
short:
  v: 使用中加護病房-結核病-確定
definition:
  v: 使用中加護病房-結核病-確定
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUTP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUTS
path:
  v: BedCapacityModel.icu.curUsingICUTS
short:
  v: 使用中加護病房-結核病-疑似
definition:
  v: 使用中加護病房-結核病-疑似
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUTS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUCP
path:
  v: BedCapacityModel.icu.curUsingICUCP
short:
  v: 使用中加護病房-新型流感-確定
definition:
  v: 使用中加護病房-新型流感-確定
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUCP', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUCS
path:
  v: BedCapacityModel.icu.curUsingICUCS
short:
  v: 使用中加護病房-新型流感-疑似
definition:
  v: 使用中加護病房-新型流感-疑似
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUCS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.curUsingICUNS
path:
  v: BedCapacityModel.icu.curUsingICUNS
short:
  v: 使用中加護病房-其他
definition:
  v: 使用中加護病房-其他
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'curUsingICUNS', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.rsvICU
path:
  v: BedCapacityModel.icu.rsvICU
short:
  v: 控留-加護病房
definition:
  v: 控留-加護病房
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'rsvICU', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.icu.availICU
path:
  v: BedCapacityModel.icu.availICU
short:
  v: 可供使用-加護病房
definition:
  v: 可供使用-加護病房
min:
  v: 1
max:
  v: 1
type:
  code:
    v: integer
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.group.population.code.coding = 'availICU', MeasureReportBedCapacity.group.population.count

id:
  v: BedCapacityModel.note
path:
  v: BedCapacityModel.note
short:
  v: 備註說明
definition:
  v: 備註說明
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Narrative
mapping:
  identity:
    v: BedCapacity
  map:
    v: MeasureReportBedCapacity.text

id:
  v: BedCapacityModel.lastUpdate
path:
  v: BedCapacityModel.lastUpdate
short:
  v: 上傳日期時間
definition:
  v: 上傳日期時間
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: BedCapacity
  map:
    v: BundleBedCapacity.meta.lastUpdated

id:
  v: BedCapacityModel.prsnId
path:
  v: BedCapacityModel.prsnId
short:
  v: 上傳者
definition:
  v: 上傳者
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Practitioner
mapping:
  identity:
    v: BedCapacity
  map:
    v: MessageHeaderHospBed.author