candidhealth 1.18.0 → 1.18.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/Client.js +2 -2
- package/api/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -1
- package/api/resources/commons/types/EmrPayerCrosswalk.js +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -0
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +4 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +4 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +4 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +4 -0
- package/api/resources/financials/types/BalanceEarmark.d.ts +4 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +0 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +0 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +0 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +0 -1
- package/api/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +16 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +81 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +31 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +77 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +7 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +7 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +7 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +12 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -1
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.js +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +4 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +4 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +4 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +4 -0
- package/dist/api/resources/financials/types/BalanceEarmark.d.ts +4 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +0 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +0 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +0 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +0 -1
- package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +16 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +81 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +31 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +77 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +7 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -1
- package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/dist/serialization/resources/financials/types/BalanceEarmark.d.ts +2 -0
- package/dist/serialization/resources/financials/types/BalanceEarmark.js +2 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +75 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +3 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +9 -1
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +82 -0
- package/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -1
- package/serialization/resources/commons/types/EmrPayerCrosswalk.js +1 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/serialization/resources/financials/types/BalanceEarmark.d.ts +2 -0
- package/serialization/resources/financials/types/BalanceEarmark.js +2 -0
- package/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +75 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +3 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +9 -1
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +4 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +39 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +42 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.js
CHANGED
|
@@ -90,8 +90,8 @@ class CandidApiClient {
|
|
|
90
90
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
91
91
|
"X-Fern-Language": "JavaScript",
|
|
92
92
|
"X-Fern-SDK-Name": "candidhealth",
|
|
93
|
-
"X-Fern-SDK-Version": "1.18.
|
|
94
|
-
"User-Agent": "candidhealth/1.18.
|
|
93
|
+
"X-Fern-SDK-Version": "1.18.1",
|
|
94
|
+
"User-Agent": "candidhealth/1.18.1",
|
|
95
95
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
96
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
97
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const EmrPayerCrosswalk: {
|
|
2
2
|
readonly Healthie: "HEALTHIE";
|
|
3
3
|
readonly Canvas: "CANVAS";
|
|
4
|
-
readonly
|
|
4
|
+
readonly Waystar: "WAYSTAR";
|
|
5
5
|
};
|
|
6
6
|
export type EmrPayerCrosswalk = (typeof EmrPayerCrosswalk)[keyof typeof EmrPayerCrosswalk];
|
|
@@ -470,6 +470,10 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
470
470
|
/** 837i NM1 2500 variant for Loop ID-2310. Used to indicate the individual whom has secondary responsibility for surgical procedures in institutional claims processing. Only used when operating_provider is also set. */
|
|
471
471
|
otherOperatingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
472
472
|
relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformation;
|
|
473
|
+
/** 837p Loop2010 REF02, CMS1500 Box 11b */
|
|
474
|
+
propertyCasualtyClaimNumber?: string;
|
|
475
|
+
/** 837p Loop2300 DTP*439, CMS1500 Box 15 */
|
|
476
|
+
accidentDate?: string;
|
|
473
477
|
/** Describes the currently expected target form for this encounter. This effects what validations and queues the form is processed under. When this value is not set, it should be assumed to be TARGET_PROFESSIONAL. */
|
|
474
478
|
submissionExpectation?: CandidApi.encounters.v4.EncounterSubmissionExpectation;
|
|
475
479
|
/** Four digit code used in institutional forms to indicate the type of bill (e.g., hospital inpatient, hospital outpatient). First digit is a leading 0, followed by the type_of_facility, type_of_care, then frequency_code. Professional forms are not required to submit this attribute. You may send the 4 digit code via raw_code, or each individual digit separately via composite_codes. */
|
|
@@ -81,4 +81,8 @@ export interface EncounterDeepOptional extends CandidApi.encounters.v4.Encounter
|
|
|
81
81
|
payToAddress?: CandidApi.StreetAddressShortZipOptional;
|
|
82
82
|
/** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
|
|
83
83
|
relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationCreate;
|
|
84
|
+
/** 837p Loop2010 REF02, CMS1500 Box 11b */
|
|
85
|
+
propertyCasualtyClaimNumber?: string;
|
|
86
|
+
/** 837p Loop2300 DTP*439, CMS1500 Box 15 */
|
|
87
|
+
accidentDate?: string;
|
|
84
88
|
}
|
|
@@ -65,4 +65,8 @@ export interface UniversalEncounterCreateBase extends CandidApi.encounters.v4.En
|
|
|
65
65
|
secondaryPayerCarrierCode?: string;
|
|
66
66
|
/** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
|
|
67
67
|
relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationCreate;
|
|
68
|
+
/** 837p Loop2010 REF02, CMS1500 Box 11b */
|
|
69
|
+
propertyCasualtyClaimNumber?: string;
|
|
70
|
+
/** 837p Loop2300 DTP*439, CMS1500 Box 15 */
|
|
71
|
+
accidentDate?: string;
|
|
68
72
|
}
|
package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts
CHANGED
|
@@ -36,4 +36,8 @@ export interface UniversalEncounterCreateFromPreEncounterBase extends CandidApi.
|
|
|
36
36
|
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
37
37
|
/** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
|
|
38
38
|
relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationCreate;
|
|
39
|
+
/** 837p Loop2010 REF02, CMS1500 Box 11b */
|
|
40
|
+
propertyCasualtyClaimNumber?: string;
|
|
41
|
+
/** 837p Loop2300 DTP*439, CMS1500 Box 15 */
|
|
42
|
+
accidentDate?: string;
|
|
39
43
|
}
|
|
@@ -57,4 +57,8 @@ export interface UniversalEncounterUpdateBase extends CandidApi.encounters.v4.En
|
|
|
57
57
|
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
58
58
|
/** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
|
|
59
59
|
relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationUpdate;
|
|
60
|
+
/** 837p Loop2010 REF02, CMS1500 Box 11b */
|
|
61
|
+
propertyCasualtyClaimNumber?: string;
|
|
62
|
+
/** 837p Loop2300 DTP*439, CMS1500 Box 15 */
|
|
63
|
+
accidentDate?: string;
|
|
60
64
|
}
|
|
@@ -8,4 +8,8 @@ export interface BalanceEarmark {
|
|
|
8
8
|
id: string;
|
|
9
9
|
/** The target for this earmark (date of service or external encounter ID) */
|
|
10
10
|
target: CandidApi.AllocationEarmarkType;
|
|
11
|
+
/** The amount earmarked in cents for future allocation */
|
|
12
|
+
amountEarmarkedCents?: number;
|
|
13
|
+
/** The ID of the allocation that created this earmark */
|
|
14
|
+
createdByAllocationId?: string;
|
|
11
15
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.OccurrenceCode = void 0;
|
|
5
|
-
/** An enumeration. */
|
|
6
5
|
exports.OccurrenceCode = {
|
|
7
6
|
/**
|
|
8
7
|
* Accident/Medical Coverage Code indicating accident-related injury for which there is medical payment coverage. Provide the date of accident/injury. */
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.OccurrenceSpanCode = void 0;
|
|
5
|
-
/** An enumeration. */
|
|
6
5
|
exports.OccurrenceSpanCode = {
|
|
7
6
|
/**
|
|
8
7
|
* QUALIFYING STAY DATES FOR SNF USE ONLY */
|
|
@@ -10,4 +10,5 @@ export interface Payer {
|
|
|
10
10
|
alternatePayerNames: string[];
|
|
11
11
|
clearinghousePayerInfo: Record<CandidApi.Clearinghouse, CandidApi.payers.v4.ClearinghousePayerInfo | undefined>;
|
|
12
12
|
streetAddress?: CandidApi.StreetAddressLongZip;
|
|
13
|
+
alternatePayerAddresses: CandidApi.StreetAddressLongZip[];
|
|
13
14
|
}
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts
CHANGED
|
@@ -112,5 +112,21 @@ export declare class V1 {
|
|
|
112
112
|
*/
|
|
113
113
|
createRecommendation(request: CandidApi.preEncounter.eligibilityChecks.v1.PostEligibilityRecommendationRequest, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.createRecommendation.Error>>;
|
|
114
114
|
private __createRecommendation;
|
|
115
|
+
/**
|
|
116
|
+
* Submit user feedback on an eligibility recommendation. The path must contain the next version number to prevent race conditions. For example, if the current version of the recommendation is n, you will need to send a request to this endpoint with `/{recommendation_id}/{n+1}/vote` to update the vote.
|
|
117
|
+
*
|
|
118
|
+
* @param {string} recommendationId
|
|
119
|
+
* @param {string} version
|
|
120
|
+
* @param {CandidApi.preEncounter.eligibilityChecks.v1.Vote} request
|
|
121
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* await client.preEncounter.eligibilityChecks.v1.voteRecommendation("recommendation_id", "version", {
|
|
125
|
+
* userId: CandidApi.preEncounter.UserId("user_id"),
|
|
126
|
+
* value: "GOOD"
|
|
127
|
+
* })
|
|
128
|
+
*/
|
|
129
|
+
voteRecommendation(recommendationId: string, version: string, request: CandidApi.preEncounter.eligibilityChecks.v1.Vote, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error>>;
|
|
130
|
+
private __voteRecommendation;
|
|
115
131
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
116
132
|
}
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js
CHANGED
|
@@ -428,6 +428,87 @@ class V1 {
|
|
|
428
428
|
};
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Submit user feedback on an eligibility recommendation. The path must contain the next version number to prevent race conditions. For example, if the current version of the recommendation is n, you will need to send a request to this endpoint with `/{recommendation_id}/{n+1}/vote` to update the vote.
|
|
433
|
+
*
|
|
434
|
+
* @param {string} recommendationId
|
|
435
|
+
* @param {string} version
|
|
436
|
+
* @param {CandidApi.preEncounter.eligibilityChecks.v1.Vote} request
|
|
437
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
438
|
+
*
|
|
439
|
+
* @example
|
|
440
|
+
* await client.preEncounter.eligibilityChecks.v1.voteRecommendation("recommendation_id", "version", {
|
|
441
|
+
* userId: CandidApi.preEncounter.UserId("user_id"),
|
|
442
|
+
* value: "GOOD"
|
|
443
|
+
* })
|
|
444
|
+
*/
|
|
445
|
+
voteRecommendation(recommendationId, version, request, requestOptions) {
|
|
446
|
+
return core.HttpResponsePromise.fromPromise(this.__voteRecommendation(recommendationId, version, request, requestOptions));
|
|
447
|
+
}
|
|
448
|
+
__voteRecommendation(recommendationId, version, request, requestOptions) {
|
|
449
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
450
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
451
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
452
|
+
const _response = yield core.fetcher({
|
|
453
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/eligibility-checks/v1/recommendation/${core.url.encodePathParam(recommendationId)}/${core.url.encodePathParam(version)}/vote`),
|
|
454
|
+
method: "PUT",
|
|
455
|
+
headers: _headers,
|
|
456
|
+
contentType: "application/json",
|
|
457
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
458
|
+
requestType: "json",
|
|
459
|
+
body: serializers.preEncounter.eligibilityChecks.v1.Vote.jsonOrThrow(request, {
|
|
460
|
+
unrecognizedObjectKeys: "strip",
|
|
461
|
+
}),
|
|
462
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
463
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
464
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
465
|
+
});
|
|
466
|
+
if (_response.ok) {
|
|
467
|
+
return {
|
|
468
|
+
data: {
|
|
469
|
+
ok: true,
|
|
470
|
+
body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRecommendation.parseOrThrow(_response.body, {
|
|
471
|
+
unrecognizedObjectKeys: "passthrough",
|
|
472
|
+
allowUnrecognizedUnionMembers: true,
|
|
473
|
+
allowUnrecognizedEnumValues: true,
|
|
474
|
+
breadcrumbsPrefix: ["response"],
|
|
475
|
+
}),
|
|
476
|
+
headers: _response.headers,
|
|
477
|
+
rawResponse: _response.rawResponse,
|
|
478
|
+
},
|
|
479
|
+
rawResponse: _response.rawResponse,
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
if (_response.error.reason === "status-code") {
|
|
483
|
+
switch ((_j = _response.error.body) === null || _j === void 0 ? void 0 : _j.errorName) {
|
|
484
|
+
case "NotFoundError":
|
|
485
|
+
case "VersionConflictError":
|
|
486
|
+
return {
|
|
487
|
+
data: {
|
|
488
|
+
ok: false,
|
|
489
|
+
error: serializers.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.parseOrThrow(_response.error
|
|
490
|
+
.body, {
|
|
491
|
+
unrecognizedObjectKeys: "passthrough",
|
|
492
|
+
allowUnrecognizedUnionMembers: true,
|
|
493
|
+
allowUnrecognizedEnumValues: true,
|
|
494
|
+
breadcrumbsPrefix: ["response"],
|
|
495
|
+
}),
|
|
496
|
+
rawResponse: _response.rawResponse,
|
|
497
|
+
},
|
|
498
|
+
rawResponse: _response.rawResponse,
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
return {
|
|
503
|
+
data: {
|
|
504
|
+
ok: false,
|
|
505
|
+
error: CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._unknown(_response.error),
|
|
506
|
+
rawResponse: _response.rawResponse,
|
|
507
|
+
},
|
|
508
|
+
rawResponse: _response.rawResponse,
|
|
509
|
+
};
|
|
510
|
+
});
|
|
511
|
+
}
|
|
431
512
|
_getAuthorizationHeader() {
|
|
432
513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
433
514
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.recommendation = exports.post = exports.pollBatch = exports.payerSearch = exports.createRecommendation = exports.batch = void 0;
|
|
39
|
+
exports.voteRecommendation = exports.recommendation = exports.post = exports.pollBatch = exports.payerSearch = exports.createRecommendation = exports.batch = void 0;
|
|
40
40
|
exports.batch = __importStar(require("./batch"));
|
|
41
41
|
exports.createRecommendation = __importStar(require("./createRecommendation"));
|
|
42
42
|
exports.payerSearch = __importStar(require("./payerSearch"));
|
|
@@ -44,3 +44,4 @@ exports.pollBatch = __importStar(require("./pollBatch"));
|
|
|
44
44
|
exports.post = __importStar(require("./post"));
|
|
45
45
|
exports.recommendation = __importStar(require("./recommendation"));
|
|
46
46
|
__exportStar(require("./requests"), exports);
|
|
47
|
+
exports.voteRecommendation = __importStar(require("./voteRecommendation"));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type * as core from "../../../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../../../index";
|
|
3
|
+
export type Error = CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.NotFoundError | CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.VersionConflictError | CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface NotFoundError extends _Utils {
|
|
6
|
+
errorName: "NotFoundError";
|
|
7
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
8
|
+
}
|
|
9
|
+
interface VersionConflictError extends _Utils {
|
|
10
|
+
errorName: "VersionConflictError";
|
|
11
|
+
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
12
|
+
}
|
|
13
|
+
interface _Unknown extends _Utils {
|
|
14
|
+
errorName: void;
|
|
15
|
+
content: core.Fetcher.Error;
|
|
16
|
+
}
|
|
17
|
+
interface _Utils {
|
|
18
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._Visitor<_Result>) => _Result;
|
|
19
|
+
}
|
|
20
|
+
interface _Visitor<_Result> {
|
|
21
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
22
|
+
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
23
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export declare const Error: {
|
|
27
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.NotFoundError;
|
|
28
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.VersionConflictError;
|
|
29
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._Unknown;
|
|
30
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error, visitor: CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._Visitor<_Result>) => _Result;
|
|
31
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
notFoundError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
errorName: "NotFoundError",
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
versionConflictError: (value) => {
|
|
50
|
+
return {
|
|
51
|
+
content: value,
|
|
52
|
+
errorName: "VersionConflictError",
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_unknown: (fetcherError) => {
|
|
59
|
+
return {
|
|
60
|
+
errorName: undefined,
|
|
61
|
+
content: fetcherError,
|
|
62
|
+
_visit: function (visitor) {
|
|
63
|
+
return CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error._visit(this, visitor);
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
},
|
|
67
|
+
_visit: (value, visitor) => {
|
|
68
|
+
switch (value.errorName) {
|
|
69
|
+
case "NotFoundError":
|
|
70
|
+
return visitor.notFoundError(value.content);
|
|
71
|
+
case "VersionConflictError":
|
|
72
|
+
return visitor.versionConflictError(value.content);
|
|
73
|
+
default:
|
|
74
|
+
return visitor._other(value);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* An object representing a copay estimation recommendation from AI analysis
|
|
4
|
+
*/
|
|
5
|
+
export interface CopayEstimationRecommendation {
|
|
6
|
+
payload: CandidApi.preEncounter.eligibilityChecks.v1.CopayEstimationRecommendationPayload;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payload for MD visit copay estimation from AI analysis
|
|
3
|
+
*/
|
|
4
|
+
export interface CopayEstimationRecommendationPayload {
|
|
5
|
+
/** The estimated copay amount in cents */
|
|
6
|
+
structuredResponse?: number;
|
|
7
|
+
/** The AI's explanation of the copay estimate */
|
|
8
|
+
exposition: string;
|
|
9
|
+
}
|
|
@@ -5,6 +5,9 @@ import type * as CandidApi from "../../../../../../../index";
|
|
|
5
5
|
export interface EligibilityRecommendation extends CandidApi.preEncounter.BaseModel {
|
|
6
6
|
/** The unique UUID identifier for an EligibilityRecommendation. */
|
|
7
7
|
id: string;
|
|
8
|
+
eligibilityCheckId: string;
|
|
8
9
|
recommendation: CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload;
|
|
9
10
|
patient: CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPatientInfo;
|
|
11
|
+
/** User feedback on this recommendation */
|
|
12
|
+
vote?: CandidApi.preEncounter.eligibilityChecks.v1.Vote;
|
|
10
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as CandidApi from "../../../../../../../index";
|
|
2
|
-
export type EligibilityRecommendationPayload = CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.MedicareAdvantage | CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.CoordinationOfBenefits;
|
|
2
|
+
export type EligibilityRecommendationPayload = CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.MedicareAdvantage | CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.CoordinationOfBenefits | CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.CopayEstimation | CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.UserConfiguredPrompts;
|
|
3
3
|
export declare namespace EligibilityRecommendationPayload {
|
|
4
4
|
interface MedicareAdvantage extends CandidApi.preEncounter.eligibilityChecks.v1.MedicareAdvantageRecommendation {
|
|
5
5
|
type: "MEDICARE_ADVANTAGE";
|
|
@@ -7,4 +7,10 @@ export declare namespace EligibilityRecommendationPayload {
|
|
|
7
7
|
interface CoordinationOfBenefits extends CandidApi.preEncounter.eligibilityChecks.v1.CoordinationOfBenefitsRecommendation {
|
|
8
8
|
type: "COORDINATION_OF_BENEFITS";
|
|
9
9
|
}
|
|
10
|
+
interface CopayEstimation extends CandidApi.preEncounter.eligibilityChecks.v1.CopayEstimationRecommendation {
|
|
11
|
+
type: "COPAY_ESTIMATION";
|
|
12
|
+
}
|
|
13
|
+
interface UserConfiguredPrompts extends CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendation {
|
|
14
|
+
type: "USER_CONFIGURED_PROMPTS";
|
|
15
|
+
}
|
|
10
16
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* An object representing a user-configured prompt recommendation from AI analysis
|
|
4
|
+
*/
|
|
5
|
+
export interface UserConfiguredPromptsRecommendation {
|
|
6
|
+
payload: CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendationPayload;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Payload for user-configured prompt recommendations from AI analysis
|
|
4
|
+
*/
|
|
5
|
+
export interface UserConfiguredPromptsRecommendationPayload {
|
|
6
|
+
/** Array of results from all enabled user-configured prompts */
|
|
7
|
+
results: CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsResult[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Individual result from a single user-configured prompt execution
|
|
3
|
+
*/
|
|
4
|
+
export interface UserConfiguredPromptsResult {
|
|
5
|
+
/** Reference to the user prompt in eligibility config */
|
|
6
|
+
userPromptId: string;
|
|
7
|
+
/** User-defined name for the prompt */
|
|
8
|
+
promptName: string;
|
|
9
|
+
/** The AI's structured answer (boolean, number, or string) */
|
|
10
|
+
structuredResponse?: unknown;
|
|
11
|
+
/** The AI's explanation of the answer */
|
|
12
|
+
exposition: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* User feedback on a recommendation
|
|
4
|
+
*/
|
|
5
|
+
export interface Vote {
|
|
6
|
+
/** The user who voted */
|
|
7
|
+
userId: CandidApi.preEncounter.UserId;
|
|
8
|
+
/** The vote value */
|
|
9
|
+
value: CandidApi.preEncounter.eligibilityChecks.v1.VoteValue;
|
|
10
|
+
/** Optional comment explaining the vote */
|
|
11
|
+
comment?: string;
|
|
12
|
+
}
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VoteValue = void 0;
|
|
5
|
+
/** Possible vote values for recommendation quality */
|
|
6
|
+
exports.VoteValue = {
|
|
7
|
+
Good: "GOOD",
|
|
8
|
+
Bad: "BAD",
|
|
9
|
+
Ok: "OK",
|
|
10
|
+
};
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./BatchEligibilityResponse";
|
|
2
2
|
export * from "./CoordinationOfBenefitsRecommendation";
|
|
3
|
+
export * from "./CopayEstimationRecommendation";
|
|
4
|
+
export * from "./CopayEstimationRecommendationPayload";
|
|
3
5
|
export * from "./EligibilityCheck";
|
|
4
6
|
export * from "./EligibilityCheckError";
|
|
5
7
|
export * from "./EligibilityCheckErrorDetails";
|
|
@@ -25,3 +27,8 @@ export * from "./Provider";
|
|
|
25
27
|
export * from "./RequestCorrection";
|
|
26
28
|
export * from "./StediPayer";
|
|
27
29
|
export * from "./StediPayerItem";
|
|
30
|
+
export * from "./UserConfiguredPromptsRecommendation";
|
|
31
|
+
export * from "./UserConfiguredPromptsRecommendationPayload";
|
|
32
|
+
export * from "./UserConfiguredPromptsResult";
|
|
33
|
+
export * from "./Vote";
|
|
34
|
+
export * from "./VoteValue";
|
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BatchEligibilityResponse"), exports);
|
|
18
18
|
__exportStar(require("./CoordinationOfBenefitsRecommendation"), exports);
|
|
19
|
+
__exportStar(require("./CopayEstimationRecommendation"), exports);
|
|
20
|
+
__exportStar(require("./CopayEstimationRecommendationPayload"), exports);
|
|
19
21
|
__exportStar(require("./EligibilityCheck"), exports);
|
|
20
22
|
__exportStar(require("./EligibilityCheckError"), exports);
|
|
21
23
|
__exportStar(require("./EligibilityCheckErrorDetails"), exports);
|
|
@@ -41,3 +43,8 @@ __exportStar(require("./Provider"), exports);
|
|
|
41
43
|
__exportStar(require("./RequestCorrection"), exports);
|
|
42
44
|
__exportStar(require("./StediPayer"), exports);
|
|
43
45
|
__exportStar(require("./StediPayerItem"), exports);
|
|
46
|
+
__exportStar(require("./UserConfiguredPromptsRecommendation"), exports);
|
|
47
|
+
__exportStar(require("./UserConfiguredPromptsRecommendationPayload"), exports);
|
|
48
|
+
__exportStar(require("./UserConfiguredPromptsResult"), exports);
|
|
49
|
+
__exportStar(require("./Vote"), exports);
|
|
50
|
+
__exportStar(require("./VoteValue"), exports);
|
|
@@ -159,7 +159,7 @@ class V1 {
|
|
|
159
159
|
__getAppointmentList() {
|
|
160
160
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
161
161
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
162
|
-
const { sortField, sortDirection, limit, pageToken, filters, includeDeactivated } = request;
|
|
162
|
+
const { sortField, sortDirection, limit, pageToken, filters, includeDeactivated, includeMergedPatientData } = request;
|
|
163
163
|
const _queryParams = {};
|
|
164
164
|
if (sortField != null) {
|
|
165
165
|
_queryParams.sort_field = sortField;
|
|
@@ -181,6 +181,9 @@ class V1 {
|
|
|
181
181
|
if (includeDeactivated != null) {
|
|
182
182
|
_queryParams.include_deactivated = includeDeactivated.toString();
|
|
183
183
|
}
|
|
184
|
+
if (includeMergedPatientData != null) {
|
|
185
|
+
_queryParams.include_merged_patient_data = includeMergedPatientData.toString();
|
|
186
|
+
}
|
|
184
187
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
185
188
|
const _response = yield core.fetcher({
|
|
186
189
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/appointment"),
|
|
@@ -14,4 +14,6 @@ export interface AppointmentsGetListRequest {
|
|
|
14
14
|
filters?: CandidApi.preEncounter.FilterQueryString;
|
|
15
15
|
/** If true, includes deactivated appointments in the results. Defaults to false. */
|
|
16
16
|
includeDeactivated?: boolean;
|
|
17
|
+
/** If true and a patient id is specified, then also include appointments from any alternative patients that are merged into this patient. Defaults to false. */
|
|
18
|
+
includeMergedPatientData?: boolean;
|
|
17
19
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Additional coverages for the patient applicable to related causes such as Auto or Workers Comp
|
|
4
|
+
*/
|
|
5
|
+
export interface CoveragesForRelatedCauses {
|
|
6
|
+
coverages: CandidApi.preEncounter.CoverageId[];
|
|
7
|
+
}
|
package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export interface MutablePatient {
|
|
|
43
43
|
contacts: CandidApi.preEncounter.patients.v1.Contact[];
|
|
44
44
|
generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
|
|
45
45
|
filingOrder: CandidApi.preEncounter.patients.v1.FilingOrder;
|
|
46
|
+
coveragesForRelatedCauses?: CandidApi.preEncounter.patients.v1.CoveragesForRelatedCauses;
|
|
46
47
|
nonInsurancePayers?: CandidApi.preEncounter.CanonicalNonInsurancePayerId[];
|
|
47
48
|
nonInsurancePayerAssociations?: CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation[];
|
|
48
49
|
guarantor?: CandidApi.preEncounter.patients.v1.Guarantor;
|