@healthcloudai/hc-sdk 3.14.0 → 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.js CHANGED
@@ -1294,104 +1294,81 @@ function GynHistoryToJSONTyped(value, ignoreDiscriminator = false) {
1294
1294
  };
1295
1295
  }
1296
1296
 
1297
- // src/models/openapi-generated/patient/models/SubstanceStatus.ts
1298
- function SubstanceStatusToJSON(value) {
1299
- return value;
1300
- }
1301
-
1302
- // src/models/openapi-generated/patient/models/SubstanceUse.ts
1303
- function SubstanceUseToJSON(json) {
1304
- return SubstanceUseToJSONTyped(json, false);
1297
+ // src/models/openapi-generated/patient/models/IntakeTobaccoUse.ts
1298
+ function IntakeTobaccoUseToJSON(json) {
1299
+ return IntakeTobaccoUseToJSONTyped(json, false);
1305
1300
  }
1306
- function SubstanceUseToJSONTyped(value, ignoreDiscriminator = false) {
1301
+ function IntakeTobaccoUseToJSONTyped(value, ignoreDiscriminator = false) {
1307
1302
  if (value == null) {
1308
1303
  return value;
1309
1304
  }
1310
1305
  return {
1311
- "frequency": value["frequency"],
1312
- "notes": value["notes"],
1306
+ ...value,
1307
+ "cessation_aids": value["cessation_aids"],
1308
+ "cigarettes_per_day": value["cigarettes_per_day"],
1309
+ "pack_years": value["pack_years"],
1313
1310
  "quit_year": value["quit_year"],
1314
- "route": value["route"],
1315
1311
  "start_year": value["start_year"],
1316
- "status": SubstanceStatusToJSON(value["status"]),
1317
- "substance": value["substance"]
1312
+ "status": value["status"]
1318
1313
  };
1319
1314
  }
1320
1315
 
1321
- // src/models/openapi-generated/patient/models/DietCategory.ts
1322
- function DietCategoryToJSON(value) {
1323
- return value;
1324
- }
1325
-
1326
- // src/models/openapi-generated/patient/models/ExerciseFrequency.ts
1327
- function ExerciseFrequencyToJSON(value) {
1328
- return value;
1316
+ // src/models/openapi-generated/patient/models/IntakeAlcoholUse.ts
1317
+ function IntakeAlcoholUseToJSON(json) {
1318
+ return IntakeAlcoholUseToJSONTyped(json, false);
1329
1319
  }
1330
-
1331
- // src/models/openapi-generated/patient/models/LivingSituation.ts
1332
- function LivingSituationToJSON(value) {
1333
- return value;
1320
+ function IntakeAlcoholUseToJSONTyped(value, ignoreDiscriminator = false) {
1321
+ if (value == null) {
1322
+ return value;
1323
+ }
1324
+ return {
1325
+ ...value,
1326
+ "binge_drinking": value["binge_drinking"],
1327
+ "drinks_per_week": value["drinks_per_week"],
1328
+ "frequency": value["frequency"],
1329
+ "notes": value["notes"]
1330
+ };
1334
1331
  }
1335
1332
 
1336
- // src/models/openapi-generated/patient/models/SmokingStatus.ts
1337
- function SmokingStatusToJSON(value) {
1333
+ // src/models/openapi-generated/patient/models/GenderIdentity.ts
1334
+ function GenderIdentityToJSON(value) {
1338
1335
  return value;
1339
1336
  }
1340
1337
 
1341
- // src/models/openapi-generated/patient/models/TobaccoUse.ts
1342
- function TobaccoUseToJSON(json) {
1343
- return TobaccoUseToJSONTyped(json, false);
1338
+ // src/models/openapi-generated/patient/models/IntakeSubstanceUse.ts
1339
+ function IntakeSubstanceUseToJSON(json) {
1340
+ return IntakeSubstanceUseToJSONTyped(json, false);
1344
1341
  }
1345
- function TobaccoUseToJSONTyped(value, ignoreDiscriminator = false) {
1342
+ function IntakeSubstanceUseToJSONTyped(value, ignoreDiscriminator = false) {
1346
1343
  if (value == null) {
1347
1344
  return value;
1348
1345
  }
1349
1346
  return {
1350
- "cessation_aids": value["cessation_aids"],
1351
- "cigarettes_per_day": value["cigarettes_per_day"],
1352
- "pack_years": value["pack_years"],
1347
+ ...value,
1348
+ "frequency": value["frequency"],
1349
+ "notes": value["notes"],
1353
1350
  "quit_year": value["quit_year"],
1351
+ "route": value["route"],
1354
1352
  "start_year": value["start_year"],
1355
- "status": SmokingStatusToJSON(value["status"])
1353
+ "status": value["status"],
1354
+ "substance": value["substance"]
1356
1355
  };
1357
1356
  }
1358
1357
 
1359
- // src/models/openapi-generated/patient/models/AlcoholFrequency.ts
1360
- function AlcoholFrequencyToJSON(value) {
1361
- return value;
1362
- }
1363
-
1364
- // src/models/openapi-generated/patient/models/AlcoholUse.ts
1365
- function AlcoholUseToJSON(json) {
1366
- return AlcoholUseToJSONTyped(json, false);
1358
+ // src/models/openapi-generated/patient/models/IntakeEhrAnswer.ts
1359
+ function IntakeEhrAnswerToJSON(json) {
1360
+ return IntakeEhrAnswerToJSONTyped(json, false);
1367
1361
  }
1368
- function AlcoholUseToJSONTyped(value, ignoreDiscriminator = false) {
1362
+ function IntakeEhrAnswerToJSONTyped(value, ignoreDiscriminator = false) {
1369
1363
  if (value == null) {
1370
1364
  return value;
1371
1365
  }
1372
1366
  return {
1373
- "binge_drinking": value["binge_drinking"],
1374
- "drinks_per_week": value["drinks_per_week"],
1375
- "frequency": AlcoholFrequencyToJSON(value["frequency"]),
1376
- "notes": value["notes"]
1367
+ "question_key": value["question_key"],
1368
+ "value": value["value"]
1377
1369
  };
1378
1370
  }
1379
1371
 
1380
- // src/models/openapi-generated/patient/models/GenderIdentity.ts
1381
- function GenderIdentityToJSON(value) {
1382
- return value;
1383
- }
1384
-
1385
- // src/models/openapi-generated/patient/models/EducationLevel.ts
1386
- function EducationLevelToJSON(value) {
1387
- return value;
1388
- }
1389
-
1390
- // src/models/openapi-generated/patient/models/SexualOrientation.ts
1391
- function SexualOrientationToJSON(value) {
1392
- return value;
1393
- }
1394
-
1395
1372
  // src/models/openapi-generated/patient/models/IntakeSocialHistory.ts
1396
1373
  function IntakeSocialHistoryToJSON(json) {
1397
1374
  return IntakeSocialHistoryToJSONTyped(json, false);
@@ -1402,24 +1379,25 @@ function IntakeSocialHistoryToJSONTyped(value, ignoreDiscriminator = false) {
1402
1379
  }
1403
1380
  return {
1404
1381
  ...value,
1405
- "alcohol": AlcoholUseToJSON(value["alcohol"]),
1382
+ "alcohol": IntakeAlcoholUseToJSON(value["alcohol"]),
1406
1383
  "contraception": value["contraception"],
1407
- "diet_category": DietCategoryToJSON(value["diet_category"]),
1384
+ "diet_category": value["diet_category"],
1408
1385
  "diet_description": value["diet_description"],
1409
- "education": EducationLevelToJSON(value["education"]),
1386
+ "education": value["education"],
1387
+ "ehr_answers": value["ehr_answers"] == null ? void 0 : value["ehr_answers"].map(IntakeEhrAnswerToJSON),
1410
1388
  "employer": value["employer"],
1411
- "exercise_frequency": ExerciseFrequencyToJSON(value["exercise_frequency"]),
1389
+ "exercise_frequency": value["exercise_frequency"],
1412
1390
  "exercise_minutes_per_week": value["exercise_minutes_per_week"],
1413
1391
  "gender_identity": GenderIdentityToJSON(value["gender_identity"]),
1414
- "living_situation": LivingSituationToJSON(value["living_situation"]),
1392
+ "living_situation": value["living_situation"],
1415
1393
  "notes": value["notes"],
1416
1394
  "number_of_dependents": value["number_of_dependents"],
1417
1395
  "occupation": value["occupation"],
1418
1396
  "occupational_exposures": value["occupational_exposures"],
1419
- "sexual_orientation": SexualOrientationToJSON(value["sexual_orientation"]),
1397
+ "sexual_orientation": value["sexual_orientation"],
1420
1398
  "sexually_active": value["sexually_active"],
1421
- "substances": value["substances"] == null ? void 0 : value["substances"].map(SubstanceUseToJSON),
1422
- "tobacco": TobaccoUseToJSON(value["tobacco"]),
1399
+ "substances": value["substances"] == null ? void 0 : value["substances"].map(IntakeSubstanceUseToJSON),
1400
+ "tobacco": IntakeTobaccoUseToJSON(value["tobacco"]),
1423
1401
  "travel_history": value["travel_history"]
1424
1402
  };
1425
1403
  }
@@ -2113,6 +2091,8 @@ function GetDefaultProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
2113
2091
  return json;
2114
2092
  }
2115
2093
  return {
2094
+ "first_name": json["first_name"] === void 0 ? void 0 : json["first_name"] === null ? null : json["first_name"],
2095
+ "last_name": json["last_name"] === void 0 ? void 0 : json["last_name"] === null ? null : json["last_name"],
2116
2096
  "name": json["name"],
2117
2097
  "npi": json["npi"]
2118
2098
  };
@@ -2767,6 +2747,17 @@ var PatientClient = class extends BaseServiceClient {
2767
2747
  body: { source, payload }
2768
2748
  });
2769
2749
  }
2750
+ listImpiloDevices() {
2751
+ return this.send("GET", "/patients/vitals/devices/impilo");
2752
+ }
2753
+ assignImpiloDevice(itemId) {
2754
+ return this.send("POST", "/patients/vitals/deviceassign/impilo", {
2755
+ body: { item_id: itemId }
2756
+ });
2757
+ }
2758
+ importImpiloVitals() {
2759
+ return this.send("POST", "/patients/vitals/import/impilo");
2760
+ }
2770
2761
  importActivity(source, payload) {
2771
2762
  return this.send("POST", "/patients/activity/import", {
2772
2763
  body: { source, payload }
@@ -1,7 +1,7 @@
1
1
  # AthenaHealthClient
2
2
 
3
3
  - [`addEncounterReason`](../operations/connectors.athenaAddEncounterReason.md) — Add a configured encounter reason
4
- - [`addLabResultDocument`](../operations/connectors.athenaAddLabResultDocument.md) — Add lab result document (athenahealth)
4
+ - [`addLabResultDocument`](../operations/connectors.athenaAddLabResultDocument.md) — Create a result document, defaulting routing to the tenant provider
5
5
  - [`addPreferredPharmacy`](../operations/connectors.athenaAddPreferredPharmacy.md) — Athena's PUT /chart/{id}/pharmacies/preferred 400s without either clinicalproviderid or ncpdpid in the body — there's no way to add "a" preferred pharmacy without saying which one
6
6
  - [`answerHealthQuestion`](../operations/connectors.athenaAnswerHealthQuestion.md) — Answer health question (athenahealth)
7
7
  - [`bookAppointment`](../operations/connectors.athenaBookAppointment.md) — Book an open appointment slot (without the telehealth deep link step)
@@ -5,6 +5,7 @@
5
5
  - [`saveNotification`](../operations/patient.addNotification.md) — Add a notification
6
6
  - [`addToIntake`](../operations/patient.addPatientIntake.md) — Add one structured patient intake section
7
7
  - [`scanIdentityDocument`](../operations/patient.analyzeIdentityDocument.md) — OCR an identity document
8
+ - [`assignImpiloDevice`](../operations/patient.assignImpiloDevice.md) — Assign Impilo device to patient
8
9
  - [`askAssistant`](../operations/patient.assistantChat.md) — Grounded assistant chat
9
10
  - [`classifyVoiceCommand`](../operations/patient.assistantClassify.md) — Classify a voice command into an action code
10
11
  - [`ocrIdentityDocument`](../operations/patient.assistantOcr.md) — OCR an identity document via vision LLM
@@ -59,6 +60,7 @@
59
60
  - [`getTestOrder`](../operations/patient.getTestOrder.md) — Get a diagnostic test order
60
61
  - [`importActivity`](../operations/patient.importActivity.md) — Import activity
61
62
  - [`importCCDA`](../operations/patient.importHealthRecord.md) — Import a health record
63
+ - [`importImpiloVitals`](../operations/patient.importImpiloVitals.md) — Import Impilo RPM vitals
62
64
  - [`importVitals`](../operations/patient.importVitals.md) — Import vitals
63
65
  - [`initHealthRecordImport`](../operations/patient.initHealthRecordImport.md) — Check health-record import status
64
66
  - [`listAssistantActions`](../operations/patient.listActions.md) — List assistant actions
@@ -66,6 +68,7 @@
66
68
  - [`listDeliveryOrders`](../operations/patient.listDeliveryOrders.md) — List the patient's delivery orders
67
69
  - [`listDependents`](../operations/patient.listDependents.md) — List dependents
68
70
  - [`listEncounters`](../operations/patient.listEncounters.md) — List encounters
71
+ - [`listImpiloDevices`](../operations/patient.listImpiloDevices.md) — List Impilo device types
69
72
  - [`listKnowledge`](../operations/patient.listKnowledge.md) — List knowledge-base collections and entries
70
73
  - [`listMedications`](../operations/patient.listMedications.md) — List medications
71
74
  - [`listNotifications`](../operations/patient.listNotifications.md) — List notifications
@@ -1,5 +1,5 @@
1
1
  {
2
- "docsDataContentDigest": "sha256:df1a2fcf6a4ca58ea6db9d651fa27edf744bfb2b185a14b557bf343292398c96",
2
+ "docsDataContentDigest": "sha256:57be1634e8f62479ff0bdf4d75acb90286e23c24965f14d7a9bf8c1ccba52d60",
3
3
  "generatedFiles": [
4
4
  "authentication.md",
5
5
  "clients/AmsClient.md",
@@ -85,6 +85,8 @@
85
85
  "models/AppleIdTokenClaims.md",
86
86
  "models/Appointment.md",
87
87
  "models/AppointmentStatus.md",
88
+ "models/AssignImpiloDeviceRequest.md",
89
+ "models/AssignImpiloDeviceResponse.md",
88
90
  "models/AssistantAction.md",
89
91
  "models/AssistantChatRequest.md",
90
92
  "models/AssistantChatResponse.md",
@@ -1108,6 +1110,7 @@
1108
1110
  "models/ImpiloCreatePatientRequest.md",
1109
1111
  "models/ImpiloCreateProcurementRequest.md",
1110
1112
  "models/ImpiloDevice.md",
1113
+ "models/ImpiloDeviceItem.md",
1111
1114
  "models/ImpiloDeviceListResponse.md",
1112
1115
  "models/ImpiloDeviceValidationResponse.md",
1113
1116
  "models/ImpiloDisableReadingsRequest.md",
@@ -1231,6 +1234,7 @@
1231
1234
  "models/ListFamilyHistoryResponse.md",
1232
1235
  "models/ListFunctionalStatusResponse.md",
1233
1236
  "models/ListImmunizationsResponse.md",
1237
+ "models/ListImpiloDevicesResponse.md",
1234
1238
  "models/ListKnowledgeResponse.md",
1235
1239
  "models/ListMedicalConceptsGetResponse.md",
1236
1240
  "models/ListNotificationsResponse.md",
@@ -2991,6 +2995,7 @@
2991
2995
  "operations/patient.addNotification.md",
2992
2996
  "operations/patient.addPatientIntake.md",
2993
2997
  "operations/patient.analyzeIdentityDocument.md",
2998
+ "operations/patient.assignImpiloDevice.md",
2994
2999
  "operations/patient.assistantChat.md",
2995
3000
  "operations/patient.assistantClassify.md",
2996
3001
  "operations/patient.assistantOcr.md",
@@ -3046,6 +3051,7 @@
3046
3051
  "operations/patient.getTestOrder.md",
3047
3052
  "operations/patient.importActivity.md",
3048
3053
  "operations/patient.importHealthRecord.md",
3054
+ "operations/patient.importImpiloVitals.md",
3049
3055
  "operations/patient.importVitals.md",
3050
3056
  "operations/patient.initHealthRecordImport.md",
3051
3057
  "operations/patient.listActions.md",
@@ -3053,6 +3059,7 @@
3053
3059
  "operations/patient.listDeliveryOrders.md",
3054
3060
  "operations/patient.listDependents.md",
3055
3061
  "operations/patient.listEncounters.md",
3062
+ "operations/patient.listImpiloDevices.md",
3056
3063
  "operations/patient.listKnowledge.md",
3057
3064
  "operations/patient.listMedications.md",
3058
3065
  "operations/patient.listNotifications.md",
@@ -3133,7 +3140,7 @@
3133
3140
  "operations/vitals.recordVitals.md"
3134
3141
  ],
3135
3142
  "language": "nodejs",
3136
- "modelCount": 2043,
3137
- "operationCount": 1033,
3143
+ "modelCount": 2047,
3144
+ "operationCount": 1036,
3138
3145
  "schemaVersion": 1
3139
3146
  }
@@ -15,7 +15,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
15
15
  - [Exchange code (Apple)](../operations/connectors.appleAuthExchangeCode.md)
16
16
  - [Generate client secret (Apple)](../operations/connectors.appleAuthGenerateClientSecret.md)
17
17
  - [Add a configured encounter reason](../operations/connectors.athenaAddEncounterReason.md)
18
- - [Add lab result document (athenahealth)](../operations/connectors.athenaAddLabResultDocument.md)
18
+ - [Create a result document, defaulting routing to the tenant provider](../operations/connectors.athenaAddLabResultDocument.md)
19
19
  - [Athena's PUT /chart/{id}/pharmacies/preferred 400s without either clinicalproviderid or ncpdpid in the body — there's no way to add "a" preferred pharmacy without saying which one](../operations/connectors.athenaAddPreferredPharmacy.md)
20
20
  - [Answer health question (athenahealth)](../operations/connectors.athenaAnswerHealthQuestion.md)
21
21
  - [Book an open appointment slot (without the telehealth deep link step)](../operations/connectors.athenaBookAppointment.md)
@@ -895,6 +895,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
895
895
  - [Add a notification](../operations/patient.addNotification.md)
896
896
  - [Add one structured patient intake section](../operations/patient.addPatientIntake.md)
897
897
  - [OCR an identity document](../operations/patient.analyzeIdentityDocument.md)
898
+ - [Assign Impilo device to patient](../operations/patient.assignImpiloDevice.md)
898
899
  - [Grounded assistant chat](../operations/patient.assistantChat.md)
899
900
  - [Classify a voice command into an action code](../operations/patient.assistantClassify.md)
900
901
  - [OCR an identity document via vision LLM](../operations/patient.assistantOcr.md)
@@ -950,6 +951,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
950
951
  - [Get a diagnostic test order](../operations/patient.getTestOrder.md)
951
952
  - [Import activity](../operations/patient.importActivity.md)
952
953
  - [Import a health record](../operations/patient.importHealthRecord.md)
954
+ - [Import Impilo RPM vitals](../operations/patient.importImpiloVitals.md)
953
955
  - [Import vitals](../operations/patient.importVitals.md)
954
956
  - [Check health-record import status](../operations/patient.initHealthRecordImport.md)
955
957
  - [List assistant actions](../operations/patient.listActions.md)
@@ -957,6 +959,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
957
959
  - [List the patient's delivery orders](../operations/patient.listDeliveryOrders.md)
958
960
  - [List dependents](../operations/patient.listDependents.md)
959
961
  - [List encounters](../operations/patient.listEncounters.md)
962
+ - [List Impilo device types](../operations/patient.listImpiloDevices.md)
960
963
  - [List knowledge-base collections and entries](../operations/patient.listKnowledge.md)
961
964
  - [List medications](../operations/patient.listMedications.md)
962
965
  - [List notifications](../operations/patient.listNotifications.md)
package/docs/index.md CHANGED
@@ -23,7 +23,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
23
23
  - [Exchange code (Apple)](operations/connectors.appleAuthExchangeCode.md) (`connectors.appleAuthExchangeCode`)
24
24
  - [Generate client secret (Apple)](operations/connectors.appleAuthGenerateClientSecret.md) (`connectors.appleAuthGenerateClientSecret`)
25
25
  - [Add a configured encounter reason](operations/connectors.athenaAddEncounterReason.md) (`connectors.athenaAddEncounterReason`)
26
- - [Add lab result document (athenahealth)](operations/connectors.athenaAddLabResultDocument.md) (`connectors.athenaAddLabResultDocument`)
26
+ - [Create a result document, defaulting routing to the tenant provider](operations/connectors.athenaAddLabResultDocument.md) (`connectors.athenaAddLabResultDocument`)
27
27
  - [Athena's PUT /chart/{id}/pharmacies/preferred 400s without either clinicalproviderid or ncpdpid in the body — there's no way to add "a" preferred pharmacy without saying which one](operations/connectors.athenaAddPreferredPharmacy.md) (`connectors.athenaAddPreferredPharmacy`)
28
28
  - [Answer health question (athenahealth)](operations/connectors.athenaAnswerHealthQuestion.md) (`connectors.athenaAnswerHealthQuestion`)
29
29
  - [Book an open appointment slot (without the telehealth deep link step)](operations/connectors.athenaBookAppointment.md) (`connectors.athenaBookAppointment`)
@@ -903,6 +903,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
903
903
  - [Add a notification](operations/patient.addNotification.md) (`patient.addNotification`)
904
904
  - [Add one structured patient intake section](operations/patient.addPatientIntake.md) (`patient.addPatientIntake`)
905
905
  - [OCR an identity document](operations/patient.analyzeIdentityDocument.md) (`patient.analyzeIdentityDocument`)
906
+ - [Assign Impilo device to patient](operations/patient.assignImpiloDevice.md) (`patient.assignImpiloDevice`)
906
907
  - [Grounded assistant chat](operations/patient.assistantChat.md) (`patient.assistantChat`)
907
908
  - [Classify a voice command into an action code](operations/patient.assistantClassify.md) (`patient.assistantClassify`)
908
909
  - [OCR an identity document via vision LLM](operations/patient.assistantOcr.md) (`patient.assistantOcr`)
@@ -958,6 +959,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
958
959
  - [Get a diagnostic test order](operations/patient.getTestOrder.md) (`patient.getTestOrder`)
959
960
  - [Import activity](operations/patient.importActivity.md) (`patient.importActivity`)
960
961
  - [Import a health record](operations/patient.importHealthRecord.md) (`patient.importHealthRecord`)
962
+ - [Import Impilo RPM vitals](operations/patient.importImpiloVitals.md) (`patient.importImpiloVitals`)
961
963
  - [Import vitals](operations/patient.importVitals.md) (`patient.importVitals`)
962
964
  - [Check health-record import status](operations/patient.initHealthRecordImport.md) (`patient.initHealthRecordImport`)
963
965
  - [List assistant actions](operations/patient.listActions.md) (`patient.listActions`)
@@ -965,6 +967,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
965
967
  - [List the patient's delivery orders](operations/patient.listDeliveryOrders.md) (`patient.listDeliveryOrders`)
966
968
  - [List dependents](operations/patient.listDependents.md) (`patient.listDependents`)
967
969
  - [List encounters](operations/patient.listEncounters.md) (`patient.listEncounters`)
970
+ - [List Impilo device types](operations/patient.listImpiloDevices.md) (`patient.listImpiloDevices`)
968
971
  - [List knowledge-base collections and entries](operations/patient.listKnowledge.md) (`patient.listKnowledge`)
969
972
  - [List medications](operations/patient.listMedications.md) (`patient.listMedications`)
970
973
  - [List notifications](operations/patient.listNotifications.md) (`patient.listNotifications`)
@@ -0,0 +1,17 @@
1
+ # AssignImpiloDeviceRequest
2
+
3
+ Model ID: `AssignImpiloDeviceRequest`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `item_id` | `integer` | Yes | | | | No | Impilo item ID of the device type to assign. |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.
@@ -0,0 +1,20 @@
1
+ # AssignImpiloDeviceResponse
2
+
3
+ Model ID: `AssignImpiloDeviceResponse`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `device_id` | `integer|null` | No | | | | Yes | Impilo order ID when the order is placed. |
14
+ | `item_name` | `string|null` | No | | | | Yes | Name of the ordered device type. |
15
+ | `message` | `string|null` | No | | | | Yes | Human-readable detail. |
16
+ | `status` | `string` | Yes | | | | No | Result status: ok or error. |
17
+
18
+ ## Example
19
+
20
+ None declared in canonical OpenAPI.
@@ -21,6 +21,8 @@ Type: `object`
21
21
  | `observations` | `array|null` | No | | | `null` | Yes | |
22
22
  | `order_type` | `string|null` | No | | | `null` | Yes | |
23
23
  | `priority` | `unknown|null` | No | | | `null` | Yes | |
24
+ | `provider_id` | `string|null` | No | | | `null` | Yes | |
25
+ | `provider_username` | `string|null` | No | | | `null` | Yes | |
24
26
  | `result_category` | `string|null` | No | | | `null` | Yes | |
25
27
  | `status` | `string|null` | No | | | `null` | Yes | |
26
28
 
@@ -10,6 +10,8 @@ Type: `object`
10
10
 
11
11
  | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
12
  |---|---|---:|---|---|---|---:|---|
13
+ | `first_name` | `string|null` | No | | | | Yes | Explicit given name, when configured. |
14
+ | `last_name` | `string|null` | No | | | | Yes | Explicit family name, when configured. |
13
15
  | `name` | `string` | Yes | | | | No | Provider's full name. |
14
16
  | `npi` | `string` | Yes | | | | No | Provider's 10-digit US National Provider Identifier. |
15
17
 
@@ -0,0 +1,23 @@
1
+ # ImpiloDeviceItem
2
+
3
+ Model ID: `ImpiloDeviceItem`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `id` | `integer|null` | No | | | | Yes | Impilo item ID. |
14
+ | `item_class` | `string|null` | No | | | | Yes | Device class (e.g. CELLULAR, BLUETOOTH). |
15
+ | `manufacturer` | `string|null` | No | | | | Yes | Manufacturer name. |
16
+ | `model` | `string|null` | No | | | | Yes | Device model. |
17
+ | `name` | `string|null` | No | | | | Yes | Device name. |
18
+ | `reading_type` | `string|null` | No | | | | Yes | Type of reading the device captures. |
19
+ | `sku` | `string|null` | No | | | | Yes | Stock-keeping unit. |
20
+
21
+ ## Example
22
+
23
+ None declared in canonical OpenAPI.
@@ -0,0 +1,18 @@
1
+ # ListImpiloDevicesResponse
2
+
3
+ Model ID: `ListImpiloDevicesResponse`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `devices` | array of [`ImpiloDeviceItem`](./ImpiloDeviceItem.md) | Yes | | | | No | Available Impilo device types. |
14
+ | `total` | `integer` | Yes | | | | No | Total number of device types. |
15
+
16
+ ## Example
17
+
18
+ None declared in canonical OpenAPI.
@@ -16,6 +16,7 @@ Type: `object`
16
16
  | `InsurerName` | `string` | Yes | | | | No | Issuing carrier name, or empty string if not legible. |
17
17
  | `LastName` | `string` | Yes | | | | No | Cardholder's last name, or empty string if not legible. |
18
18
  | `MemberID` | `string` | Yes | | | | No | Member/subscriber ID, or empty string if not legible. |
19
+ | `PayerID` | `string` | Yes | | | | No | Stedi payer id (primary Payer ID, Stedi payer ID or alias) as printed on the card, or AI-matched from the carrier name against the bundled Stedi payers catalogue; empty string when neither yields a usable id. |
19
20
  | `PlanName` | `string` | Yes | | | | No | Plan or product name, or empty string if not present. |
20
21
  | `RxBIN` | `string` | Yes | | | | No | 6-digit Rx BIN, or empty string if not present. |
21
22
  | `RxGRP` | `string` | Yes | | | | No | Rx group, or empty string if not present. |
@@ -36,6 +36,8 @@
36
36
  - [Appointment](Appointment.md)
37
37
  - [ErrorResponse](appointments.ErrorResponse.md)
38
38
  - [AppointmentStatus](AppointmentStatus.md)
39
+ - [AssignImpiloDeviceRequest](AssignImpiloDeviceRequest.md)
40
+ - [AssignImpiloDeviceResponse](AssignImpiloDeviceResponse.md)
39
41
  - [AssistantAction](AssistantAction.md)
40
42
  - [AssistantChatRequest](AssistantChatRequest.md)
41
43
  - [AssistantChatResponse](AssistantChatResponse.md)
@@ -1098,6 +1100,7 @@
1098
1100
  - [ImpiloCreatePatientRequest](ImpiloCreatePatientRequest.md)
1099
1101
  - [ImpiloCreateProcurementRequest](ImpiloCreateProcurementRequest.md)
1100
1102
  - [ImpiloDevice](ImpiloDevice.md)
1103
+ - [ImpiloDeviceItem](ImpiloDeviceItem.md)
1101
1104
  - [ImpiloDeviceListResponse](ImpiloDeviceListResponse.md)
1102
1105
  - [ImpiloDeviceValidationResponse](ImpiloDeviceValidationResponse.md)
1103
1106
  - [ImpiloDisableReadingsRequest](ImpiloDisableReadingsRequest.md)
@@ -1221,6 +1224,7 @@
1221
1224
  - [ListFamilyHistoryResponse](ListFamilyHistoryResponse.md)
1222
1225
  - [FunctionalStatusListResponse](ListFunctionalStatusResponse.md)
1223
1226
  - [ListImmunizationsResponse](ListImmunizationsResponse.md)
1227
+ - [ListImpiloDevicesResponse](ListImpiloDevicesResponse.md)
1224
1228
  - [ListKnowledgeResponse](ListKnowledgeResponse.md)
1225
1229
  - [ListMedicalConceptsGetResponse](ListMedicalConceptsGetResponse.md)
1226
1230
  - [ListNotificationsResponse](ListNotificationsResponse.md)
@@ -1,8 +1,8 @@
1
- # Add lab result document (athenahealth)
1
+ # Create a result document, defaulting routing to the tenant provider
2
2
 
3
3
  Operation ID: `connectors.athenaAddLabResultDocument`
4
4
 
5
- Add lab result document via athenahealth. Returns an AthenaOperationResult record.
5
+ Create a result document, defaulting routing to the tenant provider. Provider IDs are Athena-local identifiers, never NPIs. If neither an explicit nor configured provider exists, preserve Athena's default routing. Legacy analyte resultflag/status codes are translated to Athena's abnormalflag/resultstatus text enums, including critical flags HH/LL/AA.
6
6
 
7
7
  ## Public method
8
8
 
@@ -78,6 +78,8 @@ Request model: [`AthenaGetLabResultRequest`](../models/AthenaGetLabResultRequest
78
78
  "loinc": "example-loinc",
79
79
  "observations": [],
80
80
  "order_type": "example-order-type",
81
+ "provider_id": "12345",
82
+ "provider_username": "example-provider-username",
81
83
  "result_category": "example-result-category",
82
84
  "status": "example-status"
83
85
  }
@@ -78,6 +78,8 @@ Request model: [`AthenaListLabResultsRequest`](../models/AthenaListLabResultsReq
78
78
  "loinc": "example-loinc",
79
79
  "observations": [],
80
80
  "order_type": "example-order-type",
81
+ "provider_id": "12345",
82
+ "provider_username": "example-provider-username",
81
83
  "result_category": "example-result-category",
82
84
  "status": "example-status"
83
85
  }