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,12 @@
|
|
|
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
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.getCoverageSnapshot.Error.Raw, CandidApi.preEncounter.patients.v1.getCoverageSnapshot.Error>;
|
|
6
|
+
export declare namespace Error {
|
|
7
|
+
type Raw = Error.NotFoundError;
|
|
8
|
+
interface NotFoundError {
|
|
9
|
+
errorName: "NotFoundError";
|
|
10
|
+
content: ErrorBase4Xx.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
exports.Error = core.serialization
|
|
53
|
+
.union("errorName", {
|
|
54
|
+
NotFoundError: core.serialization.object({
|
|
55
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
56
|
+
}),
|
|
57
|
+
})
|
|
58
|
+
.transform({
|
|
59
|
+
transform: (value) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "NotFoundError":
|
|
62
|
+
return CandidApi.preEncounter.patients.v1.getCoverageSnapshot.Error.notFoundError(value.content);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
untransform: (_a) => {
|
|
66
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
67
|
+
return value;
|
|
68
|
+
},
|
|
69
|
+
});
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * as createWithMrn from "./createWithMrn";
|
|
|
3
3
|
export * as deactivate from "./deactivate";
|
|
4
4
|
export * as get from "./get";
|
|
5
5
|
export * as getByMrn from "./getByMrn";
|
|
6
|
+
export * as getCoverageSnapshot from "./getCoverageSnapshot";
|
|
6
7
|
export * as getHistory from "./getHistory";
|
|
7
8
|
export * as reactivate from "./reactivate";
|
|
8
9
|
export * as scan from "./scan";
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js
CHANGED
|
@@ -33,12 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.update = exports.searchProviders = exports.search = exports.scan = exports.reactivate = exports.getHistory = exports.getByMrn = exports.get = exports.deactivate = exports.createWithMrn = exports.create = void 0;
|
|
36
|
+
exports.update = exports.searchProviders = exports.search = exports.scan = exports.reactivate = exports.getHistory = exports.getCoverageSnapshot = exports.getByMrn = exports.get = exports.deactivate = exports.createWithMrn = exports.create = void 0;
|
|
37
37
|
exports.create = __importStar(require("./create"));
|
|
38
38
|
exports.createWithMrn = __importStar(require("./createWithMrn"));
|
|
39
39
|
exports.deactivate = __importStar(require("./deactivate"));
|
|
40
40
|
exports.get = __importStar(require("./get"));
|
|
41
41
|
exports.getByMrn = __importStar(require("./getByMrn"));
|
|
42
|
+
exports.getCoverageSnapshot = __importStar(require("./getCoverageSnapshot"));
|
|
42
43
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
43
44
|
exports.reactivate = __importStar(require("./reactivate"));
|
|
44
45
|
exports.scan = __importStar(require("./scan"));
|
|
@@ -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
|
+
}
|
|
@@ -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.CoveragesForRelatedCauses = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
const CoverageId_1 = require("../../../../common/types/CoverageId");
|
|
40
|
+
exports.CoveragesForRelatedCauses = core.serialization.object({
|
|
41
|
+
coverages: core.serialization.list(CoverageId_1.CoverageId),
|
|
42
|
+
});
|
|
@@ -19,6 +19,7 @@ import { SexualOrientation } from "../../../../common/types/SexualOrientation";
|
|
|
19
19
|
import { TagId } from "../../../../common/types/TagId";
|
|
20
20
|
import { Authorization } from "./Authorization";
|
|
21
21
|
import { Contact } from "./Contact";
|
|
22
|
+
import { CoveragesForRelatedCauses } from "./CoveragesForRelatedCauses";
|
|
22
23
|
import { DoNotInvoiceReason } from "./DoNotInvoiceReason";
|
|
23
24
|
import { ExternalProvenance } from "./ExternalProvenance";
|
|
24
25
|
import { FilingOrder } from "./FilingOrder";
|
|
@@ -57,6 +58,7 @@ export declare namespace MutablePatient {
|
|
|
57
58
|
contacts: Contact.Raw[];
|
|
58
59
|
general_practitioners: ExternalProvider.Raw[];
|
|
59
60
|
filing_order: FilingOrder.Raw;
|
|
61
|
+
coverages_for_related_causes?: CoveragesForRelatedCauses.Raw | null;
|
|
60
62
|
non_insurance_payers?: CanonicalNonInsurancePayerId.Raw[] | null;
|
|
61
63
|
non_insurance_payer_associations?: CanonicalNonInsurancePayerAssociation.Raw[] | null;
|
|
62
64
|
guarantor?: Guarantor.Raw | null;
|
|
@@ -54,6 +54,7 @@ const SexualOrientation_1 = require("../../../../common/types/SexualOrientation"
|
|
|
54
54
|
const TagId_1 = require("../../../../common/types/TagId");
|
|
55
55
|
const Authorization_1 = require("./Authorization");
|
|
56
56
|
const Contact_1 = require("./Contact");
|
|
57
|
+
const CoveragesForRelatedCauses_1 = require("./CoveragesForRelatedCauses");
|
|
57
58
|
const DoNotInvoiceReason_1 = require("./DoNotInvoiceReason");
|
|
58
59
|
const ExternalProvenance_1 = require("./ExternalProvenance");
|
|
59
60
|
const FilingOrder_1 = require("./FilingOrder");
|
|
@@ -90,6 +91,7 @@ exports.MutablePatient = core.serialization.object({
|
|
|
90
91
|
contacts: core.serialization.list(Contact_1.Contact),
|
|
91
92
|
generalPractitioners: core.serialization.property("general_practitioners", core.serialization.list(ExternalProvider_1.ExternalProvider)),
|
|
92
93
|
filingOrder: core.serialization.property("filing_order", FilingOrder_1.FilingOrder),
|
|
94
|
+
coveragesForRelatedCauses: core.serialization.property("coverages_for_related_causes", CoveragesForRelatedCauses_1.CoveragesForRelatedCauses.optional()),
|
|
93
95
|
nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(CanonicalNonInsurancePayerId_1.CanonicalNonInsurancePayerId).optional()),
|
|
94
96
|
nonInsurancePayerAssociations: core.serialization.property("non_insurance_payer_associations", core.serialization.list(CanonicalNonInsurancePayerAssociation_1.CanonicalNonInsurancePayerAssociation).optional()),
|
|
95
97
|
guarantor: Guarantor_1.Guarantor.optional(),
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../../index";
|
|
4
|
+
import { Coverage } from "../../../../coverages/resources/v1/types/Coverage";
|
|
5
|
+
import { Patient } from "./Patient";
|
|
6
|
+
export declare const PatientCoverageSnapshot: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.PatientCoverageSnapshot.Raw, CandidApi.preEncounter.patients.v1.PatientCoverageSnapshot>;
|
|
7
|
+
export declare namespace PatientCoverageSnapshot {
|
|
8
|
+
interface Raw {
|
|
9
|
+
patient: Patient.Raw;
|
|
10
|
+
primary_coverage?: Coverage.Raw | null;
|
|
11
|
+
secondary_coverage?: Coverage.Raw | null;
|
|
12
|
+
tertiary_coverage?: Coverage.Raw | null;
|
|
13
|
+
coverages_for_related_causes: Coverage.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.PatientCoverageSnapshot = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
39
|
+
const Coverage_1 = require("../../../../coverages/resources/v1/types/Coverage");
|
|
40
|
+
const Patient_1 = require("./Patient");
|
|
41
|
+
exports.PatientCoverageSnapshot = core.serialization.object({
|
|
42
|
+
patient: Patient_1.Patient,
|
|
43
|
+
primaryCoverage: core.serialization.property("primary_coverage", Coverage_1.Coverage.optional()),
|
|
44
|
+
secondaryCoverage: core.serialization.property("secondary_coverage", Coverage_1.Coverage.optional()),
|
|
45
|
+
tertiaryCoverage: core.serialization.property("tertiary_coverage", Coverage_1.Coverage.optional()),
|
|
46
|
+
coveragesForRelatedCauses: core.serialization.property("coverages_for_related_causes", core.serialization.list(Coverage_1.Coverage)),
|
|
47
|
+
});
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Authorization";
|
|
2
2
|
export * from "./AuthorizationUnit";
|
|
3
3
|
export * from "./Contact";
|
|
4
|
+
export * from "./CoveragesForRelatedCauses";
|
|
4
5
|
export * from "./DoNotInvoiceReason";
|
|
5
6
|
export * from "./ExternalProvenance";
|
|
6
7
|
export * from "./FilingOrder";
|
|
@@ -11,6 +12,7 @@ export * from "./MutablePatient";
|
|
|
11
12
|
export * from "./MutablePatientWithMrn";
|
|
12
13
|
export * from "./OriginationDetail";
|
|
13
14
|
export * from "./Patient";
|
|
15
|
+
export * from "./PatientCoverageSnapshot";
|
|
14
16
|
export * from "./PatientPage";
|
|
15
17
|
export * from "./PatientSortField";
|
|
16
18
|
export * from "./Referral";
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./Authorization"), exports);
|
|
18
18
|
__exportStar(require("./AuthorizationUnit"), exports);
|
|
19
19
|
__exportStar(require("./Contact"), exports);
|
|
20
|
+
__exportStar(require("./CoveragesForRelatedCauses"), exports);
|
|
20
21
|
__exportStar(require("./DoNotInvoiceReason"), exports);
|
|
21
22
|
__exportStar(require("./ExternalProvenance"), exports);
|
|
22
23
|
__exportStar(require("./FilingOrder"), exports);
|
|
@@ -27,6 +28,7 @@ __exportStar(require("./MutablePatient"), exports);
|
|
|
27
28
|
__exportStar(require("./MutablePatientWithMrn"), exports);
|
|
28
29
|
__exportStar(require("./OriginationDetail"), exports);
|
|
29
30
|
__exportStar(require("./Patient"), exports);
|
|
31
|
+
__exportStar(require("./PatientCoverageSnapshot"), exports);
|
|
30
32
|
__exportStar(require("./PatientPage"), exports);
|
|
31
33
|
__exportStar(require("./PatientSortField"), exports);
|
|
32
34
|
__exportStar(require("./Referral"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.18.1";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -10361,6 +10361,17 @@ await client.preEncounter.appointments.v1.create({
|
|
|
10361
10361
|
<dd>
|
|
10362
10362
|
|
|
10363
10363
|
Gets all Visits within a given time range. The return list is ordered by start_time ascending.
|
|
10364
|
+
|
|
10365
|
+
**IMPORTANT:** This endpoint requires a date filter on `appointment.startTimestamp` to ensure acceptable query performance.
|
|
10366
|
+
Without date filtering, the query can take 50+ seconds on large datasets due to grouping and aggregation operations.
|
|
10367
|
+
|
|
10368
|
+
Example filters:
|
|
10369
|
+
- `appointment.startTimestamp|gt|2024-01-01` - appointments after January 1, 2024
|
|
10370
|
+
- `appointment.startTimestamp|eq|2024-12-08` - appointments on December 8, 2024
|
|
10371
|
+
- `appointment.startTimestamp|lt|2024-12-31` - appointments before December 31, 2024
|
|
10372
|
+
|
|
10373
|
+
You can combine the date filter with other filters using commas:
|
|
10374
|
+
- `appointment.startTimestamp|gt|2024-01-01,appointment.status|eq|PENDING`
|
|
10364
10375
|
</dd>
|
|
10365
10376
|
</dl>
|
|
10366
10377
|
</dd>
|
|
@@ -11062,7 +11073,7 @@ await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4
|
|
|
11062
11073
|
</dl>
|
|
11063
11074
|
</details>
|
|
11064
11075
|
|
|
11065
|
-
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error></code></summary>
|
|
11076
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id, { ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error></code></summary>
|
|
11066
11077
|
<dl>
|
|
11067
11078
|
<dd>
|
|
11068
11079
|
|
|
@@ -11074,7 +11085,8 @@ await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4
|
|
|
11074
11085
|
<dl>
|
|
11075
11086
|
<dd>
|
|
11076
11087
|
|
|
11077
|
-
Gets a coverage
|
|
11088
|
+
Gets a coverage's history. Full history is returned if no filters are
|
|
11089
|
+
defined. The return list is ordered by version, defaulting to ascending.
|
|
11078
11090
|
</dd>
|
|
11079
11091
|
</dl>
|
|
11080
11092
|
</dd>
|
|
@@ -11113,6 +11125,14 @@ await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f
|
|
|
11113
11125
|
<dl>
|
|
11114
11126
|
<dd>
|
|
11115
11127
|
|
|
11128
|
+
**request:** `CandidApi.preEncounter.coverages.v1.CoveragesGetHistoryRequest`
|
|
11129
|
+
|
|
11130
|
+
</dd>
|
|
11131
|
+
</dl>
|
|
11132
|
+
|
|
11133
|
+
<dl>
|
|
11134
|
+
<dd>
|
|
11135
|
+
|
|
11116
11136
|
**requestOptions:** `V1.RequestOptions`
|
|
11117
11137
|
|
|
11118
11138
|
</dd>
|
|
@@ -11905,6 +11925,88 @@ await client.preEncounter.eligibilityChecks.v1.createRecommendation({
|
|
|
11905
11925
|
</dl>
|
|
11906
11926
|
|
|
11907
11927
|
|
|
11928
|
+
</dd>
|
|
11929
|
+
</dl>
|
|
11930
|
+
</details>
|
|
11931
|
+
|
|
11932
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">voteRecommendation</a>(recommendationId, version, { ...params }) -> core.APIResponse<CandidApi.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error></code></summary>
|
|
11933
|
+
<dl>
|
|
11934
|
+
<dd>
|
|
11935
|
+
|
|
11936
|
+
#### 📝 Description
|
|
11937
|
+
|
|
11938
|
+
<dl>
|
|
11939
|
+
<dd>
|
|
11940
|
+
|
|
11941
|
+
<dl>
|
|
11942
|
+
<dd>
|
|
11943
|
+
|
|
11944
|
+
Submit user feedback on an eligibility recommendation. The path must contain the next version number to prevent race conditions. For example, if the current version of the recommendation is n, you will need to send a request to this endpoint with `/{recommendation_id}/{n+1}/vote` to update the vote.
|
|
11945
|
+
</dd>
|
|
11946
|
+
</dl>
|
|
11947
|
+
</dd>
|
|
11948
|
+
</dl>
|
|
11949
|
+
|
|
11950
|
+
#### 🔌 Usage
|
|
11951
|
+
|
|
11952
|
+
<dl>
|
|
11953
|
+
<dd>
|
|
11954
|
+
|
|
11955
|
+
<dl>
|
|
11956
|
+
<dd>
|
|
11957
|
+
|
|
11958
|
+
```typescript
|
|
11959
|
+
await client.preEncounter.eligibilityChecks.v1.voteRecommendation("recommendation_id", "version", {
|
|
11960
|
+
userId: CandidApi.UserId("user_id"),
|
|
11961
|
+
value: "GOOD"
|
|
11962
|
+
});
|
|
11963
|
+
|
|
11964
|
+
```
|
|
11965
|
+
</dd>
|
|
11966
|
+
</dl>
|
|
11967
|
+
</dd>
|
|
11968
|
+
</dl>
|
|
11969
|
+
|
|
11970
|
+
#### ⚙️ Parameters
|
|
11971
|
+
|
|
11972
|
+
<dl>
|
|
11973
|
+
<dd>
|
|
11974
|
+
|
|
11975
|
+
<dl>
|
|
11976
|
+
<dd>
|
|
11977
|
+
|
|
11978
|
+
**recommendationId:** `string`
|
|
11979
|
+
|
|
11980
|
+
</dd>
|
|
11981
|
+
</dl>
|
|
11982
|
+
|
|
11983
|
+
<dl>
|
|
11984
|
+
<dd>
|
|
11985
|
+
|
|
11986
|
+
**version:** `string`
|
|
11987
|
+
|
|
11988
|
+
</dd>
|
|
11989
|
+
</dl>
|
|
11990
|
+
|
|
11991
|
+
<dl>
|
|
11992
|
+
<dd>
|
|
11993
|
+
|
|
11994
|
+
**request:** `CandidApi.Vote`
|
|
11995
|
+
|
|
11996
|
+
</dd>
|
|
11997
|
+
</dl>
|
|
11998
|
+
|
|
11999
|
+
<dl>
|
|
12000
|
+
<dd>
|
|
12001
|
+
|
|
12002
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12003
|
+
|
|
12004
|
+
</dd>
|
|
12005
|
+
</dl>
|
|
12006
|
+
</dd>
|
|
12007
|
+
</dl>
|
|
12008
|
+
|
|
12009
|
+
|
|
11908
12010
|
</dd>
|
|
11909
12011
|
</dl>
|
|
11910
12012
|
</details>
|
|
@@ -13384,6 +13486,77 @@ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("id"));
|
|
|
13384
13486
|
</dl>
|
|
13385
13487
|
|
|
13386
13488
|
|
|
13489
|
+
</dd>
|
|
13490
|
+
</dl>
|
|
13491
|
+
</details>
|
|
13492
|
+
|
|
13493
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getCoverageSnapshot</a>(id, { ...params }) -> core.APIResponse<CandidApi.PatientCoverageSnapshot, CandidApi.preEncounter.patients.v1.getCoverageSnapshot.Error></code></summary>
|
|
13494
|
+
<dl>
|
|
13495
|
+
<dd>
|
|
13496
|
+
|
|
13497
|
+
#### 📝 Description
|
|
13498
|
+
|
|
13499
|
+
<dl>
|
|
13500
|
+
<dd>
|
|
13501
|
+
|
|
13502
|
+
<dl>
|
|
13503
|
+
<dd>
|
|
13504
|
+
|
|
13505
|
+
Gets a patient along with their coverages at a specific point in time. Note that the date passed in is only used to determine what the filing order was for that patient during that time. The actual data returned will always be the latest version of the patient and coverages.
|
|
13506
|
+
</dd>
|
|
13507
|
+
</dl>
|
|
13508
|
+
</dd>
|
|
13509
|
+
</dl>
|
|
13510
|
+
|
|
13511
|
+
#### 🔌 Usage
|
|
13512
|
+
|
|
13513
|
+
<dl>
|
|
13514
|
+
<dd>
|
|
13515
|
+
|
|
13516
|
+
<dl>
|
|
13517
|
+
<dd>
|
|
13518
|
+
|
|
13519
|
+
```typescript
|
|
13520
|
+
await client.preEncounter.patients.v1.getCoverageSnapshot(CandidApi.PatientId("id"));
|
|
13521
|
+
|
|
13522
|
+
```
|
|
13523
|
+
</dd>
|
|
13524
|
+
</dl>
|
|
13525
|
+
</dd>
|
|
13526
|
+
</dl>
|
|
13527
|
+
|
|
13528
|
+
#### ⚙️ Parameters
|
|
13529
|
+
|
|
13530
|
+
<dl>
|
|
13531
|
+
<dd>
|
|
13532
|
+
|
|
13533
|
+
<dl>
|
|
13534
|
+
<dd>
|
|
13535
|
+
|
|
13536
|
+
**id:** `CandidApi.PatientId`
|
|
13537
|
+
|
|
13538
|
+
</dd>
|
|
13539
|
+
</dl>
|
|
13540
|
+
|
|
13541
|
+
<dl>
|
|
13542
|
+
<dd>
|
|
13543
|
+
|
|
13544
|
+
**request:** `CandidApi.preEncounter.patients.v1.GetCoverageSnapshotRequest`
|
|
13545
|
+
|
|
13546
|
+
</dd>
|
|
13547
|
+
</dl>
|
|
13548
|
+
|
|
13549
|
+
<dl>
|
|
13550
|
+
<dd>
|
|
13551
|
+
|
|
13552
|
+
**requestOptions:** `V1.RequestOptions`
|
|
13553
|
+
|
|
13554
|
+
</dd>
|
|
13555
|
+
</dl>
|
|
13556
|
+
</dd>
|
|
13557
|
+
</dl>
|
|
13558
|
+
|
|
13559
|
+
|
|
13387
13560
|
</dd>
|
|
13388
13561
|
</dl>
|
|
13389
13562
|
</details>
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const EmrPayerCrosswalk: core.serialization.Schema<serializers.EmrPayerCrosswalk.Raw, CandidApi.EmrPayerCrosswalk>;
|
|
5
5
|
export declare namespace EmrPayerCrosswalk {
|
|
6
|
-
type Raw = "HEALTHIE" | "CANVAS";
|
|
6
|
+
type Raw = "HEALTHIE" | "CANVAS" | "WAYSTAR";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.EmrPayerCrosswalk = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.EmrPayerCrosswalk = core.serialization.enum_(["HEALTHIE", "CANVAS"]);
|
|
39
|
+
exports.EmrPayerCrosswalk = core.serialization.enum_(["HEALTHIE", "CANVAS", "WAYSTAR"]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { InternalErrorMessage } from "../../../../commons/types/InternalErrorMessage";
|
|
5
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
6
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.getAll.Error.Raw, CandidApi.encounters.v4.getAll.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.UnprocessableEntityError | Error.HttpRequestValidationsError | Error.InternalError;
|
|
10
|
+
interface UnprocessableEntityError {
|
|
11
|
+
errorName: "UnprocessableEntityError";
|
|
12
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface HttpRequestValidationsError {
|
|
15
|
+
errorName: "HttpRequestValidationsError";
|
|
16
|
+
content: RequestValidationError.Raw[];
|
|
17
|
+
}
|
|
18
|
+
interface InternalError {
|
|
19
|
+
errorName: "InternalError";
|
|
20
|
+
content: InternalErrorMessage.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|