@healthcloudai/hc-sdk 3.13.4 → 3.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +495 -72
- package/dist/index.d.cts +2342 -1390
- package/dist/index.d.ts +2342 -1390
- package/dist/index.js +495 -72
- package/docs/clients/AthenaHealthClient.md +1 -1
- package/docs/clients/PatientClient.md +11 -0
- package/docs/docs-manifest.json +35 -3
- package/docs/examples/index.md +12 -1
- package/docs/index.md +12 -1
- package/docs/models/AssignImpiloDeviceRequest.md +17 -0
- package/docs/models/AssignImpiloDeviceResponse.md +20 -0
- package/docs/models/AthenaLabResult.md +2 -0
- package/docs/models/CancelTestOrderResponse.md +19 -0
- package/docs/models/CreateDeliveryOrderRequest.md +21 -0
- package/docs/models/DeliveryContact.md +24 -0
- package/docs/models/DeliveryOrder.md +30 -0
- package/docs/models/DeliveryPharmacy.md +25 -0
- package/docs/models/GetDefaultProviderResponse.md +2 -0
- package/docs/models/GetPatientResponse.md +1 -0
- package/docs/models/GetTestOrderResponse.md +44 -0
- package/docs/models/ImpiloDeviceItem.md +23 -0
- package/docs/models/ListDeliveryOrdersResponse.md +19 -0
- package/docs/models/ListImpiloDevicesResponse.md +18 -0
- package/docs/models/ListOrderItemsResponse.md +18 -0
- package/docs/models/ListTestOrdersResponse.md +18 -0
- package/docs/models/OrderItem.md +19 -0
- package/docs/models/OrderPriority.md +15 -0
- package/docs/models/OrderStatus.md +15 -0
- package/docs/models/PatientDemographics.md +1 -0
- package/docs/models/PlaceTestOrderRequest.md +43 -0
- package/docs/models/PlaceTestOrderResponse.md +44 -0
- package/docs/models/Specimen.md +30 -0
- package/docs/models/SpecimenStatus.md +15 -0
- package/docs/models/TestOrder.md +44 -0
- package/docs/models/_InsuranceOcrResult.md +1 -0
- package/docs/models/index.md +21 -0
- package/docs/operations/connectors.athenaAddLabResultDocument.md +2 -2
- package/docs/operations/connectors.athenaGetInsurancePackages.md +1 -1
- package/docs/operations/connectors.athenaGetLabResult.md +2 -0
- package/docs/operations/connectors.athenaListLabResults.md +2 -0
- package/docs/operations/fieldagent.listPatients.md +1 -0
- package/docs/operations/patient.addInsurance.md +48 -16
- package/docs/operations/patient.addPatientIntake.md +12 -1
- package/docs/operations/patient.assignImpiloDevice.md +112 -0
- package/docs/operations/patient.assistantOcrInsurance.md +64 -13
- package/docs/operations/patient.cancelTestOrder.md +152 -0
- package/docs/operations/patient.checkPatientInsuranceEligibility.md +133 -38
- package/docs/operations/patient.createDeliveryOrder.md +171 -0
- package/docs/operations/patient.getDefaultProvider.md +2 -0
- package/docs/operations/patient.getDeliveryOrder.md +156 -0
- package/docs/operations/patient.getPatient.md +1 -0
- package/docs/operations/patient.getPatientSidebarPatientSidebar.md +1 -0
- package/docs/operations/patient.getTestOrder.md +194 -0
- package/docs/operations/patient.importImpiloVitals.md +129 -0
- package/docs/operations/patient.listDeliveryOrders.md +156 -0
- package/docs/operations/patient.listImpiloDevices.md +100 -0
- package/docs/operations/patient.listOrderItems.md +129 -0
- package/docs/operations/patient.listTestOrders.md +201 -0
- package/docs/operations/patient.placeTestOrder.md +309 -0
- package/docs/operations/patient.submitPatientIntake.md +17 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1369,104 +1369,81 @@ function GynHistoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
|
-
// src/models/openapi-generated/patient/models/
|
|
1373
|
-
function
|
|
1374
|
-
return
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
// src/models/openapi-generated/patient/models/SubstanceUse.ts
|
|
1378
|
-
function SubstanceUseToJSON(json) {
|
|
1379
|
-
return SubstanceUseToJSONTyped(json, false);
|
|
1372
|
+
// src/models/openapi-generated/patient/models/IntakeTobaccoUse.ts
|
|
1373
|
+
function IntakeTobaccoUseToJSON(json) {
|
|
1374
|
+
return IntakeTobaccoUseToJSONTyped(json, false);
|
|
1380
1375
|
}
|
|
1381
|
-
function
|
|
1376
|
+
function IntakeTobaccoUseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1382
1377
|
if (value == null) {
|
|
1383
1378
|
return value;
|
|
1384
1379
|
}
|
|
1385
1380
|
return {
|
|
1386
|
-
|
|
1387
|
-
"
|
|
1381
|
+
...value,
|
|
1382
|
+
"cessation_aids": value["cessation_aids"],
|
|
1383
|
+
"cigarettes_per_day": value["cigarettes_per_day"],
|
|
1384
|
+
"pack_years": value["pack_years"],
|
|
1388
1385
|
"quit_year": value["quit_year"],
|
|
1389
|
-
"route": value["route"],
|
|
1390
1386
|
"start_year": value["start_year"],
|
|
1391
|
-
"status":
|
|
1392
|
-
"substance": value["substance"]
|
|
1387
|
+
"status": value["status"]
|
|
1393
1388
|
};
|
|
1394
1389
|
}
|
|
1395
1390
|
|
|
1396
|
-
// src/models/openapi-generated/patient/models/
|
|
1397
|
-
function
|
|
1398
|
-
return
|
|
1391
|
+
// src/models/openapi-generated/patient/models/IntakeAlcoholUse.ts
|
|
1392
|
+
function IntakeAlcoholUseToJSON(json) {
|
|
1393
|
+
return IntakeAlcoholUseToJSONTyped(json, false);
|
|
1399
1394
|
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1395
|
+
function IntakeAlcoholUseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1396
|
+
if (value == null) {
|
|
1397
|
+
return value;
|
|
1398
|
+
}
|
|
1399
|
+
return {
|
|
1400
|
+
...value,
|
|
1401
|
+
"binge_drinking": value["binge_drinking"],
|
|
1402
|
+
"drinks_per_week": value["drinks_per_week"],
|
|
1403
|
+
"frequency": value["frequency"],
|
|
1404
|
+
"notes": value["notes"]
|
|
1405
|
+
};
|
|
1409
1406
|
}
|
|
1410
1407
|
|
|
1411
|
-
// src/models/openapi-generated/patient/models/
|
|
1412
|
-
function
|
|
1408
|
+
// src/models/openapi-generated/patient/models/GenderIdentity.ts
|
|
1409
|
+
function GenderIdentityToJSON(value) {
|
|
1413
1410
|
return value;
|
|
1414
1411
|
}
|
|
1415
1412
|
|
|
1416
|
-
// src/models/openapi-generated/patient/models/
|
|
1417
|
-
function
|
|
1418
|
-
return
|
|
1413
|
+
// src/models/openapi-generated/patient/models/IntakeSubstanceUse.ts
|
|
1414
|
+
function IntakeSubstanceUseToJSON(json) {
|
|
1415
|
+
return IntakeSubstanceUseToJSONTyped(json, false);
|
|
1419
1416
|
}
|
|
1420
|
-
function
|
|
1417
|
+
function IntakeSubstanceUseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1421
1418
|
if (value == null) {
|
|
1422
1419
|
return value;
|
|
1423
1420
|
}
|
|
1424
1421
|
return {
|
|
1425
|
-
|
|
1426
|
-
"
|
|
1427
|
-
"
|
|
1422
|
+
...value,
|
|
1423
|
+
"frequency": value["frequency"],
|
|
1424
|
+
"notes": value["notes"],
|
|
1428
1425
|
"quit_year": value["quit_year"],
|
|
1426
|
+
"route": value["route"],
|
|
1429
1427
|
"start_year": value["start_year"],
|
|
1430
|
-
"status":
|
|
1428
|
+
"status": value["status"],
|
|
1429
|
+
"substance": value["substance"]
|
|
1431
1430
|
};
|
|
1432
1431
|
}
|
|
1433
1432
|
|
|
1434
|
-
// src/models/openapi-generated/patient/models/
|
|
1435
|
-
function
|
|
1436
|
-
return
|
|
1433
|
+
// src/models/openapi-generated/patient/models/IntakeEhrAnswer.ts
|
|
1434
|
+
function IntakeEhrAnswerToJSON(json) {
|
|
1435
|
+
return IntakeEhrAnswerToJSONTyped(json, false);
|
|
1437
1436
|
}
|
|
1438
|
-
|
|
1439
|
-
// src/models/openapi-generated/patient/models/AlcoholUse.ts
|
|
1440
|
-
function AlcoholUseToJSON(json) {
|
|
1441
|
-
return AlcoholUseToJSONTyped(json, false);
|
|
1442
|
-
}
|
|
1443
|
-
function AlcoholUseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1437
|
+
function IntakeEhrAnswerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1444
1438
|
if (value == null) {
|
|
1445
1439
|
return value;
|
|
1446
1440
|
}
|
|
1447
1441
|
return {
|
|
1448
|
-
"
|
|
1449
|
-
"
|
|
1450
|
-
"frequency": AlcoholFrequencyToJSON(value["frequency"]),
|
|
1451
|
-
"notes": value["notes"]
|
|
1442
|
+
"question_key": value["question_key"],
|
|
1443
|
+
"value": value["value"]
|
|
1452
1444
|
};
|
|
1453
1445
|
}
|
|
1454
1446
|
|
|
1455
|
-
// src/models/openapi-generated/patient/models/GenderIdentity.ts
|
|
1456
|
-
function GenderIdentityToJSON(value) {
|
|
1457
|
-
return value;
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
// src/models/openapi-generated/patient/models/EducationLevel.ts
|
|
1461
|
-
function EducationLevelToJSON(value) {
|
|
1462
|
-
return value;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
// src/models/openapi-generated/patient/models/SexualOrientation.ts
|
|
1466
|
-
function SexualOrientationToJSON(value) {
|
|
1467
|
-
return value;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
1447
|
// src/models/openapi-generated/patient/models/IntakeSocialHistory.ts
|
|
1471
1448
|
function IntakeSocialHistoryToJSON(json) {
|
|
1472
1449
|
return IntakeSocialHistoryToJSONTyped(json, false);
|
|
@@ -1477,24 +1454,25 @@ function IntakeSocialHistoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1477
1454
|
}
|
|
1478
1455
|
return {
|
|
1479
1456
|
...value,
|
|
1480
|
-
"alcohol":
|
|
1457
|
+
"alcohol": IntakeAlcoholUseToJSON(value["alcohol"]),
|
|
1481
1458
|
"contraception": value["contraception"],
|
|
1482
|
-
"diet_category":
|
|
1459
|
+
"diet_category": value["diet_category"],
|
|
1483
1460
|
"diet_description": value["diet_description"],
|
|
1484
|
-
"education":
|
|
1461
|
+
"education": value["education"],
|
|
1462
|
+
"ehr_answers": value["ehr_answers"] == null ? void 0 : value["ehr_answers"].map(IntakeEhrAnswerToJSON),
|
|
1485
1463
|
"employer": value["employer"],
|
|
1486
|
-
"exercise_frequency":
|
|
1464
|
+
"exercise_frequency": value["exercise_frequency"],
|
|
1487
1465
|
"exercise_minutes_per_week": value["exercise_minutes_per_week"],
|
|
1488
1466
|
"gender_identity": GenderIdentityToJSON(value["gender_identity"]),
|
|
1489
|
-
"living_situation":
|
|
1467
|
+
"living_situation": value["living_situation"],
|
|
1490
1468
|
"notes": value["notes"],
|
|
1491
1469
|
"number_of_dependents": value["number_of_dependents"],
|
|
1492
1470
|
"occupation": value["occupation"],
|
|
1493
1471
|
"occupational_exposures": value["occupational_exposures"],
|
|
1494
|
-
"sexual_orientation":
|
|
1472
|
+
"sexual_orientation": value["sexual_orientation"],
|
|
1495
1473
|
"sexually_active": value["sexually_active"],
|
|
1496
|
-
"substances": value["substances"] == null ? void 0 : value["substances"].map(
|
|
1497
|
-
"tobacco":
|
|
1474
|
+
"substances": value["substances"] == null ? void 0 : value["substances"].map(IntakeSubstanceUseToJSON),
|
|
1475
|
+
"tobacco": IntakeTobaccoUseToJSON(value["tobacco"]),
|
|
1498
1476
|
"travel_history": value["travel_history"]
|
|
1499
1477
|
};
|
|
1500
1478
|
}
|
|
@@ -2188,13 +2166,447 @@ function GetDefaultProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2188
2166
|
return json;
|
|
2189
2167
|
}
|
|
2190
2168
|
return {
|
|
2169
|
+
"first_name": json["first_name"] === void 0 ? void 0 : json["first_name"] === null ? null : json["first_name"],
|
|
2170
|
+
"last_name": json["last_name"] === void 0 ? void 0 : json["last_name"] === null ? null : json["last_name"],
|
|
2191
2171
|
"name": json["name"],
|
|
2192
2172
|
"npi": json["npi"]
|
|
2193
2173
|
};
|
|
2194
2174
|
}
|
|
2195
2175
|
|
|
2176
|
+
// src/models/openapi-generated/patient/models/DeliveryPharmacy.ts
|
|
2177
|
+
function DeliveryPharmacyFromJSON(json) {
|
|
2178
|
+
return DeliveryPharmacyFromJSONTyped(json, false);
|
|
2179
|
+
}
|
|
2180
|
+
function DeliveryPharmacyFromJSONTyped(json, ignoreDiscriminator) {
|
|
2181
|
+
if (json == null) {
|
|
2182
|
+
return json;
|
|
2183
|
+
}
|
|
2184
|
+
return {
|
|
2185
|
+
"city": json["city"],
|
|
2186
|
+
"country": json["country"] == null ? void 0 : json["country"],
|
|
2187
|
+
"email": json["email"],
|
|
2188
|
+
"name": json["name"],
|
|
2189
|
+
"notes": json["notes"] == null ? void 0 : json["notes"],
|
|
2190
|
+
"phone_number": json["phone_number"],
|
|
2191
|
+
"state": json["state"],
|
|
2192
|
+
"street_address": json["street_address"],
|
|
2193
|
+
"zip_code": json["zip_code"]
|
|
2194
|
+
};
|
|
2195
|
+
}
|
|
2196
|
+
function DeliveryPharmacyToJSON(json) {
|
|
2197
|
+
return DeliveryPharmacyToJSONTyped(json, false);
|
|
2198
|
+
}
|
|
2199
|
+
function DeliveryPharmacyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2200
|
+
if (value == null) {
|
|
2201
|
+
return value;
|
|
2202
|
+
}
|
|
2203
|
+
return {
|
|
2204
|
+
"city": value["city"],
|
|
2205
|
+
"country": value["country"],
|
|
2206
|
+
"email": value["email"],
|
|
2207
|
+
"name": value["name"],
|
|
2208
|
+
"notes": value["notes"],
|
|
2209
|
+
"phone_number": value["phone_number"],
|
|
2210
|
+
"state": value["state"],
|
|
2211
|
+
"street_address": value["street_address"],
|
|
2212
|
+
"zip_code": value["zip_code"]
|
|
2213
|
+
};
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
// src/models/openapi-generated/patient/models/DeliveryContact.ts
|
|
2217
|
+
function DeliveryContactToJSON(json) {
|
|
2218
|
+
return DeliveryContactToJSONTyped(json, false);
|
|
2219
|
+
}
|
|
2220
|
+
function DeliveryContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2221
|
+
if (value == null) {
|
|
2222
|
+
return value;
|
|
2223
|
+
}
|
|
2224
|
+
return {
|
|
2225
|
+
"city": value["city"],
|
|
2226
|
+
"country": value["country"],
|
|
2227
|
+
"name": value["name"],
|
|
2228
|
+
"notes": value["notes"],
|
|
2229
|
+
"phone_number": value["phone_number"],
|
|
2230
|
+
"state": value["state"],
|
|
2231
|
+
"street_address": value["street_address"],
|
|
2232
|
+
"zip_code": value["zip_code"]
|
|
2233
|
+
};
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
// src/models/openapi-generated/patient/models/CreateDeliveryOrderRequest.ts
|
|
2237
|
+
function CreateDeliveryOrderRequestToJSON(json) {
|
|
2238
|
+
return CreateDeliveryOrderRequestToJSONTyped(json, false);
|
|
2239
|
+
}
|
|
2240
|
+
function CreateDeliveryOrderRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2241
|
+
if (value == null) {
|
|
2242
|
+
return value;
|
|
2243
|
+
}
|
|
2244
|
+
return {
|
|
2245
|
+
"dropoff": DeliveryContactToJSON(value["dropoff"]),
|
|
2246
|
+
"idempotency_key": value["idempotency_key"],
|
|
2247
|
+
"order_item_id": value["order_item_id"],
|
|
2248
|
+
"pickup_pharmacy": DeliveryPharmacyToJSON(value["pickup_pharmacy"]),
|
|
2249
|
+
"vendor": value["vendor"]
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
// src/models/openapi-generated/patient/models/DeliveryOrder.ts
|
|
2254
|
+
function DeliveryOrderFromJSON(json) {
|
|
2255
|
+
return DeliveryOrderFromJSONTyped(json, false);
|
|
2256
|
+
}
|
|
2257
|
+
function DeliveryOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
2258
|
+
if (json == null) {
|
|
2259
|
+
return json;
|
|
2260
|
+
}
|
|
2261
|
+
return {
|
|
2262
|
+
"created_at": new Date(json["created_at"]),
|
|
2263
|
+
"delivery_order_id": json["delivery_order_id"],
|
|
2264
|
+
"fhir_status": json["fhir_status"] == null ? void 0 : json["fhir_status"],
|
|
2265
|
+
"notification_status": json["notification_status"] == null ? void 0 : json["notification_status"],
|
|
2266
|
+
"order_item_id": json["order_item_id"],
|
|
2267
|
+
"order_reference": json["order_reference"],
|
|
2268
|
+
"pickup_pharmacy": DeliveryPharmacyFromJSON(json["pickup_pharmacy"]),
|
|
2269
|
+
"resource_type": json["resource_type"] == null ? void 0 : json["resource_type"],
|
|
2270
|
+
"status": json["status"],
|
|
2271
|
+
"tracking_url": json["tracking_url"] === void 0 ? void 0 : json["tracking_url"] === null ? null : json["tracking_url"],
|
|
2272
|
+
"updated_at": new Date(json["updated_at"]),
|
|
2273
|
+
"vendor": json["vendor"],
|
|
2274
|
+
"vendor_order_id": json["vendor_order_id"] === void 0 ? void 0 : json["vendor_order_id"] === null ? null : json["vendor_order_id"],
|
|
2275
|
+
"vendor_status": json["vendor_status"] === void 0 ? void 0 : json["vendor_status"] === null ? null : json["vendor_status"]
|
|
2276
|
+
};
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
// src/models/openapi-generated/patient/models/ListDeliveryOrdersResponse.ts
|
|
2280
|
+
function ListDeliveryOrdersResponseFromJSON(json) {
|
|
2281
|
+
return ListDeliveryOrdersResponseFromJSONTyped(json, false);
|
|
2282
|
+
}
|
|
2283
|
+
function ListDeliveryOrdersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2284
|
+
if (json == null) {
|
|
2285
|
+
return json;
|
|
2286
|
+
}
|
|
2287
|
+
return {
|
|
2288
|
+
"limit": json["limit"],
|
|
2289
|
+
"offset": json["offset"],
|
|
2290
|
+
"orders": json["orders"].map(DeliveryOrderFromJSON)
|
|
2291
|
+
};
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
// src/models/openapi-generated/patient/models/OrderItem.ts
|
|
2295
|
+
function OrderItemFromJSON(json) {
|
|
2296
|
+
return OrderItemFromJSONTyped(json, false);
|
|
2297
|
+
}
|
|
2298
|
+
function OrderItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
2299
|
+
if (json == null) {
|
|
2300
|
+
return json;
|
|
2301
|
+
}
|
|
2302
|
+
return {
|
|
2303
|
+
"id": json["id"],
|
|
2304
|
+
"image": json["image"] === void 0 ? void 0 : json["image"] === null ? null : json["image"],
|
|
2305
|
+
"name": json["name"]
|
|
2306
|
+
};
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
// src/models/openapi-generated/patient/models/ListOrderItemsResponse.ts
|
|
2310
|
+
function ListOrderItemsResponseFromJSON(json) {
|
|
2311
|
+
return ListOrderItemsResponseFromJSONTyped(json, false);
|
|
2312
|
+
}
|
|
2313
|
+
function ListOrderItemsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2314
|
+
if (json == null) {
|
|
2315
|
+
return json;
|
|
2316
|
+
}
|
|
2317
|
+
return {
|
|
2318
|
+
"items": json["items"].map(OrderItemFromJSON),
|
|
2319
|
+
"total": json["total"]
|
|
2320
|
+
};
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
// src/models/openapi-generated/patient/models/OrderPriority.ts
|
|
2324
|
+
function OrderPriorityFromJSON(json) {
|
|
2325
|
+
return OrderPriorityFromJSONTyped(json, false);
|
|
2326
|
+
}
|
|
2327
|
+
function OrderPriorityFromJSONTyped(json, ignoreDiscriminator) {
|
|
2328
|
+
return json;
|
|
2329
|
+
}
|
|
2330
|
+
function OrderPriorityToJSON(value) {
|
|
2331
|
+
return value;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
// src/models/openapi-generated/patient/models/PlaceTestOrderRequest.ts
|
|
2335
|
+
function PlaceTestOrderRequestToJSON(json) {
|
|
2336
|
+
return PlaceTestOrderRequestToJSONTyped(json, false);
|
|
2337
|
+
}
|
|
2338
|
+
function PlaceTestOrderRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2339
|
+
if (value == null) {
|
|
2340
|
+
return value;
|
|
2341
|
+
}
|
|
2342
|
+
return {
|
|
2343
|
+
"cpt_code": value["cpt_code"],
|
|
2344
|
+
"diagnosis_codes": value["diagnosis_codes"],
|
|
2345
|
+
"diagnosis_snomed_code": value["diagnosis_snomed_code"],
|
|
2346
|
+
"display": value["display"],
|
|
2347
|
+
"encounter_id": value["encounter_id"],
|
|
2348
|
+
"fasting_required": value["fasting_required"],
|
|
2349
|
+
"idempotency_key": value["idempotency_key"],
|
|
2350
|
+
"lab_name": value["lab_name"],
|
|
2351
|
+
"loinc_code": value["loinc_code"],
|
|
2352
|
+
"notes": value["notes"],
|
|
2353
|
+
"occurrence_date": value["occurrence_date"] == null ? value["occurrence_date"] : value["occurrence_date"].toISOString().substring(0, 10),
|
|
2354
|
+
"occurrence_datetime": value["occurrence_datetime"] == null ? value["occurrence_datetime"] : value["occurrence_datetime"].toISOString(),
|
|
2355
|
+
"performer_name": value["performer_name"],
|
|
2356
|
+
"priority": OrderPriorityToJSON(value["priority"]),
|
|
2357
|
+
"reason": value["reason"],
|
|
2358
|
+
"requester_name": value["requester_name"],
|
|
2359
|
+
"requester_npi": value["requester_npi"],
|
|
2360
|
+
"requisition_number": value["requisition_number"],
|
|
2361
|
+
"snomed_code": value["snomed_code"],
|
|
2362
|
+
"standing_order": value["standing_order"],
|
|
2363
|
+
"test_name": value["test_name"]
|
|
2364
|
+
};
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
// src/models/openapi-generated/patient/models/SpecimenStatus.ts
|
|
2368
|
+
function SpecimenStatusFromJSON(json) {
|
|
2369
|
+
return SpecimenStatusFromJSONTyped(json, false);
|
|
2370
|
+
}
|
|
2371
|
+
function SpecimenStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
2372
|
+
return json;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
// src/models/openapi-generated/patient/models/SpecimenType.ts
|
|
2376
|
+
function SpecimenTypeFromJSON2(json) {
|
|
2377
|
+
return SpecimenTypeFromJSONTyped2(json, false);
|
|
2378
|
+
}
|
|
2379
|
+
function SpecimenTypeFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2380
|
+
return json;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
// src/models/openapi-generated/patient/models/Specimen.ts
|
|
2384
|
+
function SpecimenFromJSON(json) {
|
|
2385
|
+
return SpecimenFromJSONTyped(json, false);
|
|
2386
|
+
}
|
|
2387
|
+
function SpecimenFromJSONTyped(json, ignoreDiscriminator) {
|
|
2388
|
+
if (json == null) {
|
|
2389
|
+
return json;
|
|
2390
|
+
}
|
|
2391
|
+
return {
|
|
2392
|
+
"accession_number": json["accession_number"] === void 0 ? void 0 : json["accession_number"] === null ? null : json["accession_number"],
|
|
2393
|
+
"body_site": json["body_site"] === void 0 ? void 0 : json["body_site"] === null ? null : json["body_site"],
|
|
2394
|
+
"collected_by": json["collected_by"] === void 0 ? void 0 : json["collected_by"] === null ? null : json["collected_by"],
|
|
2395
|
+
"collection_date": json["collection_date"] === void 0 ? void 0 : json["collection_date"] === null ? null : new Date(json["collection_date"]),
|
|
2396
|
+
"collection_datetime": json["collection_datetime"] === void 0 ? void 0 : json["collection_datetime"] === null ? null : new Date(json["collection_datetime"]),
|
|
2397
|
+
"condition": json["condition"] === void 0 ? void 0 : json["condition"] === null ? null : json["condition"],
|
|
2398
|
+
"container": json["container"] === void 0 ? void 0 : json["container"] === null ? null : json["container"],
|
|
2399
|
+
"fhir_id": json["fhir_id"] === void 0 ? void 0 : json["fhir_id"] === null ? null : json["fhir_id"],
|
|
2400
|
+
"notes": json["notes"] === void 0 ? void 0 : json["notes"] === null ? null : json["notes"],
|
|
2401
|
+
"received_datetime": json["received_datetime"] === void 0 ? void 0 : json["received_datetime"] === null ? null : new Date(json["received_datetime"]),
|
|
2402
|
+
"specimen_id": json["specimen_id"] == null ? void 0 : json["specimen_id"],
|
|
2403
|
+
"status": json["status"] == null ? void 0 : SpecimenStatusFromJSON(json["status"]),
|
|
2404
|
+
"type": SpecimenTypeFromJSON2(json["type"]),
|
|
2405
|
+
"volume_ml": json["volume_ml"] === void 0 ? void 0 : json["volume_ml"] === null ? null : json["volume_ml"]
|
|
2406
|
+
};
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
// src/models/openapi-generated/patient/models/OrderStatus.ts
|
|
2410
|
+
function OrderStatusFromJSON(json) {
|
|
2411
|
+
return OrderStatusFromJSONTyped(json, false);
|
|
2412
|
+
}
|
|
2413
|
+
function OrderStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
2414
|
+
return json;
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
// src/models/openapi-generated/patient/models/PlaceTestOrderResponse.ts
|
|
2418
|
+
function PlaceTestOrderResponseFromJSON(json) {
|
|
2419
|
+
return PlaceTestOrderResponseFromJSONTyped(json, false);
|
|
2420
|
+
}
|
|
2421
|
+
function PlaceTestOrderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2422
|
+
if (json == null) {
|
|
2423
|
+
return json;
|
|
2424
|
+
}
|
|
2425
|
+
return {
|
|
2426
|
+
"athena_encounter_id": json["athena_encounter_id"] === void 0 ? void 0 : json["athena_encounter_id"] === null ? null : json["athena_encounter_id"],
|
|
2427
|
+
"athena_order_id": json["athena_order_id"] === void 0 ? void 0 : json["athena_order_id"] === null ? null : json["athena_order_id"],
|
|
2428
|
+
"athena_order_status": json["athena_order_status"] === void 0 ? void 0 : json["athena_order_status"] === null ? null : json["athena_order_status"],
|
|
2429
|
+
"authored_on": json["authored_on"] === void 0 ? void 0 : json["authored_on"] === null ? null : new Date(json["authored_on"]),
|
|
2430
|
+
"cpt_code": json["cpt_code"] === void 0 ? void 0 : json["cpt_code"] === null ? null : json["cpt_code"],
|
|
2431
|
+
"diagnosis_codes": json["diagnosis_codes"] == null ? void 0 : json["diagnosis_codes"],
|
|
2432
|
+
"display": json["display"],
|
|
2433
|
+
"encounter_id": json["encounter_id"] === void 0 ? void 0 : json["encounter_id"] === null ? null : json["encounter_id"],
|
|
2434
|
+
"fasting_required": json["fasting_required"] == null ? void 0 : json["fasting_required"],
|
|
2435
|
+
"fhir_id": json["fhir_id"] === void 0 ? void 0 : json["fhir_id"] === null ? null : json["fhir_id"],
|
|
2436
|
+
"intent": json["intent"] == null ? void 0 : json["intent"],
|
|
2437
|
+
"lab_name": json["lab_name"] === void 0 ? void 0 : json["lab_name"] === null ? null : json["lab_name"],
|
|
2438
|
+
"loinc_code": json["loinc_code"] === void 0 ? void 0 : json["loinc_code"] === null ? null : json["loinc_code"],
|
|
2439
|
+
"notes": json["notes"] === void 0 ? void 0 : json["notes"] === null ? null : json["notes"],
|
|
2440
|
+
"occurrence_date": json["occurrence_date"] === void 0 ? void 0 : json["occurrence_date"] === null ? null : new Date(json["occurrence_date"]),
|
|
2441
|
+
"occurrence_datetime": json["occurrence_datetime"] === void 0 ? void 0 : json["occurrence_datetime"] === null ? null : new Date(json["occurrence_datetime"]),
|
|
2442
|
+
"order_id": json["order_id"] == null ? void 0 : json["order_id"],
|
|
2443
|
+
"patient_fhir_id": json["patient_fhir_id"] === void 0 ? void 0 : json["patient_fhir_id"] === null ? null : json["patient_fhir_id"],
|
|
2444
|
+
"performer_name": json["performer_name"] === void 0 ? void 0 : json["performer_name"] === null ? null : json["performer_name"],
|
|
2445
|
+
"priority": json["priority"] == null ? void 0 : OrderPriorityFromJSON(json["priority"]),
|
|
2446
|
+
"reason": json["reason"] === void 0 ? void 0 : json["reason"] === null ? null : json["reason"],
|
|
2447
|
+
"requester_name": json["requester_name"] === void 0 ? void 0 : json["requester_name"] === null ? null : json["requester_name"],
|
|
2448
|
+
"requester_npi": json["requester_npi"] === void 0 ? void 0 : json["requester_npi"] === null ? null : json["requester_npi"],
|
|
2449
|
+
"requisition_number": json["requisition_number"] === void 0 ? void 0 : json["requisition_number"] === null ? null : json["requisition_number"],
|
|
2450
|
+
"snomed_code": json["snomed_code"] === void 0 ? void 0 : json["snomed_code"] === null ? null : json["snomed_code"],
|
|
2451
|
+
"specimen": json["specimen"] === void 0 ? void 0 : json["specimen"] === null ? null : SpecimenFromJSON(json["specimen"]),
|
|
2452
|
+
"standing_order": json["standing_order"] == null ? void 0 : json["standing_order"],
|
|
2453
|
+
"status": json["status"] == null ? void 0 : OrderStatusFromJSON(json["status"])
|
|
2454
|
+
};
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
// src/models/openapi-generated/patient/models/GetTestOrderResponse.ts
|
|
2458
|
+
function GetTestOrderResponseFromJSON(json) {
|
|
2459
|
+
return GetTestOrderResponseFromJSONTyped(json, false);
|
|
2460
|
+
}
|
|
2461
|
+
function GetTestOrderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2462
|
+
if (json == null) {
|
|
2463
|
+
return json;
|
|
2464
|
+
}
|
|
2465
|
+
return {
|
|
2466
|
+
"athena_encounter_id": json["athena_encounter_id"] === void 0 ? void 0 : json["athena_encounter_id"] === null ? null : json["athena_encounter_id"],
|
|
2467
|
+
"athena_order_id": json["athena_order_id"] === void 0 ? void 0 : json["athena_order_id"] === null ? null : json["athena_order_id"],
|
|
2468
|
+
"athena_order_status": json["athena_order_status"] === void 0 ? void 0 : json["athena_order_status"] === null ? null : json["athena_order_status"],
|
|
2469
|
+
"authored_on": json["authored_on"] === void 0 ? void 0 : json["authored_on"] === null ? null : new Date(json["authored_on"]),
|
|
2470
|
+
"cpt_code": json["cpt_code"] === void 0 ? void 0 : json["cpt_code"] === null ? null : json["cpt_code"],
|
|
2471
|
+
"diagnosis_codes": json["diagnosis_codes"] == null ? void 0 : json["diagnosis_codes"],
|
|
2472
|
+
"display": json["display"],
|
|
2473
|
+
"encounter_id": json["encounter_id"] === void 0 ? void 0 : json["encounter_id"] === null ? null : json["encounter_id"],
|
|
2474
|
+
"fasting_required": json["fasting_required"] == null ? void 0 : json["fasting_required"],
|
|
2475
|
+
"fhir_id": json["fhir_id"] === void 0 ? void 0 : json["fhir_id"] === null ? null : json["fhir_id"],
|
|
2476
|
+
"intent": json["intent"] == null ? void 0 : json["intent"],
|
|
2477
|
+
"lab_name": json["lab_name"] === void 0 ? void 0 : json["lab_name"] === null ? null : json["lab_name"],
|
|
2478
|
+
"loinc_code": json["loinc_code"] === void 0 ? void 0 : json["loinc_code"] === null ? null : json["loinc_code"],
|
|
2479
|
+
"notes": json["notes"] === void 0 ? void 0 : json["notes"] === null ? null : json["notes"],
|
|
2480
|
+
"occurrence_date": json["occurrence_date"] === void 0 ? void 0 : json["occurrence_date"] === null ? null : new Date(json["occurrence_date"]),
|
|
2481
|
+
"occurrence_datetime": json["occurrence_datetime"] === void 0 ? void 0 : json["occurrence_datetime"] === null ? null : new Date(json["occurrence_datetime"]),
|
|
2482
|
+
"order_id": json["order_id"] == null ? void 0 : json["order_id"],
|
|
2483
|
+
"patient_fhir_id": json["patient_fhir_id"] === void 0 ? void 0 : json["patient_fhir_id"] === null ? null : json["patient_fhir_id"],
|
|
2484
|
+
"performer_name": json["performer_name"] === void 0 ? void 0 : json["performer_name"] === null ? null : json["performer_name"],
|
|
2485
|
+
"priority": json["priority"] == null ? void 0 : OrderPriorityFromJSON(json["priority"]),
|
|
2486
|
+
"reason": json["reason"] === void 0 ? void 0 : json["reason"] === null ? null : json["reason"],
|
|
2487
|
+
"requester_name": json["requester_name"] === void 0 ? void 0 : json["requester_name"] === null ? null : json["requester_name"],
|
|
2488
|
+
"requester_npi": json["requester_npi"] === void 0 ? void 0 : json["requester_npi"] === null ? null : json["requester_npi"],
|
|
2489
|
+
"requisition_number": json["requisition_number"] === void 0 ? void 0 : json["requisition_number"] === null ? null : json["requisition_number"],
|
|
2490
|
+
"snomed_code": json["snomed_code"] === void 0 ? void 0 : json["snomed_code"] === null ? null : json["snomed_code"],
|
|
2491
|
+
"specimen": json["specimen"] === void 0 ? void 0 : json["specimen"] === null ? null : SpecimenFromJSON(json["specimen"]),
|
|
2492
|
+
"standing_order": json["standing_order"] == null ? void 0 : json["standing_order"],
|
|
2493
|
+
"status": json["status"] == null ? void 0 : OrderStatusFromJSON(json["status"])
|
|
2494
|
+
};
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
// src/models/openapi-generated/patient/models/TestOrder.ts
|
|
2498
|
+
function TestOrderFromJSON(json) {
|
|
2499
|
+
return TestOrderFromJSONTyped(json, false);
|
|
2500
|
+
}
|
|
2501
|
+
function TestOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
2502
|
+
if (json == null) {
|
|
2503
|
+
return json;
|
|
2504
|
+
}
|
|
2505
|
+
return {
|
|
2506
|
+
"athena_encounter_id": json["athena_encounter_id"] === void 0 ? void 0 : json["athena_encounter_id"] === null ? null : json["athena_encounter_id"],
|
|
2507
|
+
"athena_order_id": json["athena_order_id"] === void 0 ? void 0 : json["athena_order_id"] === null ? null : json["athena_order_id"],
|
|
2508
|
+
"athena_order_status": json["athena_order_status"] === void 0 ? void 0 : json["athena_order_status"] === null ? null : json["athena_order_status"],
|
|
2509
|
+
"authored_on": json["authored_on"] === void 0 ? void 0 : json["authored_on"] === null ? null : new Date(json["authored_on"]),
|
|
2510
|
+
"cpt_code": json["cpt_code"] === void 0 ? void 0 : json["cpt_code"] === null ? null : json["cpt_code"],
|
|
2511
|
+
"diagnosis_codes": json["diagnosis_codes"] == null ? void 0 : json["diagnosis_codes"],
|
|
2512
|
+
"display": json["display"],
|
|
2513
|
+
"encounter_id": json["encounter_id"] === void 0 ? void 0 : json["encounter_id"] === null ? null : json["encounter_id"],
|
|
2514
|
+
"fasting_required": json["fasting_required"] == null ? void 0 : json["fasting_required"],
|
|
2515
|
+
"fhir_id": json["fhir_id"] === void 0 ? void 0 : json["fhir_id"] === null ? null : json["fhir_id"],
|
|
2516
|
+
"intent": json["intent"] == null ? void 0 : json["intent"],
|
|
2517
|
+
"lab_name": json["lab_name"] === void 0 ? void 0 : json["lab_name"] === null ? null : json["lab_name"],
|
|
2518
|
+
"loinc_code": json["loinc_code"] === void 0 ? void 0 : json["loinc_code"] === null ? null : json["loinc_code"],
|
|
2519
|
+
"notes": json["notes"] === void 0 ? void 0 : json["notes"] === null ? null : json["notes"],
|
|
2520
|
+
"occurrence_date": json["occurrence_date"] === void 0 ? void 0 : json["occurrence_date"] === null ? null : new Date(json["occurrence_date"]),
|
|
2521
|
+
"occurrence_datetime": json["occurrence_datetime"] === void 0 ? void 0 : json["occurrence_datetime"] === null ? null : new Date(json["occurrence_datetime"]),
|
|
2522
|
+
"order_id": json["order_id"] == null ? void 0 : json["order_id"],
|
|
2523
|
+
"patient_fhir_id": json["patient_fhir_id"] === void 0 ? void 0 : json["patient_fhir_id"] === null ? null : json["patient_fhir_id"],
|
|
2524
|
+
"performer_name": json["performer_name"] === void 0 ? void 0 : json["performer_name"] === null ? null : json["performer_name"],
|
|
2525
|
+
"priority": json["priority"] == null ? void 0 : OrderPriorityFromJSON(json["priority"]),
|
|
2526
|
+
"reason": json["reason"] === void 0 ? void 0 : json["reason"] === null ? null : json["reason"],
|
|
2527
|
+
"requester_name": json["requester_name"] === void 0 ? void 0 : json["requester_name"] === null ? null : json["requester_name"],
|
|
2528
|
+
"requester_npi": json["requester_npi"] === void 0 ? void 0 : json["requester_npi"] === null ? null : json["requester_npi"],
|
|
2529
|
+
"requisition_number": json["requisition_number"] === void 0 ? void 0 : json["requisition_number"] === null ? null : json["requisition_number"],
|
|
2530
|
+
"snomed_code": json["snomed_code"] === void 0 ? void 0 : json["snomed_code"] === null ? null : json["snomed_code"],
|
|
2531
|
+
"specimen": json["specimen"] === void 0 ? void 0 : json["specimen"] === null ? null : SpecimenFromJSON(json["specimen"]),
|
|
2532
|
+
"standing_order": json["standing_order"] == null ? void 0 : json["standing_order"],
|
|
2533
|
+
"status": json["status"] == null ? void 0 : OrderStatusFromJSON(json["status"])
|
|
2534
|
+
};
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
// src/models/openapi-generated/patient/models/ListTestOrdersResponse.ts
|
|
2538
|
+
function ListTestOrdersResponseFromJSON(json) {
|
|
2539
|
+
return ListTestOrdersResponseFromJSONTyped(json, false);
|
|
2540
|
+
}
|
|
2541
|
+
function ListTestOrdersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2542
|
+
if (json == null) {
|
|
2543
|
+
return json;
|
|
2544
|
+
}
|
|
2545
|
+
return {
|
|
2546
|
+
"orders": json["orders"].map(TestOrderFromJSON),
|
|
2547
|
+
"total": json["total"]
|
|
2548
|
+
};
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
// src/models/openapi-generated/patient/models/CancelTestOrderResponse.ts
|
|
2552
|
+
function CancelTestOrderResponseFromJSON(json) {
|
|
2553
|
+
return CancelTestOrderResponseFromJSONTyped(json, false);
|
|
2554
|
+
}
|
|
2555
|
+
function CancelTestOrderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2556
|
+
if (json == null) {
|
|
2557
|
+
return json;
|
|
2558
|
+
}
|
|
2559
|
+
return {
|
|
2560
|
+
"cancelled": json["cancelled"],
|
|
2561
|
+
"fhir_id": json["fhir_id"],
|
|
2562
|
+
"status": json["status"]
|
|
2563
|
+
};
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2196
2566
|
// src/clients/PatientClient.ts
|
|
2197
2567
|
var PatientClient = class extends BaseServiceClient {
|
|
2568
|
+
/** Create a clinical order; Athena requires an owned linked encounter and existing diagnosis. */
|
|
2569
|
+
async placeTestOrder(request) {
|
|
2570
|
+
return PlaceTestOrderResponseFromJSON(await this.send("POST", "/patients/orders", {
|
|
2571
|
+
body: PlaceTestOrderRequestToJSON(request)
|
|
2572
|
+
}));
|
|
2573
|
+
}
|
|
2574
|
+
async getTestOrder(orderId) {
|
|
2575
|
+
return GetTestOrderResponseFromJSON(await this.send("GET", "/patients/orders/{order_id}", {
|
|
2576
|
+
pathParams: { order_id: orderId }
|
|
2577
|
+
}));
|
|
2578
|
+
}
|
|
2579
|
+
async listTestOrders(query = {}) {
|
|
2580
|
+
return ListTestOrdersResponseFromJSON(await this.send("GET", "/patients/orders", { query }));
|
|
2581
|
+
}
|
|
2582
|
+
/** Athena-linked cancellations return a conflict until cancelled in Athena. */
|
|
2583
|
+
async cancelTestOrder(orderId) {
|
|
2584
|
+
return CancelTestOrderResponseFromJSON(await this.send("DELETE", "/patients/orders/{order_id}", {
|
|
2585
|
+
pathParams: { order_id: orderId }
|
|
2586
|
+
}));
|
|
2587
|
+
}
|
|
2588
|
+
/** List orderable catalog items: id, name and image. */
|
|
2589
|
+
async listOrderItems() {
|
|
2590
|
+
return ListOrderItemsResponseFromJSON(await this.send("GET", "/patients/order-items"));
|
|
2591
|
+
}
|
|
2592
|
+
/** Submit a delivery; reuse idempotency_key for identical retries. Can dispatch a courier. */
|
|
2593
|
+
async createDeliveryOrder(request) {
|
|
2594
|
+
const response = await this.send("POST", "/patients/delivery-orders", {
|
|
2595
|
+
body: CreateDeliveryOrderRequestToJSON(request)
|
|
2596
|
+
});
|
|
2597
|
+
return DeliveryOrderFromJSON(response);
|
|
2598
|
+
}
|
|
2599
|
+
/** Get an owned delivery by internal ID and refresh its vendor status. */
|
|
2600
|
+
async getDeliveryOrder(deliveryOrderId) {
|
|
2601
|
+
const response = await this.send("GET", "/patients/delivery-orders/{delivery_order_id}", {
|
|
2602
|
+
pathParams: { delivery_order_id: deliveryOrderId }
|
|
2603
|
+
});
|
|
2604
|
+
return DeliveryOrderFromJSON(response);
|
|
2605
|
+
}
|
|
2606
|
+
/** List saved delivery orders; vendor statuses are last observed values. */
|
|
2607
|
+
async listDeliveryOrders(query = {}) {
|
|
2608
|
+
return ListDeliveryOrdersResponseFromJSON(await this.send("GET", "/patients/delivery-orders", { query }));
|
|
2609
|
+
}
|
|
2198
2610
|
/** Add one agent-collected intake section and return actionable validation errors. */
|
|
2199
2611
|
async addToIntake(patientId, section, summary) {
|
|
2200
2612
|
const response = await this.send("POST", "/healthrecords/intake/add", {
|
|
@@ -2410,6 +2822,17 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
2410
2822
|
body: { source, payload }
|
|
2411
2823
|
});
|
|
2412
2824
|
}
|
|
2825
|
+
listImpiloDevices() {
|
|
2826
|
+
return this.send("GET", "/patients/vitals/devices/impilo");
|
|
2827
|
+
}
|
|
2828
|
+
assignImpiloDevice(itemId) {
|
|
2829
|
+
return this.send("POST", "/patients/vitals/deviceassign/impilo", {
|
|
2830
|
+
body: { item_id: itemId }
|
|
2831
|
+
});
|
|
2832
|
+
}
|
|
2833
|
+
importImpiloVitals() {
|
|
2834
|
+
return this.send("POST", "/patients/vitals/import/impilo");
|
|
2835
|
+
}
|
|
2413
2836
|
importActivity(source, payload) {
|
|
2414
2837
|
return this.send("POST", "/patients/activity/import", {
|
|
2415
2838
|
body: { source, payload }
|