candidhealth 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/default/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +17 -6
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +3 -3
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/api/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
- package/api/resources/commons/types/NextResponsibleParty.js +14 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +4 -3
- package/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/api/resources/diagnoses/client/delete.js +11 -0
- package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/{dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js} +0 -6
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +44 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
- package/api/resources/exports/resources/v3/client/Client.js +8 -4
- package/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
- package/api/resources/exports/resources/v3/client/getExports.js +22 -0
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/lists/resources/v1 → api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +3 -3
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +42 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +158 -5
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
- package/api/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js} +0 -6
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
- package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
- package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
- package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
- package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
- package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
- package/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
- package/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
- package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
- package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/api/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/api/resources/auth/resources/default/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +17 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +3 -3
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/dist/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
- package/dist/api/resources/commons/types/NextResponsibleParty.js +14 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +4 -3
- package/dist/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/dist/api/resources/diagnoses/client/delete.js +11 -0
- package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +44 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
- package/dist/api/resources/exports/resources/v3/client/Client.js +8 -4
- package/dist/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
- package/dist/api/resources/exports/resources/v3/client/getExports.js +22 -0
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/{api/resources/preEncounter/resources/lists/resources/v1 → dist/api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +42 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +158 -5
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
- package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
- package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
- package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
- package/dist/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +6 -1
- package/dist/serialization/resources/diagnoses/client/delete.js +6 -0
- package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +20 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
- package/dist/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.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/recommendation.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -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/lists/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
- package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
- package/dist/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → x12/resources/v1/types/TypeOfFacilityCode.js} +2 -2
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +213 -4
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
- package/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/diagnoses/client/delete.d.ts +6 -1
- package/serialization/resources/diagnoses/client/delete.js +6 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +20 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +20 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
- package/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.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/recommendation.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -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/lists/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
- package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
- package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
- package/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → x12/resources/v1/types/TypeOfFacilityCode.js} +2 -2
- package/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/serialization/resources/x12/resources/v1/types/index.js +7 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
- /package/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
- /package/dist/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
package/reference.md
CHANGED
|
@@ -3211,6 +3211,11 @@ await client.expectedNetworkStatus.v2.computeAllInNetworkProviders({
|
|
|
3211
3211
|
<dl>
|
|
3212
3212
|
<dd>
|
|
3213
3213
|
|
|
3214
|
+
<Warning>
|
|
3215
|
+
API-based exports are in the process of being deprecated in favor of Candid Data Share and are not being offered to new customers.
|
|
3216
|
+
Please see the [Candid Data Share docs](https://docs.joincandidhealth.com/introduction/candid-data-share) for more information.
|
|
3217
|
+
</Warning>
|
|
3218
|
+
|
|
3214
3219
|
Retrieve CSV-formatted reports on claim submissions and outcomes. This endpoint returns Export objects that contain an
|
|
3215
3220
|
authenticated URL to a customer's reports with a 2min TTL. The schema for the CSV export can be found [here](https://app.joincandidhealth.com/files/exports_schema.csv).
|
|
3216
3221
|
|
|
@@ -3225,9 +3230,6 @@ caller will receive a 422 response. If the file has already been generated, it w
|
|
|
3225
3230
|
up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
3226
3231
|
outside of these stated guarantees.
|
|
3227
3232
|
|
|
3228
|
-
**New Customers:** This endpoint is not enabled by default for new Candid customers. To have this endpoint enabled for your organization,
|
|
3229
|
-
please email our [Support team](mailto:support@joincandidhealth.com) with the request.
|
|
3230
|
-
|
|
3231
3233
|
</dd>
|
|
3232
3234
|
</dl>
|
|
3233
3235
|
</dd>
|
|
@@ -10308,7 +10310,7 @@ await client.preEncounter.eligibilityChecks.v1.batch([
|
|
|
10308
10310
|
</dl>
|
|
10309
10311
|
</details>
|
|
10310
10312
|
|
|
10311
|
-
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">pollBatch</a>(batchId) -> core.APIResponse<CandidApi.EligibilityCheckPage, CandidApi.preEncounter.eligibilityChecks.v1.pollBatch.Error></code></summary>
|
|
10313
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">pollBatch</a>(batchId, { ...params }) -> core.APIResponse<CandidApi.EligibilityCheckPage, CandidApi.preEncounter.eligibilityChecks.v1.pollBatch.Error></code></summary>
|
|
10312
10314
|
<dl>
|
|
10313
10315
|
<dd>
|
|
10314
10316
|
|
|
@@ -10362,6 +10364,213 @@ await client.preEncounter.eligibilityChecks.v1.pollBatch("batch_id");
|
|
|
10362
10364
|
<dl>
|
|
10363
10365
|
<dd>
|
|
10364
10366
|
|
|
10367
|
+
**request:** `CandidApi.preEncounter.eligibilityChecks.v1.BatchEligibilityPollRequest`
|
|
10368
|
+
|
|
10369
|
+
</dd>
|
|
10370
|
+
</dl>
|
|
10371
|
+
|
|
10372
|
+
<dl>
|
|
10373
|
+
<dd>
|
|
10374
|
+
|
|
10375
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10376
|
+
|
|
10377
|
+
</dd>
|
|
10378
|
+
</dl>
|
|
10379
|
+
</dd>
|
|
10380
|
+
</dl>
|
|
10381
|
+
|
|
10382
|
+
</dd>
|
|
10383
|
+
</dl>
|
|
10384
|
+
</details>
|
|
10385
|
+
|
|
10386
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">payerSearch</a>({ ...params }) -> core.APIResponse<CandidApi.PayerSearchResponse, CandidApi.preEncounter.eligibilityChecks.v1.payerSearch.Error></code></summary>
|
|
10387
|
+
<dl>
|
|
10388
|
+
<dd>
|
|
10389
|
+
|
|
10390
|
+
#### 📝 Description
|
|
10391
|
+
|
|
10392
|
+
<dl>
|
|
10393
|
+
<dd>
|
|
10394
|
+
|
|
10395
|
+
<dl>
|
|
10396
|
+
<dd>
|
|
10397
|
+
|
|
10398
|
+
Searches for payers that match the query parameters.
|
|
10399
|
+
|
|
10400
|
+
</dd>
|
|
10401
|
+
</dl>
|
|
10402
|
+
</dd>
|
|
10403
|
+
</dl>
|
|
10404
|
+
|
|
10405
|
+
#### 🔌 Usage
|
|
10406
|
+
|
|
10407
|
+
<dl>
|
|
10408
|
+
<dd>
|
|
10409
|
+
|
|
10410
|
+
<dl>
|
|
10411
|
+
<dd>
|
|
10412
|
+
|
|
10413
|
+
```typescript
|
|
10414
|
+
await client.preEncounter.eligibilityChecks.v1.payerSearch();
|
|
10415
|
+
```
|
|
10416
|
+
|
|
10417
|
+
</dd>
|
|
10418
|
+
</dl>
|
|
10419
|
+
</dd>
|
|
10420
|
+
</dl>
|
|
10421
|
+
|
|
10422
|
+
#### ⚙️ Parameters
|
|
10423
|
+
|
|
10424
|
+
<dl>
|
|
10425
|
+
<dd>
|
|
10426
|
+
|
|
10427
|
+
<dl>
|
|
10428
|
+
<dd>
|
|
10429
|
+
|
|
10430
|
+
**request:** `CandidApi.preEncounter.eligibilityChecks.v1.PayerSearchRequest`
|
|
10431
|
+
|
|
10432
|
+
</dd>
|
|
10433
|
+
</dl>
|
|
10434
|
+
|
|
10435
|
+
<dl>
|
|
10436
|
+
<dd>
|
|
10437
|
+
|
|
10438
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10439
|
+
|
|
10440
|
+
</dd>
|
|
10441
|
+
</dl>
|
|
10442
|
+
</dd>
|
|
10443
|
+
</dl>
|
|
10444
|
+
|
|
10445
|
+
</dd>
|
|
10446
|
+
</dl>
|
|
10447
|
+
</details>
|
|
10448
|
+
|
|
10449
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">recommendation</a>({ ...params }) -> core.APIResponse<CandidApi.EligibilityRecommendation[], CandidApi.preEncounter.eligibilityChecks.v1.recommendation.Error></code></summary>
|
|
10450
|
+
<dl>
|
|
10451
|
+
<dd>
|
|
10452
|
+
|
|
10453
|
+
#### 📝 Description
|
|
10454
|
+
|
|
10455
|
+
<dl>
|
|
10456
|
+
<dd>
|
|
10457
|
+
|
|
10458
|
+
<dl>
|
|
10459
|
+
<dd>
|
|
10460
|
+
|
|
10461
|
+
Gets recommendation for eligibility checks based on the request.
|
|
10462
|
+
|
|
10463
|
+
</dd>
|
|
10464
|
+
</dl>
|
|
10465
|
+
</dd>
|
|
10466
|
+
</dl>
|
|
10467
|
+
|
|
10468
|
+
#### 🔌 Usage
|
|
10469
|
+
|
|
10470
|
+
<dl>
|
|
10471
|
+
<dd>
|
|
10472
|
+
|
|
10473
|
+
<dl>
|
|
10474
|
+
<dd>
|
|
10475
|
+
|
|
10476
|
+
```typescript
|
|
10477
|
+
await client.preEncounter.eligibilityChecks.v1.recommendation();
|
|
10478
|
+
```
|
|
10479
|
+
|
|
10480
|
+
</dd>
|
|
10481
|
+
</dl>
|
|
10482
|
+
</dd>
|
|
10483
|
+
</dl>
|
|
10484
|
+
|
|
10485
|
+
#### ⚙️ Parameters
|
|
10486
|
+
|
|
10487
|
+
<dl>
|
|
10488
|
+
<dd>
|
|
10489
|
+
|
|
10490
|
+
<dl>
|
|
10491
|
+
<dd>
|
|
10492
|
+
|
|
10493
|
+
**request:** `CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationRequest`
|
|
10494
|
+
|
|
10495
|
+
</dd>
|
|
10496
|
+
</dl>
|
|
10497
|
+
|
|
10498
|
+
<dl>
|
|
10499
|
+
<dd>
|
|
10500
|
+
|
|
10501
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10502
|
+
|
|
10503
|
+
</dd>
|
|
10504
|
+
</dl>
|
|
10505
|
+
</dd>
|
|
10506
|
+
</dl>
|
|
10507
|
+
|
|
10508
|
+
</dd>
|
|
10509
|
+
</dl>
|
|
10510
|
+
</details>
|
|
10511
|
+
|
|
10512
|
+
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">createRecommendation</a>({ ...params }) -> core.APIResponse<CandidApi.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.createRecommendation.Error></code></summary>
|
|
10513
|
+
<dl>
|
|
10514
|
+
<dd>
|
|
10515
|
+
|
|
10516
|
+
#### 📝 Description
|
|
10517
|
+
|
|
10518
|
+
<dl>
|
|
10519
|
+
<dd>
|
|
10520
|
+
|
|
10521
|
+
<dl>
|
|
10522
|
+
<dd>
|
|
10523
|
+
|
|
10524
|
+
Create an eligibiilty recommendation based on the request.
|
|
10525
|
+
|
|
10526
|
+
</dd>
|
|
10527
|
+
</dl>
|
|
10528
|
+
</dd>
|
|
10529
|
+
</dl>
|
|
10530
|
+
|
|
10531
|
+
#### 🔌 Usage
|
|
10532
|
+
|
|
10533
|
+
<dl>
|
|
10534
|
+
<dd>
|
|
10535
|
+
|
|
10536
|
+
<dl>
|
|
10537
|
+
<dd>
|
|
10538
|
+
|
|
10539
|
+
```typescript
|
|
10540
|
+
await client.preEncounter.eligibilityChecks.v1.createRecommendation({
|
|
10541
|
+
eligibilityCheckId: "eligibility_check_id",
|
|
10542
|
+
patient: {},
|
|
10543
|
+
recommendation: {
|
|
10544
|
+
type: "MEDICARE_ADVANTAGE",
|
|
10545
|
+
payload: {
|
|
10546
|
+
payerId: "payer_id",
|
|
10547
|
+
payerName: "payer_name",
|
|
10548
|
+
},
|
|
10549
|
+
},
|
|
10550
|
+
});
|
|
10551
|
+
```
|
|
10552
|
+
|
|
10553
|
+
</dd>
|
|
10554
|
+
</dl>
|
|
10555
|
+
</dd>
|
|
10556
|
+
</dl>
|
|
10557
|
+
|
|
10558
|
+
#### ⚙️ Parameters
|
|
10559
|
+
|
|
10560
|
+
<dl>
|
|
10561
|
+
<dd>
|
|
10562
|
+
|
|
10563
|
+
<dl>
|
|
10564
|
+
<dd>
|
|
10565
|
+
|
|
10566
|
+
**request:** `CandidApi.PostEligibilityRecommendationRequest`
|
|
10567
|
+
|
|
10568
|
+
</dd>
|
|
10569
|
+
</dl>
|
|
10570
|
+
|
|
10571
|
+
<dl>
|
|
10572
|
+
<dd>
|
|
10573
|
+
|
|
10365
10574
|
**requestOptions:** `V1.RequestOptions`
|
|
10366
10575
|
|
|
10367
10576
|
</dd>
|
package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { TypeOfBillFrequencyCode } from "../../../../x12/resources/v1/types/TypeOfBillFrequencyCode";
|
|
8
8
|
import { ClaimSubmissionPayerResponsibilityType } from "../../../../commons/types/ClaimSubmissionPayerResponsibilityType";
|
|
9
9
|
import { IntendedSubmissionMedium } from "../../../../commons/types/IntendedSubmissionMedium";
|
|
10
10
|
export declare const ClaimSubmissionRecordCreate: core.serialization.ObjectSchema<serializers.claimSubmission.v1.ClaimSubmissionRecordCreate.Raw, CandidApi.claimSubmission.v1.ClaimSubmissionRecordCreate>;
|
|
11
11
|
export declare namespace ClaimSubmissionRecordCreate {
|
|
12
12
|
interface Raw {
|
|
13
13
|
submitted_at: string;
|
|
14
|
-
claim_frequency_code?:
|
|
14
|
+
claim_frequency_code?: TypeOfBillFrequencyCode.Raw | null;
|
|
15
15
|
payer_responsibility?: ClaimSubmissionPayerResponsibilityType.Raw | null;
|
|
16
16
|
intended_submission_medium?: IntendedSubmissionMedium.Raw | null;
|
|
17
17
|
}
|
package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js
CHANGED
|
@@ -38,12 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ClaimSubmissionRecordCreate = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
const
|
|
41
|
+
const TypeOfBillFrequencyCode_1 = require("../../../../x12/resources/v1/types/TypeOfBillFrequencyCode");
|
|
42
42
|
const ClaimSubmissionPayerResponsibilityType_1 = require("../../../../commons/types/ClaimSubmissionPayerResponsibilityType");
|
|
43
43
|
const IntendedSubmissionMedium_1 = require("../../../../commons/types/IntendedSubmissionMedium");
|
|
44
44
|
exports.ClaimSubmissionRecordCreate = core.serialization.object({
|
|
45
45
|
submittedAt: core.serialization.property("submitted_at", core.serialization.date()),
|
|
46
|
-
claimFrequencyCode: core.serialization.property("claim_frequency_code",
|
|
46
|
+
claimFrequencyCode: core.serialization.property("claim_frequency_code", TypeOfBillFrequencyCode_1.TypeOfBillFrequencyCode.optional()),
|
|
47
47
|
payerResponsibility: core.serialization.property("payer_responsibility", ClaimSubmissionPayerResponsibilityType_1.ClaimSubmissionPayerResponsibilityType.optional()),
|
|
48
48
|
intendedSubmissionMedium: core.serialization.property("intended_submission_medium", IntendedSubmissionMedium_1.IntendedSubmissionMedium.optional()),
|
|
49
49
|
});
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { TypeOfBillFrequencyCode } from "../../../../x12/resources/v1/types/TypeOfBillFrequencyCode";
|
|
8
8
|
import { ClaimSubmissionPayerResponsibilityType } from "../../../../commons/types/ClaimSubmissionPayerResponsibilityType";
|
|
9
9
|
import { IntendedSubmissionMedium } from "../../../../commons/types/IntendedSubmissionMedium";
|
|
10
10
|
export declare const ClaimSubmissionRecordCreateOptional: core.serialization.ObjectSchema<serializers.claimSubmission.v1.ClaimSubmissionRecordCreateOptional.Raw, CandidApi.claimSubmission.v1.ClaimSubmissionRecordCreateOptional>;
|
|
11
11
|
export declare namespace ClaimSubmissionRecordCreateOptional {
|
|
12
12
|
interface Raw {
|
|
13
13
|
submitted_at?: string | null;
|
|
14
|
-
claim_frequency_code?:
|
|
14
|
+
claim_frequency_code?: TypeOfBillFrequencyCode.Raw | null;
|
|
15
15
|
payer_responsibility?: ClaimSubmissionPayerResponsibilityType.Raw | null;
|
|
16
16
|
intended_submission_medium?: IntendedSubmissionMedium.Raw | null;
|
|
17
17
|
}
|
|
@@ -38,12 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ClaimSubmissionRecordCreateOptional = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
const
|
|
41
|
+
const TypeOfBillFrequencyCode_1 = require("../../../../x12/resources/v1/types/TypeOfBillFrequencyCode");
|
|
42
42
|
const ClaimSubmissionPayerResponsibilityType_1 = require("../../../../commons/types/ClaimSubmissionPayerResponsibilityType");
|
|
43
43
|
const IntendedSubmissionMedium_1 = require("../../../../commons/types/IntendedSubmissionMedium");
|
|
44
44
|
exports.ClaimSubmissionRecordCreateOptional = core.serialization.object({
|
|
45
45
|
submittedAt: core.serialization.property("submitted_at", core.serialization.date().optional()),
|
|
46
|
-
claimFrequencyCode: core.serialization.property("claim_frequency_code",
|
|
46
|
+
claimFrequencyCode: core.serialization.property("claim_frequency_code", TypeOfBillFrequencyCode_1.TypeOfBillFrequencyCode.optional()),
|
|
47
47
|
payerResponsibility: core.serialization.property("payer_responsibility", ClaimSubmissionPayerResponsibilityType_1.ClaimSubmissionPayerResponsibilityType.optional()),
|
|
48
48
|
intendedSubmissionMedium: core.serialization.property("intended_submission_medium", IntendedSubmissionMedium_1.IntendedSubmissionMedium.optional()),
|
|
49
49
|
});
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ClaimFrequencyTypeCode"), exports);
|
|
18
17
|
__exportStar(require("./ExternalClaimSubmissionCreate"), exports);
|
|
19
18
|
__exportStar(require("./ExternalClaimSubmissionCreateOptional"), exports);
|
|
20
19
|
__exportStar(require("./ClaimSubmissionRecordCreate"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const NextResponsibleParty: core.serialization.Schema<serializers.NextResponsibleParty.Raw, CandidApi.NextResponsibleParty>;
|
|
8
|
+
export declare namespace NextResponsibleParty {
|
|
9
|
+
type Raw = "primary" | "secondary" | "tertiary" | "patient" | "non_insurance" | "none";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NextResponsibleParty = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.NextResponsibleParty = core.serialization.enum_(["primary", "secondary", "tertiary", "patient", "non_insurance", "none"]);
|
|
@@ -88,3 +88,4 @@ __exportStar(require("./DelayReasonCode"), exports);
|
|
|
88
88
|
__exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
89
89
|
__exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
90
90
|
__exportStar(require("./EpsdtReferralConditionIndicatorCode"), exports);
|
|
91
|
+
__exportStar(require("./NextResponsibleParty"), exports);
|
|
@@ -5,11 +5,16 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { DiagnosisNotFoundError } from "../types/DiagnosisNotFoundError";
|
|
8
|
+
import { ServiceLinesMustHaveAtLeastOneDiagnosisError } from "../types/ServiceLinesMustHaveAtLeastOneDiagnosisError";
|
|
8
9
|
export declare const Error: core.serialization.Schema<serializers.diagnoses.delete.Error.Raw, CandidApi.diagnoses.delete.Error>;
|
|
9
10
|
export declare namespace Error {
|
|
10
|
-
type Raw = Error.DiagnosisNotFoundHttpError;
|
|
11
|
+
type Raw = Error.DiagnosisNotFoundHttpError | Error.ServiceLinesMustHaveAtLeastOneDiagnosisHttpError;
|
|
11
12
|
interface DiagnosisNotFoundHttpError {
|
|
12
13
|
errorName: "DiagnosisNotFoundHTTPError";
|
|
13
14
|
content: DiagnosisNotFoundError.Raw;
|
|
14
15
|
}
|
|
16
|
+
interface ServiceLinesMustHaveAtLeastOneDiagnosisHttpError {
|
|
17
|
+
errorName: "ServiceLinesMustHaveAtLeastOneDiagnosisHTTPError";
|
|
18
|
+
content: ServiceLinesMustHaveAtLeastOneDiagnosisError.Raw;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
@@ -51,17 +51,23 @@ exports.Error = void 0;
|
|
|
51
51
|
const CandidApi = __importStar(require("../../../../api/index"));
|
|
52
52
|
const core = __importStar(require("../../../../core"));
|
|
53
53
|
const DiagnosisNotFoundError_1 = require("../types/DiagnosisNotFoundError");
|
|
54
|
+
const ServiceLinesMustHaveAtLeastOneDiagnosisError_1 = require("../types/ServiceLinesMustHaveAtLeastOneDiagnosisError");
|
|
54
55
|
exports.Error = core.serialization
|
|
55
56
|
.union("errorName", {
|
|
56
57
|
DiagnosisNotFoundHTTPError: core.serialization.object({
|
|
57
58
|
content: DiagnosisNotFoundError_1.DiagnosisNotFoundError,
|
|
58
59
|
}),
|
|
60
|
+
ServiceLinesMustHaveAtLeastOneDiagnosisHTTPError: core.serialization.object({
|
|
61
|
+
content: ServiceLinesMustHaveAtLeastOneDiagnosisError_1.ServiceLinesMustHaveAtLeastOneDiagnosisError,
|
|
62
|
+
}),
|
|
59
63
|
})
|
|
60
64
|
.transform({
|
|
61
65
|
transform: (value) => {
|
|
62
66
|
switch (value.errorName) {
|
|
63
67
|
case "DiagnosisNotFoundHTTPError":
|
|
64
68
|
return CandidApi.diagnoses.delete.Error.diagnosisNotFoundHttpError(value.content);
|
|
69
|
+
case "ServiceLinesMustHaveAtLeastOneDiagnosisHTTPError":
|
|
70
|
+
return CandidApi.diagnoses.delete.Error.serviceLinesMustHaveAtLeastOneDiagnosisHttpError(value.content);
|
|
65
71
|
}
|
|
66
72
|
},
|
|
67
73
|
untransform: (_a) => {
|
package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DiagnosisId } from "./DiagnosisId";
|
|
8
|
+
import { ServiceLineId } from "../../commons/types/ServiceLineId";
|
|
9
|
+
export declare const ServiceLinesMustHaveAtLeastOneDiagnosisError: core.serialization.ObjectSchema<serializers.ServiceLinesMustHaveAtLeastOneDiagnosisError.Raw, CandidApi.ServiceLinesMustHaveAtLeastOneDiagnosisError>;
|
|
10
|
+
export declare namespace ServiceLinesMustHaveAtLeastOneDiagnosisError {
|
|
11
|
+
interface Raw {
|
|
12
|
+
diagnosis_id: DiagnosisId.Raw;
|
|
13
|
+
service_line_id: ServiceLineId.Raw;
|
|
14
|
+
message: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ServiceLinesMustHaveAtLeastOneDiagnosisError = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const DiagnosisId_1 = require("./DiagnosisId");
|
|
42
|
+
const ServiceLineId_1 = require("../../commons/types/ServiceLineId");
|
|
43
|
+
exports.ServiceLinesMustHaveAtLeastOneDiagnosisError = core.serialization.object({
|
|
44
|
+
diagnosisId: core.serialization.property("diagnosis_id", DiagnosisId_1.DiagnosisId),
|
|
45
|
+
serviceLineId: core.serialization.property("service_line_id", ServiceLineId_1.ServiceLineId),
|
|
46
|
+
message: core.serialization.string(),
|
|
47
|
+
});
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./StandaloneDiagnosisCreate"), exports);
|
|
|
21
21
|
__exportStar(require("./DiagnosisTypeCode"), exports);
|
|
22
22
|
__exportStar(require("./Diagnosis"), exports);
|
|
23
23
|
__exportStar(require("./DiagnosisNotFoundError"), exports);
|
|
24
|
+
__exportStar(require("./ServiceLinesMustHaveAtLeastOneDiagnosisError"), exports);
|
|
@@ -4,12 +4,19 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
+
import { State } from "../../../../commons/types/State";
|
|
7
8
|
import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCaptureClaimCreationId";
|
|
8
9
|
import { EncounterId } from "../../../../commons/types/EncounterId";
|
|
9
10
|
import { Claim } from "../../../../claims/types/Claim";
|
|
10
11
|
import { Patient } from "../../../../individual/types/Patient";
|
|
11
12
|
import { Guarantor } from "../../../../guarantor/resources/v1/types/Guarantor";
|
|
12
13
|
import { EncounterProvider } from "../../../../encounterProviders/resources/v2/types/EncounterProvider";
|
|
14
|
+
import { RenderingProvider } from "../../../../encounterProviders/resources/v2/types/RenderingProvider";
|
|
15
|
+
import { TypeOfAdmissionOrVisitCode } from "../../../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode";
|
|
16
|
+
import { PointOfOriginForAdmissionOrVisitCode } from "../../../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode";
|
|
17
|
+
import { PatientDischargeStatusCode } from "../../../../x12/resources/v1/types/PatientDischargeStatusCode";
|
|
18
|
+
import { EncounterSubmissionExpectation } from "./EncounterSubmissionExpectation";
|
|
19
|
+
import { TypeOfBillComposite } from "../../../../x12/resources/v1/types/TypeOfBillComposite";
|
|
13
20
|
import { EncounterServiceFacility } from "../../../../serviceFacility/types/EncounterServiceFacility";
|
|
14
21
|
import { Subscriber } from "../../../../individual/types/Subscriber";
|
|
15
22
|
import { PriorAuthorizationNumber } from "./PriorAuthorizationNumber";
|
|
@@ -29,10 +36,12 @@ import { EncounterSubmissionOriginType } from "./EncounterSubmissionOriginType";
|
|
|
29
36
|
import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
30
37
|
import { EpsdtReferral } from "./EpsdtReferral";
|
|
31
38
|
import { ClaimSupplementalInformation } from "./ClaimSupplementalInformation";
|
|
39
|
+
import { NextResponsibleParty } from "../../../../commons/types/NextResponsibleParty";
|
|
32
40
|
import { EncounterBase } from "./EncounterBase";
|
|
33
41
|
export declare const Encounter: core.serialization.ObjectSchema<serializers.encounters.v4.Encounter.Raw, CandidApi.encounters.v4.Encounter>;
|
|
34
42
|
export declare namespace Encounter {
|
|
35
43
|
interface Raw extends EncounterBase.Raw {
|
|
44
|
+
accident_state_or_province_code?: State.Raw | null;
|
|
36
45
|
claim_creation_id?: ChargeCaptureClaimCreationId.Raw | null;
|
|
37
46
|
patient_control_number?: string | null;
|
|
38
47
|
encounter_id: EncounterId.Raw;
|
|
@@ -41,6 +50,16 @@ export declare namespace Encounter {
|
|
|
41
50
|
guarantor?: Guarantor.Raw | null;
|
|
42
51
|
billing_provider: EncounterProvider.Raw;
|
|
43
52
|
rendering_provider: EncounterProvider.Raw;
|
|
53
|
+
attending_provider?: RenderingProvider.Raw | null;
|
|
54
|
+
admission_hour?: number | null;
|
|
55
|
+
admission_type_code?: TypeOfAdmissionOrVisitCode.Raw | null;
|
|
56
|
+
admission_source_code?: PointOfOriginForAdmissionOrVisitCode.Raw | null;
|
|
57
|
+
discharge_hour?: number | null;
|
|
58
|
+
discharge_status?: PatientDischargeStatusCode.Raw | null;
|
|
59
|
+
operating_provider?: RenderingProvider.Raw | null;
|
|
60
|
+
other_operating_provider?: RenderingProvider.Raw | null;
|
|
61
|
+
submission_expectation?: EncounterSubmissionExpectation.Raw | null;
|
|
62
|
+
type_of_bill?: TypeOfBillComposite.Raw | null;
|
|
44
63
|
referring_provider?: EncounterProvider.Raw | null;
|
|
45
64
|
initial_referring_provider?: EncounterProvider.Raw | null;
|
|
46
65
|
supervising_provider?: EncounterProvider.Raw | null;
|
|
@@ -71,5 +90,6 @@ export declare namespace Encounter {
|
|
|
71
90
|
secondary_payer_carrier_code?: string | null;
|
|
72
91
|
last_submitted_at?: string | null;
|
|
73
92
|
created_at: string;
|
|
93
|
+
next_responsible_party?: NextResponsibleParty.Raw | null;
|
|
74
94
|
}
|
|
75
95
|
}
|
|
@@ -38,12 +38,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Encounter = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const State_1 = require("../../../../commons/types/State");
|
|
41
42
|
const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/ChargeCaptureClaimCreationId");
|
|
42
43
|
const EncounterId_1 = require("../../../../commons/types/EncounterId");
|
|
43
44
|
const Claim_1 = require("../../../../claims/types/Claim");
|
|
44
45
|
const Patient_1 = require("../../../../individual/types/Patient");
|
|
45
46
|
const Guarantor_1 = require("../../../../guarantor/resources/v1/types/Guarantor");
|
|
46
47
|
const EncounterProvider_1 = require("../../../../encounterProviders/resources/v2/types/EncounterProvider");
|
|
48
|
+
const RenderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProvider");
|
|
49
|
+
const TypeOfAdmissionOrVisitCode_1 = require("../../../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode");
|
|
50
|
+
const PointOfOriginForAdmissionOrVisitCode_1 = require("../../../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode");
|
|
51
|
+
const PatientDischargeStatusCode_1 = require("../../../../x12/resources/v1/types/PatientDischargeStatusCode");
|
|
52
|
+
const EncounterSubmissionExpectation_1 = require("./EncounterSubmissionExpectation");
|
|
53
|
+
const TypeOfBillComposite_1 = require("../../../../x12/resources/v1/types/TypeOfBillComposite");
|
|
47
54
|
const EncounterServiceFacility_1 = require("../../../../serviceFacility/types/EncounterServiceFacility");
|
|
48
55
|
const Subscriber_1 = require("../../../../individual/types/Subscriber");
|
|
49
56
|
const PriorAuthorizationNumber_1 = require("./PriorAuthorizationNumber");
|
|
@@ -63,9 +70,11 @@ const EncounterSubmissionOriginType_1 = require("./EncounterSubmissionOriginType
|
|
|
63
70
|
const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
64
71
|
const EpsdtReferral_1 = require("./EpsdtReferral");
|
|
65
72
|
const ClaimSupplementalInformation_1 = require("./ClaimSupplementalInformation");
|
|
73
|
+
const NextResponsibleParty_1 = require("../../../../commons/types/NextResponsibleParty");
|
|
66
74
|
const EncounterBase_1 = require("./EncounterBase");
|
|
67
75
|
exports.Encounter = core.serialization
|
|
68
76
|
.object({
|
|
77
|
+
accidentStateOrProvinceCode: core.serialization.property("accident_state_or_province_code", State_1.State.optional()),
|
|
69
78
|
claimCreationId: core.serialization.property("claim_creation_id", ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId.optional()),
|
|
70
79
|
patientControlNumber: core.serialization.property("patient_control_number", core.serialization.string().optional()),
|
|
71
80
|
encounterId: core.serialization.property("encounter_id", EncounterId_1.EncounterId),
|
|
@@ -74,6 +83,16 @@ exports.Encounter = core.serialization
|
|
|
74
83
|
guarantor: Guarantor_1.Guarantor.optional(),
|
|
75
84
|
billingProvider: core.serialization.property("billing_provider", EncounterProvider_1.EncounterProvider),
|
|
76
85
|
renderingProvider: core.serialization.property("rendering_provider", EncounterProvider_1.EncounterProvider),
|
|
86
|
+
attendingProvider: core.serialization.property("attending_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
87
|
+
admissionHour: core.serialization.property("admission_hour", core.serialization.number().optional()),
|
|
88
|
+
admissionTypeCode: core.serialization.property("admission_type_code", TypeOfAdmissionOrVisitCode_1.TypeOfAdmissionOrVisitCode.optional()),
|
|
89
|
+
admissionSourceCode: core.serialization.property("admission_source_code", PointOfOriginForAdmissionOrVisitCode_1.PointOfOriginForAdmissionOrVisitCode.optional()),
|
|
90
|
+
dischargeHour: core.serialization.property("discharge_hour", core.serialization.number().optional()),
|
|
91
|
+
dischargeStatus: core.serialization.property("discharge_status", PatientDischargeStatusCode_1.PatientDischargeStatusCode.optional()),
|
|
92
|
+
operatingProvider: core.serialization.property("operating_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
93
|
+
otherOperatingProvider: core.serialization.property("other_operating_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
94
|
+
submissionExpectation: core.serialization.property("submission_expectation", EncounterSubmissionExpectation_1.EncounterSubmissionExpectation.optional()),
|
|
95
|
+
typeOfBill: core.serialization.property("type_of_bill", TypeOfBillComposite_1.TypeOfBillComposite.optional()),
|
|
77
96
|
referringProvider: core.serialization.property("referring_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
78
97
|
initialReferringProvider: core.serialization.property("initial_referring_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
79
98
|
supervisingProvider: core.serialization.property("supervising_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
@@ -104,5 +123,6 @@ exports.Encounter = core.serialization
|
|
|
104
123
|
secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
|
|
105
124
|
lastSubmittedAt: core.serialization.property("last_submitted_at", core.serialization.date().optional()),
|
|
106
125
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
126
|
+
nextResponsibleParty: core.serialization.property("next_responsible_party", NextResponsibleParty_1.NextResponsibleParty.optional()),
|
|
107
127
|
})
|
|
108
128
|
.extend(EncounterBase_1.EncounterBase);
|
package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const EncounterSubmissionExpectation: core.serialization.Schema<serializers.encounters.v4.EncounterSubmissionExpectation.Raw, CandidApi.encounters.v4.EncounterSubmissionExpectation>;
|
|
8
|
+
export declare namespace EncounterSubmissionExpectation {
|
|
9
|
+
type Raw = "TARGET_PROFESSIONAL" | "TARGET_INSTITUTIONAL";
|
|
10
|
+
}
|