@healthcloudai/hc-sdk 3.6.0 → 3.6.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.
Files changed (30) hide show
  1. package/dist/index.cjs +119 -18
  2. package/dist/index.d.cts +601 -92
  3. package/dist/index.d.ts +601 -92
  4. package/dist/index.js +119 -18
  5. package/docs/clients/AppointmentsClient.md +1 -1
  6. package/docs/clients/PatientClient.md +3 -1
  7. package/docs/clients/ProviderClient.md +1 -0
  8. package/docs/docs-manifest.json +13 -5
  9. package/docs/examples/index.md +5 -2
  10. package/docs/index.md +5 -2
  11. package/docs/models/AddPatientIntakeRequest.md +6 -6
  12. package/docs/models/AthenaListAppointmentsRequest.md +1 -1
  13. package/docs/models/GetAppointmentTelehealthLinkResponse.md +1 -1
  14. package/docs/models/StediClaimsResponse.md +18 -0
  15. package/docs/models/StediEligibilityBatchItem.md +22 -0
  16. package/docs/models/StediEligibilityBatchRequest.md +17 -0
  17. package/docs/models/StediEligibilityBatchResponse.md +17 -0
  18. package/docs/models/StediEligibilityCheckRequest.md +21 -0
  19. package/docs/models/StediRawX12EligibilityRequest.md +17 -0
  20. package/docs/models/index.md +6 -1
  21. package/docs/operations/appointments.getTelehealthLink.md +4 -4
  22. package/docs/operations/connectors.athenaListAppointments.md +1 -3
  23. package/docs/operations/patient.addPatientIntake.md +24 -3
  24. package/docs/operations/patient.checkPatientInsuranceEligibility.md +170 -0
  25. package/docs/operations/patient.listPatientInsuranceClaims.md +181 -0
  26. package/docs/operations/patient.submitPatientRawX12Eligibility.md +162 -0
  27. package/docs/operations/provider.submitInsuranceEligibilityBatch.md +164 -0
  28. package/package.json +1 -1
  29. package/docs/models/CheckEligibilityRequest.md +0 -23
  30. package/docs/operations/patient.checkEligibility.md +0 -147
package/dist/index.js CHANGED
@@ -909,22 +909,47 @@ var MCPClient = class extends BaseServiceClient {
909
909
  }
910
910
  };
911
911
 
