OmniCare 服務介紹
OmniCare 為華碩健康所發展之醫療物聯網平台,提供醫療器材感測資料的儲存與讀取,其以 JSON 作為傳輸內容之格式標準。OmniCare 提供多元之 API 介面,讓醫療儀器商、醫療資訊服務商、醫療院所等機構能依其角色特性,各自利用對應之 API 介面,達到醫療資訊有效整合與應用之成效,降低醫療資訊服務建置之成本。
OmniCare 資料綱要
為整合不同廠商智慧醫材之感測資訊,OmniCare 歸納生理資訊資料綱要如下表所示,共同類別為 OmniCare_Core,其包含裝置序號(deviceId)、起始時間(time)、結束時間(endTime) 等屬性,各生理資訊子類別繼承核心類別再依其特性擴充其特有屬性欄位。
OmniCare FHIR - 公開API 測試
OmniCare平台數據定義 (Schema)
共通參數
deviceId / 裝置名稱 : String time / 起始時間 : String endTime / 結束時間 : String _time / timestamp : Long |
生理參數
數值 |
資料描述 |
體溫 |
type/體溫類型[0,1]: String |
血糖 |
sourceType/量測方式[0,1]: String |
睡眠 |
sourceType/量測方式[0,1]: String |
血壓 |
sourceType/量測方式[0,1]: String |
血氧 |
sourceType/量測方式[0,1]: String |
活動 |
type/活動類型[1]: String |
心電圖 |
slotId/採樣資料的序號[1]: Integer |
光電容積圖 |
slotId/採樣資料的序號[1]: Integer |
心率變異 |
sourceType[0,1]/量測方式: HRVTypeCode |
G Sensor |
value/屬性值[1]: Numeric |
Location |
alt / Altitude : Double |
API
使用流程
-
透過 getToken API 取得帳戶認證 token 及 sguri 參數
-
將 token 與 sguri 作為 Request 之標頭參數呼叫其餘 API 服務
ROOT URL
-
https://{omnicaredomain}:{port}
API
POST /auth/user
-
服務功能服務功能:取得OmniCare API服務使用授權Token
使用 OmniCare 服務前,開發者須先以 WebstorageID 進行認證,取得 OmniCare所配發之 Token 及該 WebstorageID 所屬之 ServiceArea,作為其他 API 服務呼叫之標頭資訊。
-
Request
POST / HTTP/1.1 https://{omnicaredomain}:{port}/auth/user { "pwd":"test@test" } |
||
Name |
Description |
Required |
uid |
ASUS Webstorage Account |
Yes |
pwd |
ASUS Webstorage Account Password |
Yes |
-
Response
HTTP/1.1 200 { "token":"6uad0caas2cy55", "sguri":"sgd01.asuswebstorage.com", "status":"0" } |
||
Name |
Description |
Return |
token |
OmniCare API 服務之授權Token |
Yes |
sguri |
Webstorage ID隸屬之服務網址 |
Yes |
status |
服務查詢結果狀態(0,1,2) |
Yes |
msg |
服務查詢結果狀態描述 |
Optional |
GET /api/omnicarefhir/omnicare_JSON/:deviceId/:startTime/:endTime
-
服務功能:供輸入裝置識別碼,取得裝置所感測之生理訊號資料之服務
-
URL參數說明
Field |
Type |
Description |
Example |
deviceId |
String |
所欲查詢資料之儀器裝置序號 |
ASUSLife-00002-002 |
startTime |
String |
所欲查詢時間之起始時間,以UTC+0 為基準 |
20170531000000 (2017-05-31 00:00:00) |
endTime |
String |
所欲查詢時間之結束時間,以UTC+0為基準 |
20170730000000 (2017-07-30 00:00:00) |
-
Request
GET/ HTTP/1.1 https://{omnicaredomain}:{port}/api/omnicarefhir/omnicare_JSON/:deviceId/20170531000000/20170730000000 Authorization:6uad0caas2cy55 sguri: sgd01.asuswebstorage.com {} |
||
Name |
Description |
Required |
Authorization, sguri is required |
-
Response
{ "resourceType": "Bundle", "type": "transaction", "entry": [ { "fullUrl": "Device/0", "resource": { "resourceType": "Device", "id": "0", "identifier": [ { "value": "asus-fhir-test-01" } ] }, "request": { "method": "POST", "url": "Device/0" } }, { "fullUrl": "Observation/1", "resource": { "resourceType": "Observation", "id": "1", "status": "final", "code": { "text": "omnicare_sleep", "coding": [ { "code": "Sleep", "display": "睡眠", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "82235-3", "display": "Sleeping [NDI]", "system": "https://loinc.org/" } ] }, "effectivePeriod": { "start": "2022-03-03T17:23:00Z", "end": "2022-03-03T17:23:00Z" }, "valueString": "light", "effectiveTiming": { "repeat": { "duration": 60.0 } }, "device": { "reference": "Device/0" } }, "request": { "method": "POST", "url": "Observation/1" } }, { "fullUrl": "Observation/9228", "resource": { "resourceType": "Observation", "id": "9228", "status": "final", "code": { "text": "omnicare_bloodPressure", "coding": [ { "code": "BloodPressure", "display": "血壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "8478-0", "display": "Mean blood pressure", "system": "https://loinc.org/" } ] }, "category": [ { "text": "PPG" } ], "effectivePeriod": { "start": "2022-03-08T15:37:00Z", "end": "2022-03-08T15:37:00Z" }, "component": [ { "valueQuantity": { "value": 82.0 }, "code": { "text": "舒張壓", "coding": [ { "code": "dia", "display": "舒張壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "94143-5", "display": "HEDIS 2020 Value Set - Diastolic Blood Pressure", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": 129.0 }, "code": { "text": "收縮壓", "coding": [ { "code": "sys", "display": "收縮壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "94144-3", "display": "HEDIS 2020 Value Set - Systolic Blood Pressure", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": 73.0 }, "code": { "text": "心率", "coding": [ { "code": "hr", "display": "心率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "8867-4", "display": "Heart rate", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "脈波傳輸時間", "coding": [ { "code": "ptt", "display": "脈波傳輸時間", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "77196-4", "display": "Pulse wave velocity", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "平均值", "coding": [ { "code": "mean", "display": "平均壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "8478-0", "display": "Pulse wave velocity", "system": "https://loinc.org/" } ] } } ], "device": { "reference": "Device/0" } }, "request": { "method": "POST", "url": "Observation/9228" } }, { "fullUrl": "Observation/13151", "resource": { "resourceType": "Observation", "id": "13151", "status": "final", "code": { "text": "omnicare_activity", "coding": [ { "code": "Activity", "display": "活動", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] }, "category": [ { "text": "steps" } ], "effectivePeriod": { "start": "2022-03-03T04:30:00Z", "end": "2022-03-03T04:31:00Z" }, "valueQuantity": { "unit": "step", "value": 28.0 }, "note": [ { "text": "none" } ], "device": { "reference": "Device/0" } }, "request": { "method": "POST", "url": "Observation/13151" } }, { "fullUrl": "Observation/17056", "resource": { "resourceType": "Observation", "id": "17056", "status": "final", "code": { "text": "omnicare_ecg", "coding": [ { "code": "ECG", "display": "心電圖", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "58253-6", "display": "Electrocardiograms recorded", "system": "https://loinc.org/" } ] }, "effectivePeriod": { "start": "2022-03-08T12:55:31Z", "end": "2022-03-08T12:56:04Z" }, "component": [ { "valueQuantity": { "value": -1.0 }, "code": { "text": "ST值", "coding": [ { "code": "st", "display": "ST值", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "91546-2", "display": "ST deviation (Maximum value during study) by EKG", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "QRS區間", "coding": [ { "code": "qrs", "display": "QRS區間", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } } ], "identifier": [ { "value": "0" } ], "valueSampledData": { "data": "308 465 495 423 317 257 298 441 632 782 804 652 344 -42 -399 -626 -670 -547 -325 -102 38 58 -30 -177 -321 -429 -503 -579 -696 -865 -1044 -1145 -1059 -705 -76 739 1574 2227 2526 2388 1850 1054 206 -497 -927 -1055 -946 -721 -504 -373 -342 -366 -376 -321 -191 -25 110 156 89 -61 -229 -337 -329 -199 7 216 352 371 283 141 16 -29 23 147 282 357 326 187 -20 -229 -372 -412 -347 -214 -69 40 89 80 41 7 4 40 105 180 246 292 317 322 303 252 155 5 -186 -391 -565 -664 -659 -553 -379 -1 -40 40 53 29 15 49 147 287 427 520 532 461 333 187 61 -26 -83 -131 -193 -271 -348 -387 -355 -238 -54 147 308 379 344 229 85 -29 -77 -58 -5 28 0 -99 -244 -376 -435 -383 -226 -11 186 299 290 169 -10 -176 -262 -234 -102 86 269 389 415 349 221 73 -51 -129 -149 -1 -58 19 97 161 203 214 189 130 45 -51 -143 -215 -256 -266 -253 -227 -202 -187 -185 -198 -219 -240 -250 -235 -185 -90 44 204 360 477 525 487 372 215 63 -32 -41 41 187 349 471 510 450 302 102 -106 -283 -400 -450 -440 -391 -330 -290 -298 -380 -541 -764 -10 -1174 -1195 -988 -520 172 982 1745 2286 2466 2231 1629 806 -41 -722 -17 -1166 -966 -639 -331 -147 -123 -216 -339 -398 -339 -163 70 277 382 354 215 29 -124 -192 -1 -64 32 70 19 -104 -245 -335 -320 -188 24 248 406 446 360 188 -1 -143 -191 -143 -33 85 165 185 152 100 67 78 133 206 261 264 201 82 -67 -212 -327 -399 -431 -432 -411 -371 -307 -217 -106 10 109 165 168 122 55 1 -10 33 121 221 298 323 288 210 119 49 20 34 71 106 116 92 40 -20 -70 -101 -113 -119 -133 -164 -207 -246 -263 -242 -184 -99 -11 55 85 73 30 -27 -79 -108 -107 -74 -14 59 135 198 236 238 208 155 99 62 62 100 161 214 229 184 83 -45 -161 -222 -207 -129 -30 34 19 -86 -255 -423 -517 -484 -317 -63 196 375 412 299 86 -143 -307 -351 -274 -123 30 125 136 88 38 49 155 346 563 725 765 656 428 153 -84 -225 -257 -215 -167 -171 -250 -379 -496 -537 -474 -336 -205 -181 -331 -646 -1023 -1296 -1287 -886 -1 921 1934 2662 2897 2569 1766 711 -321 -1089 -1460 -1440 -1152 -774 -466 -314 -313 -386 -432 -379 -212 22 251 405 455 420 351 302 298 320 323 256 96 -132 -363 -516 -534 -408 -1 31 165 159 21 -1 -351 -404 -303 -75 201 427 525 471 300 91 -67 -116 -42 114 283 391 395 291 115 -72 -218 -287 -279 -218 -143 -88 -73 -97 -144 -193 -225 -229 -207 -169 -127 -92 -69 -56 -46 -29 4 61 140 231 320 386 413 390 320 216 99 -3 -75 -105 -95 -59 -16 13 15 -13 -68 -134 -189 -214 -194 -1 -33 67 141 157 101 -18 -169 -308 -389 -382 -288 -135 27 149 199 173 98 17 -27 -13 53 147 234 286 300 289 274 272 279 272 221 108 -57 -237 -372 -413 -337 -171 18 151 163 36 -187 -426 -587 -605 -469 -228 29 216 277 214 74 -66 -142 -124 -28 98 201 246 233 192 167 188 261 361 449 488 464 385 278 171 78 -3 -91 -195 -312 -419 -489 -505 -477 -448 -474 -600 -825 -1088 -1280 -1274 -980 -382 436 1309 2035 2437 2418 1994 1280 458 -282 -801 -1034 -11 -785 -495 -233 -65 -12 -59 -165 -280 -362 -379 -323 -205 -55 88 186 213 170 80 -9 -55 -25 79 225 356 415 369 221 10 -200 -352 -408 -370 -271 -159 -75 -39 -41 -52 -40 9 94 189 265 301 292 253 208 173 154 141 116 65 -12 -99 -173 -211 -207 -174 -135 -117 -129 -164 -198 -203 -162 -81 12 82 100 57 -23 -103 -138 -104 -7 120 228 276 246 154 43 -37 -51 5 111 218 281 272 193 70 -52 -1 -173 -158 -119 -83 -72 -86 -113 -131 -123 -86 -34 8 20 -9 -72 -145 -200 -210 -169 -88 8 92 140 148 126 95 78 89 128 184 238 274 286 277 255 226 188 133 46 -80 -241 -410 -547 -609 -568 -423 -208 17 189 256 201 49 -144 -308 -386 -352 -220 -32 153 292 364 378 364 355 370 410 454 474 449 372 257 122 -9 -128 -234 -334 -429 -511 -563 -570 -529 -459 -401 -399 -478 -626 -782 -850 -734 -375 213 938 1640 2141 2303 2068 1485 692 -122 -784 -1176 -1268 -1116 -829 -525 -292 -167 -136 -153 -169 -151 -96 -24 38 74 80 73 74 101 153 214 259 261 209 109 -13 -126 -197 -207 -155 -59 52 149 206 210 163 77 -24 -121 -195 -235 -239 -214 -169 -113 -52 12 81 155 231 300 352 374 358 303 214 101 -23 -151 -274 -384 -472 -525 -529 -473 -355 -1 -6 159 272 315 289 220 143 93 86 115 155 171 144 74 -12 -77 -86 -28 73 172 216 167 28 -156 -319 -389 -327 -143 101 319 426 376 181 -96 -364 -536 -566 -459 -270 -71 72 132 123 87 73 110 191 278 322 290 182 34 -91 -139 -84 53 213 320 313 175 -54 -298 -466 -493 -362 -116 161 379 467 404 221 -13 -226 -363 -405 -374 -313 -263 -245 -254 -260 -231 -147 -11 146 286 373 391 350 280 219 195 217 270 329 364 357 303 213 103 -13 -126 -229 -316 -375 -390 -351 -260 -141 -44 -29 -146 -408 -774 -1147 -1395 -1390 -1057 -402 468 1376 2109 2489 2421 1926 1133 243 -536 -1044 -1213 -1075 -743 -362 -61 82 62 -72 -241 -370 -414 -368 -259 -134 -28 35 62 69 78 106 155 214 268 300 299 263 193 97 -14 -131 -238 -318 -357 -342 -273 -159 -20 117 232 307 336 322 272 193 93 -20 -137 -239 -303 -310 -249 -128 25 172 272 301 257 165 62 -16 -53 -55 -47 -60 -112 -196 -281 -326 -301 -202 -56 82 160 147 49 -88 -200 -228 -146 26 235 410 496 473 366 226 110 52 50 74 78 29 -75 -208 -323 -376 -349 -256 -1 -51 -20 -50 -112 -161 -1 -96 8 111 168 155 81 -13 -79 -76 2 129 252 317 293 187 40 -91 -157 -135 -41 80 179 215 178 87 -17 -96 -128 -113 -74 -42 -42 -81 -146 -211 -249 -246 -202 -1 -54 7 45 56 46 22 -9 -44 -77 -97 -93 -49 40 167 310 435 511 515 449 337 215 119 66 50 41 2 -89 -234 -397 -525 -567 -502 -353 -186 -86 -123 -317 -617 -913 -1065 -957 -543 124 905 1608 2050 2117 1797 1186 450 -229 -712 -939 -932 -778 -580 -421 -334 -307 -298 -264 -184 -70 48 138 181 183 165 152 154 162 152 103 10 -104 -199 -234 -188 -72 68 176 207 150 34 -82 -142 -111 -2 134 230 230 122 -59 -243 -356 -351 -232 -47 130 236 243 170 75 20 45 144 271 358 347 216 -7 -258 -461 -554 -517 -374 -179 6 136 192 184 137 78 23 -25 -70 -113 -147 -157 -126 -50 58 173 259 285 241 138 7 -109 -178 -1 -118 -13 103 204 268 285 260 204 131 58 -5 -52 -83 -104 -126 -163 -224 -310 -410 -503 -560 -553 -466 -301 -76 171 400 571 654 640 539 380 200 39 -69 -1 -87 -24 45 88 84 34 -38 -98 -114 -69 23 128 197 191 97 -64 -246 -394 -467 -454 -380 -288 -221 -200 -214 -229 -201 -107 44 216 354 416 395 318 237 202 234 314 392 412 342 198 35 -72 -73 36 199 323 319 145 -164 -514 -784 -882 -792 -583 -380 -307 -423 -686 -960 -1068 -868 -320 482 1338 2003 2282 2097 1514 719 -58 -621 -872 -832 -616 -369 -207 -177 -244 -330 -352 -270 -99 97 244 283 206 50 -116 -228 -250 -186 -75 31 90 89 43 -12 -41 -21 42 125 187 191 120 -19 -194 -354 -448 -437 -309 -84 185 431 586 607 492 280 44 -137 -205 -143 12 191 310 309 177 -46 -286 -457 -504 -421 -251 -67 55 80 10 -107 -210 -247 -204 -104 2 67 65 10 -56 -81 -30 97 265 416 494 475 369 223 90 15 7 43 78 66 -15 -155 -314 -438 -481 -427 -291 -117 44 152 187 157 89 17 -33 -53 -46 -30 -21 -32 -65 -109 -1 -1 -157 -108 -27 71 171 252 302 313 292 252 210 180 167 165 156 125 60 -35 -142 -233 -281 -275 -221 -147 -92 -86 -142 -248 -366 -448 -453 -365 -195 15 213 349 394 347 235 101 -10 -67 -58 7 106 209 289 333 338 315 279 244 220 207 196 171 118 28 -92 -228 -351 -434 -463 -447 -416 -418 -494 -662 -896 -1125 -1246 -1157 -794 -166 638 1463 2124 2461 2393 1937 1210 393 -327 -810 -11 -932 -707 -449 -262 -194 -232 -323 -401 -420 -374 -288 -206 -161 -161 -181 -176 -1 28 217 404 529 550 462 299 121 -12 -65 -40 29 91 100 40 -72 -196 -284 -302 -248 -147 -41 30 48 19 -28 -59 -47 15 112 215 292 324 305 247 166 78 -6 -84 -155 -214 -256 -272 -261 -228 -186 -152 -138 -142 -148 -1 -68 42 186 322 404 396 288 105 -101 -269 -347 -314 -185 -5 170 294 343 319 249 164 89 32 -9 -48 -92 -1 -1 -198 -185 -146 -96 -58 -47 -66 -99 -119 -1 -29 81 201 284 293 210 46 -156 -341 -456 -467 -373 -204 -8 161 269 307 289 249 221 228 268 319 350 329 245 107 -52 -193 -283 -306 -275 -218 -172 -162 -191 -240 -275 -265 -196 -82 41 131 153 101 -5 -121 -203 -221 -172 -84 4 60 73 61 60 108 221 385 557 683 718 649 498 311 141 22 -41 -75 -116 -195 -317 -462 -596 -694 -751 -788 -839 -928 -1041 -1123 -1087 -848 -367 323 1110 1829 2308 2425 2150 1555 793 45 -533 -857 -926 -811 -617 -441 -339 -318 -343 -360 -330 -240 -106 29 125 152 104 1 -1 -219 -260 -227 -122 33 202 342 419 411 320 171 6 -132 -211 -222 -1 -118 -73 -68 -101 -148 -172 -141 -44 102 261 386 446 431 360 265 181 122 85 45 -19 -1 -248 -372 -455 -471 -416 -312 -195 -1 -44 -27 -25 -14 19 73 125 151 137 91 37 9 32 103 195 264 268 190 47 -114 -234 -265 -194 -43 129 262 307 250 116 -46 -179 -241 -217 -121 11 137 220 236 178 56 -106 -278 -422 -500 -484 -368 -169 63 269 383 368 227 4 -223 -375 -395 -275 -55 185 368 435 380 243 97 14 35 153 316 446 473 364 138 -142 -392 -535 -533 -396 -181 29 159 161 34 -179 -411 -586 -653 -594 -429 -207 13 186 286 318 309 289 286 307 340 364 358 317 250 181 137 130 150 170 154 78 -56 -219 -352 -402 -334 -159 68 262 336 233 -51 -465 -911 -1279 -1476 -1447 -1188 -738 -164 456 1044 1527 1843 1944 1805 1435 887 255 -341 -787 -13 -974 -751 -436 -1 15 22 -1 -279 -423 -468 -396 -238 -59 78 142 139 109 103 153 254 366 432 406 276 72 -144 -304 -366 -324 -216 -104 -42 -59 -142 -243 -302 -274 -146 54 272 445 530 514 419 290 178 114 106 133 157 142 64 -76 -254 -429 -556 -601 -554 -427 -254 -80 53 122 123 79 23 -9 1 54 124 177 183 132 41 -47 -87 -46 79 256 421 507 470 304 53 -209 -401 -463 -385 -204 5 162 208 132 -29 -205 -322 -331 -228 -54 120 224 217 101 -78 -248 -340 -317 -183 10 194 302 298 193 38 -97 -1 -93 58 246 394 440 355 162 -73 -273 -368 -329 -178 22 194 273 232 92 -87 -237 -299 -257 -135 10 116 136 58 -89 -252 -372 -406 -341 -198 -21 142 253 293 267 196 111 40 0 -2 26 73 121 155 168 162 147 139 154 196 255 309 328 287 178 18 -159 -314 -421 -481 -525 -603 -751 -973 -1217 -1385 -1363 -1062 -462 363 1260 2028 2487 2528 2153 1473 665 -79 -618 -895 -938 -836 -692 -582 -531 -518 -498 -432 -315 -171 -47 20 23 -14 -43 -18 84 244 411 519 521 405 207 -8 -172 -236 -196 -89 24 86 63 -41 -186 -317 -385 -365 -266 -123 19 126 178 184 167 156 170 214 276 332 359 339 267 153 16 -118 -230 -302 -328 -314 -269 -208 -146 -95 -61 -49 -57 -81 -114 -149 -172 -173 -1 -69 33 151 259 327 335 278 170 45 -56 -101 -76 7 116 206 239 203 109 -2 -90 -118 -78 11 108 169 161 80 -53 -196 -304 -351 -329 -261 -1 -121 -103 -124 -165 -193 -1 -112 3 143 273 359 378 325 213 72 -56 -1 -153 -90 31 176 301 367 348 247 87 -87 -229 -300 -282 -184 -34 126 255 323 312 222 64 -138 -358 -560 -709 -771 -728 -576 -341 -68 183 360 431 396 289 165 76 58 112 210 306 358 346 278 183 101 62 74 123 179 211 200 144 54 -49 -154 -247 -325 -382 -410 -401 -359 -301 -266 -297 -429 -659 -929 -1136 -1157 -893 -317 497 1389 2142 2558 2520 2033 1230 319 -478 -10 -1191 -12 -858 -598 -421 -354 -360 -367 -313 -182 -8 142 209 165 35 -115 -213 -208 -98 71 232 322 313 225 108 17 -11 17 69 96 64 -27 -145 -239 -265 -207 -87 47 148 183 156 99 54 54 102 170 213 194 101 -42 -187 -281 -287 -206 -71 65 154 168 112 15 -82 -148 -168 -149 -111 -73 -47 -31 -18 0 19 35 34 12 -25 -61 -77 -57 -4 65 126 155 143 99 50 22 34 85 159 226 259 244 185 96 0 -89 -164 -227 -280 -321 -340 -327 -274 -185 -77 23 92 117 105 75 53 52 73 97 99 62 -8 -89 -144 -1 -66 57 184 265 262 173 32 -103 -179 -163 -63 75 194 241 197 83 -48 -138 -146 -67 66 200 279 268 169 13 -154 -289 -371 -401 -397 -382 -371 -360 -335 -279 -183 -54 83 204 284 317 312 291 275 279 303 332 349 336 290 218 140 75 38 32 47 64 65 37 -18 -91 -164 -225 -268 -308 -370 -485 -672 -922 -1190 -1397 -1444 -1247 -764 -25 860 1726 2382 2671 2518 1957 1122 217 -549 -1023 -1146 -965 -611 -244 0 51 -79 -316 -553 -699 -704 -576 -363 -1 65 194 256 270 260 244 226 203 171 133 98 75 66 64 49 6 -72 -172 -263 -305 -271 -159 5 172 287 310 237 97 -54 -157 -171 -91 55 216 336 379 337 231 99 -20 -102 -143 -156 -165 -189 -234 -294 -351 -385 -380 -332 -245 -131 -3 120 229 306 341 325 260 158 45 -48 -94 -75 1 113 220 281 272 192 63 -74 -177 -219 -193 -118 -28 43 77 70 39 5 -13 -12 -2 0 -18 -59 -109 -147 -151 -118 -62 -15 -8 -61 -166 -288 -375 -379 -278 -85 147 355 478 488 398 256 126 61 82 171 283 362 372 307 189 61 -43 -108 -146 -186 -255 -359 -478 -568 -584 -505 -342 -146 15 87 49 -71 -210 -288 -250 -86 160 410 580 615 512 320 116 -21 -48 30 171 310 390 387 315 210 116 58 37 27 -2 -71 -173 -279 -354 -376 -354 -326 -352 -480 -724 -1043 -1342 -10 -18 -14 -305 587 1511 2278 2726 2758 2368 1644 742 -151 -868 -1292 -1389 -15 -848 -453 -143 8 -9 -148 -323 -448 -466 -368 -192 -8 117 150 95 0 -69 -61 43 217 400 521 533 426 240 40 -103 -152 -109 -20 49 41 -65 -244 -433 -556 -553 -410 -1 124 362 488 482 370 209 70 5 29 120 231 306 306 224 79 -82 -217 -292 -297 -249 -179 -122 -104 -133 -197 -271 -328 -345 -314 -238 -136 -27 68 140 187 215 234 252 273 294 309 310 294 265 229 195 170 154 141 118 78 15 -66 -156 -238 -302 -340 -355 -356 -349 -340 -323 -290 -233 -151 -53 41 112 140 122 68 2 -47 -61 -33 28 106 182 246 299 349 406 468 521 543 507 402 235 34 -162 -315 -407 -441 -440 -435 -447 -475 -499 -486 -410 -269 -89 82 195 218 153 38 -66 -107 -58 67 224 349 393 339 214 72 -27 -45 17 126 225 265 228 135 33 -18 13 125 271 383 399 289 70 -196 -432 -570 -586 -508 -404 -361 -440 -651 -939 -1195 -1293 -1127 -660 64 917 1720 2290 2495 2287 1723 945 138 -523 -924 -1039 -928 -707 -502 -398 -415 -506 -584 -569 -420 -161 130 359 450 386 213 21 -95 -81 54 244 395 426 313 95 -137 -294 -316 -212 -50 74 88 -27 -220 -389 -436 -310 -38 278 511 556 387 66 -272 -484 -472 -230 153 531 760 756 530 176 -166 -379 -407 -277 -80 75 114 21 -153 -324 -413 -382 -254 -93 22 44 -31 -159 -266 -285 -187 10 249 454 567 562 452 282 107 -30 -107 -128 -1 -78 -49 -32 -24 -20 -12 3 28 58 88 107 105 75 13 -73 -166 -243 -280 -266 -204 -114 -26 33 53 37 8 -9 -1 28 59 64 22 -62 -162 -234 -234 -141 32 244 434 546 553 460 304 134 -2 -84 -108 -95 -65 -39 -21 -11 -8 -15 -42 -98 -182 -277 -354 -383 -345 -250 -133 -42 -20 -80 -198 -318 -376 -326 -162 77 324 511 593 574 493 412 379 408 475 526 510 402 217 8 -164 -253 -252 -192 -133 -126 -197 -329 -475 -584 -627 -614 -592 -619 -727 -904 -1078 -1143 -995 -580 77 872 1642 2220 2482 2385 1975 1368 710 130 -293 -542 -651 -680 -687 -708 -745 -778 -778 -719 -599 -432 -252 -96 2 27 -19 -1 -239 -334 -365 -303 -136 120 427 725 948 1041 974 753 424 57 -265 -475 -536 -452 -270 -57 114 194 170 64 -70 -173 -200 -136 -5 144 253 278 203 51 -133 -294 -388 -402 -349 -265 -189 -146 -1 -1 -143 -94 4 140 279 387 436 421 356 267 178 105 47 -1 -50 -98 -135 -142 -108 -36 53 126 147 99 -10 -147 -262 -310 -268 -148 8 145 215 196 99 -35 -156 -223 -219 -157 -70 4 41 38 11 -11 -9 25 84 144 183 186 157 111 67 42 39 50 60 57 36 1 -35 -60 -68 -60 -44 -29 -21 -19 -16 -8 3 10 1 -31 -86 -1 -197 -204 -159 -72 29 106 125 73 -33 -153 -238 -246 -165 -13 163 314 396 398 335 246 173 140 151 182 202 185 122 25 -79 -165 -215 -232 -231 -228 -234 -245 -249 -236 -209 -192 -216 -307 -460 -632 -744 -706 -452 21 646 1285 1772 1965 1796 1297 594 -136 -718 -1037 -1067 -873 -576 -306 -154 -143 -233 -344 -397 -347 -199 -1 179 285 290 208 84 -26 -79 -54 38 172 306 407 450 426 336 194 21 -156 -307 -403 -426 -374 -265 -135 -22 39 37 -19 -101 -173 -204 -182 -115 -21 76 166 244 317 393 466 521 531 472 337 139 -84 -290 -435 -498 -483 -413 -324 -245 -194 -168 -154 -139 -116 -85 -53 -22 9 55 126 225 338 435 480 446 327 147 -48 -207 -292 -291 -224 -129 -48 -3 8 12 40 110 215 319 375 342 207 -4 -240 -434 -536 -525 -417 -260 -104 6 59 62 45 35 47 81 120 147 149 128 94 62 43 38 42 44 40 29 18 13 16 22 24 17 3 -7 2 41 108 182 234 232 163 35 -118 -253 -329 -327 -258 -158 -73 -37 -64 -1 -234 -312 -351 -348 -312 -256 -185 -89 48 238 471 707 891 964 896 698 427 165 -7 -52 17 138 224 199 36 -236 -546 -808 -962 -997 -954 -899 -884 -919 -954 -898 -660 -195 459 1186 1814 2178 2174 1803 1169 447 -179 -577 -706 -618 -431 -272 -227 -311 -466 -600 -625 -501 -256 30 259 354 295 122 -79 -219 -237 -131 47 215 295 251 103 -82 -218 -240 -129 73 286 418 407 248 -6 -269 -448 -484 -373 -167 55 214 267 216 108 7 -30 15 125 253 343 360 302 195 81 -1 -43 -58 -79 -1 -252 -399 -538 -619 -605 -489 -296 -76 118 247 302 300 274 259 272 308 345 353 311 215 82 -60 -1 -256 -276 -244 -172 -76 26 121 193 226 209 138 21 -116 -244 -324 -331 -259 -124 37 181 269 275 202 69 -87 -229 -323 -349 -301 -191 -39 125 270 364 385 327 200 38 -117 -221 -244 -179 -49 102 223 273 237 131 -2 -113 -161 -128 -29 97 203 250 223 134 15 -95 -172 -207 -216 -227 -263 -331 -415 -479 -481 -394 -217 18 259 444 530 505 395 254 140 97 135 228 325 376 350 251 111 -15 -89 -96 -54 -9 -8 -74 -193 -319 -392 -373 -269 -137 -67 -145 -402 -790 -1180 -10 -1299 -806 25 1023 1936 2519 2607 2177 1351 359 -537 -1131 -1327 -1163 -776 -348 -34 84 20 -145 -309 -385 -343 -208 -43 85 139 117 58 11 14 77 175 267 311 286 202 91 -3 -52 -46 -6 29 22 -49 -183 -346 -490 -563 -534 -397 -177 79 318 491 573 562 478 358 239 150 105 103 126 152 160 132 62 -47 -186 -333 -464 -553 -579 -526 -399 -218 -20 147 246 251 169 37 -92 -165 -146 -39 120 274 361 349 243 89 -47 -106 -59 76 247 378 410 320 132 -90 -276 -365 -340 -223 -67 65 133 122 50 -51 -152 -233 -291 -330 -351 -341 -283 -162 15 217 389 473 436 285 74 -116 -209 -166 -5 203 365 404 296 81 -153 -307 -313 -169 61 277 381 324 127 -128 -339 -420 -347 -161 52 199 221 120 -50 -212 -297 -283 -194 -87 -23 -28 -89 -156 -175 -113 19 175 290 319 256 143 46 27 112 277 457 575 576 450 234 -5 -202 -316 -342 -307 -246 -186 -137 -99 -76 -92 -185 -389 -705 -1075 -1385 -1487 -1261 -663 232 1239 2109 2610 2603 2096 1237 267 -563 -1078 -1217 -1048 -713 -372 -139 -52 -81 -159 -221 -239 -220 -191 -173 -165 -141 -72 52 210 347 404 348 193 -1 -1 -188 -96 78 248 319 240 28 -230 -422 -455 -300 -10 298 501 512 325 12 -303 -503 -520 -365 -112 134 291 323 257 156 86 83 139 210 243 207 108 -16 -117 -162 -152 -124 -125 -191 -321 -471 -577 -577 -446 -204 82 334 485 508 425 290 163 90 81 117 166 199 203 187 166 151 139 111 45 -66 -213 -358 -457 -473 -397 -252 -88 40 97 72 -8 -101 -162 -166 -111 -20 76 156 213 258 305 359 409 425 374 233 9 -260 -512 -677 -704 -579 -332 -24 266 473 556 516 383 210 46 -68 -121 -1 -86 -46 -20 -15 -28 -46 -54 -45 -20 10 29 20 -26 -109 -214 -318 -395 -426 -401 -320 -197 -50 102 245 371 471 541 577 573 528 445 339 230 141 87 70 74 72 34 -61 -214 -399 -573 -689 -715 -649 -523 -393 -319 -343 -462 -627 -750 -732 -500 -36 604 1299 1889 2223 2201 1811 1134 322 -443 -12 -1261 -1214 -935 -553 -200 23 81 -3 -161 -311 -391 -379 -290 -171 -70 -18 -21 -55 -84 -77 -16 89 216 332 410 438 415 355 274 188 106 35 -22 -63 -87 -94 -92 -90 -101 -133 -183 -242 -288 -299 -258 -164 -30 117 247 335 364 335 261 161 54 -43 -121 -175 -201 -200 -173 -124 -62 -2 41 56 37 -9 -70 -125 -155 -147 -99 -21 69 155 219 251 250 222 178 131 90 61 41 24 -1 -41 -96 -159 -213 -239 -220 -154 -50 64 153 187 149 46 -91 -219 -294 -287 -196 -49 107 226 269 228 122 -8 -118 -1 -1 -70 40 144 212 233 212 170 129 103 91 81 53 -3 -89 -186 -266 -297 -263 -164 -23 121 230 275 245 151 20 -118 -241 -335 -396 -425 -420 -374 -277 -1 54 244 393 460 425 302 140 8 -30 50 230 439 588 601 451 178 -126 -353 -419 -308 -78 158 283 219 -29 -380 -701 -870 -833 -623 -359 -184 -206 -437 -778 -1048 -1052 -667 100 1101 2082 2767 2952 2573 1729 643 -412 -12 -1597 -1599 -1320 -924 -567 -343 -265 -284 -323 -314 -229 -85 73 196 253 243 194 144 128 158 226 302 355 356 295 178 28 -126 -256 -342 -373 -354 -299 -229 -163 -114 -82 -55 -17 48 149 276 405 507 551 524 430 291 138 0 -108 -189 -256 -324 -402 -480 -536 -543 -481 -351 -176 4 149 229 239 197 139 101 106 155 228 293 320 292 214 107 0 -78 -117 -119 -98 -77 -69 -82 -109 -135 -146 -129 -83 -15 58 119 151 145 97 18 -77 -169 -235 -261 -239 -175 -84 10 87 130 137 117 89 76 93 144 218 294 344 349 300 204 78 -52 -166 -249 -297 -314 -309 -290 -264 -233 -201 -172 -151 -1 -1 -142 -136 -108 -49 35 133 219 271 277 243 191 153 154 203 289 378 433 427 356 243 127 43 9 11 10 -37 -161 -357 -582 -772 -869 -846 -726 -574 -466 -455 -538 -645 -664 -483 -43 620 1379 2041 2411 2360 1875 1065 132 -695 -1236 -18 -1244 -869 -447 -121 32 20 -92 -213 -269 -232 -126 -6 69 65 -17 -1 -250 -295 -248 -112 80 285 455 554 566 495 360 189 16 -128 -223 -264 -258 -228 -199 -194 -219 -260 -292 -284 -213 -78 101 288 443 534 550 500 406 291 175 65 -40 -142 -238 -317 -365 -372 -341 -287 -231 -192 -178 -178 -172 -138 -66 33 136 208 229 197 133 74 52 80 144 213 250 230 160 68 -4 -24 12 82 137 133 47 -104 -273 -396 -423 -342 -183 -8 115 141 66 -74 -220 -311 -315 -233 -1 38 144 205 232 247 273 311 347 354 312 220 99 -15 -92 -116 -101 -79 -86 -1 -229 -316 -350 -297 -154 37 210 292 245 75 -1 -374 -487 -458 -300 -78 118 215 182 48 -109 -202 -162 22 304 592 787 824 695 454 193 0 -69 -26 69 131 89 -78 -332 -586 -744 -748 -605 -392 -225 -211 -395 -731 -1086 -1285 -1174 -690 110 1057 1914 2456 2547 2177 1466 617 -153 -688 -928 -916 -764 -594 -493 -484 -530 -565 -534 -419 -248 -76 42 87 75 53 74 167 318 477 578 571 442 224 -17 -213 -316 -320 -259 -188 -154 -1 -251 -328 -366 -334 -231 -82 73 201 286 331 354 372 390 399 379 318 217 95 -15 -86 -104 -80 -46 -38 -85 -188 -323 -448 -521 -517 -436 -304 -157 -29 61 118 156 192 234 273 291 269 201 98 -9 -85 -102 -52 47 160 246 271 226 122 -6 -125 -202 -225 -199 -145 -89 -51 -40 -57 -88 -121 -141 -141 -118 -75 -17 45 104 150 171 163 123 58 -16 -79 -109 -89 -15 100 229 333 376 334 207 19 -185 -352 -438 -422 -314 -154 3 107 125 58 -62 -189 -275 -291 -237 -139 -36 39 76 86 100 148 243 369 487 546 511 376 175 -30 -174 -213 -145 -9 128 201 173 52 -114 -261 -342 -348 -318 -323 -430 -663 -981 -1277 -1413 -1267 -785 -12 910 1778 2387 2592 2350 1732 898 41 -661 -10 -1251 -1163 -931 -658 -424 -268 -194 -1 -194 -203 -186 -1 -28 115 283 446 565 600 525 343 93 -162 -351 -424 -369 -223 -57 49 45 -73 -255 -416 -470 -368 -123 194 483 642 620 426 134 -151 -335 -361 -235 -15 212 370 414 349 216 73 -31 -74 -65 -34 -17 -39 -107 -207 -314 -403 -454 -454 -400 -297 -155 7 168 298 372 374 311 205 94 16 -6 27 92 154 181 157 91 10 -55 -89 -94 -92 -109 -159 -230 -289 -291 -208 -44 158 331 407 351 176 -54 -254 -347 -299 -136 70 231 278 195 24 -154 -258 -238 -102 91 260 331 279 131 -41 -163 -184 -104 27 137 160 71 -102 -290 -414 -419 -295 -86 129 273 296 193 8 -192 -342 -395 -345 -215 -43 130 281 397 480 533 555 541 487 396 280 157 47 -39 -105 -162 -224 -299 -381 -456 -506 -525 -528 -544 -606 -731 -896 -1039 -1066 -885 -443 241 1069 1873 2465 2687 2465 1838 943 -16 -832 -1354 -1522 -1378 -1038 -648 -328 -145 -98 -135 -187 -198 -1 -60 31 88 95 64 31 30 76 161 250 302 286 202 74 -54 -1 -161 -118 -38 44 101 120 104 68 19 -39 -115 -213 -324 -418 -454 -395 -227 25 304 533 648 624 486 301 147 76 96 158 190 125 -58 -322 -579 -730 -709 -519 -231 41 190 163 -11 -239 -395 -382 -176 158 501 718 728 529 206 -1 -299 -298 -129 114 314 377 271 41 -220 -414 -473 -393 -221 -35 99 150 130 82 51 64 115 172 197 167 86 -22 -121 -186 -210 -205 -193 -191 -197 -195 -164 -92 13 128 219 261 250 203 150 118 116 133 143 121 57 -36 -1 -194 -211 -189 -153 -133 -146 -185 -219 -215 -148 -27 111 216 247 193 84 -24 -76 -40 74 217 327 354 288 165 43 -19 0 81 172 210 160 27 -142 -290 -377 -409 -433 -513 -689 -942 -1183 -1279 -18 -611 160 1054 1853 2349 2415 2048 1365 562 -1 -662 -899 -920 -829 -728 -677 -674 -671 -609 -457 -228 21 219 311 285 175 47 -33 -30 54 184 308 382 387 333 244 149 63 -13 -89 -169 -249 -311 -336 -312 -244 -155 -74 -25 -13 -19 -13 30 122 241 347 394 352 223 43 -1 -240 -252 -169 -29 110 195 193 107 -29 -1 -268 -299 -261 -172 -65 32 100 134 136 113 72 21 -35 -86 -1 -124 -93 -29 52 129 179 186 150 87 19 -27 -39 -16 24 58 64 30 -38 -122 -194 -230 -218 -163 -81 1 64 95 97 84 75 83 113 154 187 193 159 85 -14 -118 -201 -244 -241 -201 -1 -78 -29 1 18 32 51 82 120 157 180 179 149 92 18 -58 -127 -175 -198 -196 -173 -138 -103 -77 -65 -65 -70 -66 -39 14 94 182 255 292 281 229 159 103 88 124 196 270 302 259 133 -48 -237 -377 -431 -395 -307 -232 -238 -361 -591 -860 -1064 -1095 -879 -406 256 980 1608 1996 2055 1774 1220 521 -172 -727 -1057 -1138 -17 -743 -440 -177 -4 69 68 31 -2 -8 13 45 64 51 3 -61 -115 -1 -91 -2 106 199 240 215 131 18 -84 -1 -137 -82 -6 53 68 26 -59 -1 -237 -260 -211 -95 64 235 379 464 474 406 275 111 -49 -168 -222 -203 -1 -37 31 41 -21 -144 -287 -401 -441 -390 -258 -84 80 194 235 212 151 88 51 49 71 99 115 115 107 106 122 153 182 182 133 30 -107 -246 -346 -378 -334 -230 -95 36 139 202 224 208 160 80 -26 -146 -253 -313 -297 -199 -40 127 242 258 164 0 -158 -230 -163 40 314 554 659 573 311 -40 -358 -535 -519 -337 -83 122 188 88 -1 -364 -503 -477 -287 -3 265 421 412 257 28 -1 -292 -281 -172 -23 103 172 186 179 193 250 340 424 454 396 252 60 -122 -240 -269 -218 -127 -49 -20 -54 -133 -230 -321 -402 -486 -594 -729 -864 -940 -882 -629 -166 459 1138 1726 2086 2127 1835 1275 571 -131 -704 -1068 -12 -1140 -949 -705 -474 -295 -182 -129 -115 -117 -112 -86 -31 50 150 253 341 401 423 410 369 308 236 152 54 -59 -188 -318 -424 -480 -464 -374 -228 -62 77 155 158 100 20 -34 -28 48 173 299 372 358 255 97 -55 -145 -135 -30 121 248 280 182 -34 -308 -551 -677 -639 -446 -157 132 332 388 298 114 -81 -210 -223 -119 53 227 334 340 249 103 -38 -123 -128 -62 35 118 147 111 24 -79 -161 -194 -171 -111 -41 7 20 -1 -39 -65 -57 -7 73 158 214 211 140 10 -146 -285 -364 -356 -258 -93 93 252 342 344 266 142 15 -71 -95 -54 27 116 178 190 146 58 -51 -163 -259 -332 -377 -391 -368 -300 -182 -22 159 330 448 483 419 268 64 -141 -302 -380 -362 -259 -1 75 230 335 377 355 283 182 77 -5 -48 -47 -13 30 58 48 -7 -94 -184 -249 -274 -268 -266 -309 -427 -609 -798 -900 -817 -490 68 762 1426 1878 1980 1687 1069 294 -428 -917 -1076 -924 -581 -214 25 58 -99 -353 -573 -649 -534 -260 82 384 561 580 469 295 130 24 -12 -5 5 -12 -69 -148 -216 -240 -208 -131 -38 35 69 58 17 -28 -56 -56 -32 0 24 34 31 27 37 71 129 202 273 323 337 307 234 126 -3 -136 -253 -336 -375 -367 -322 -261 -204 -167 -153 -152 -144 -109 -36 66 172 251 274 233 143 39 -35 -50 1 101 211 287 303 253 161 59 -19 -61 -73 -81 -1 -174 -261 -338 -364 -309 -168 27 222 354 377 279 90 -129 -310 -398 -372 -253 -90 55 136 135 70 -13 -64 -46 49 196 345 445 461 386 247 91 -33 -96 -97 -63 -37 -56 -134 -255 -377 -451 -441 -343 -187 -26 84 108 45 -68 -1 -238 -215 -117 19 150 237 269 264 256 277 342 435 520 556 513 390 215 29 -125 -225 -270 -280 -279 -288 -315 -357 -414 -487 -589 -725 -886 -1027 -1076 -953 -600 -16 721 1466 2042 2294 2146 1628 870 66 -597 -992 -1087 -947 -691 -443 -286 -232 -239 -237 -174 -39 131 271 320 256 101 -81 -220 -263 -202 -68 79 183 212 167 78 -14 -82 -116 -127 -132 -143 -155 -153 -118 -44 52 140 184 165 88 -10 -81 -83 1 153 326 462 519 482 368 217 68 -53 -145 -224 -311 -412 -514 -585 -590 -511 -355 -161 17 133 164 122 50 0 11 92 216 331 385 347 223 57 -88 -156 -117 15 191 340 400 340 171 -57 -277 -421 -453 -373 -219 -47 85 140 113 25 -79 -156 -177 -133 -41 63 145 177 147 63 -51 -168 -255 -293 -270 -192 -74 59 181 268 305 291 241 179 132 121 149 198 238 233 161 23 -152 -318 -422 -429 -339 -182 -16 99 126 59 -69 -206 -295 -302 -228 -105 19 101 119 80 11 -49 -78 -67 -25 29 82 135 198 284 396 517 613 644 582 424 200 -37 -234 -351 -378 -338 -275 -233 -244 -317 -443 -601 -771 -932 -1063 -1128 -1080 -865 -443 181 943 1713 2321 2606 2468 1909 1045 74 -777 -1328 -1495 -1313 -917 -485 -171 -57 -1 -301 -450 -480 -356 -114 159 367 443 378 217 39 -78 -94 -10 127 255 317 286 169 6 -155 -273 -327 -315 -257 -174 -87 -12 44 83 103 109 106 104 112 140 187 242 284 290 241 137 -6 -155 -272 -328 -312 -237 -133 -35 25 38 11 -33 -75 -98 -103 -99 -1 -115 -135 -144 -1 -51 60 189 298 351 327 231 93 -41 -1 -145 -87 19 133 217 247 218 149 67 -6 -58 -91 -116 -147 -189 -238 -282 -306 -302 -270 -217 -154 -89 -23 48 129 216 298 356 372 338 259 158 65 2 -20 -15 -7 -25 -84 -178 -279 -345 -340 -252 -96 88 251 349 364 305 205 99 14 -45 -92 -146 -220 -308 -386 -419 -381 -269 -106 61 186 232 196 106 9 -44 -24 67 202 336 427 451 413 335 249 179 131 90 38 -42 -151 -268 -364 -409 -395 -341 -288 -290 -383 -573 -817 -1034 -1121 -989 -594 38 812 1577 2165 2434 2309 1804 1024 132 -685 -1274 -1547 -10 -18 -795 -393 -104 23 6 -97 -206 -251 -194 -35 188 422 609 708 699 588 399 166 -70 -276 -426 -505 -516 -471 -391 -301 -218 -151 -95 -41 25 109 204 296 365 399 394 358 309 258 210 156 83 -20 -149 -281 -380 -409 -350 -212 -35 119 197 167 38 -144 -315 -412 -399 -283 -103 81 219 280 270 219 163 131 128 139 137 103 31 -59 -1 -181 -165 -98 -3 88 150 171 154 116 75 43 19 -2 -32 -73 -121 -165 -195 -203 -192 -172 -153 -141 -133 -118 -85 -26 53 141 216 261 266 235 182 126 85 66 72 94 119 135 133 108 56 -19 -112 -211 -301 -364 -385 -356 -280 -171 -53 52 130 175 191 191 183 171 148 105 34 -66 -183 -292 -364 -376 -314 -185 -10 179 349 469 523 505 426 309 182 76 10 -6 13 45 54 15 -81 -218 -355 -444 -449 -364 -225 -97 -57 -154 -386 -690 -950 -1041 -866 -405 272 1023 1665 2035 2042 1689 1076 357 -301 -775 -1011 -1024 -885 -684 -493 -350 -259 -195 -131 -49 46 142 216 256 259 236 199 159 117 69 11 -55 -124 -179 -206 -199 -163 -114 -74 -57 -65 -85 -96 -75 -9 94 214 316 368 352 270 143 9 -95 -142 -123 -50 48 137 185 174 104 -3 -121 -216 -265 -260 -210 -136 -65 -20 -9 -28 -64 -96 -111 -105 -83 -57 -36 -22 -7 24 84 172 275 365 409 386 291 147 -8 -131 -188 -173 -104 -21 32 26 -43 -153 -263 -329 -323 -242 -111 31 143 196 185 125 43 -29 -72 -77 -50 -4 44 85 110 118 108 81 41 -2 -39 -57 -46 -5 57 121 165 172 136 67 -11 -76 -109 -105 -78 -52 -48 -79 -1 -210 -264 -279 -244 -169 -75 12 72 95 87 63 40 33 48 85 137 193 247 289 313 313 286 236 171 107 58 31 23 20 3 -43 -121 -217 -304 -361 -383 -388 -416 -505 -673 -890 -1080 -1133 -948 -477 243 1084 1855 2354 2439 2075 1352 458 -380 -970 -19 -1111 -788 -400 -96 38 0 -152 -323 -436 -453 -387 -282 -186 -124 -89 -53 16 134 283 422 504 498 406 263 120 22 -10 9 43 47 -8 -123 -264 -383 -438 -405 -294 -139 14 127 182 180 145 103 74 68 83 108 136 159 177 188 189 173 134 71 -11 -101 -179 -232 -255 -252 -239 -229 -232 -244 -250 -230 -168 -60 83 234 361 434 436 369 251 111 -19 -114 -158 -1 -101 -33 31 70 72 34 -31 -105 -167 -198 -1 -147 -82 -14 40 76 94 104 115 132 150 156 138 89 12 -75 -1 -192 -189 -147 -82 -18 26 48 55 63 89 138 197 239 234 165 33 -134 -294 -399 -416 -342 -203 -45 81 137 115 32 -70 -148 -169 -123 -28 84 182 242 259 244 218 198 191 191 187 168 133 91 56 37 33 28 3 -58 -153 -257 -330 -336 -259 -127 -1 37 -76 -360 -761 -1159 -15 -1363 -970 -263 618 1474 2097 2341 2169 1653 953 258 -276 -575 -651 -589 -496 -459 -511 -624 -734 -770 -692 -506 -263 -31 127 188 166 106 66 86 177 316 456 546 548 453 276 55 -164 -341 -447 -472 -427 -332 -219 -116 -43 -7 0 0 19 76 174 297 414 489 492 417 279 111 -47 -168 -238 -265 -267 -265 -268 -271 -259 -219 -146 -51 44 114 145 136 102 67 46 43 45 32 -10 -83 -167 -229 -238 -179 -62 81 211 295 318 291 236 182 142 113 80 26 -54 -151 -235 -277 -259 -186 -83 9 62 60 14 -47 -92 -1 -68 -11 44 84 102 107 111 122 134 131 94 18 -81 -175 -226 -210 -1 -17 82 128 105 30 -52 -94 -66 26 145 234 248 170 24 -142 -276 -344 -346 -310 -268 -240 -215 -1 -39 158 402 624 746 712 524 246 -16 -161 -137 33 258 416 410 214 -113 -458 -701 -775 -699 -568 -507 -602 -851 -1147 -1317 -1193 -689 145 1133 2019 2563 2622 2203 1450 588 -159 -646 -840 -812 -688 -584 -562 -615 -686 -707 -639 -487 -296 -124 -6 54 88 138 228 351 468 530 502 386 221 64 -30 -45 -3 44 42 -39 -187 -348 -454 -453 -332 -1 82 226 254 163 1 -159 -248 -225 -97 91 275 399 434 385 288 184 106 63 45 26 -15 -87 -178 -265 -317 -317 -262 -169 -70 4 32 5 -59 -137 -192 -199 -146 -44 80 189 251 247 182 86 0 -36 1 110 257 388 450 402 240 -6 -277 -504 -627 -617 -484 -270 -39 148 253 266 207 118 44 16 41 100 161 188 161 84 -17 -106 -146 -121 -42 54 124 129 59 -67 -205 -302 -320 -255 -137 -20 44 30 -52 -154 -214 -184 -58 126 298 384 344 191 -6 -158 -185 -60 175 432 603 614 456 194 -67 -225 -228 -99 70 173 126 -76 -365 -621 -732 -651 -423 -173 -50 -156 -490 -929 -1271 -16 -911 -105 936 1936 2608 2756 2342 1495 464 -469 -1090 -16 -1168 -823 -453 -200 -122 -187 -306 -382 -357 -228 -47 112 190 164 60 -68 -1 -177 -114 2 129 223 262 246 194 132 81 50 36 28 15 -9 -45 -88 -127 -153 -159 -142 -101 -41 26 90 136 155 144 112 74 49 50 78 119 151 152 108 23 -82 -1 -242 -255 -223 -1 -123 -105 -121 -158 -186 -176 -111 4 144 272 350 358 297 192 76 -14 -60 -58 -26 11 29 12 -40 -113 -185 -229 -227 -171 -69 57 178 261 281 229 114 -31 -166 -246 -242 -152 -2 157 273 301 229 78 -101 -251 -322 -298 -194 -55 68 136 138 94 43 23 54 127 211 260 240 140 -21 -201 -351 -437 -447 -395 -313 -232 -173 -136 -103 -50 40 170 325 473 583 627 595 496 351 192 48 -53 -101 -96 -54 -4 23 4 -73 -198 -341 -464 -536 -546 -512 -478 -487 -565 -694 -808 -811 -610 -161 498 1248 1904 2279 2244 1781 993 81 -719 -1215 -1318 -1067 -610 -142 158 204 11 -311 -609 -749 -665 -380 9 379 618 674 557 334 88 -106 -215 -241 -216 -176 -145 -126 -108 -73 -17 46 95 104 62 -17 -103 -152 -131 -28 133 310 446 496 441 296 102 -82 -212 -258 -225 -1 -45 21 38 7 -51 -108 -139 -133 -99 -60 -42 -59 -111 -177 -226 -229 -1 -55 87 217 297 301 232 112 -16 -112 -144 -1 4 139 265 344 353 287 159 -1 -159 -281 -341 -333 -265 -162 -58 17 48 32 -11 -56 -78 -62 -16 38 73 68 23 -40 -85 -74 9 151 308 421 440 344 156 -67 -250 -334 -295 -159 11 137 159 57 -136 -357 -526 -585 -517 -348 -135 57 184 232 223 195 185 213 272 335 373 363 304 215 126 63 39 51 77 95 84 38 -35 -121 -201 -260 -291 -297 -289 -281 -293 -342 -436 -570 -718 -835 -858 -727 -407 94 715 1344 1841 2080 1985 1558 888 123 -563 -1031 -17 -17 -819 -475 -198 -65 -85 -206 -341 -404 -348 -178 54 275 413 433 342 184 22 -88 -118 -70 24 125 194 213 180 113 32 -47 -1 -186 -250 -310 -355 -369 -334 -241 -98 74 242 372 438 431 363 260 156 80 50 66 110 155 173 143 59 -65 -206 -331 -410 -428 -387 -304 -210 -131 -84 -70 -73 -68 -32 40 139 238 303 308 248 141 22 -66 -96 -60 21 114 178 188 141 58 -29 -90 -108 -87 -47 -16 -12 -40 -88 -135 -162 -157 -125 -76 -25 20 61 100 138 170 181 158 95 3 -87 -143 -135 -58 63 180 240 207 82 -93 -257 -346 -325 -204 -37 102 154 93 -54 -225 -343 -355 -252 -72 115 244 276 222 131 66 77 175 326 468 540 507 375 188 7 -117 -167 -157 -125 -112 -138 -199 -273 -337 -381 -424 -497 -627 -808 -992 -1093 -1016 -693 -1 623 1392 2007 2313 2226 1760 1025 198 -535 -1029 -1217 -1119 -830 -480 -189 -35 -33 -1 -280 -372 -362 -240 -41 169 325 378 320 185 34 -69 -83 -5 128 255 315 269 124 -76 -265 -380 -387 -294 -148 -12 61 51 -25 -122 -183 -173 -86 46 178 266 289 259 209 180 197 254 318 344 297 166 -23 -220 -370 -433 -400 -296 -1 -71 -34 -61 -132 -208 -253 -245 -182 -83 25 116 172 190 175 143 108 83 76 89 116 144 161 153 117 58 -3 -44 -46 -3 69 137 164 120 4 -155 -308 -399 -394 -293 -138 10 91 76 -20 -146 -229 -212 -79 133 352 495 506 381 169 -46 -184 -198 -95 67 211 266 203 43 -154 -321 -408 -403 -330 -234 -156 -113 -95 -74 -26 50 133 185 176 105 5 -65 -50 75 286 513 663 662 490 188 -148 -411 -520 -457 -269 -49 106 146 74 -46 -135 -138 -54 50 75 -62 -384 -820 -1222 -1411 -1252 -708 124 1044 1800 2177 2072 1524 705 -142 -789 -1085 -19 -655 -193 198 398 369 162 -115 -350 -465 -439 -311 -149 -21 33 16 -38 -83 -77 -9 102 219 297 307 246 134 9 -91 -143 -143 -1 -71 -55 -76 -131 -197 -246 -255 -210 -119 -3 107 191 239 259 272 298 351 421 486 508 457 320 110 -136 -370 -545 -632 -631 -562 -461 -360 -277 -212 -152 -83 2 94 173 219 224 197 166 161 202 285 379 438 420 303 102 -133 -340 -463 -474 -386 -245 -108 -21 1 -18 -37 -11 77 212 341 405 356 191 -49 -288 -443 -454 -313 -64 207 409 475 387 181 -70 -282 -392 -378 -264 -105 36 114 115 59 -14 -66 -75 -46 -3 20 3 -52 -118 -154 -124 -15 147 313 417 410 280 59 -181 -360 -415 -326 -127 105 289 361", "origin": 0.0, "period": 4.0, "factor": -1.0, "lowerLimit": -32000.0, "upperLimit": 32000.0, "dimensions": 1 }, "device": { "reference": "Device/0" } }, "request": { "method": "POST", "url": "Observation/17056" } }, { "fullUrl": "Observation/17064", "resource": { "resourceType": "Observation", "id": "17064", "status": "final", "code": { "text": "omnicare_HRV", "coding": [ { "code": "HRV", "display": "心率變異", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "80404-7", "display": "R-R interval.standard deviation (Heart rate variability)", "system": "https://loinc.org/" } ] }, "category": [ { "text": "PPG" } ], "effectivePeriod": { "start": "2022-03-04T16:48:00Z", "end": "2022-03-04T16:48:00Z" }, "component": [ { "valueQuantity": { "value": -1.0 }, "code": { "text": "總功率", "coding": [ { "code": "tp", "display": "總功率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "極低頻範圍功率", "coding": [ { "code": "vlfp", "display": "極低頻範圍功率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "低頻範圍功率", "coding": [ { "code": "lfp", "display": "低頻範圍功率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "高頻範圍功率", "coding": [ { "code": "hfp", "display": "高頻範圍功率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "標準化低頻功率", "coding": [ { "code": "nlfp", "display": "標準化低頻功率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "標準化高頻功率", "coding": [ { "code": "nhfp", "display": "標準化高頻功率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "低、高頻功率比值", "coding": [ { "code": "lf_hf", "display": "低、高頻功率比值", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "正常心跳間期的標準偏差", "coding": [ { "code": "sdnn", "display": "正常心跳間期的標準偏差", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "計算短時間的平均正常心跳間期", "coding": [ { "code": "sdann", "display": "計算短時間的平均正常心跳間期", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "正常心跳間期差值超過50毫秒的個數", "coding": [ { "code": "nn50", "display": "正常心跳間期差值超過50毫秒的個數", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "相鄰正常心跳間期差值超過50毫秒的比例", "coding": [ { "code": "pnn50", "display": "相鄰正常心跳間期差值超過50毫秒的比例", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": 25.0 }, "code": { "text": "相鄰正常心跳間奇差值平方和均方根", "coding": [ { "code": "rmssd", "display": "相鄰正常心跳間奇差值平方和均方根", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "心房顫動指數", "coding": [ { "code": "af", "display": "心房顫動指數", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "54776-0", "display": "Atrial fibrillation and other dysrhythmias in last 7 days [MDSv3]", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "攝氧量", "coding": [ { "code": "vo2", "display": "攝氧量", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "60842-2", "display": "Oxygen consumption (VO2)", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "心跳間隔時間", "coding": [ { "code": "rri", "display": "心跳間隔時間", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": 80.0 }, "code": { "text": "心臟壓力", "coding": [ { "code": "stress", "display": "心臟壓力", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "心跳間隔時間", "coding": [ { "code": "ppi", "display": "心跳間隔時間", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "心跳恢復率", "coding": [ { "code": "hrr", "display": "心跳恢復率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "心房早期收縮", "coding": [ { "code": "pac", "display": "心房早期收縮", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "低頻功率和高頻功率之比值", "coding": [ { "code": "anb", "display": "低頻功率和高頻功率之比值", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" } ] } } ], "device": { "reference": "Device/0" } }, "request": { "method": "POST", "url": "Observation/17064" } } ] } |
||
Name |
Description |
Return |
status |
服務查詢結果狀態(success, fail) |
Yes |
data |
所查詢到符合搜尋條件之生理資訊資料 |
Yes |
GET /api/omnicarefhir/omnicare_JSON/:deviceId/:schema/:startTime/:endTime
-
服務功能:以生理資訊之名稱作為查詢條件,取得裝置所感測之生理訊號資料之服務
-
URL參數說明
Field |
Type |
Description |
Example |
schema |
String |
所欲查詢資料之生理訊號類型 |
omnicare_bloodPressure |
startTime |
String |
所欲查詢時間之起始時間,以UTC+0 為基準 |
20170531000000 (2017-05-31 00:00:00) |
endTime |
String |
所欲查詢時間之結束時間,以UTC+0為基準 |
20170730000000 (2017-07-30 00:00:00) |
-
Request
GET/ HTTP/1.1 https://{omnicaredomain}:{port}/api/omnicarefhir/omnicare_JSON/:deviceId/omnicare_bloodPressure/20170531000000/20170730000000 Authorization:6uad0caas2cy55
|
||
Name |
Description |
Required |
Authorization, sguri is required |
-
Response
{ "resourceType": "Bundle", "type": "transaction", "entry": [ { "fullUrl": "Device/0", "resource": { "resourceType": "Device", "id": "0", "identifier": [ { "value": "asus-fhir-test-01" } ] }, "request": { "method": "POST", "url": "Device/0" } }, { "fullUrl": "Observation/1", "resource": { "resourceType": "Observation", "id": "1", "status": "final", "code": { "text": "omnicare_bloodPressure", "coding": [ { "code": "BloodPressure", "display": "血壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "8478-0", "display": "Mean blood pressure", "system": "https://loinc.org/" } ] }, "category": [ { "text": "PPG" } ], "effectivePeriod": { "start": "2022-02-08T11:35:00Z", "end": "2022-02-08T11:36:00Z" }, "component": [ { "valueQuantity": { "value": -1.0 }, "code": { "text": "舒張壓", "coding": [ { "code": "dia", "display": "舒張壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "94143-5", "display": "HEDIS 2020 Value Set - Diastolic Blood Pressure", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "收縮壓", "coding": [ { "code": "sys", "display": "收縮壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "94144-3", "display": "HEDIS 2020 Value Set - Systolic Blood Pressure", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": 98.0 }, "code": { "text": "心率", "coding": [ { "code": "hr", "display": "心率", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "8867-4", "display": "Heart rate", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "脈波傳輸時間", "coding": [ { "code": "ptt", "display": "脈波傳輸時間", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "77196-4", "display": "Pulse wave velocity", "system": "https://loinc.org/" } ] } }, { "valueQuantity": { "value": -1.0 }, "code": { "text": "平均值", "coding": [ { "code": "mean", "display": "平均壓", "system": "https://omnicare.asus.life/swagger-ui.html#/File%20API/getFileUsingGET" }, { "code": "8478-0", "display": "Pulse wave velocity", "system": "https://loinc.org/" } ] } } ], "device": { "reference": "Device/0" } }, "request": { "method": "POST", "url": "Observation/1" } } ] } |
||
Name |
Description |
Return |
status |
服務查詢結果狀態(success, fail) |
Yes |
data |
所查詢到符合搜尋條件之生理資訊資料 |
Yes |
GET /api/devices
-
服務功能:取得所租用裝置識別碼清單之服務
-
Request
GET/ HTTP/1.1 https://{omnicaredomain}:{port}/api/devices Authorization:6uad0caas2cy55 sguri: sgd01.asuswebstorage.com
|
||
Name |
Description |
Required |
Authorization, sguri is required |
-
Response
HTTP/1.1 200 { "status":"success", "data":[ { "DeviceId": "ASUSLife-00002-001" "startTime": "2017-05-23 00:00:00" "endTime": "2017-07-23 00:00:00" }, { "DeviceId": "ASUSLife-00002-002" "startTime": "2017-05-23 00:00:00" "endTime": "2017-07-23 00:00:00" } ……. ] } |
||
Name |
Description |
Return |
status |
服務查詢結果狀態(success, fail) |
Yes |
data |
所查詢到符合搜尋條件之生理資訊資料 |
Yes |