candidhealth 0.34.4 → 0.34.6
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.d.ts +3 -0
- package/Client.js +7 -2
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/api/resources/diagnoses/client/Client.js +237 -0
- package/api/resources/diagnoses/client/create.d.ts +22 -0
- package/api/resources/diagnoses/client/create.js +47 -0
- package/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/api/resources/diagnoses/client/delete.js +58 -0
- package/api/resources/diagnoses/client/index.d.ts +4 -0
- package/api/resources/diagnoses/client/index.js +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/api/resources/diagnoses/client/requests/index.js +2 -0
- package/api/resources/diagnoses/client/update.d.ts +28 -0
- package/api/resources/diagnoses/client/update.js +58 -0
- package/api/resources/diagnoses/index.d.ts +1 -0
- package/api/resources/diagnoses/index.js +1 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- 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/encounterProviders/resources/v2/client/Client.js +20 -19
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +28 -10
- package/api/resources/encounters/resources/v4/client/Client.js +33 -15
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
- 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.js +1 -1
- 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/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- 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/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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +4 -4
- package/dist/api/resources/contracts/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.d.ts +65 -0
- package/dist/api/resources/diagnoses/client/Client.js +237 -0
- package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
- package/dist/api/resources/diagnoses/client/create.js +47 -0
- package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/delete.js +58 -0
- package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
- package/dist/api/resources/diagnoses/client/index.js +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/update.js +58 -0
- package/dist/api/resources/diagnoses/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/index.js +1 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.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/encounterProviders/resources/v2/client/Client.js +20 -19
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +28 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.js +33 -15
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
- 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.js +1 -1
- 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/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- 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/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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
- package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/dist/serialization/resources/diagnoses/client/index.js +32 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/update.js +61 -0
- package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/index.js +1 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -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/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +31 -5260
- package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/serialization/resources/diagnoses/client/delete.js +61 -0
- package/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/serialization/resources/diagnoses/client/index.js +32 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/serialization/resources/diagnoses/client/update.js +61 -0
- package/serialization/resources/diagnoses/index.d.ts +1 -0
- package/serialization/resources/diagnoses/index.js +1 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts
CHANGED
|
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
export declare type Error =
|
|
7
7
|
/**
|
|
8
8
|
* The encounter already has a supervising provider. */
|
|
9
|
-
CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError
|
|
10
|
-
/**
|
|
11
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
12
|
-
| CandidApi.encounterProviders.v2.createSupervisingProvider.Error.UnprocessableEntityError
|
|
9
|
+
CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError
|
|
13
10
|
/**
|
|
14
11
|
* The encounter could not be found. */
|
|
15
12
|
| CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
|
|
@@ -18,9 +15,9 @@ export declare namespace Error {
|
|
|
18
15
|
errorName: "EntityConflictError";
|
|
19
16
|
content: CandidApi.EntityConflictErrorMessage;
|
|
20
17
|
}
|
|
21
|
-
interface
|
|
22
|
-
errorName: "
|
|
23
|
-
content: CandidApi.
|
|
18
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
19
|
+
errorName: "HttpRequestValidationsError";
|
|
20
|
+
content: CandidApi.RequestValidationError[];
|
|
24
21
|
}
|
|
25
22
|
interface EntityNotFoundError extends _Utils {
|
|
26
23
|
errorName: "EntityNotFoundError";
|
|
@@ -35,14 +32,14 @@ export declare namespace Error {
|
|
|
35
32
|
}
|
|
36
33
|
interface _Visitor<_Result> {
|
|
37
34
|
entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
|
|
38
|
-
|
|
35
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
39
36
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
40
37
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
export declare const Error: {
|
|
44
41
|
readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError;
|
|
45
|
-
readonly
|
|
42
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError;
|
|
46
43
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError;
|
|
47
44
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
|
|
48
45
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js
CHANGED
|
@@ -38,10 +38,10 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
httpRequestValidationsError: (value) => {
|
|
42
42
|
return {
|
|
43
43
|
content: value,
|
|
44
|
-
errorName: "
|
|
44
|
+
errorName: "HttpRequestValidationsError",
|
|
45
45
|
_visit: function (visitor) {
|
|
46
46
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
@@ -69,8 +69,8 @@ exports.Error = {
|
|
|
69
69
|
switch (value.errorName) {
|
|
70
70
|
case "EntityConflictError":
|
|
71
71
|
return visitor.entityConflictError(value.content);
|
|
72
|
-
case "
|
|
73
|
-
return visitor.
|
|
72
|
+
case "HttpRequestValidationsError":
|
|
73
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
74
74
|
case "EntityNotFoundError":
|
|
75
75
|
return visitor.entityNotFoundError(value.content);
|
|
76
76
|
default:
|
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no initial referring provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js
CHANGED
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts
CHANGED
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateOrderingProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no ordering provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateOrderingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
|
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts
CHANGED
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateReferringProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no referring provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js
CHANGED
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateReferringProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts
CHANGED
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no supervising provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js
CHANGED
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The billing provider is the provider or business entity submitting the claim.
|
|
7
|
+
* Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider.
|
|
8
|
+
* From a payer's perspective, this represents the person or entity being reimbursed.
|
|
9
|
+
* When a contract exists with the target payer, the billing provider should be the entity contracted with the payer.
|
|
10
|
+
* In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the
|
|
11
|
+
* tax ID (TIN) that the provider gave to the payer during contracting.
|
|
12
|
+
* In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID.
|
|
13
|
+
* Box 33 on the CMS-1500 claim form.
|
|
14
|
+
*/
|
|
15
|
+
export interface BillingProviderUpdate extends CandidApi.encounterProviders.v2.EncounterProviderBase {
|
|
16
|
+
address?: CandidApi.StreetAddressLongZip;
|
|
17
|
+
/** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
|
|
18
|
+
taxId?: string;
|
|
19
|
+
npi?: string;
|
|
20
|
+
taxonomyCode?: string;
|
|
21
|
+
}
|
|
@@ -10,5 +10,6 @@ export * from "./SupervisingProviderUpdate";
|
|
|
10
10
|
export * from "./OrderingProvider";
|
|
11
11
|
export * from "./OrderingProviderUpdate";
|
|
12
12
|
export * from "./BillingProvider";
|
|
13
|
+
export * from "./BillingProviderUpdate";
|
|
13
14
|
export * from "./ProviderId";
|
|
14
15
|
export * from "./EncounterProvider";
|
|
@@ -26,5 +26,6 @@ __exportStar(require("./SupervisingProviderUpdate"), exports);
|
|
|
26
26
|
__exportStar(require("./OrderingProvider"), exports);
|
|
27
27
|
__exportStar(require("./OrderingProviderUpdate"), exports);
|
|
28
28
|
__exportStar(require("./BillingProvider"), exports);
|
|
29
|
+
__exportStar(require("./BillingProviderUpdate"), exports);
|
|
29
30
|
__exportStar(require("./ProviderId"), exports);
|
|
30
31
|
__exportStar(require("./EncounterProvider"), exports);
|
|
@@ -273,7 +273,8 @@ export declare class V4 {
|
|
|
273
273
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
274
274
|
* linkSequenceNumber: "string",
|
|
275
275
|
* pharmacyPrescriptionNumber: "string",
|
|
276
|
-
* conversionFormula: "string"
|
|
276
|
+
* conversionFormula: "string",
|
|
277
|
+
* drugDescription: "string"
|
|
277
278
|
* },
|
|
278
279
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
279
280
|
* description: "string",
|
|
@@ -294,10 +295,10 @@ export declare class V4 {
|
|
|
294
295
|
* lastName: "string",
|
|
295
296
|
* organizationName: "string"
|
|
296
297
|
* },
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
298
|
+
* testResults: [{
|
|
299
|
+
* value: 1.1,
|
|
300
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
301
|
+
* }]
|
|
301
302
|
* }],
|
|
302
303
|
* guarantor: {
|
|
303
304
|
* phoneNumbers: [{
|
|
@@ -554,7 +555,8 @@ export declare class V4 {
|
|
|
554
555
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
555
556
|
* linkSequenceNumber: "string",
|
|
556
557
|
* pharmacyPrescriptionNumber: "string",
|
|
557
|
-
* conversionFormula: "string"
|
|
558
|
+
* conversionFormula: "string",
|
|
559
|
+
* drugDescription: "string"
|
|
558
560
|
* },
|
|
559
561
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
560
562
|
* description: "string",
|
|
@@ -575,10 +577,10 @@ export declare class V4 {
|
|
|
575
577
|
* lastName: "string",
|
|
576
578
|
* organizationName: "string"
|
|
577
579
|
* },
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
580
|
+
* testResults: [{
|
|
581
|
+
* value: 1.1,
|
|
582
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
583
|
+
* }]
|
|
582
584
|
* }],
|
|
583
585
|
* externalClaimSubmission: {
|
|
584
586
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
@@ -867,6 +869,22 @@ export declare class V4 {
|
|
|
867
869
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
868
870
|
* emailConsent: true
|
|
869
871
|
* },
|
|
872
|
+
* billingProvider: {
|
|
873
|
+
* address: {
|
|
874
|
+
* address1: "123 Main St",
|
|
875
|
+
* address2: "Apt 1",
|
|
876
|
+
* city: "New York",
|
|
877
|
+
* state: CandidApi.State.Ny,
|
|
878
|
+
* zipCode: "10001",
|
|
879
|
+
* zipPlusFourCode: "1234"
|
|
880
|
+
* },
|
|
881
|
+
* taxId: "string",
|
|
882
|
+
* npi: "string",
|
|
883
|
+
* taxonomyCode: "string",
|
|
884
|
+
* firstName: "string",
|
|
885
|
+
* lastName: "string",
|
|
886
|
+
* organizationName: "string"
|
|
887
|
+
* },
|
|
870
888
|
* supervisingProvider: {
|
|
871
889
|
* npi: "string",
|
|
872
890
|
* taxonomyCode: "string",
|
|
@@ -132,7 +132,7 @@ class V4 {
|
|
|
132
132
|
Authorization: yield this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.34.
|
|
135
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ class V4 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.34.
|
|
181
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -430,7 +430,8 @@ class V4 {
|
|
|
430
430
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
431
431
|
* linkSequenceNumber: "string",
|
|
432
432
|
* pharmacyPrescriptionNumber: "string",
|
|
433
|
-
* conversionFormula: "string"
|
|
433
|
+
* conversionFormula: "string",
|
|
434
|
+
* drugDescription: "string"
|
|
434
435
|
* },
|
|
435
436
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
436
437
|
* description: "string",
|
|
@@ -451,10 +452,10 @@ class V4 {
|
|
|
451
452
|
* lastName: "string",
|
|
452
453
|
* organizationName: "string"
|
|
453
454
|
* },
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
455
|
+
* testResults: [{
|
|
456
|
+
* value: 1.1,
|
|
457
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
458
|
+
* }]
|
|
458
459
|
* }],
|
|
459
460
|
* guarantor: {
|
|
460
461
|
* phoneNumbers: [{
|
|
@@ -574,7 +575,7 @@ class V4 {
|
|
|
574
575
|
Authorization: yield this._getAuthorizationHeader(),
|
|
575
576
|
"X-Fern-Language": "JavaScript",
|
|
576
577
|
"X-Fern-SDK-Name": "candidhealth",
|
|
577
|
-
"X-Fern-SDK-Version": "0.34.
|
|
578
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
578
579
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
579
580
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
580
581
|
},
|
|
@@ -769,7 +770,8 @@ class V4 {
|
|
|
769
770
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
770
771
|
* linkSequenceNumber: "string",
|
|
771
772
|
* pharmacyPrescriptionNumber: "string",
|
|
772
|
-
* conversionFormula: "string"
|
|
773
|
+
* conversionFormula: "string",
|
|
774
|
+
* drugDescription: "string"
|
|
773
775
|
* },
|
|
774
776
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
775
777
|
* description: "string",
|
|
@@ -790,10 +792,10 @@ class V4 {
|
|
|
790
792
|
* lastName: "string",
|
|
791
793
|
* organizationName: "string"
|
|
792
794
|
* },
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
795
|
+
* testResults: [{
|
|
796
|
+
* value: 1.1,
|
|
797
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
798
|
+
* }]
|
|
797
799
|
* }],
|
|
798
800
|
* externalClaimSubmission: {
|
|
799
801
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
@@ -892,7 +894,7 @@ class V4 {
|
|
|
892
894
|
Authorization: yield this._getAuthorizationHeader(),
|
|
893
895
|
"X-Fern-Language": "JavaScript",
|
|
894
896
|
"X-Fern-SDK-Name": "candidhealth",
|
|
895
|
-
"X-Fern-SDK-Version": "0.34.
|
|
897
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
896
898
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
897
899
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
898
900
|
},
|
|
@@ -1141,6 +1143,22 @@ class V4 {
|
|
|
1141
1143
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
1142
1144
|
* emailConsent: true
|
|
1143
1145
|
* },
|
|
1146
|
+
* billingProvider: {
|
|
1147
|
+
* address: {
|
|
1148
|
+
* address1: "123 Main St",
|
|
1149
|
+
* address2: "Apt 1",
|
|
1150
|
+
* city: "New York",
|
|
1151
|
+
* state: CandidApi.State.Ny,
|
|
1152
|
+
* zipCode: "10001",
|
|
1153
|
+
* zipPlusFourCode: "1234"
|
|
1154
|
+
* },
|
|
1155
|
+
* taxId: "string",
|
|
1156
|
+
* npi: "string",
|
|
1157
|
+
* taxonomyCode: "string",
|
|
1158
|
+
* firstName: "string",
|
|
1159
|
+
* lastName: "string",
|
|
1160
|
+
* organizationName: "string"
|
|
1161
|
+
* },
|
|
1144
1162
|
* supervisingProvider: {
|
|
1145
1163
|
* npi: "string",
|
|
1146
1164
|
* taxonomyCode: "string",
|
|
@@ -1200,7 +1218,7 @@ class V4 {
|
|
|
1200
1218
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1201
1219
|
"X-Fern-Language": "JavaScript",
|
|
1202
1220
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1203
|
-
"X-Fern-SDK-Version": "0.34.
|
|
1221
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
1204
1222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1205
1223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1206
1224
|
},
|
|
@@ -224,7 +224,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
224
224
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
225
225
|
* linkSequenceNumber: "string",
|
|
226
226
|
* pharmacyPrescriptionNumber: "string",
|
|
227
|
-
* conversionFormula: "string"
|
|
227
|
+
* conversionFormula: "string",
|
|
228
|
+
* drugDescription: "string"
|
|
228
229
|
* },
|
|
229
230
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
230
231
|
* description: "string",
|
|
@@ -245,10 +246,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
245
246
|
* lastName: "string",
|
|
246
247
|
* organizationName: "string"
|
|
247
248
|
* },
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
249
|
+
* testResults: [{
|
|
250
|
+
* value: 1.1,
|
|
251
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
252
|
+
* }]
|
|
252
253
|
* }],
|
|
253
254
|
* guarantor: {
|
|
254
255
|
* phoneNumbers: [{
|
|
@@ -128,7 +128,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
128
128
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
129
129
|
* linkSequenceNumber: "string",
|
|
130
130
|
* pharmacyPrescriptionNumber: "string",
|
|
131
|
-
* conversionFormula: "string"
|
|
131
|
+
* conversionFormula: "string",
|
|
132
|
+
* drugDescription: "string"
|
|
132
133
|
* },
|
|
133
134
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
134
135
|
* description: "string",
|
|
@@ -149,10 +150,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
149
150
|
* lastName: "string",
|
|
150
151
|
* organizationName: "string"
|
|
151
152
|
* },
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
153
|
+
* testResults: [{
|
|
154
|
+
* value: 1.1,
|
|
155
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
156
|
+
* }]
|
|
156
157
|
* }],
|
|
157
158
|
* externalClaimSubmission: {
|
|
158
159
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|