912
- // src/models/openapi-generated/patient/models/CheckEligibilityRequest.ts
913
- function CheckEligibilityRequestToJSON(json) {
914
- return CheckEligibilityRequestToJSONTyped(json, false);
912
+ // src/models/openapi-generated/patient/models/StediClaimsResponse.ts
913
+ function StediClaimsResponseFromJSON(json) {
914
+ return StediClaimsResponseFromJSONTyped(json, false);
915
915
  }
916
- function CheckEligibilityRequestToJSONTyped(value, ignoreDiscriminator = false) {
916
+ function StediClaimsResponseFromJSONTyped(json, ignoreDiscriminator) {
917
+ if (json == null) {
918
+ return json;
919
+ }
920
+ return {
921
+ "items": json["items"] == null ? void 0 : json["items"],
922
+ "next_page_token": json["nextPageToken"] === void 0 ? void 0 : json["nextPageToken"] === null ? null : json["nextPageToken"]
923
+ };
924
+ }
925
+
926
+ // src/models/openapi-generated/patient/models/StediEligibilityCheckRequest.ts
927
+ function StediEligibilityCheckRequestToJSON(json) {
928
+ return StediEligibilityCheckRequestToJSONTyped(json, false);
929
+ }
930
+ function StediEligibilityCheckRequestToJSONTyped(value, ignoreDiscriminator = false) {
917
931
  if (value == null) {
918
932
  return value;
919
933
  }
920
934
  return {
921
- "date_of_birth": value["date_of_birth"] == null ? value["date_of_birth"] : value["date_of_birth"].toISOString().substring(0, 10),
922
- "first_name": value["first_name"],
923
- "last_name": value["last_name"],
924
- "member_id": value["member_id"],
925
- "npi": value["npi"],
935
+ "dependent": value["dependent"],
936
+ "encounter": value["encounter"],
926
937
  "payer_id": value["payer_id"],
927
- "provider_name": value["provider_name"]
938
+ "provider": value["provider"],
939
+ "subscriber": value["subscriber"]
940
+ };
941
+ }
942
+
943
+ // src/models/openapi-generated/patient/models/StediRawX12EligibilityRequest.ts
944
+ function StediRawX12EligibilityRequestToJSON(json) {
945
+ return StediRawX12EligibilityRequestToJSONTyped(json, false);
946
+ }
947
+ function StediRawX12EligibilityRequestToJSONTyped(value, ignoreDiscriminator = false) {
948
+ if (value == null) {
949
+ return value;
950
+ }
951
+ return {
952
+ "x12": value["x12"]
928
953
  };
929
954
  }
930
955
 
@@ -1130,6 +1155,7 @@ function IntakeSurgeryToJSONTyped(value, ignoreDiscriminator = false) {
1130
1155
  return value;
1131
1156
  }
1132
1157
  return {
1158
+ ...value,
1133
1159
  "anesthesia_type": value["anesthesia_type"],
1134
1160
  "body_sites": value["body_sites"],
1135
1161
  "complications": value["complications"],
@@ -1185,6 +1211,7 @@ function IntakeFamilyHistoryToJSONTyped(value, ignoreDiscriminator = false) {
1185
1211
  return value;
1186
1212
  }
1187
1213
  return {
1214
+ ...value,
1188
1215
  "age_at_death": value["age_at_death"],
1189
1216
  "biological": value["biological"],
1190
1217
  "born_date": value["born_date"] == null ? value["born_date"] : value["born_date"].toISOString().substring(0, 10),
@@ -1209,6 +1236,7 @@ function PerinatalHistoryToJSONTyped(value, ignoreDiscriminator = false) {
1209
1236
  return value;
1210
1237
  }
1211
1238
  return {
1239
+ ...value,
1212
1240
  "delivery_date": value["delivery_date"] == null ? value["delivery_date"] : value["delivery_date"].toISOString().substring(0, 10),
1213
1241
  "delivery_method": value["delivery_method"],
1214
1242
  "gestational_age_weeks": value["gestational_age_weeks"],
@@ -1229,6 +1257,7 @@ function GynHistoryToJSONTyped(value, ignoreDiscriminator = false) {
1229
1257
  return value;
1230
1258
  }
1231
1259
  return {
1260
+ ...value,
1232
1261
  "cervical_screening_history": value["cervical_screening_history"],
1233
1262
  "contraception": value["contraception"],
1234
1263
  "last_menstrual_period": value["last_menstrual_period"] == null ? value["last_menstrual_period"] : value["last_menstrual_period"].toISOString().substring(0, 10),
@@ -1347,6 +1376,7 @@ function IntakeSocialHistoryToJSONTyped(value, ignoreDiscriminator = false) {
1347
1376
  return value;
1348
1377
  }
1349
1378
  return {
1379
+ ...value,
1350
1380
  "alcohol": AlcoholUseToJSON(value["alcohol"]),
1351
1381
  "contraception": value["contraception"],
1352
1382
  "diet_category": DietCategoryToJSON(value["diet_category"]),
@@ -1388,6 +1418,7 @@ function IntakeCancerTreatmentToJSONTyped(value, ignoreDiscriminator = false) {
1388
1418
  return value;
1389
1419
  }
1390
1420
  return {
1421
+ ...value,
1391
1422
  "description": value["description"],
1392
1423
  "end_date": value["end_date"] == null ? value["end_date"] : value["end_date"].toISOString().substring(0, 10),
1393
1424
  "facility": value["facility"],
@@ -1436,6 +1467,7 @@ function IntakeCancerCaseToJSONTyped(value, ignoreDiscriminator = false) {
1436
1467
  return value;
1437
1468
  }
1438
1469
  return {
1470
+ ...value,
1439
1471
  "biomarkers": value["biomarkers"],
1440
1472
  "cancer_type": value["cancer_type"],
1441
1473
  "diagnosis_date": value["diagnosis_date"] == null ? value["diagnosis_date"] : value["diagnosis_date"].toISOString().substring(0, 10),
@@ -1467,6 +1499,7 @@ function IntakeMedicationToJSONTyped(value, ignoreDiscriminator = false) {
1467
1499
  return value;
1468
1500
  }
1469
1501
  return {
1502
+ ...value,
1470
1503
  "authored_on": value["authored_on"] == null ? value["authored_on"] : value["authored_on"].toISOString().substring(0, 10),
1471
1504
  "brand_name": value["brand_name"],
1472
1505
  "discontinued_reason": value["discontinued_reason"],
@@ -1554,6 +1587,7 @@ function IntakeAllergyToJSONTyped(value, ignoreDiscriminator = false) {
1554
1587
  return value;
1555
1588
  }
1556
1589
  return {
1590
+ ...value,
1557
1591
  "allergen": value["allergen"],
1558
1592
  "allergen_code": CodedConceptToJSON(value["allergen_code"]),
1559
1593
  "asserted_date": value["asserted_date"] == null ? value["asserted_date"] : value["asserted_date"].toISOString().substring(0, 10),
@@ -1592,6 +1626,7 @@ function IntakeProblemToJSONTyped(value, ignoreDiscriminator = false) {
1592
1626
  return value;
1593
1627
  }
1594
1628
  return {
1629
+ ...value,
1595
1630
  "asserted_date": value["asserted_date"] == null ? value["asserted_date"] : value["asserted_date"].toISOString().substring(0, 10),
1596
1631
  "body_site": value["body_site"],
1597
1632
  "categories": value["categories"] == null ? void 0 : value["categories"].map(ProblemCategoryToJSON),
@@ -1649,6 +1684,7 @@ function IntakeVaccineToJSONTyped(value, ignoreDiscriminator = false) {
1649
1684
  return value;
1650
1685
  }
1651
1686
  return {
1687
+ ...value,
1652
1688
  "administered_by": value["administered_by"],
1653
1689
  "administered_date": value["administered_date"] == null ? value["administered_date"] : value["administered_date"].toISOString().substring(0, 10),
1654
1690
  "administered_datetime": value["administered_datetime"] == null ? value["administered_datetime"] : value["administered_datetime"].toISOString(),
@@ -2007,6 +2043,14 @@ function PatientIntakeResponseFromJSONTyped(json, ignoreDiscriminator) {
2007
2043
  };
2008
2044
  }
2009
2045
 
2046
+ // src/models/openapi-generated/patient/models/Summary.ts
2047
+ function SummaryToJSON(json) {
2048
+ return SummaryToJSONTyped(json, false);
2049
+ }
2050
+ function SummaryToJSONTyped(value, ignoreDiscriminator = false) {
2051
+ return value;
2052
+ }
2053
+
2010
2054
  // src/models/openapi-generated/patient/models/AddPatientIntakeRequest.ts
2011
2055
  function AddPatientIntakeRequestToJSON(json) {
2012
2056
  return AddPatientIntakeRequestToJSONTyped(json, false);
@@ -2018,7 +2062,7 @@ function AddPatientIntakeRequestToJSONTyped(value, ignoreDiscriminator = false)
2018
2062
  return {
2019
2063
  "patient_id": value["patient_id"],
2020
2064
  "section": value["section"],
2021
- "summary": value["summary"]
2065
+ "summary": SummaryToJSON(value["summary"])
2022
2066
  };
2023
2067
  }
2024
2068
 
@@ -2442,17 +2486,23 @@ var PatientClient = class extends BaseServiceClient {
2442
2486
  body: request
2443
2487
  });
2444
2488
  }
2445
- // No HealthCloud schema is published for this response — see
2446
- // `InsuranceEligibilityResponse` for why it stays a raw `JsonValue`.
2447
- //
2448
- // `CheckEligibilityRequest.date_of_birth` is generated as a `Date` (OpenAPI
2449
- // `date` format); `...ToJSON` is the generated serializer that renders it
2450
- // back to the `YYYY-MM-DD` wire format instead of a full ISO datetime.
2489
+ /** Check the authenticated patient's payer eligibility and benefits. */
2451
2490
  checkInsuranceEligibility(request) {
2452
2491
  return this.send("POST", "/insurance/eligibility", {
2453
- body: CheckEligibilityRequestToJSON(request)
2492
+ body: StediEligibilityCheckRequestToJSON(request)
2454
2493
  });
2455
2494
  }
2495
+ /** Submit a raw X12 270 eligibility request for the authenticated patient. */
2496
+ submitRawX12InsuranceEligibility(request) {
2497
+ return this.send("POST", "/insurance/eligibility/x12", {
2498
+ body: StediRawX12EligibilityRequestToJSON(request)
2499
+ });
2500
+ }
2501
+ /** List Stedi claims linked to the authenticated patient's FHIR Claim records. */
2502
+ async listInsuranceClaims(query) {
2503
+ const response = await this.send("GET", "/insurance/claims", { query });
2504
+ return StediClaimsResponseFromJSON(response);
2505
+ }
2456
2506
  // ── Assistant API — classify/ocr/chat are public (auth: false); the 3
2457
2507
  // knowledge/action routes require a bearer token (default auth behaviour). ──
2458
2508
  classifyVoiceCommand(request) {
@@ -2763,6 +2813,50 @@ var PersonClient = class extends BaseServiceClient {
2763
2813
  }
2764
2814
  };
2765
2815
 
2816
+ // src/models/openapi-generated/provider/models/StediEligibilityBatchItem.ts
2817
+ function StediEligibilityBatchItemToJSON(json) {
2818
+ return StediEligibilityBatchItemToJSONTyped(json, false);
2819
+ }
2820
+ function StediEligibilityBatchItemToJSONTyped(value, ignoreDiscriminator = false) {
2821
+ if (value == null) {
2822
+ return value;
2823
+ }
2824
+ return {
2825
+ "dependent": value["dependent"],
2826
+ "encounter": value["encounter"],
2827
+ "provider": value["provider"],
2828
+ "submitter_transaction_identifier": value["submitter_transaction_identifier"],
2829
+ "subscriber": value["subscriber"],
2830
+ "trading_partner_service_id": value["trading_partner_service_id"]
2831
+ };
2832
+ }
2833
+
2834
+ // src/models/openapi-generated/provider/models/StediEligibilityBatchRequest.ts
2835
+ function StediEligibilityBatchRequestToJSON(json) {
2836
+ return StediEligibilityBatchRequestToJSONTyped(json, false);
2837
+ }
2838
+ function StediEligibilityBatchRequestToJSONTyped(value, ignoreDiscriminator = false) {
2839
+ if (value == null) {
2840
+ return value;
2841
+ }
2842
+ return {
2843
+ "items": value["items"].map(StediEligibilityBatchItemToJSON)
2844
+ };
2845
+ }
2846
+
2847
+ // src/models/openapi-generated/provider/models/StediEligibilityBatchResponse.ts
2848
+ function StediEligibilityBatchResponseFromJSON(json) {
2849
+ return StediEligibilityBatchResponseFromJSONTyped(json, false);
2850
+ }
2851
+ function StediEligibilityBatchResponseFromJSONTyped(json, ignoreDiscriminator) {
2852
+ if (json == null) {
2853
+ return json;
2854
+ }
2855
+ return {
2856
+ "batch_id": json["batchId"]
2857
+ };
2858
+ }
2859
+
2766
2860
  // src/clients/ProviderClient.ts
2767
2861
  var ProviderClient = class extends BaseServiceClient {
2768
2862
  constructor(http, getTenantId = () => void 0) {
@@ -2772,6 +2866,13 @@ var ProviderClient = class extends BaseServiceClient {
2772
2866
  connect() {
2773
2867
  return this.connectService();
2774
2868
  }
2869
+ /** Submit multiple insurance eligibility checks for asynchronous processing. */
2870
+ async submitInsuranceEligibilityBatch(request) {
2871
+ const response = await this.send("POST", "/insurance/eligibility/batch", {
2872
+ body: StediEligibilityBatchRequestToJSON(request)
2873
+ });
2874
+ return StediEligibilityBatchResponseFromJSON(response);
2875
+ }
2775
2876
  // ─── Auth (public, no Bearer) ──────────────────────────────────────
2776
2877
  register(request) {
2777
2878
  return this.send("POST", "/auth/register", { body: withTenantId(request, this.getTenantId()), auth: false });
@@ -4,7 +4,7 @@
4
4
  - [`cancel`](../operations/appointments.cancel.md) — Cancel an appointment
5
5
  - [`connect`](../operations/appointments.connect.md) — Health check
6
6
  - [`createSlot`](../operations/appointments.createSlot.md) — Create a new slot
7
- - [`getTelehealthLink`](../operations/appointments.getTelehealthLink.md) — Get the telehealth join link for an Athena-booked appointment
7
+ - [`getTelehealthLink`](../operations/appointments.getTelehealthLink.md) — Get an authorized appointment's telehealth join link
8
8
  - [`listPatientAppointments`](../operations/appointments.listPatientAppointments.md) — List patient appointments
9
9
  - [`listSlots`](../operations/appointments.listSlots.md) — List available slots
10
10
  - [`reschedule`](../operations/appointments.reschedule.md) — Reschedule an appointment
@@ -9,9 +9,9 @@
9
9
  - [`classifyVoiceCommand`](../operations/patient.assistantClassify.md) — Classify a voice command into an action code
10
10
  - [`ocrIdentityDocument`](../operations/patient.assistantOcr.md) — OCR an identity document via vision LLM
11
11
  - [`ocrInsuranceDocument`](../operations/patient.assistantOcrInsurance.md) — OCR an insurance card via vision LLM
12
- - [`checkInsuranceEligibility`](../operations/patient.checkEligibility.md) — Check insurance eligibility
13
12
  - [`checkEncounter`](../operations/patient.checkEncounter.md) — Find-or-create the patient's current open encounter; on an Athena-integrated tenant, also books a walk-in-now Athena appointment, attaches default insurance, and checks in
14
13
  - [`checkInEncounter`](../operations/patient.checkInEncounter.md) — Check in an encounter via the tenant's connected EHR
14
+ - [`checkInsuranceEligibility`](../operations/patient.checkPatientInsuranceEligibility.md) — Check insurance eligibility and benefits
15
15
  - [`getCommunicationsState`](../operations/patient.commsGetState.md) — Get the full CareConnect snapshot
16
16
  - [`getUnreadCount`](../operations/patient.commsGetUnreadCount.md) — Get unread message count
17
17
  - [`listConversations`](../operations/patient.commsListConversations.md) — List conversations
@@ -63,12 +63,14 @@
63
63
  - [`listKnowledge`](../operations/patient.listKnowledge.md) — List knowledge-base collections and entries
64
64
  - [`listMedications`](../operations/patient.listMedications.md) — List medications
65
65
  - [`listNotifications`](../operations/patient.listNotifications.md) — List notifications
66
+ - [`listInsuranceClaims`](../operations/patient.listPatientInsuranceClaims.md) — List claims for the authenticated patient
66
67
  - [`nearestLocations`](../operations/patient.nearestLocations.md) — Find nearby healthcare locations
67
68
  - [`getPhotoUploadUrl`](../operations/patient.photoUploadUrl.md) — Get a photo upload URL
68
69
  - [`searchKnowledge`](../operations/patient.searchKnowledge.md) — Search the knowledge base
69
70
  - [`setPreferredPharmacy`](../operations/patient.setPreferredPharmacy.md) — Set preferred pharmacy
70
71
  - [`createCurrentScreeningSymptoms`](../operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md) — Submit current symptoms
71
72
  - [`submitPatientIntake`](../operations/patient.submitPatientIntake.md) — Submit patient-reported health record intake
73
+ - [`submitRawX12InsuranceEligibility`](../operations/patient.submitPatientRawX12Eligibility.md) — Submit a raw X12 270 eligibility request
72
74
  - [`submitSummary`](../operations/patient.submitSummary.md) — Write raw conversation/summary text onto an encounter's FHIR notes and, when Athena-linked, Athena's Reason for Visit/Screening/HPI sections
73
75
  - [`updateAddress`](../operations/patient.updateAddress.md) — Update home address
74
76
  - [`updateCommunicationConsent`](../operations/patient.updateCommunicationConsent.md) — Update SMS/phone contact-preference consent
@@ -8,6 +8,7 @@
8
8
  - [`login`](../operations/provider.login.md) — Log in a practitioner
9
9
  - [`register`](../operations/provider.register.md) — Register a practitioner
10
10
  - [`resetPassword`](../operations/provider.resetPassword.md) — Start a password reset
11
+ - [`submitInsuranceEligibilityBatch`](../operations/provider.submitInsuranceEligibilityBatch.md) — Submit multiple insurance eligibility checks
11
12
  - [`updatePhone`](../operations/provider.updatePhone.md) — Update a practitioner's phone number
12
13
  - [`update`](../operations/provider.updatePractitioner.md) — Update a practitioner profile
13
14
  - [`uploadPhoto`](../operations/provider.uploadPhoto.md) — Upload a practitioner photo
@@ -1,5 +1,5 @@
1
1
  {
2
- "docsDataContentDigest": "sha256:9dac17adea31cd5e5abf5a8401ec858439479d3cc87a23b2ee5b052e97aee3ec",
2
+ "docsDataContentDigest": "sha256:aaa665826f96cc59f5727ad4bd0e98cbbac66bff472897354f945836b5c06d1a",
3
3
  "generatedFiles": [
4
4
  "authentication.md",
5
5
  "clients/AmsClient.md",
@@ -440,7 +440,6 @@
440
440
  "models/CarequalityRetrieveDocumentsRequest.md",
441
441
  "models/CarequalityRetrieveDocumentsResponse.md",
442
442
  "models/ChatMessageRecord.md",
443
- "models/CheckEligibilityRequest.md",
444
443
  "models/CheckEncounterRequest.md",
445
444
  "models/CheckEncounterResponse.md",
446
445
  "models/CheckInEncounterRequest.md",
@@ -1713,10 +1712,16 @@
1713
1712
  "models/StediCheckClaimStatusRequest.md",
1714
1713
  "models/StediCheckCoordinationOfBenefitsRequest.md",
1715
1714
  "models/StediCheckEligibilityRequest.md",
1715
+ "models/StediClaimsResponse.md",
1716
1716
  "models/StediDiscoverInsuranceRequest.md",
1717
+ "models/StediEligibilityBatchItem.md",
1718
+ "models/StediEligibilityBatchRequest.md",
1719
+ "models/StediEligibilityBatchResponse.md",
1720
+ "models/StediEligibilityCheckRequest.md",
1717
1721
  "models/StediEligibilityCheckResponse.md",
1718
1722
  "models/StediGet835EraReportRequest.md",
1719
1723
  "models/StediGetInsuranceDiscoveryResultsRequest.md",
1724
+ "models/StediRawX12EligibilityRequest.md",
1720
1725
  "models/StediSubmitClaimRequest.md",
1721
1726
  "models/StediSubmitInstitutionalClaimRequest.md",
1722
1727
  "models/StediSubmitProfessionalClaimRequest.md",
@@ -2957,9 +2962,9 @@
2957
2962
  "operations/patient.assistantClassify.md",
2958
2963
  "operations/patient.assistantOcr.md",
2959
2964
  "operations/patient.assistantOcrInsurance.md",
2960
- "operations/patient.checkEligibility.md",
2961
2965
  "operations/patient.checkEncounter.md",
2962
2966
  "operations/patient.checkInEncounter.md",
2967
+ "operations/patient.checkPatientInsuranceEligibility.md",
2963
2968
  "operations/patient.commsGetState.md",
2964
2969
  "operations/patient.commsGetUnreadCount.md",
2965
2970
  "operations/patient.commsListConversations.md",
@@ -3012,6 +3017,7 @@
3012
3017
  "operations/patient.listKnowledge.md",
3013
3018
  "operations/patient.listMedications.md",
3014
3019
  "operations/patient.listNotifications.md",
3020
+ "operations/patient.listPatientInsuranceClaims.md",
3015
3021
  "operations/patient.login.md",
3016
3022
  "operations/patient.nearestLocations.md",
3017
3023
  "operations/patient.photoUploadUrl.md",
@@ -3023,6 +3029,7 @@
3023
3029
  "operations/patient.setPreferredPharmacy.md",
3024
3030
  "operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md",
3025
3031
  "operations/patient.submitPatientIntake.md",
3032
+ "operations/patient.submitPatientRawX12Eligibility.md",
3026
3033
  "operations/patient.submitSummary.md",
3027
3034
  "operations/patient.updateAddress.md",
3028
3035
  "operations/patient.updateCommunicationConsent.md",
@@ -3060,6 +3067,7 @@
3060
3067
  "operations/provider.login.md",
3061
3068
  "operations/provider.register.md",
3062
3069
  "operations/provider.resetPassword.md",
3070
+ "operations/provider.submitInsuranceEligibilityBatch.md",
3063
3071
  "operations/provider.updatePhone.md",
3064
3072
  "operations/provider.updatePractitioner.md",
3065
3073
  "operations/provider.uploadPhoto.md",
@@ -3076,7 +3084,7 @@
3076
3084
  "operations/vitals.recordVitals.md"
3077
3085
  ],
3078
3086
  "language": "nodejs",
3079
- "modelCount": 2005,
3080
- "operationCount": 1014,
3087
+ "modelCount": 2010,
3088
+ "operationCount": 1017,
3081
3089
  "schemaVersion": 1
3082
3090
  }
@@ -6,7 +6,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
6
6
  - [Cancel an appointment](../operations/appointments.cancel.md)
7
7
  - [Health check](../operations/appointments.connect.md)
8
8
  - [Create a new slot](../operations/appointments.createSlot.md)
9
- - [Get the telehealth join link for an Athena-booked appointment](../operations/appointments.getTelehealthLink.md)
9
+ - [Get an authorized appointment's telehealth join link](../operations/appointments.getTelehealthLink.md)
10
10
  - [List patient appointments](../operations/appointments.listPatientAppointments.md)
11
11
  - [List available slots](../operations/appointments.listSlots.md)
12
12
  - [Reschedule an appointment](../operations/appointments.reschedule.md)
@@ -899,9 +899,9 @@ Generated call examples use exact public surface signatures. Workflow examples r
899
899
  - [Classify a voice command into an action code](../operations/patient.assistantClassify.md)
900
900
  - [OCR an identity document via vision LLM](../operations/patient.assistantOcr.md)
901
901
  - [OCR an insurance card via vision LLM](../operations/patient.assistantOcrInsurance.md)
902
- - [Check insurance eligibility](../operations/patient.checkEligibility.md)
903
902
  - [Find-or-create the patient's current open encounter; on an Athena-integrated tenant, also books a walk-in-now Athena appointment, attaches default insurance, and checks in](../operations/patient.checkEncounter.md)
904
903
  - [Check in an encounter via the tenant's connected EHR](../operations/patient.checkInEncounter.md)
904
+ - [Check insurance eligibility and benefits](../operations/patient.checkPatientInsuranceEligibility.md)
905
905
  - [Get the full CareConnect snapshot](../operations/patient.commsGetState.md)
906
906
  - [Get unread message count](../operations/patient.commsGetUnreadCount.md)
907
907
  - [List conversations](../operations/patient.commsListConversations.md)
@@ -954,6 +954,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
954
954
  - [List knowledge-base collections and entries](../operations/patient.listKnowledge.md)
955
955
  - [List medications](../operations/patient.listMedications.md)
956
956
  - [List notifications](../operations/patient.listNotifications.md)
957
+ - [List claims for the authenticated patient](../operations/patient.listPatientInsuranceClaims.md)
957
958
  - [Log in a patient](../operations/patient.login.md)
958
959
  - [Find nearby healthcare locations](../operations/patient.nearestLocations.md)
959
960
  - [Get a photo upload URL](../operations/patient.photoUploadUrl.md)
@@ -965,6 +966,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
965
966
  - [Set preferred pharmacy](../operations/patient.setPreferredPharmacy.md)
966
967
  - [Submit current symptoms](../operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md)
967
968
  - [Submit patient-reported health record intake](../operations/patient.submitPatientIntake.md)
969
+ - [Submit a raw X12 270 eligibility request](../operations/patient.submitPatientRawX12Eligibility.md)
968
970
  - [Write raw conversation/summary text onto an encounter's FHIR notes and, when Athena-linked, Athena's Reason for Visit/Screening/HPI sections](../operations/patient.submitSummary.md)
969
971
  - [Update home address](../operations/patient.updateAddress.md)
970
972
  - [Update SMS/phone contact-preference consent](../operations/patient.updateCommunicationConsent.md)
@@ -1002,6 +1004,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
1002
1004
  - [Log in a practitioner](../operations/provider.login.md)
1003
1005
  - [Register a practitioner](../operations/provider.register.md)
1004
1006
  - [Start a password reset](../operations/provider.resetPassword.md)
1007
+ - [Submit multiple insurance eligibility checks](../operations/provider.submitInsuranceEligibilityBatch.md)
1005
1008
  - [Update a practitioner's phone number](../operations/provider.updatePhone.md)
1006
1009
  - [Update a practitioner profile](../operations/provider.updatePractitioner.md)
1007
1010
  - [Upload a practitioner photo](../operations/provider.uploadPhoto.md)
package/docs/index.md CHANGED
@@ -14,7 +14,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
14
14
  - [Cancel an appointment](operations/appointments.cancel.md) (`appointments.cancel`)
15
15
  - [Health check](operations/appointments.connect.md) (`appointments.connect`)
16
16
  - [Create a new slot](operations/appointments.createSlot.md) (`appointments.createSlot`)
17
- - [Get the telehealth join link for an Athena-booked appointment](operations/appointments.getTelehealthLink.md) (`appointments.getTelehealthLink`)
17
+ - [Get an authorized appointment's telehealth join link](operations/appointments.getTelehealthLink.md) (`appointments.getTelehealthLink`)
18
18
  - [List patient appointments](operations/appointments.listPatientAppointments.md) (`appointments.listPatientAppointments`)
19
19
  - [List available slots](operations/appointments.listSlots.md) (`appointments.listSlots`)
20
20
  - [Reschedule an appointment](operations/appointments.reschedule.md) (`appointments.reschedule`)
@@ -907,9 +907,9 @@ This directory is generated from the shared structured docs data. Do not edit ge
907
907
  - [Classify a voice command into an action code](operations/patient.assistantClassify.md) (`patient.assistantClassify`)
908
908
  - [OCR an identity document via vision LLM](operations/patient.assistantOcr.md) (`patient.assistantOcr`)
909
909
  - [OCR an insurance card via vision LLM](operations/patient.assistantOcrInsurance.md) (`patient.assistantOcrInsurance`)
910
- - [Check insurance eligibility](operations/patient.checkEligibility.md) (`patient.checkEligibility`)
911
910
  - [Find-or-create the patient's current open encounter; on an Athena-integrated tenant, also books a walk-in-now Athena appointment, attaches default insurance, and checks in](operations/patient.checkEncounter.md) (`patient.checkEncounter`)
912
911
  - [Check in an encounter via the tenant's connected EHR](operations/patient.checkInEncounter.md) (`patient.checkInEncounter`)
912
+ - [Check insurance eligibility and benefits](operations/patient.checkPatientInsuranceEligibility.md) (`patient.checkPatientInsuranceEligibility`)
913
913
  - [Get the full CareConnect snapshot](operations/patient.commsGetState.md) (`patient.commsGetState`)
914
914
  - [Get unread message count](operations/patient.commsGetUnreadCount.md) (`patient.commsGetUnreadCount`)
915
915
  - [List conversations](operations/patient.commsListConversations.md) (`patient.commsListConversations`)
@@ -962,6 +962,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
962
962
  - [List knowledge-base collections and entries](operations/patient.listKnowledge.md) (`patient.listKnowledge`)
963
963
  - [List medications](operations/patient.listMedications.md) (`patient.listMedications`)
964
964
  - [List notifications](operations/patient.listNotifications.md) (`patient.listNotifications`)
965
+ - [List claims for the authenticated patient](operations/patient.listPatientInsuranceClaims.md) (`patient.listPatientInsuranceClaims`)
965
966
  - [Log in a patient](operations/patient.login.md) (`patient.login`)
966
967
  - [Find nearby healthcare locations](operations/patient.nearestLocations.md) (`patient.nearestLocations`)
967
968
  - [Get a photo upload URL](operations/patient.photoUploadUrl.md) (`patient.photoUploadUrl`)
@@ -973,6 +974,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
973
974
  - [Set preferred pharmacy](operations/patient.setPreferredPharmacy.md) (`patient.setPreferredPharmacy`)
974
975
  - [Submit current symptoms](operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md) (`patient.submitCurrentSymptomsScreeningsCurrentSymptoms`)
975
976
  - [Submit patient-reported health record intake](operations/patient.submitPatientIntake.md) (`patient.submitPatientIntake`)
977
+ - [Submit a raw X12 270 eligibility request](operations/patient.submitPatientRawX12Eligibility.md) (`patient.submitPatientRawX12Eligibility`)
976
978
  - [Write raw conversation/summary text onto an encounter's FHIR notes and, when Athena-linked, Athena's Reason for Visit/Screening/HPI sections](operations/patient.submitSummary.md) (`patient.submitSummary`)
977
979
  - [Update home address](operations/patient.updateAddress.md) (`patient.updateAddress`)
978
980
  - [Update SMS/phone contact-preference consent](operations/patient.updateCommunicationConsent.md) (`patient.updateCommunicationConsent`)
@@ -1010,6 +1012,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
1010
1012
  - [Log in a practitioner](operations/provider.login.md) (`provider.login`)
1011
1013
  - [Register a practitioner](operations/provider.register.md) (`provider.register`)
1012
1014
  - [Start a password reset](operations/provider.resetPassword.md) (`provider.resetPassword`)
1015
+ - [Submit multiple insurance eligibility checks](operations/provider.submitInsuranceEligibilityBatch.md) (`provider.submitInsuranceEligibilityBatch`)
1013
1016
  - [Update a practitioner's phone number](operations/provider.updatePhone.md) (`provider.updatePhone`)
1014
1017
  - [Update a practitioner profile](operations/provider.updatePractitioner.md) (`provider.updatePractitioner`)
1015
1018
  - [Upload a practitioner photo](operations/provider.uploadPhoto.md) (`provider.uploadPhoto`)
@@ -2,12 +2,12 @@
2
2
 
3
3
  Model ID: `AddPatientIntakeRequest`
4
4
 
5
- One structured intake section collected by an agent.
5
+ One intake section collected by an agent.
6
6
 
7
- ``summary`` deliberately stays a JSON object rather than free text: the
8
- caller has already collected structured facts and must not ask this API to
9
- infer clinical facts that were not supplied. It must contain exactly the
10
- section named by ``section``.
7
+ ``summary`` accepts the established, structured section object and the
8
+ agent-tool shorthand string. The latter is deliberately normalized by
9
+ the Patient API before clinical persistence; it is *not* accepted by the
10
+ legacy bulk intake endpoint.
11
11
 
12
12
  Type: `object`
13
13
 
@@ -17,7 +17,7 @@ Type: `object`
17
17
  |---|---|---:|---|---|---|---:|---|
18
18
  | `patient_id` | `string` | Yes | | | | No | |
19
19
  | `section` | `string` | Yes | | allergies, cancer_cases, family_history, gyn_history, perinatal_history, medications, problems, social_history, surgical_history, vaccines | | No | |
20
- | `summary` | `object` | Yes | | | | No | |
20
+ | `summary` | `object|string` | Yes | | | | No | |
21
21
 
22
22
  ## Example
23
23
 
@@ -10,7 +10,7 @@ Type: `object`
10
10
 
11
11
  | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
12
  |---|---|---:|---|---|---|---:|---|
13
- | `date` | `string` | Yes | | | | No | |
13
+ | `date` | `string` | No | | | | Yes | |
14
14
  | `department_id` | `string` | No | | | | No | |
15
15
  | `mode` | `string` | No | | sandbox, live | `"sandbox"` | No | Which vendor environment the call is routed to. Defaults to sandbox, so an omitted mode never reaches a production vendor account. |
16
16
  | `patient_id` | `string` | No | | | | Yes | |
@@ -2,7 +2,7 @@
2
2
 
3
3
  Model ID: `GetAppointmentTelehealthLinkResponse`
4
4
 
5
- Join link persisted in the Athena appointment's notes.
5
+ Join link for an appointment authorized to the caller.
6
6
 
7
7
  Type: `object`
8
8
 
@@ -0,0 +1,18 @@
1
+ # StediClaimsResponse
2
+
3
+ Model ID: `StediClaimsResponse`
4
+
5
+ Paginated Stedi claims returned for the authenticated patient.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `items` | `array` | No | | | | No | Claim summaries returned by Stedi. |
14
+ | `nextPageToken` | `string|null` | No | | | | Yes | Token for the next claims page, when available. |
15
+
16
+ ## Example
17
+
18
+ None declared in canonical OpenAPI.
@@ -0,0 +1,22 @@
1
+ # StediEligibilityBatchItem
2
+
3
+ Model ID: `StediEligibilityBatchItem`
4
+
5
+ One Stedi Eligibility Manager request item.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `dependent` | `object|null` | No | | | | Yes | Optional dependent identity when checking dependent coverage. |
14
+ | `encounter` | `object|null` | No | | | | Yes | Optional requested service types and service dates. |
15
+ | `provider` | `object` | Yes | | | | No | Requesting provider identity in Stedi batch format. |
16
+ | `submitter_transaction_identifier` | `string` | Yes | | | | No | Caller-generated identifier for this eligibility transaction. |
17
+ | `subscriber` | `object` | Yes | | | | No | Subscriber identity and member ID in Stedi batch format. |
18
+ | `trading_partner_service_id` | `string` | Yes | | | | No | Stedi payer or trading-partner service identifier. |
19
+
20
+ ## Example
21
+
22
+ None declared in canonical OpenAPI.
@@ -0,0 +1,17 @@
1
+ # StediEligibilityBatchRequest
2
+
3
+ Model ID: `StediEligibilityBatchRequest`
4
+
5
+ Asynchronous Stedi Eligibility Manager batch submission.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `items` | array of [`StediEligibilityBatchItem`](./StediEligibilityBatchItem.md) | Yes | | | | No | Eligibility checks to submit asynchronously. |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.
@@ -0,0 +1,17 @@
1
+ # StediEligibilityBatchResponse
2
+
3
+ Model ID: `StediEligibilityBatchResponse`
4
+
5
+ Stedi tracking information returned after accepting a batch.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `batchId` | `string` | Yes | | | | No | Stedi identifier used to retrieve batch processing results. |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.
@@ -0,0 +1,21 @@
1
+ # StediEligibilityCheckRequest
2
+
3
+ Model ID: `StediEligibilityCheckRequest`
4
+
5
+ Request for the current Stedi real-time eligibility API.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `dependent` | `object|null` | No | | | | Yes | Dependent identity when eligibility is not for the subscriber. |
14
+ | `encounter` | `object|null` | No | | | | Yes | Optional service types and service dates. |
15
+ | `payer_id` | `string` | Yes | | | | No | Stedi payer identifier. |
16
+ | `provider` | `object` | Yes | | | | No | Requesting provider identity in Stedi eligibility format. |
17
+ | `subscriber` | `object` | Yes | | | | No | Subscriber identity and member ID in Stedi eligibility format. |
18
+
19
+ ## Example
20
+
21
+ None declared in canonical OpenAPI.
@@ -0,0 +1,17 @@
1
+ # StediRawX12EligibilityRequest
2
+
3
+ Model ID: `StediRawX12EligibilityRequest`
4
+
5
+ Raw X12 270 request for POST /insurance/eligibility/x12.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `x12` | `string` | Yes | | | | No | Complete X12 270 eligibility request. |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.