---
# System prepended metadata

title: 身體活動測量-範例2.0

---

本文件基於 [Physical Activity Measures](https://build.fhir.org/ig/HL7/physical-activity/measures.html#physical-activity-measures) 在 FHIR 上訂立之標準格式使用，進一步整理範例及相關說明。

[中文版-Physical Activity Measures](https://hackmd.io/@NJJrVhflSKK7g70OWfDcqA/ry5BqW-cp)

## 活動相關的測量 (Activity-based Measures)

#### 進行的活動（步行/跑步/騎自行車/游泳/...） Activity performed (walk/run/bike/swim/...)

##### - 說明
    紀錄運動項目
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "Scen2ObsActivityType",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"Scen2ObsActivityType\"> </a><a name=\"hcScen2ObsActivityType\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;Scen2ObsActivityType&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Exercise activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#73985-4)</span></p><p><b>subject</b>: <a href=\"Patient-Scen2PatientJohansson.html\">Patient/Scen2PatientJohansson: Nancy Johansson</a> &quot; JOHANSSON&quot;</p><p><b>effective</b>: 2023-03-15</p><p><b>performer</b>: <a href=\"Patient-Scen2PatientJohansson.html\">Patient/Scen2PatientJohansson: Nancy Johansson</a> &quot; JOHANSSON&quot;</p><p><b>value</b>: Running <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA11836-6)</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "73985-4",
        "display" : "Exercise activity"
      }
    ]
  },
  "subject" : {
    🔗 "reference" : "Patient/Scen2PatientJohansson",
    "display" : "Nancy Johansson"
  },
  "effectiveDateTime" : "2023-03-15",
  "performer" : [
    {
      🔗 "reference" : "Patient/Scen2PatientJohansson",
      "display" : "Nancy Johansson"
    }
  ],
  "valueCodeableConcept" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "LA11836-6",
        "display" : "Running"
      }
    ]
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 鍛鍊活動（LOINC #73985-4）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/Scen2PatientJohansson】
    subject - display : 觀察對象姓名 【此範例為 Nancy Johansson】

    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2023-03-15】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/Scen2PatientJohansson】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名 【此範例為 Nancy Johansson】

    
    valueCodeableConcept - code : 進行的活動之項目代碼 【此範例為 LA11836-6】
    valueCodeableConcept - display : 進行的活動之項目 【此範例為 Running】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-Scen2ObsActivityType.html

#### 活動時長 Activity duration

##### - 說明
    紀錄運動時長
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleActivityDuration",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleActivityDuration\"> </a><a name=\"hcExampleActivityDuration\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleActivityDuration&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Exercise duration <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#55411-3)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 45 minutes<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "55411-3",
        "display" : "Exercise duration"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 45,   
    "unit" : "minutes",
    "system" : "http://unitsofmeasure.org",
    "code" : "min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 鍛鍊持續時間（LOINC #55411-3）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名
    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2022-06-08】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名
    
    valueQuantity - value : 持續時間之值 【此範例為 45】
    valueQuantity - unit : 持續時間之單位 【此範例為 minutes】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleActivityDuration.html

#### 每項活動的中等體力活動分鐘數 Minutes of moderate physical activity per activity

##### - 說明
    紀錄中等體力活動時間長度
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleActivityModerate",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleActivityModerate\"> </a><a name=\"hcExampleActivityModerate\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleActivityModerate&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Moderate physical activity [IPAQ] <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#77592-4)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 10 minutes<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "77592-4",
        "display" : "Moderate physical activity [IPAQ]"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 10,
    "unit" : "minutes",
    "system" : "http://unitsofmeasure.org",
    "code" : "min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 中等體力活動( LOINC #77592-4)】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名

    effectiveDateTime: 量測時間(年-月-日) 【此範例為 2022-06-08】

    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名

    valueQuantity - value : 中等體力活動時間之值 【此範例為 10】
    valueQuantity - unit : 中等體力活動時間之單位 【此範例為 minutes】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleActivityModerate.html

