candidhealth 1.17.4 → 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 -0
- package/api/resources/commons/types/EmrPayerCrosswalk.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.js +25 -2
- package/api/resources/encounters/resources/v4/client/getAll.d.ts +19 -1
- package/api/resources/encounters/resources/v4/client/getAll.js +33 -0
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -0
- 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/appointments/resources/v1/client/Client.d.ts +11 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +4 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +28 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +7 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.d.ts +15 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.js +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +3 -1
- 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 +11 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +4 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +76 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +25 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +66 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.js +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -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 +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +6 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -0
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +25 -2
- package/dist/api/resources/encounters/resources/v4/client/getAll.d.ts +19 -1
- package/dist/api/resources/encounters/resources/v4/client/getAll.js +33 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -0
- 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/appointments/resources/v1/client/Client.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +28 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +7 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.js +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +3 -1
- 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 +11 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +76 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +25 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +66 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.js +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -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 +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +6 -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/client/getAll.d.ts +22 -0
- package/dist/serialization/resources/encounters/resources/v4/client/getAll.js +81 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +2 -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/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +5 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.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/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +69 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- 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 +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +175 -2
- 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/client/getAll.d.ts +22 -0
- package/serialization/resources/encounters/resources/v4/client/getAll.js +81 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/index.js +2 -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/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +5 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.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/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +69 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- 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 +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +47 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,81 @@
|
|
|
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 InternalErrorMessage_1 = require("../../../../commons/types/InternalErrorMessage");
|
|
52
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
53
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
54
|
+
exports.Error = core.serialization
|
|
55
|
+
.union("errorName", {
|
|
56
|
+
UnprocessableEntityError: core.serialization.object({
|
|
57
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
58
|
+
}),
|
|
59
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
60
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
61
|
+
}),
|
|
62
|
+
InternalError: core.serialization.object({
|
|
63
|
+
content: InternalErrorMessage_1.InternalErrorMessage,
|
|
64
|
+
}),
|
|
65
|
+
})
|
|
66
|
+
.transform({
|
|
67
|
+
transform: (value) => {
|
|
68
|
+
switch (value.errorName) {
|
|
69
|
+
case "UnprocessableEntityError":
|
|
70
|
+
return CandidApi.encounters.v4.getAll.Error.unprocessableEntityError(value.content);
|
|
71
|
+
case "HttpRequestValidationsError":
|
|
72
|
+
return CandidApi.encounters.v4.getAll.Error.httpRequestValidationsError(value.content);
|
|
73
|
+
case "InternalError":
|
|
74
|
+
return CandidApi.encounters.v4.getAll.Error.internalError(value.content);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
untransform: (_a) => {
|
|
78
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
79
|
+
return value;
|
|
80
|
+
},
|
|
81
|
+
});
|
|
@@ -2,5 +2,6 @@ export * as create from "./create";
|
|
|
2
2
|
export * as createFromPreEncounterPatient from "./createFromPreEncounterPatient";
|
|
3
3
|
export * as createFromPreEncounterPatientUniversal from "./createFromPreEncounterPatientUniversal";
|
|
4
4
|
export * as createUniversal from "./createUniversal";
|
|
5
|
+
export * as getAll from "./getAll";
|
|
5
6
|
export * as update from "./update";
|
|
6
7
|
export * as updateUniversal from "./updateUniversal";
|
|
@@ -33,10 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.updateUniversal = exports.update = exports.createUniversal = exports.createFromPreEncounterPatientUniversal = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
36
|
+
exports.updateUniversal = exports.update = exports.getAll = exports.createUniversal = exports.createFromPreEncounterPatientUniversal = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
37
37
|
exports.create = __importStar(require("./create"));
|
|
38
38
|
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
39
39
|
exports.createFromPreEncounterPatientUniversal = __importStar(require("./createFromPreEncounterPatientUniversal"));
|
|
40
40
|
exports.createUniversal = __importStar(require("./createUniversal"));
|
|
41
|
+
exports.getAll = __importStar(require("./getAll"));
|
|
41
42
|
exports.update = __importStar(require("./update"));
|
|
42
43
|
exports.updateUniversal = __importStar(require("./updateUniversal"));
|
|
@@ -56,6 +56,8 @@ export declare namespace Encounter {
|
|
|
56
56
|
operating_provider?: EncounterProvider.Raw | null;
|
|
57
57
|
other_operating_provider?: EncounterProvider.Raw | null;
|
|
58
58
|
related_causes_information?: RelatedCausesInformation.Raw | null;
|
|
59
|
+
property_casualty_claim_number?: string | null;
|
|
60
|
+
accident_date?: string | null;
|
|
59
61
|
submission_expectation?: EncounterSubmissionExpectation.Raw | null;
|
|
60
62
|
type_of_bill?: TypeOfBillComposite.Raw | null;
|
|
61
63
|
referring_provider?: EncounterProvider.Raw | null;
|
|
@@ -90,6 +90,8 @@ exports.Encounter = core.serialization
|
|
|
90
90
|
operatingProvider: core.serialization.property("operating_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
91
91
|
otherOperatingProvider: core.serialization.property("other_operating_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
92
92
|
relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformation_1.RelatedCausesInformation.optional()),
|
|
93
|
+
propertyCasualtyClaimNumber: core.serialization.property("property_casualty_claim_number", core.serialization.string().optional()),
|
|
94
|
+
accidentDate: core.serialization.property("accident_date", core.serialization.string().optional()),
|
|
93
95
|
submissionExpectation: core.serialization.property("submission_expectation", EncounterSubmissionExpectation_1.EncounterSubmissionExpectation.optional()),
|
|
94
96
|
typeOfBill: core.serialization.property("type_of_bill", TypeOfBillComposite_1.TypeOfBillComposite.optional()),
|
|
95
97
|
referringProvider: core.serialization.property("referring_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
@@ -53,5 +53,7 @@ export declare namespace EncounterDeepOptional {
|
|
|
53
53
|
billing_provider?: BillingProviderUpdateWithOptionalAddress.Raw | null;
|
|
54
54
|
pay_to_address?: StreetAddressShortZipOptional.Raw | null;
|
|
55
55
|
related_causes_information?: RelatedCausesInformationCreate.Raw | null;
|
|
56
|
+
property_casualty_claim_number?: string | null;
|
|
57
|
+
accident_date?: string | null;
|
|
56
58
|
}
|
|
57
59
|
}
|
|
@@ -87,5 +87,7 @@ exports.EncounterDeepOptional = core.serialization
|
|
|
87
87
|
billingProvider: core.serialization.property("billing_provider", BillingProviderUpdateWithOptionalAddress_1.BillingProviderUpdateWithOptionalAddress.optional()),
|
|
88
88
|
payToAddress: core.serialization.property("pay_to_address", StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional()),
|
|
89
89
|
relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationCreate_1.RelatedCausesInformationCreate.optional()),
|
|
90
|
+
propertyCasualtyClaimNumber: core.serialization.property("property_casualty_claim_number", core.serialization.string().optional()),
|
|
91
|
+
accidentDate: core.serialization.property("accident_date", core.serialization.string().optional()),
|
|
90
92
|
})
|
|
91
93
|
.extend(EncounterOptional_1.EncounterOptional);
|
|
@@ -45,5 +45,7 @@ export declare namespace UniversalEncounterCreateBase {
|
|
|
45
45
|
claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
|
|
46
46
|
secondary_payer_carrier_code?: string | null;
|
|
47
47
|
related_causes_information?: RelatedCausesInformationCreate.Raw | null;
|
|
48
|
+
property_casualty_claim_number?: string | null;
|
|
49
|
+
accident_date?: string | null;
|
|
48
50
|
}
|
|
49
51
|
}
|
|
@@ -79,5 +79,7 @@ exports.UniversalEncounterCreateBase = core.serialization
|
|
|
79
79
|
claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
|
|
80
80
|
secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
|
|
81
81
|
relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationCreate_1.RelatedCausesInformationCreate.optional()),
|
|
82
|
+
propertyCasualtyClaimNumber: core.serialization.property("property_casualty_claim_number", core.serialization.string().optional()),
|
|
83
|
+
accidentDate: core.serialization.property("accident_date", core.serialization.string().optional()),
|
|
82
84
|
})
|
|
83
85
|
.extend(EncounterBase_1.EncounterBase);
|
|
@@ -31,5 +31,7 @@ export declare namespace UniversalEncounterCreateFromPreEncounterBase {
|
|
|
31
31
|
tag_ids?: TagId.Raw[] | null;
|
|
32
32
|
schema_instances?: SchemaInstance.Raw[] | null;
|
|
33
33
|
related_causes_information?: RelatedCausesInformationCreate.Raw | null;
|
|
34
|
+
property_casualty_claim_number?: string | null;
|
|
35
|
+
accident_date?: string | null;
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -65,5 +65,7 @@ exports.UniversalEncounterCreateFromPreEncounterBase = core.serialization
|
|
|
65
65
|
tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
|
|
66
66
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
|
|
67
67
|
relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationCreate_1.RelatedCausesInformationCreate.optional()),
|
|
68
|
+
propertyCasualtyClaimNumber: core.serialization.property("property_casualty_claim_number", core.serialization.string().optional()),
|
|
69
|
+
accidentDate: core.serialization.property("accident_date", core.serialization.string().optional()),
|
|
68
70
|
})
|
|
69
71
|
.extend(EncounterBase_1.EncounterBase);
|
|
@@ -41,5 +41,7 @@ export declare namespace UniversalEncounterUpdateBase {
|
|
|
41
41
|
billing_provider?: BillingProviderUpdate.Raw | null;
|
|
42
42
|
place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
|
|
43
43
|
related_causes_information?: RelatedCausesInformationUpdate.Raw | null;
|
|
44
|
+
property_casualty_claim_number?: string | null;
|
|
45
|
+
accident_date?: string | null;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
@@ -75,5 +75,7 @@ exports.UniversalEncounterUpdateBase = core.serialization
|
|
|
75
75
|
billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
|
|
76
76
|
placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
77
77
|
relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationUpdate_1.RelatedCausesInformationUpdate.optional()),
|
|
78
|
+
propertyCasualtyClaimNumber: core.serialization.property("property_casualty_claim_number", core.serialization.string().optional()),
|
|
79
|
+
accidentDate: core.serialization.property("accident_date", core.serialization.string().optional()),
|
|
78
80
|
})
|
|
79
81
|
.extend(EncounterOptional_1.EncounterOptional);
|
|
@@ -40,4 +40,6 @@ const AllocationEarmarkType_1 = require("./AllocationEarmarkType");
|
|
|
40
40
|
exports.BalanceEarmark = core.serialization.object({
|
|
41
41
|
id: core.serialization.string(),
|
|
42
42
|
target: AllocationEarmarkType_1.AllocationEarmarkType,
|
|
43
|
+
amountEarmarkedCents: core.serialization.property("amount_earmarked_cents", core.serialization.number().optional()),
|
|
44
|
+
createdByAllocationId: core.serialization.property("created_by_allocation_id", core.serialization.string().optional()),
|
|
43
45
|
});
|
|
@@ -15,5 +15,6 @@ export declare namespace Payer {
|
|
|
15
15
|
alternate_payer_names: string[];
|
|
16
16
|
clearinghouse_payer_info: Record<Clearinghouse.Raw, ClearinghousePayerInfo.Raw | null | undefined>;
|
|
17
17
|
street_address?: StreetAddressLongZip.Raw | null;
|
|
18
|
+
alternate_payer_addresses: StreetAddressLongZip.Raw[];
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -48,4 +48,5 @@ exports.Payer = core.serialization.object({
|
|
|
48
48
|
alternatePayerNames: core.serialization.property("alternate_payer_names", core.serialization.list(core.serialization.string())),
|
|
49
49
|
clearinghousePayerInfo: core.serialization.property("clearinghouse_payer_info", core.serialization.record(Clearinghouse_1.Clearinghouse, ClearinghousePayerInfo_1.ClearinghousePayerInfo.optional())),
|
|
50
50
|
streetAddress: core.serialization.property("street_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
|
|
51
|
+
alternatePayerAddresses: core.serialization.property("alternate_payer_addresses", core.serialization.list(StreetAddressLongZip_1.StreetAddressLongZip)),
|
|
51
52
|
});
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js
CHANGED
|
@@ -46,4 +46,5 @@ exports.Visit = core.serialization.object({
|
|
|
46
46
|
startTime: core.serialization.property("start_time", core.serialization.date()),
|
|
47
47
|
status: AppointmentStatus_1.AppointmentStatus,
|
|
48
48
|
primaryCoverageStatus: core.serialization.property("primary_coverage_status", CoverageStatus_1.CoverageStatus.optional()),
|
|
49
|
+
secondaryCoverageStatus: core.serialization.property("secondary_coverage_status", CoverageStatus_1.CoverageStatus.optional()),
|
|
49
50
|
});
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts
CHANGED
|
@@ -9,7 +9,11 @@ export declare namespace Response {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.v1.getHistory.Error.Raw, CandidApi.preEncounter.coverages.v1.getHistory.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.NotFoundError;
|
|
12
|
+
type Raw = Error.BadRequestError | Error.NotFoundError;
|
|
13
|
+
interface BadRequestError {
|
|
14
|
+
errorName: "BadRequestError";
|
|
15
|
+
content: ErrorBase4Xx.Raw;
|
|
16
|
+
}
|
|
13
17
|
interface NotFoundError {
|
|
14
18
|
errorName: "NotFoundError";
|
|
15
19
|
content: ErrorBase4Xx.Raw;
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js
CHANGED
|
@@ -53,6 +53,9 @@ const Coverage_1 = require("../types/Coverage");
|
|
|
53
53
|
exports.Response = core.serialization.list(Coverage_1.Coverage);
|
|
54
54
|
exports.Error = core.serialization
|
|
55
55
|
.union("errorName", {
|
|
56
|
+
BadRequestError: core.serialization.object({
|
|
57
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
58
|
+
}),
|
|
56
59
|
NotFoundError: core.serialization.object({
|
|
57
60
|
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
58
61
|
}),
|
|
@@ -60,6 +63,8 @@ exports.Error = core.serialization
|
|
|
60
63
|
.transform({
|
|
61
64
|
transform: (value) => {
|
|
62
65
|
switch (value.errorName) {
|
|
66
|
+
case "BadRequestError":
|
|
67
|
+
return CandidApi.preEncounter.coverages.v1.getHistory.Error.badRequestError(value.content);
|
|
63
68
|
case "NotFoundError":
|
|
64
69
|
return CandidApi.preEncounter.coverages.v1.getHistory.Error.notFoundError(value.content);
|
|
65
70
|
}
|
|
@@ -44,4 +44,5 @@ exports.CoverageBenefits = core.serialization.object({
|
|
|
44
44
|
serviceSpecificCoverage: core.serialization.property("service_specific_coverage", core.serialization.list(ServiceCoverage_1.ServiceCoverage).optional()),
|
|
45
45
|
benefitsRelatedEntities: core.serialization.property("benefits_related_entities", core.serialization.list(BenefitsRelatedEntity_1.BenefitsRelatedEntity).optional()),
|
|
46
46
|
notes: core.serialization.string().optional(),
|
|
47
|
+
autoUpdatedEligibilityCheckId: core.serialization.string().optional(),
|
|
47
48
|
});
|
|
@@ -55,4 +55,5 @@ exports.MutableCoverage = core.serialization.object({
|
|
|
55
55
|
latestEligibilityCheck: core.serialization.property("latest_eligibility_check", LatestEligibilityCheck_1.LatestEligibilityCheck.optional()),
|
|
56
56
|
benefits: CoverageBenefits_1.CoverageBenefits.optional(),
|
|
57
57
|
orcon: core.serialization.boolean().optional(),
|
|
58
|
+
autoUpdateEnabled: core.serialization.property("auto_update_enabled", core.serialization.boolean().optional()),
|
|
58
59
|
});
|
|
@@ -33,6 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.recommendation = exports.batch = void 0;
|
|
36
|
+
exports.voteRecommendation = exports.recommendation = exports.batch = void 0;
|
|
37
37
|
exports.batch = __importStar(require("./batch"));
|
|
38
38
|
exports.recommendation = __importStar(require("./recommendation"));
|
|
39
|
+
exports.voteRecommendation = __importStar(require("./voteRecommendation"));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
5
|
+
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
6
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.eligibilityChecks.v1.voteRecommendation.Error.Raw, CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error>;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
9
|
+
interface NotFoundError {
|
|
10
|
+
errorName: "NotFoundError";
|
|
11
|
+
content: ErrorBase4Xx.Raw;
|
|
12
|
+
}
|
|
13
|
+
interface VersionConflictError {
|
|
14
|
+
errorName: "VersionConflictError";
|
|
15
|
+
content: VersionConflictErrorBody.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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
|
+
}
|