@healthcloudai/hc-sdk 3.37.0 → 4.1.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.cjs +90 -2
- package/dist/index.d.cts +315 -5
- package/dist/index.d.ts +315 -5
- package/dist/index.js +90 -2
- package/docs/clients/PatientClient.md +2 -1
- package/docs/docs-manifest.json +9 -3
- package/docs/examples/index.md +1 -0
- package/docs/index.md +1 -0
- package/docs/models/StediClaimStatusEncounter.md +19 -0
- package/docs/models/StediClaimStatusProvider.md +18 -0
- package/docs/models/StediClaimStatusRequest.md +22 -0
- package/docs/models/StediClaimStatusResponse.md +22 -0
- package/docs/models/StediClaimStatusSubscriber.md +20 -0
- package/docs/models/index.md +5 -0
- package/docs/operations/patient.checkPatientClaimStatus.md +175 -0
- package/docs/operations/patient.checkPatientInsuranceNetwork.md +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1412,6 +1412,87 @@ function encounterClinicalState(value, key) {
|
|
|
1412
1412
|
return EncounterClinicalStateFromJSON(value);
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
|
+
// src/models/openapi-generated/patient/models/StediClaimStatusProvider.ts
|
|
1416
|
+
function StediClaimStatusProviderToJSON(json) {
|
|
1417
|
+
return StediClaimStatusProviderToJSONTyped(json, false);
|
|
1418
|
+
}
|
|
1419
|
+
function StediClaimStatusProviderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1420
|
+
if (value == null) {
|
|
1421
|
+
return value;
|
|
1422
|
+
}
|
|
1423
|
+
return {
|
|
1424
|
+
"npi": value["npi"],
|
|
1425
|
+
"organization_name": value["organization_name"]
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
// src/models/openapi-generated/patient/models/StediClaimStatusEncounter.ts
|
|
1430
|
+
function StediClaimStatusEncounterToJSON(json) {
|
|
1431
|
+
return StediClaimStatusEncounterToJSONTyped(json, false);
|
|
1432
|
+
}
|
|
1433
|
+
function StediClaimStatusEncounterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1434
|
+
if (value == null) {
|
|
1435
|
+
return value;
|
|
1436
|
+
}
|
|
1437
|
+
return {
|
|
1438
|
+
"beginning_date_of_service": value["beginning_date_of_service"],
|
|
1439
|
+
"end_date_of_service": value["end_date_of_service"],
|
|
1440
|
+
"submitted_amount": value["submitted_amount"]
|
|
1441
|
+
};
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
// src/models/openapi-generated/patient/models/StediClaimStatusSubscriber.ts
|
|
1445
|
+
function StediClaimStatusSubscriberToJSON(json) {
|
|
1446
|
+
return StediClaimStatusSubscriberToJSONTyped(json, false);
|
|
1447
|
+
}
|
|
1448
|
+
function StediClaimStatusSubscriberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1449
|
+
if (value == null) {
|
|
1450
|
+
return value;
|
|
1451
|
+
}
|
|
1452
|
+
return {
|
|
1453
|
+
"date_of_birth": value["date_of_birth"],
|
|
1454
|
+
"first_name": value["first_name"],
|
|
1455
|
+
"last_name": value["last_name"],
|
|
1456
|
+
"member_id": value["member_id"]
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
// src/models/openapi-generated/patient/models/StediClaimStatusRequest.ts
|
|
1461
|
+
function StediClaimStatusRequestToJSON(json) {
|
|
1462
|
+
return StediClaimStatusRequestToJSONTyped(json, false);
|
|
1463
|
+
}
|
|
1464
|
+
function StediClaimStatusRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1465
|
+
if (value == null) {
|
|
1466
|
+
return value;
|
|
1467
|
+
}
|
|
1468
|
+
return {
|
|
1469
|
+
"encounter": StediClaimStatusEncounterToJSON(value["encounter"]),
|
|
1470
|
+
"patient_control_number": value["patient_control_number"],
|
|
1471
|
+
"payer_id": value["payer_id"],
|
|
1472
|
+
"provider": StediClaimStatusProviderToJSON(value["provider"]),
|
|
1473
|
+
"subscriber": StediClaimStatusSubscriberToJSON(value["subscriber"]),
|
|
1474
|
+
"trading_partner_claim_number": value["trading_partner_claim_number"]
|
|
1475
|
+
};
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
// src/models/openapi-generated/patient/models/StediClaimStatusResponse.ts
|
|
1479
|
+
function StediClaimStatusResponseFromJSON(json) {
|
|
1480
|
+
return StediClaimStatusResponseFromJSONTyped(json, false);
|
|
1481
|
+
}
|
|
1482
|
+
function StediClaimStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1483
|
+
if (json == null) {
|
|
1484
|
+
return json;
|
|
1485
|
+
}
|
|
1486
|
+
return {
|
|
1487
|
+
"claims": json["claims"] == null ? void 0 : json["claims"],
|
|
1488
|
+
"control_number": json["controlNumber"] === void 0 ? void 0 : json["controlNumber"] === null ? null : json["controlNumber"],
|
|
1489
|
+
"dependent": json["dependent"] === void 0 ? void 0 : json["dependent"] === null ? null : json["dependent"],
|
|
1490
|
+
"payer": json["payer"] === void 0 ? void 0 : json["payer"] === null ? null : json["payer"],
|
|
1491
|
+
"providers": json["providers"] === void 0 ? void 0 : json["providers"] === null ? null : json["providers"],
|
|
1492
|
+
"subscriber": json["subscriber"] === void 0 ? void 0 : json["subscriber"] === null ? null : json["subscriber"]
|
|
1493
|
+
};
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1415
1496
|
// src/models/openapi-generated/patient/models/StediClaimsResponse.ts
|
|
1416
1497
|
function StediClaimsResponseFromJSON(json) {
|
|
1417
1498
|
return StediClaimsResponseFromJSONTyped(json, false);
|
|
@@ -3700,7 +3781,7 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
3700
3781
|
}).then(CheckEligibilityResponseFromJSON);
|
|
3701
3782
|
}
|
|
3702
3783
|
/** Check directory membership separately from payer eligibility. */
|
|
3703
|
-
|
|
3784
|
+
checkProviderNetwork(request) {
|
|
3704
3785
|
return this.send("POST", "/insurance/network", {
|
|
3705
3786
|
body: CheckInsuranceNetworkRequestToJSON(request)
|
|
3706
3787
|
}).then(CheckInsuranceNetworkResponseFromJSON);
|
|
@@ -3722,6 +3803,12 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
3722
3803
|
const response = await this.send("GET", "/insurance/claims", { query });
|
|
3723
3804
|
return StediClaimsResponseFromJSON(response);
|
|
3724
3805
|
}
|
|
3806
|
+
/** Ask the payer for the real-time status (X12 276/277) of a submitted claim. */
|
|
3807
|
+
checkClaimStatus(request) {
|
|
3808
|
+
return this.send("POST", "/insurance/claims/status", {
|
|
3809
|
+
body: StediClaimStatusRequestToJSON(request)
|
|
3810
|
+
}).then(StediClaimStatusResponseFromJSON);
|
|
3811
|
+
}
|
|
3725
3812
|
// ── Assistant API — classify/ocr/chat are public (auth: false); the 3
|
|
3726
3813
|
// knowledge/action routes require a bearer token (default auth behaviour). ──
|
|
3727
3814
|
classifyVoiceCommand(request) {
|
|
@@ -7826,7 +7913,8 @@ var HCSDK_OPERATION_SUMMARY = [
|
|
|
7826
7913
|
{ service: "patient", method: "POST", path: "/questionnaires", sdkMethod: "patient.createQuestionnaire", summary: "Create questionnaire" },
|
|
7827
7914
|
{ service: "patient", method: "POST", path: "/questionnaires/{id}/responses", sdkMethod: "patient.createQuestionnaireResponse", summary: "Create questionnaire response" },
|
|
7828
7915
|
{ service: "patient", method: "POST", path: "/insurance/eligibility", sdkMethod: "patient.checkInsuranceEligibility", summary: "Check insurance eligibility" },
|
|
7829
|
-
{ service: "patient", method: "POST", path: "/insurance/network", sdkMethod: "patient.
|
|
7916
|
+
{ service: "patient", method: "POST", path: "/insurance/network", sdkMethod: "patient.checkProviderNetwork", summary: "Check saved Coverage provider directory membership" },
|
|
7917
|
+
{ service: "patient", method: "POST", path: "/insurance/claims/status", sdkMethod: "patient.checkClaimStatus", summary: "Check payer-side claim status (X12 276/277)" },
|
|
7830
7918
|
{ service: "patient", method: "POST", path: "/assistant/classify", sdkMethod: "patient.classifyVoiceCommand", summary: "Voice command classification (public)" },
|
|
7831
7919
|
{ service: "patient", method: "POST", path: "/assistant/ocr", sdkMethod: "patient.ocrIdentityDocument", summary: "ID document OCR via vision LLM (public)" },
|
|
7832
7920
|
{ service: "patient", method: "POST", path: "/assistant/chat", sdkMethod: "patient.askAssistant", summary: "Grounded RAG field-guide chat (public)" },
|