#### 每次活動的劇烈體力活動分鐘數 Minutes of vigorous physical activity per activity

##### - 說明
    紀錄劇烈體力活動時間長度
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleActivityVigorous",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleActivityVigorous\"> </a><a name=\"hcExampleActivityVigorous\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleActivityVigorous&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Vigorous physical activity [IPAQ] <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#77593-2)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 35 minutes<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "77593-2",
        "display" : "Vigorous physical activity [IPAQ]"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 35,
    "unit" : "minutes",
    "system" : "http://unitsofmeasure.org",
    "code" : "min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 劇烈體力活動( LOINC #77593-2)】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名

    effectiveDateTime: 量測時間(年-月-日) 【此範例為 2022-06-08】

    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名

    valueQuantity - value : 劇烈體力活動時間之值 【此範例為 35】
    valueQuantity - unit : 劇烈體力活動時間之單位 【此範例為 minutes】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleActivityVigorous.html

#### 平均活動心率 Average activity heart rate

##### - 說明
    記錄未指定時間內的平均活動心率
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "Scen2ObsActivityMeanHR",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"Scen2ObsActivityMeanHR\"> </a><a name=\"hcScen2ObsActivityMeanHR\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;Scen2ObsActivityMeanHR&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Heart rate unspecified time mean by Pedometer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#55425-3)</span></p><p><b>subject</b>: <a href=\"Patient-Scen2PatientJohansson.html\">Patient/Scen2PatientJohansson: Nancy Johansson</a> &quot; JOHANSSON&quot;</p><p><b>effective</b>: 2023-03-15</p><p><b>performer</b>: <a href=\"Patient-Scen2PatientJohansson.html\">Patient/Scen2PatientJohansson: Nancy Johansson</a> &quot; JOHANSSON&quot;</p><p><b>value</b>: 132 beats per minute<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code /min = '/min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "55425-3",
        "display" : "Heart rate unspecified time mean by Pedometer"
      }
    ]
  },
  "subject" : {
    🔗 "reference" : "Patient/Scen2PatientJohansson",
    "display" : "Nancy Johansson"
  },
  "effectiveDateTime" : "2023-03-15",
  "performer" : [
    {
      🔗 "reference" : "Patient/Scen2PatientJohansson",
      "display" : "Nancy Johansson"
    }
  ],
  "valueQuantity" : {
    "value" : 132,
    "unit" : "beats per minute",
    "system" : "http://unitsofmeasure.org",
    "code" : "/min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 心率未指定時間均值( LOINC #55425-3)】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/Scen2PatientJohansson】
    subject - display : 觀察對象姓名 【此範例為 Nancy Johansson】

    effectiveDateTime: 量測時間(年-月-日) 【此範例為 2023-03-15】

    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/Scen2PatientJohansson】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名【此範例為 Nancy Johansson】

    valueQuantity - value : 平均活動心率之值 【此範例為 132】
    valueQuantity - unit : 平均活動心率之單位 【此範例為 beats per minute】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-Scen2ObsActivityMeanHR.html

#### 峰值活動心率 Peak activity heart rate

##### - 說明
    記錄未指定時間內的最大活動心率
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleActivityPeakHR",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleActivityPeakHR\"> </a><a name=\"hcExampleActivityPeakHR\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleActivityPeakHR&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Heart rate unspecified time maximum by Pedometer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#55426-1)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 178 beats per minute<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code /min = '/min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "55426-1",
        "display" : "Heart rate unspecified time maximum by Pedometer"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 178,
    "unit" : "beats per minute",
    "system" : "http://unitsofmeasure.org",
    "code" : "/min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 計步器未指定心率最大時間( LOINC #55426-1)】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名

    effectiveDateTime: 量測時間(年-月-日) 【此範例為 2022-06-08】

    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名

    valueQuantity - value : 峰值活動心率之值 【此範例為 178】
    valueQuantity - unit : 峰值活動心率之單位 【此範例為 beats per minute】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleActivityPeakHR.html

#### 每次活動的卡路里 Calories per activity

##### - 說明
    記錄每次活動中，在未指定時間內消耗的卡路里
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleActivityCalories",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleActivityCalories\"> </a><a name=\"hcExampleActivityCalories\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleActivityCalories&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Calories burned in unspecified time Pedometer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#55424-6)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 738 kilocalories<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code kcal = 'kcal')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "55424-6",
        "display" : "Calories burned in unspecified time Pedometer"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 738,
    "unit" : "kilocalories",
    "system" : "http://unitsofmeasure.org",
    "code" : "kcal"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 在未指定的時間內燃燒的卡路里計步器（LOINC #55424-6）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名
    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2022-06-08】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名
    
    valueQuantity - value : 每次活動的卡路里之值 【此範例為 738】
    valueQuantity - unit : 每次活動的卡路里之單位 【此範例為 kilocalories】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleActivityCalories.html

#### 活動體驗 Experience of Activity

##### - 說明
    記錄某項活動的正面或負面體驗程度，屬於感覺量表
    
    代碼(code)對應程度:
    
    -5	Very Bad		
    -4			
    -3	Bad		
    -2			
    -1	Fairly Bad		
    0	Neutral		
    1	Fairly Good		
    2			
    3	Good		
    4			
    5	Very Good	
##### - json 範例1 (純粹活動體驗)
``` json
{
  "resourceType": "Observation",
  "status": "final",
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
        "code": "Experience",
        "display": "Experience of Activity"
      }
    ]
  },
  "subject": {
    "reference": "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime": "2024-04-23",
  "valueCodeableConcept": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
        "code": "3",
        "display": "Good"
      }
    ]
  }
}

```
##### - 代碼說明1 (純粹活動體驗)
    
    code : 代碼 【此範例為 活動體驗（臨時代碼 #Experience）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名
    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2024-04-23】
    
    valueCodeableConcept - code : 活動體驗之感受程度的代碼 【此範例為 3】
    valueCodeableConcept - display : 活動體驗之感受程度的說明 【此範例為 Good】

##### - json 範例2 (Running 運動 + 活動體驗)
``` json
{
  "resourceType": "Observation",
  "id": "Scen2ObsActivityType",
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "activity"
        }
      ]
    },
    {
      "coding": [
        {
          "system": "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code": "PhysicalActivity"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "73985-4",
        "display": "Exercise activity"
      }
    ]
  },
  "subject": {
    "reference": "Patient/Scen2PatientJohansson",
    "display": "Nancy Johansson"
  },
  "effectiveDateTime": "2023-03-15",
  "performer": [
    {
      "reference": "Patient/Scen2PatientJohansson",
      "display": "Nancy Johansson"
    }
  ],
  "valueCodeableConcept": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
        "code": "3",
        "display": "Good"
      }
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"Scen2ObsActivityType\"> </a><a name=\"hcScen2ObsActivityType\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;Scen2ObsActivityType&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Exercise activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#73985-4)</span></p><p><b>subject</b>: <a href=\"Patient-Scen2PatientJohansson.html\">Patient/Scen2PatientJohansson: Nancy Johansson</a> &quot; JOHANSSON&quot;</p><p><b>effective</b>: 2023-03-15</p><p><b>performer</b>: <a href=\"Patient-Scen2PatientJohansson.html\">Patient/Scen2PatientJohansson: Nancy Johansson</a> &quot; JOHANSSON&quot;</p><p><b>value</b>: Running <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA11836-6)</span></p></div>"
  }
}

```
##### - 代碼說明2 (Running 運動 + 活動體驗)
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】

    code : 代碼 【此範例為 鍛鍊活動（LOINC #73985-4）】

    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/Scen2PatientJohansson】
    subject - display : 觀察對象姓名 【此範例為 Nancy Johansson】


        effectiveDateTime : 量測時間(年-月-日) 【此範例為 2023-03-15】

    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/Scen2PatientJohansson】
                        p.s. 負責觀察者之類型，也可能為以下幾種:
                             - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                             - Device 觀察的醫療設備(運動手錶、跑步機...) 
                             - Patient 自行執行觀察
                             - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名 【此範例為 Nancy Johansson】
    
    valueCodeableConcept - code : 活動體驗之感受程度的代碼 【此範例為 3】
    valueCodeableConcept - display : 活動體驗之感受程度的說明 【此範例為 Good】
    
##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/CodeSystem-pa-temporary-codes.html 並協作於 ChapGPT



## 基於時間的測量 (Time-based Measures)

#### 每日步數 Daily Step Count

##### - 說明
    記錄每日步數
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "Scen4ObservationDailySteps",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"Scen4ObservationDailySteps\"> </a><a name=\"hcScen4ObservationDailySteps\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;Scen4ObservationDailySteps&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Number of steps in 24 hour Measured <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#41950-7)</span></p><p><b>subject</b>: <a href=\"Patient-Scen4PatientScarborough.html\">Patient/Scen4PatientScarborough: Jessica Scarborough</a> &quot; SCARBOROUGH&quot;</p><p><b>effective</b>: 2023-09-11 12:00:00-0700</p><p><b>performer</b>: <a href=\"Patient-Scen4PatientScarborough.html\">Patient/Scen4PatientScarborough: Jessica Scarborough</a> &quot; SCARBOROUGH&quot;</p><p><b>value</b>: 3000 steps per day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code /d = '/d')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "41950-7",
        "display" : "Number of steps in 24 hour Measured"
      }
    ]
  },
  "subject" : {
    🔗 "reference" : "Patient/Scen4PatientScarborough",
    "display" : "Jessica Scarborough"
  },
  "effectiveDateTime" : "2023-09-11",
  "performer" : [
    {
      🔗 "reference" : "Patient/Scen4PatientScarborough",
      "display" : "Jessica Scarborough"
    }
  ],
  "valueQuantity" : {
    "value" : 3000,
    "unit" : "steps per day",
    "system" : "http://unitsofmeasure.org",
    "code" : "/d"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 24 小時內測量的步數（LOINC #41950-7）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/Scen4PatientScarborough】
    subject - display : 觀察對象姓名 【此範例為  Jessica Scarborough】
    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2023-09-11】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/Scen4PatientScarborough】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名
    
    valueQuantity - value : 每日步數之值 【此範例為 3000】
    valueQuantity - unit : 每日步數之單位 【此範例為 steps per day】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-Scen4ObservationDailySteps.html

#### 每日高峰心率 Peak daily heart rate

##### - 說明
    記錄每日最高心率
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExamplePeakDailyHeartRate",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExamplePeakDailyHeartRate\"> </a><a name=\"hcExamplePeakDailyHeartRate\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExamplePeakDailyHeartRate&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Heart rate 24 hour maximum <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8873-2)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 178 beats per minute<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code /min = '/min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "8873-2",
        "display" : "Heart rate 24 hour maximum"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 178,
    "unit" : "beats per minute",
    "system" : "http://unitsofmeasure.org",
    "code" : "/min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 心率 24 小時最大（LOINC #8873-2）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名
    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2022-06-08】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名
    
    valueQuantity - value : 每日高峰心率之值 【此範例為 178】
    valueQuantity - unit : 每日高峰心率之單位 【此範例為 beats per minute】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExamplePeakDailyHeartRate.html


#### 平均靜止心率 Average resting heart rate

##### - 說明
    記錄在靜止狀態下（例如坐著或躺著），心臟每分鐘跳動的平均次數
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleAverageRestingHeartRate",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleAverageRestingHeartRate\"> </a><a name=\"hcExampleAverageRestingHeartRate\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleAverageRestingHeartRate&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Heart rate --resting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#40443-4)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-01 --&gt; 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 68 beats per minute<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code /min = '/min')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "40443-4",
        "display" : "Heart rate --resting"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectivePeriod" : {
    "start" : "2022-06-01",
    "end" : "2022-06-08"
  },
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 68,
    "unit" : "beats per minute",
    "system" : "http://unitsofmeasure.org",
    "code" : "/min"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 心率－靜止（LOINC #40443-4）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名
    
    effectivePeriod - start : 量測開始時間(年-月-日) 【此範例為 2022-06-01】
    effectivePeriod - end : 量測結束時間(年-月-日) 【此範例為 2022-06-08】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名
    
    valueQuantity - value : 平均靜止心率之值 【此範例為 68】
    valueQuantity - unit : 平均靜止心率之單位 【此範例為 beats per minute】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleAverageRestingHeartRate.html


