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
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
51
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
52
|
+
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
53
|
+
exports.Error = core.serialization
|
|
54
|
+
.union("errorName", {
|
|
55
|
+
NotFoundError: core.serialization.object({
|
|
56
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
57
|
+
}),
|
|
58
|
+
VersionConflictError: core.serialization.object({
|
|
59
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
60
|
+
}),
|
|
61
|
+
})
|
|
62
|
+
.transform({
|
|
63
|
+
transform: (value) => {
|
|
64
|
+
switch (value.errorName) {
|
|
65
|
+
case "NotFoundError":
|
|
66
|
+
return CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.notFoundError(value.content);
|
|
67
|
+
case "VersionConflictError":
|
|
68
|
+
return CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.versionConflictError(value.content);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
untransform: (_a) => {
|
|
72
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
73
|
+
return value;
|
|
74
|
+
},
|
|
75
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { CopayEstimationRecommendationPayload } from "./CopayEstimationRecommendationPayload";
|
|
5
|
+
export declare const CopayEstimationRecommendation: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.CopayEstimationRecommendation.Raw, CandidApi.preEncounter.eligibilityChecks.v1.CopayEstimationRecommendation>;
|
|
6
|
+
export declare namespace CopayEstimationRecommendation {
|
|
7
|
+
interface Raw {
|
|
8
|
+
payload: CopayEstimationRecommendationPayload.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.CopayEstimationRecommendation = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
const CopayEstimationRecommendationPayload_1 = require("./CopayEstimationRecommendationPayload");
|
|
40
|
+
exports.CopayEstimationRecommendation = core.serialization.object({
|
|
41
|
+
payload: CopayEstimationRecommendationPayload_1.CopayEstimationRecommendationPayload,
|
|
42
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
export declare const CopayEstimationRecommendationPayload: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.CopayEstimationRecommendationPayload.Raw, CandidApi.preEncounter.eligibilityChecks.v1.CopayEstimationRecommendationPayload>;
|
|
5
|
+
export declare namespace CopayEstimationRecommendationPayload {
|
|
6
|
+
interface Raw {
|
|
7
|
+
structured_response?: number | null;
|
|
8
|
+
exposition: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.CopayEstimationRecommendationPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
exports.CopayEstimationRecommendationPayload = core.serialization.object({
|
|
40
|
+
structuredResponse: core.serialization.property("structured_response", core.serialization.number().optional()),
|
|
41
|
+
exposition: core.serialization.string(),
|
|
42
|
+
});
|
|
@@ -4,11 +4,14 @@ import type * as serializers from "../../../../../../../index";
|
|
|
4
4
|
import { BaseModel } from "../../../../common/types/BaseModel";
|
|
5
5
|
import { EligibilityRecommendationPatientInfo } from "./EligibilityRecommendationPatientInfo";
|
|
6
6
|
import { EligibilityRecommendationPayload } from "./EligibilityRecommendationPayload";
|
|
7
|
+
import { Vote } from "./Vote";
|
|
7
8
|
export declare const EligibilityRecommendation: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.EligibilityRecommendation.Raw, CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendation>;
|
|
8
9
|
export declare namespace EligibilityRecommendation {
|
|
9
10
|
interface Raw extends BaseModel.Raw {
|
|
10
11
|
id: string;
|
|
12
|
+
eligibility_check_id: string;
|
|
11
13
|
recommendation: EligibilityRecommendationPayload.Raw;
|
|
12
14
|
patient: EligibilityRecommendationPatientInfo.Raw;
|
|
15
|
+
vote?: Vote.Raw | null;
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -39,10 +39,13 @@ const core = __importStar(require("../../../../../../../../core"));
|
|
|
39
39
|
const BaseModel_1 = require("../../../../common/types/BaseModel");
|
|
40
40
|
const EligibilityRecommendationPatientInfo_1 = require("./EligibilityRecommendationPatientInfo");
|
|
41
41
|
const EligibilityRecommendationPayload_1 = require("./EligibilityRecommendationPayload");
|
|
42
|
+
const Vote_1 = require("./Vote");
|
|
42
43
|
exports.EligibilityRecommendation = core.serialization
|
|
43
44
|
.object({
|
|
44
45
|
id: core.serialization.string(),
|
|
46
|
+
eligibilityCheckId: core.serialization.property("eligibility_check_id", core.serialization.string()),
|
|
45
47
|
recommendation: EligibilityRecommendationPayload_1.EligibilityRecommendationPayload,
|
|
46
48
|
patient: EligibilityRecommendationPatientInfo_1.EligibilityRecommendationPatientInfo,
|
|
49
|
+
vote: Vote_1.Vote.optional(),
|
|
47
50
|
})
|
|
48
51
|
.extend(BaseModel_1.BaseModel);
|
|
@@ -2,14 +2,22 @@ import type * as CandidApi from "../../../../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../../../index";
|
|
4
4
|
import { CoordinationOfBenefitsRecommendation } from "./CoordinationOfBenefitsRecommendation";
|
|
5
|
+
import { CopayEstimationRecommendation } from "./CopayEstimationRecommendation";
|
|
5
6
|
import { MedicareAdvantageRecommendation } from "./MedicareAdvantageRecommendation";
|
|
7
|
+
import { UserConfiguredPromptsRecommendation } from "./UserConfiguredPromptsRecommendation";
|
|
6
8
|
export declare const EligibilityRecommendationPayload: core.serialization.Schema<serializers.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload.Raw, CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationPayload>;
|
|
7
9
|
export declare namespace EligibilityRecommendationPayload {
|
|
8
|
-
type Raw = EligibilityRecommendationPayload.MedicareAdvantage | EligibilityRecommendationPayload.CoordinationOfBenefits;
|
|
10
|
+
type Raw = EligibilityRecommendationPayload.MedicareAdvantage | EligibilityRecommendationPayload.CoordinationOfBenefits | EligibilityRecommendationPayload.CopayEstimation | EligibilityRecommendationPayload.UserConfiguredPrompts;
|
|
9
11
|
interface MedicareAdvantage extends MedicareAdvantageRecommendation.Raw {
|
|
10
12
|
type: "MEDICARE_ADVANTAGE";
|
|
11
13
|
}
|
|
12
14
|
interface CoordinationOfBenefits extends CoordinationOfBenefitsRecommendation.Raw {
|
|
13
15
|
type: "COORDINATION_OF_BENEFITS";
|
|
14
16
|
}
|
|
17
|
+
interface CopayEstimation extends CopayEstimationRecommendation.Raw {
|
|
18
|
+
type: "COPAY_ESTIMATION";
|
|
19
|
+
}
|
|
20
|
+
interface UserConfiguredPrompts extends UserConfiguredPromptsRecommendation.Raw {
|
|
21
|
+
type: "USER_CONFIGURED_PROMPTS";
|
|
22
|
+
}
|
|
15
23
|
}
|
|
@@ -37,11 +37,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.EligibilityRecommendationPayload = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../../core"));
|
|
39
39
|
const CoordinationOfBenefitsRecommendation_1 = require("./CoordinationOfBenefitsRecommendation");
|
|
40
|
+
const CopayEstimationRecommendation_1 = require("./CopayEstimationRecommendation");
|
|
40
41
|
const MedicareAdvantageRecommendation_1 = require("./MedicareAdvantageRecommendation");
|
|
42
|
+
const UserConfiguredPromptsRecommendation_1 = require("./UserConfiguredPromptsRecommendation");
|
|
41
43
|
exports.EligibilityRecommendationPayload = core.serialization
|
|
42
44
|
.union("type", {
|
|
43
45
|
MEDICARE_ADVANTAGE: MedicareAdvantageRecommendation_1.MedicareAdvantageRecommendation,
|
|
44
46
|
COORDINATION_OF_BENEFITS: CoordinationOfBenefitsRecommendation_1.CoordinationOfBenefitsRecommendation,
|
|
47
|
+
COPAY_ESTIMATION: CopayEstimationRecommendation_1.CopayEstimationRecommendation,
|
|
48
|
+
USER_CONFIGURED_PROMPTS: UserConfiguredPromptsRecommendation_1.UserConfiguredPromptsRecommendation,
|
|
45
49
|
})
|
|
46
50
|
.transform({
|
|
47
51
|
transform: (value) => value,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { UserConfiguredPromptsRecommendationPayload } from "./UserConfiguredPromptsRecommendationPayload";
|
|
5
|
+
export declare const UserConfiguredPromptsRecommendation: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendation.Raw, CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendation>;
|
|
6
|
+
export declare namespace UserConfiguredPromptsRecommendation {
|
|
7
|
+
interface Raw {
|
|
8
|
+
payload: UserConfiguredPromptsRecommendationPayload.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.UserConfiguredPromptsRecommendation = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
const UserConfiguredPromptsRecommendationPayload_1 = require("./UserConfiguredPromptsRecommendationPayload");
|
|
40
|
+
exports.UserConfiguredPromptsRecommendation = core.serialization.object({
|
|
41
|
+
payload: UserConfiguredPromptsRecommendationPayload_1.UserConfiguredPromptsRecommendationPayload,
|
|
42
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { UserConfiguredPromptsResult } from "./UserConfiguredPromptsResult";
|
|
5
|
+
export declare const UserConfiguredPromptsRecommendationPayload: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendationPayload.Raw, CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendationPayload>;
|
|
6
|
+
export declare namespace UserConfiguredPromptsRecommendationPayload {
|
|
7
|
+
interface Raw {
|
|
8
|
+
results: UserConfiguredPromptsResult.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.UserConfiguredPromptsRecommendationPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
const UserConfiguredPromptsResult_1 = require("./UserConfiguredPromptsResult");
|
|
40
|
+
exports.UserConfiguredPromptsRecommendationPayload = core.serialization.object({
|
|
41
|
+
results: core.serialization.list(UserConfiguredPromptsResult_1.UserConfiguredPromptsResult),
|
|
42
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
export declare const UserConfiguredPromptsResult: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsResult.Raw, CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsResult>;
|
|
5
|
+
export declare namespace UserConfiguredPromptsResult {
|
|
6
|
+
interface Raw {
|
|
7
|
+
user_prompt_id: string;
|
|
8
|
+
prompt_name: string;
|
|
9
|
+
structured_response?: unknown;
|
|
10
|
+
exposition: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.UserConfiguredPromptsResult = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
exports.UserConfiguredPromptsResult = core.serialization.object({
|
|
40
|
+
userPromptId: core.serialization.property("user_prompt_id", core.serialization.string()),
|
|
41
|
+
promptName: core.serialization.property("prompt_name", core.serialization.string()),
|
|
42
|
+
structuredResponse: core.serialization.property("structured_response", core.serialization.unknown()),
|
|
43
|
+
exposition: core.serialization.string(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { UserId } from "../../../../common/types/UserId";
|
|
5
|
+
import { VoteValue } from "./VoteValue";
|
|
6
|
+
export declare const Vote: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.Vote.Raw, CandidApi.preEncounter.eligibilityChecks.v1.Vote>;
|
|
7
|
+
export declare namespace Vote {
|
|
8
|
+
interface Raw {
|
|
9
|
+
user_id: UserId.Raw;
|
|
10
|
+
value: VoteValue.Raw;
|
|
11
|
+
comment?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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.Vote = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
const UserId_1 = require("../../../../common/types/UserId");
|
|
40
|
+
const VoteValue_1 = require("./VoteValue");
|
|
41
|
+
exports.Vote = core.serialization.object({
|
|
42
|
+
userId: core.serialization.property("user_id", UserId_1.UserId),
|
|
43
|
+
value: VoteValue_1.VoteValue,
|
|
44
|
+
comment: core.serialization.string().optional(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
export declare const VoteValue: core.serialization.Schema<serializers.preEncounter.eligibilityChecks.v1.VoteValue.Raw, CandidApi.preEncounter.eligibilityChecks.v1.VoteValue>;
|
|
5
|
+
export declare namespace VoteValue {
|
|
6
|
+
type Raw = "GOOD" | "BAD" | "OK";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.VoteValue = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
exports.VoteValue = core.serialization.enum_(["GOOD", "BAD", "OK"]);
|
|
@@ -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";
|
package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js
CHANGED
|
@@ -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);
|
package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js
CHANGED
|
@@ -52,4 +52,5 @@ exports.Authorization = core.serialization.object({
|
|
|
52
52
|
quantity: core.serialization.number().optional(),
|
|
53
53
|
period: Period_1.Period.optional(),
|
|
54
54
|
notes: core.serialization.string().optional(),
|
|
55
|
+
billingProviderNpi: core.serialization.property("billing_provider_npi", core.serialization.string().optional()),
|
|
55
56
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { CoverageId } from "../../../../common/types/CoverageId";
|
|
5
|
+
export declare const CoveragesForRelatedCauses: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.CoveragesForRelatedCauses.Raw, CandidApi.preEncounter.patients.v1.CoveragesForRelatedCauses>;
|
|
6
|
+
export declare namespace CoveragesForRelatedCauses {
|
|
7
|
+
interface Raw {
|
|
8
|
+
coverages: CoverageId.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|