@healthcloudai/hc-sdk 3.12.1 → 3.13.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 +16 -67
- package/dist/index.d.cts +280 -217
- package/dist/index.d.ts +280 -217
- package/dist/index.js +16 -67
- package/docs/clients/ProviderClient.md +0 -1
- package/docs/clients/QuestClient.md +1 -1
- package/docs/docs-manifest.json +5 -9
- package/docs/examples/index.md +1 -2
- package/docs/index.md +1 -2
- package/docs/models/CheckEligibilityRequest.md +15 -0
- package/docs/models/CheckEligibilityResponse.md +23 -0
- package/docs/models/ConnectureSessionRequest.md +0 -2
- package/docs/models/PaymentOperationResult.md +0 -2
- package/docs/models/QuestBuildResultsAckRequest.md +1 -0
- package/docs/models/SalesforceEvent.md +0 -2
- package/docs/models/ScrapflyResult.md +0 -2
- package/docs/models/index.md +2 -5
- package/docs/operations/appointments.listPatientAppointments.md +10 -1
- package/docs/operations/appointments.listSlots.md +10 -1
- package/docs/operations/connectors.questBuildResultsAck.md +3 -1
- package/docs/operations/connectors.questGetOrderDocuments.md +2 -2
- package/docs/operations/connectors.stediEligibility.md +2 -2
- package/docs/operations/patient.checkPatientInsuranceEligibility.md +43 -36
- package/docs/operations/patient.listPatientInsuranceClaims.md +7 -4
- package/package.json +1 -1
- package/docs/models/StediEligibilityBatchItem.md +0 -22
- package/docs/models/StediEligibilityBatchRequest.md +0 -17
- package/docs/models/StediEligibilityBatchResponse.md +0 -17
- package/docs/models/StediEligibilityCheckRequest.md +0 -21
- package/docs/models/StediEligibilityCheckResponse.md +0 -33
- package/docs/operations/provider.submitInsuranceEligibilityBatch.md +0 -164
package/dist/index.cjs
CHANGED
|
@@ -1022,20 +1022,22 @@ function StediClaimsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1022
1022
|
};
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
// src/models/openapi-generated/patient/models/
|
|
1026
|
-
function
|
|
1027
|
-
return
|
|
1025
|
+
// src/models/openapi-generated/patient/models/CheckEligibilityResponse.ts
|
|
1026
|
+
function CheckEligibilityResponseFromJSON(json) {
|
|
1027
|
+
return CheckEligibilityResponseFromJSONTyped(json, false);
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1030
|
-
if (
|
|
1031
|
-
return
|
|
1029
|
+
function CheckEligibilityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1030
|
+
if (json == null) {
|
|
1031
|
+
return json;
|
|
1032
1032
|
}
|
|
1033
1033
|
return {
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
1036
|
-
"
|
|
1037
|
-
"
|
|
1038
|
-
"
|
|
1034
|
+
"checked_at": new Date(json["checked_at"]),
|
|
1035
|
+
"endpoint_version": json["endpoint_version"] == null ? void 0 : json["endpoint_version"],
|
|
1036
|
+
"reason": json["reason"],
|
|
1037
|
+
"reference_id": json["reference_id"] === void 0 ? void 0 : json["reference_id"] === null ? null : json["reference_id"],
|
|
1038
|
+
"service_type_code": json["service_type_code"] == null ? void 0 : json["service_type_code"],
|
|
1039
|
+
"source": json["source"] == null ? void 0 : json["source"],
|
|
1040
|
+
"status": json["status"]
|
|
1039
1041
|
};
|
|
1040
1042
|
}
|
|
1041
1043
|
|
|
@@ -2604,11 +2606,9 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
2604
2606
|
body: request
|
|
2605
2607
|
});
|
|
2606
2608
|
}
|
|
2607
|
-
/** Check the
|
|
2608
|
-
checkInsuranceEligibility(request) {
|
|
2609
|
-
return this.send("POST", "/insurance/eligibility", {
|
|
2610
|
-
body: StediEligibilityCheckRequestToJSON(request)
|
|
2611
|
-
});
|
|
2609
|
+
/** Check the token patient's saved primary self Coverage for service 30. */
|
|
2610
|
+
checkInsuranceEligibility(request = {}) {
|
|
2611
|
+
return this.send("POST", "/insurance/eligibility", { body: request }).then(CheckEligibilityResponseFromJSON);
|
|
2612
2612
|
}
|
|
2613
2613
|
/** Submit a raw X12 270 eligibility request for the authenticated patient. */
|
|
2614
2614
|
submitRawX12InsuranceEligibility(request) {
|
|
@@ -2931,50 +2931,6 @@ var PersonClient = class extends BaseServiceClient {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
};
|
|
2933
2933
|
|
|
2934
|
-
// src/models/openapi-generated/provider/models/StediEligibilityBatchItem.ts
|
|
2935
|
-
function StediEligibilityBatchItemToJSON(json) {
|
|
2936
|
-
return StediEligibilityBatchItemToJSONTyped(json, false);
|
|
2937
|
-
}
|
|
2938
|
-
function StediEligibilityBatchItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2939
|
-
if (value == null) {
|
|
2940
|
-
return value;
|
|
2941
|
-
}
|
|
2942
|
-
return {
|
|
2943
|
-
"dependent": value["dependent"],
|
|
2944
|
-
"encounter": value["encounter"],
|
|
2945
|
-
"provider": value["provider"],
|
|
2946
|
-
"submitter_transaction_identifier": value["submitter_transaction_identifier"],
|
|
2947
|
-
"subscriber": value["subscriber"],
|
|
2948
|
-
"trading_partner_service_id": value["trading_partner_service_id"]
|
|
2949
|
-
};
|
|
2950
|
-
}
|
|
2951
|
-
|
|
2952
|
-
// src/models/openapi-generated/provider/models/StediEligibilityBatchRequest.ts
|
|
2953
|
-
function StediEligibilityBatchRequestToJSON(json) {
|
|
2954
|
-
return StediEligibilityBatchRequestToJSONTyped(json, false);
|
|
2955
|
-
}
|
|
2956
|
-
function StediEligibilityBatchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2957
|
-
if (value == null) {
|
|
2958
|
-
return value;
|
|
2959
|
-
}
|
|
2960
|
-
return {
|
|
2961
|
-
"items": value["items"].map(StediEligibilityBatchItemToJSON)
|
|
2962
|
-
};
|
|
2963
|
-
}
|
|
2964
|
-
|
|
2965
|
-
// src/models/openapi-generated/provider/models/StediEligibilityBatchResponse.ts
|
|
2966
|
-
function StediEligibilityBatchResponseFromJSON(json) {
|
|
2967
|
-
return StediEligibilityBatchResponseFromJSONTyped(json, false);
|
|
2968
|
-
}
|
|
2969
|
-
function StediEligibilityBatchResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2970
|
-
if (json == null) {
|
|
2971
|
-
return json;
|
|
2972
|
-
}
|
|
2973
|
-
return {
|
|
2974
|
-
"batch_id": json["batchId"]
|
|
2975
|
-
};
|
|
2976
|
-
}
|
|
2977
|
-
|
|
2978
2934
|
// src/clients/ProviderClient.ts
|
|
2979
2935
|
var ProviderClient = class extends BaseServiceClient {
|
|
2980
2936
|
constructor(http, getTenantId = () => void 0) {
|
|
@@ -3028,13 +2984,6 @@ var ProviderClient = class extends BaseServiceClient {
|
|
|
3028
2984
|
listTelehealthAppointments(filters) {
|
|
3029
2985
|
return this.listAppointments({ ...filters, visit_type: "telehealth" });
|
|
3030
2986
|
}
|
|
3031
|
-
/** Submit multiple insurance eligibility checks for asynchronous processing. */
|
|
3032
|
-
async submitInsuranceEligibilityBatch(request) {
|
|
3033
|
-
const response = await this.send("POST", "/insurance/eligibility/batch", {
|
|
3034
|
-
body: StediEligibilityBatchRequestToJSON(request)
|
|
3035
|
-
});
|
|
3036
|
-
return StediEligibilityBatchResponseFromJSON(response);
|
|
3037
|
-
}
|
|
3038
2987
|
// ─── Auth (public, no Bearer) ──────────────────────────────────────
|
|
3039
2988
|
register(request) {
|
|
3040
2989
|
return this.send("POST", "/auth/register", { body: withTenantId(request, this.getTenantId()), auth: false });
|