#### 每天卡路里 Calories per Day

##### - 說明
    記錄每天消耗的卡路里
##### - json 範例
``` json
{
  "resourceType" : "Observation",
  "id" : "ExampleCaloriesPerDay",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ExampleCaloriesPerDay\"> </a><a name=\"hcExampleCaloriesPerDay\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation &quot;ExampleCaloriesPerDay&quot; </p></div><p><b>status</b>: final</p><p><b>category</b>: Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#activity)</span>, Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-pa-temporary-codes.html\">Temporary Codes</a>#PhysicalActivity)</span></p><p><b>code</b>: Calories burned in 24 hour Calculated <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#41979-6)</span></p><p><b>subject</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>effective</b>: 2022-06-08</p><p><b>performer</b>: <a href=\"http://example.org/Patient/1\">http://example.org/Patient/1: Example Patient</a></p><p><b>value</b>: 1561 kilokalories per day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code kcal/d = 'kcal/d')</span></p></div>"
  },
  "status" : "final",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "activity"
        }
      ]
    },
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes",
          "code" : "PhysicalActivity"
        }
      ]
    }
  ],
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "41979-6",
        "display" : "Calories burned in 24 hour Calculated"
      }
    ]
  },
  "subject" : {
    "reference" : "Patient/1",
    "display" : "Example Patient"
  },
  "effectiveDateTime" : "2022-06-08",
  "performer" : [
    {
      "reference" : "Patient/1",
      "display" : "Example Patient"
    }
  ],
  "valueQuantity" : {
    "value" : 1561,
    "unit" : "kilokalories per day",
    "system" : "http://unitsofmeasure.org",
    "code" : "kcal/d"
  }
}
```
##### - 代碼說明
    
    category : 類別 【此範例有 活動（觀察類別代碼 #activity），體力活動（臨時代碼 #PhysicalActivity）】
    
    code : 代碼 【此範例為 計算 24 小時內燃燒的卡路里（LOINC #41979-6）】
    
    subject - reference : 觀察對象(patient/觀察對象之ID) 【此範例為 Patient/1】
    subject - display : 觀察對象姓名
    
    effectiveDateTime : 量測時間(年-月-日) 【此範例為 2022-06-08】
    
    performer - reference : 負責觀察者(負責觀察者之類型/負責觀察者之ID) 【此範例為 Patient/1】
                            p.s. 負責觀察者之類型，也可能為以下幾種:
                                 - Practitioner 觀察的醫護人員(醫生、護士、教練...)
                                 - Device 觀察的醫療設備(運動手錶、跑步機...) 
                                 - Patient 自行執行觀察
                                 - RelatedPerson 相關人員(家人、親戚、朋友...)
    performer - display : 負責觀察者姓名
    
    valueQuantity - value : 每天卡路里之值 【此範例為 1561】
    valueQuantity - unit : 每天卡路里之單位 【此範例為 kilokalories per day】

##### - 參考資料 https://build.fhir.org/ig/HL7/physical-activity/Observation-ExampleCaloriesPerDay.html
