FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagetw.gov.mohw.hpa.pad
Resource TypeStructureDefinition
IdStructureDefinition-HealthRiskAssessmentModel.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/hpapa2025/pad/StructureDefinition-HealthRiskAssessmentModel.html
URLhttps://hpacorepa.hpa.gov.tw/pad/StructureDefinition/HealthRiskAssessmentModel
Version0.1.0
Statusactive
Date2025-12-25T07:56:00+00:00
NameHealthRiskAssessmentModel
Title情境3-健康風險評估之資料模型
Realmtw
Authoritynational
Description本邏輯模型用於描述使用者之健康風險評估的資料結構。為利實作者理解與應用,資料欄位採通俗命名,實作時可參考「Mappings」功能頁籤,對應至實際所使用之Profiles與資料項目。亦可參照[視覺化邏輯模型圖](vision-3.html)進行欄位對照與整體結構掌握。
Typehttps://hpacorepa.hpa.gov.tw/pad/StructureDefinition/HealthRiskAssessmentModel
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition HealthRiskAssessmentModel

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthRiskAssessmentModel 0..*Base情境3-健康風險評估之資料模型
... basicInfo 1..1BackboneElement使用者基本資訊
.... age 1..1Age年齡
.... gender 1..1code性別
... healthStatus 1..1BackboneElement健康狀況評估
.... height 1..1decimal身高
.... weight 1..1decimal體重
.... waist 1..1decimal腰圍
... healthRisk 1..1BackboneElement健康風險評估
.... diabetesMellitus 0..1code糖尿病
.... highBloodPressure 0..1code高血壓
.... smokingHabit 1..1CodeableConcept吸菸習慣
... bodyMetrics 1..1BackboneElement身體數值
.... sbp 1..1integer收縮壓
.... chol 1..1integer總膽固醇
.... hdl 1..1integer高密度膽固醇
.... ldl 1..1integer低密度膽固醇
.... tg 1..1integer三酸甘油脂
.... fg 1..1integer空腹血糖

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "HealthRiskAssessmentModel",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://hpacorepa.hpa.gov.tw/pad/StructureDefinition/HealthRiskAssessmentModel",
  "version": "0.1.0",
  "name": "HealthRiskAssessmentModel",
  "title": "情境3-健康風險評估之資料模型",
  "status": "active",
  "date": "2025-12-25T07:56:00+00:00",
  "publisher": "衛生福利部國民健康署",
  "contact": [
    {
      "name": "衛生福利部國民健康署",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.hpa.gov.tw"
        }
      ]
    }
  ],
  "description": "本邏輯模型用於描述使用者之健康風險評估的資料結構。為利實作者理解與應用,資料欄位採通俗命名,實作時可參考「Mappings」功能頁籤,對應至實際所使用之Profiles與資料項目。亦可參照[視覺化邏輯模型圖](vision-3.html)進行欄位對照與整體結構掌握。",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "HealthRiskAssessment",
      "uri": "https://hpacorepa.hpa.gov.tw/pad/",
      "name": "Mapping to HealthRiskAssessmentModel"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://hpacorepa.hpa.gov.tw/pad/StructureDefinition/HealthRiskAssessmentModel",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "HealthRiskAssessmentModel",
        "path": "HealthRiskAssessmentModel",
        "short": "情境3-健康風險評估之資料模型",
        "definition": "本邏輯模型用於描述使用者之健康風險評估的資料結構。為利實作者理解與應用,資料欄位採通俗命名,實作時可參考「Mappings」功能頁籤,對應至實際所使用之Profiles與資料項目。亦可參照[視覺化邏輯模型圖](vision-3.html)進行欄位對照與整體結構掌握。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "BundleRiskAssessment"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo",
        "path": "HealthRiskAssessmentModel.basicInfo",
        "short": "使用者基本資訊",
        "definition": "使用者基本資訊",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.basicInfo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(使用者基本資訊)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.id",
        "path": "HealthRiskAssessmentModel.basicInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.extension",
        "path": "HealthRiskAssessmentModel.basicInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.modifierExtension",
        "path": "HealthRiskAssessmentModel.basicInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.age",
        "path": "HealthRiskAssessmentModel.basicInfo.age",
        "short": "年齡",
        "definition": "年齡",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.basicInfo.age",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Age"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:PatientPAD.extension.age.valueAge"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.gender",
        "path": "HealthRiskAssessmentModel.basicInfo.gender",
        "short": "性別",
        "definition": "性別",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.basicInfo.gender",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:PatientPAD.gender"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus",
        "path": "HealthRiskAssessmentModel.healthStatus",
        "short": "健康狀況評估",
        "definition": "健康狀況評估",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthStatus",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(健康狀況評估)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.id",
        "path": "HealthRiskAssessmentModel.healthStatus.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.extension",
        "path": "HealthRiskAssessmentModel.healthStatus.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.modifierExtension",
        "path": "HealthRiskAssessmentModel.healthStatus.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.height",
        "path": "HealthRiskAssessmentModel.healthStatus.height",
        "short": "身高",
        "definition": "身高",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthStatus.height",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationBodyHeightPAD.where(code.coding.code='8302-2' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.weight",
        "path": "HealthRiskAssessmentModel.healthStatus.weight",
        "short": "體重",
        "definition": "體重",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthStatus.weight",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationBodyWeightPAD.where(code.coding.code='29463-7' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.waist",
        "path": "HealthRiskAssessmentModel.healthStatus.waist",
        "short": "腰圍",
        "definition": "腰圍",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthStatus.waist",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationWaistPAD.where(code.coding.code='8280-0' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk",
        "path": "HealthRiskAssessmentModel.healthRisk",
        "short": "健康風險評估",
        "definition": "健康風險評估",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthRisk",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(健康風險評估)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.id",
        "path": "HealthRiskAssessmentModel.healthRisk.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.extension",
        "path": "HealthRiskAssessmentModel.healthRisk.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.modifierExtension",
        "path": "HealthRiskAssessmentModel.healthRisk.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.diabetesMellitus",
        "path": "HealthRiskAssessmentModel.healthRisk.diabetesMellitus",
        "short": "糖尿病",
        "definition": "糖尿病",
        "min": 0,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthRisk.diabetesMellitus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ConditionDiabetesMellitusPAD.code"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.highBloodPressure",
        "path": "HealthRiskAssessmentModel.healthRisk.highBloodPressure",
        "short": "高血壓",
        "definition": "高血壓",
        "min": 0,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthRisk.highBloodPressure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ConditionHighBloodPressurePAD.code"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.smokingHabit",
        "path": "HealthRiskAssessmentModel.healthRisk.smokingHabit",
        "short": "吸菸習慣",
        "definition": "吸菸習慣",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.healthRisk.smokingHabit",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationSmokingStatusPAD.where(code.coding.code='72166-2' and code.coding.system='http://loinc.org').valueCodeableConcept.coding.code"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics",
        "path": "HealthRiskAssessmentModel.bodyMetrics",
        "short": "身體數值",
        "definition": "身體數值",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(身體數值)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.id",
        "path": "HealthRiskAssessmentModel.bodyMetrics.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.extension",
        "path": "HealthRiskAssessmentModel.bodyMetrics.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.modifierExtension",
        "path": "HealthRiskAssessmentModel.bodyMetrics.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.sbp",
        "path": "HealthRiskAssessmentModel.bodyMetrics.sbp",
        "short": "收縮壓",
        "definition": "收縮壓",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics.sbp",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationBloodPressurePAD.where(code.coding.code = '8480-6' and code.coding.system='http://loinc.org').component[SystolicBP].valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.chol",
        "path": "HealthRiskAssessmentModel.bodyMetrics.chol",
        "short": "總膽固醇",
        "definition": "總膽固醇",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics.chol",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationCholesterolPAD.where(code.coding.code = '2093-3' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.hdl",
        "path": "HealthRiskAssessmentModel.bodyMetrics.hdl",
        "short": "高密度膽固醇",
        "definition": "高密度膽固醇",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics.hdl",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationCholesterolPAD.where(code.coding.code = '2085-9' and code.coding.system='http://loinc.org').component[HDL].valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.ldl",
        "path": "HealthRiskAssessmentModel.bodyMetrics.ldl",
        "short": "低密度膽固醇",
        "definition": "低密度膽固醇",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics.ldl",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationCholesterolPAD.where(code.coding.code = '2089-1' and code.coding.system='http://loinc.org').component[LDL].valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.tg",
        "path": "HealthRiskAssessmentModel.bodyMetrics.tg",
        "short": "三酸甘油脂",
        "definition": "三酸甘油脂",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics.tg",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationTriglyceridesPAD.where(code.coding.code = '2571-8' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.fg",
        "path": "HealthRiskAssessmentModel.bodyMetrics.fg",
        "short": "空腹血糖",
        "definition": "空腹血糖",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HealthRiskAssessmentModel.bodyMetrics.fg",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationFastingGlucosePAD.where(code.coding.code = '1558-6' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "HealthRiskAssessmentModel",
        "path": "HealthRiskAssessmentModel",
        "short": "情境3-健康風險評估之資料模型",
        "definition": "本邏輯模型用於描述使用者之健康風險評估的資料結構。為利實作者理解與應用,資料欄位採通俗命名,實作時可參考「Mappings」功能頁籤,對應至實際所使用之Profiles與資料項目。亦可參照[視覺化邏輯模型圖](vision-3.html)進行欄位對照與整體結構掌握。",
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "BundleRiskAssessment"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo",
        "path": "HealthRiskAssessmentModel.basicInfo",
        "short": "使用者基本資訊",
        "definition": "使用者基本資訊",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(使用者基本資訊)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.age",
        "path": "HealthRiskAssessmentModel.basicInfo.age",
        "short": "年齡",
        "definition": "年齡",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Age"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:PatientPAD.extension.age.valueAge"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.basicInfo.gender",
        "path": "HealthRiskAssessmentModel.basicInfo.gender",
        "short": "性別",
        "definition": "性別",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:PatientPAD.gender"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus",
        "path": "HealthRiskAssessmentModel.healthStatus",
        "short": "健康狀況評估",
        "definition": "健康狀況評估",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(健康狀況評估)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.height",
        "path": "HealthRiskAssessmentModel.healthStatus.height",
        "short": "身高",
        "definition": "身高",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationBodyHeightPAD.where(code.coding.code='8302-2' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.weight",
        "path": "HealthRiskAssessmentModel.healthStatus.weight",
        "short": "體重",
        "definition": "體重",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationBodyWeightPAD.where(code.coding.code='29463-7' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthStatus.waist",
        "path": "HealthRiskAssessmentModel.healthStatus.waist",
        "short": "腰圍",
        "definition": "腰圍",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationWaistPAD.where(code.coding.code='8280-0' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk",
        "path": "HealthRiskAssessmentModel.healthRisk",
        "short": "健康風險評估",
        "definition": "健康風險評估",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(健康風險評估)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.diabetesMellitus",
        "path": "HealthRiskAssessmentModel.healthRisk.diabetesMellitus",
        "short": "糖尿病",
        "definition": "糖尿病",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ConditionDiabetesMellitusPAD.code"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.highBloodPressure",
        "path": "HealthRiskAssessmentModel.healthRisk.highBloodPressure",
        "short": "高血壓",
        "definition": "高血壓",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ConditionHighBloodPressurePAD.code"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.healthRisk.smokingHabit",
        "path": "HealthRiskAssessmentModel.healthRisk.smokingHabit",
        "short": "吸菸習慣",
        "definition": "吸菸習慣",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationSmokingStatusPAD.where(code.coding.code='72166-2' and code.coding.system='http://loinc.org').valueCodeableConcept.coding.code"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics",
        "path": "HealthRiskAssessmentModel.bodyMetrics",
        "short": "身體數值",
        "definition": "身體數值",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "(身體數值)"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.sbp",
        "path": "HealthRiskAssessmentModel.bodyMetrics.sbp",
        "short": "收縮壓",
        "definition": "收縮壓",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationBloodPressurePAD.where(code.coding.code = '8480-6' and code.coding.system='http://loinc.org').component[SystolicBP].valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.chol",
        "path": "HealthRiskAssessmentModel.bodyMetrics.chol",
        "short": "總膽固醇",
        "definition": "總膽固醇",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationCholesterolPAD.where(code.coding.code = '2093-3' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.hdl",
        "path": "HealthRiskAssessmentModel.bodyMetrics.hdl",
        "short": "高密度膽固醇",
        "definition": "高密度膽固醇",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationCholesterolPAD.where(code.coding.code = '2085-9' and code.coding.system='http://loinc.org').component[HDL].valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.ldl",
        "path": "HealthRiskAssessmentModel.bodyMetrics.ldl",
        "short": "低密度膽固醇",
        "definition": "低密度膽固醇",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationCholesterolPAD.where(code.coding.code = '2089-1' and code.coding.system='http://loinc.org').component[LDL].valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.tg",
        "path": "HealthRiskAssessmentModel.bodyMetrics.tg",
        "short": "三酸甘油脂",
        "definition": "三酸甘油脂",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationTriglyceridesPAD.where(code.coding.code = '2571-8' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      },
      {
        "id": "HealthRiskAssessmentModel.bodyMetrics.fg",
        "path": "HealthRiskAssessmentModel.bodyMetrics.fg",
        "short": "空腹血糖",
        "definition": "空腹血糖",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "HealthRiskAssessment",
            "map": "entry:ObservationFastingGlucosePAD.where(code.coding.code = '1558-6' and code.coding.system='http://loinc.org').valueQuantity.value"
          }
        ]
      }
    ]
  }
}