@healthcloudai/hc-sdk 2.10.0 → 2.12.0

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.d.cts CHANGED
@@ -12382,6 +12382,11 @@ interface PatientPhoneUpdateRequest {
12382
12382
  }
12383
12383
  interface PhoneUpdateResponse {
12384
12384
  sms_otp_sent: boolean;
12385
+ /** Athena mirror outcome — ``linked`` | ``failed`` | ``skipped_no_athena`` | null. */
12386
+ athena_phone_status?: string | null;
12387
+ openloop_phone_status?: string | null;
12388
+ steadymd_phone_status?: string | null;
12389
+ [key: string]: unknown;
12385
12390
  }
12386
12391
  interface PatientSmsVerificationRequest {
12387
12392
  otp: string;
@@ -12395,6 +12400,11 @@ interface PatientAddressUpdateRequest {
12395
12400
  }
12396
12401
  interface UpdatedResponse {
12397
12402
  updated: boolean;
12403
+ /** Vendor mirror outcome for profile-update endpoints (address/race/demographics) — */
12404
+ athena_status?: string | null;
12405
+ openloop_status?: string | null;
12406
+ steadymd_status?: string | null;
12407
+ [key: string]: unknown;
12398
12408
  }
12399
12409
  interface PatientRaceUpdateRequest {
12400
12410
  races: string[];
@@ -12473,6 +12483,17 @@ interface CreateInsuranceRequest {
12473
12483
  interface CreateInsuranceResponse {
12474
12484
  coverages_created?: number;
12475
12485
  patient_id?: string;
12486
+ fhir_patient_id?: string;
12487
+ /** Athena AI match+submit outcome — ``linked`` | ``failed`` | ``skipped_no_match`` | null (non-Athena tenant). */
12488
+ athena_insurance_status?: AthenaInsuranceStatus | "skipped_no_match" | null;
12489
+ athena_insurance_error?: string | null;
12490
+ /** Matched Athena insurance package fragment: { insurance_package_id, name, state, insurance_type }. */
12491
+ athena_best_match?: Record<string, unknown> | null;
12492
+ /** OpenLoop (Healthie) AI match+submit outcome — adds ``skipped_not_linked`` | null (non-OpenLoop tenant). */
12493
+ openloop_insurance_status?: OpenLoopEncounterStatus | "skipped_no_match" | "skipped_not_linked" | null;
12494
+ openloop_insurance_error?: string | null;
12495
+ /** Matched Healthie insurance plan fragment. */
12496
+ openloop_best_match?: Record<string, unknown> | null;
12476
12497
  [key: string]: unknown;
12477
12498
  }
12478
12499
  interface InsuranceResponse {
package/dist/index.d.ts CHANGED
@@ -12382,6 +12382,11 @@ interface PatientPhoneUpdateRequest {
12382
12382
  }
12383
12383
  interface PhoneUpdateResponse {
12384
12384
  sms_otp_sent: boolean;
12385
+ /** Athena mirror outcome — ``linked`` | ``failed`` | ``skipped_no_athena`` | null. */
12386
+ athena_phone_status?: string | null;
12387
+ openloop_phone_status?: string | null;
12388
+ steadymd_phone_status?: string | null;
12389
+ [key: string]: unknown;
12385
12390
  }
12386
12391
  interface PatientSmsVerificationRequest {
12387
12392
  otp: string;
@@ -12395,6 +12400,11 @@ interface PatientAddressUpdateRequest {
12395
12400
  }
12396
12401
  interface UpdatedResponse {
12397
12402
  updated: boolean;
12403
+ /** Vendor mirror outcome for profile-update endpoints (address/race/demographics) — */
12404
+ athena_status?: string | null;
12405
+ openloop_status?: string | null;
12406
+ steadymd_status?: string | null;
12407
+ [key: string]: unknown;
12398
12408
  }
12399
12409
  interface PatientRaceUpdateRequest {
12400
12410
  races: string[];
@@ -12473,6 +12483,17 @@ interface CreateInsuranceRequest {
12473
12483
  interface CreateInsuranceResponse {
12474
12484
  coverages_created?: number;
12475
12485
  patient_id?: string;
12486
+ fhir_patient_id?: string;
12487
+ /** Athena AI match+submit outcome — ``linked`` | ``failed`` | ``skipped_no_match`` | null (non-Athena tenant). */
12488
+ athena_insurance_status?: AthenaInsuranceStatus | "skipped_no_match" | null;
12489
+ athena_insurance_error?: string | null;
12490
+ /** Matched Athena insurance package fragment: { insurance_package_id, name, state, insurance_type }. */
12491
+ athena_best_match?: Record<string, unknown> | null;
12492
+ /** OpenLoop (Healthie) AI match+submit outcome — adds ``skipped_not_linked`` | null (non-OpenLoop tenant). */
12493
+ openloop_insurance_status?: OpenLoopEncounterStatus | "skipped_no_match" | "skipped_not_linked" | null;
12494
+ openloop_insurance_error?: string | null;
12495
+ /** Matched Healthie insurance plan fragment. */
12496
+ openloop_best_match?: Record<string, unknown> | null;
12476
12497
  [key: string]: unknown;
12477
12498
  }
12478
12499
  interface InsuranceResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-sdk",
3
- "version": "2.10.0",
3
+ "version": "2.12.0",
4
4
  "description": "All-in-one HealthCloud SDK with typed platform APIs and secure connector clients.",
5
5
  "author": "Healthcheck Systems Inc",
6
6
  "license": "MIT",