candidhealth 0.34.9 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +61 -56
- 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/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -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/credentialing/client/Client.d.ts +26 -0
- package/api/resources/credentialing/client/Client.js +17 -0
- package/api/resources/credentialing/client/index.d.ts +1 -0
- package/api/resources/credentialing/client/index.js +2 -0
- package/api/resources/credentialing/index.d.ts +2 -0
- package/api/resources/credentialing/index.js +18 -0
- package/api/resources/credentialing/resources/index.d.ts +1 -0
- package/api/resources/credentialing/resources/index.js +27 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/api/resources/credentialing/resources/v2/index.js +18 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/api/resources/credentialing/resources/v2/types/index.js +20 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
- package/api/resources/encounters/resources/v4/client/Client.js +9 -11
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/types/index.js +0 -1
- 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 +3 -2
- package/api/resources/exports/resources/v3/client/Client.js +4 -3
- 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/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/individual/types/Patient.d.ts +14 -2
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- 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.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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- 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.d.ts +8 -46
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/api/resources/remitDrafts/index.d.ts +1 -0
- package/api/resources/remitDrafts/index.js +17 -0
- package/api/resources/remitDrafts/resources/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/index.js +27 -0
- package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/v1/index.js +17 -0
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
- package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +61 -56
- 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/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -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/credentialing/client/Client.d.ts +26 -0
- package/dist/api/resources/credentialing/client/Client.js +17 -0
- package/dist/api/resources/credentialing/client/index.d.ts +1 -0
- package/dist/api/resources/credentialing/client/index.js +2 -0
- package/dist/api/resources/credentialing/index.d.ts +2 -0
- package/dist/api/resources/credentialing/index.js +18 -0
- package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/index.js +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/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.d.ts +4 -5
- package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
- 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 +3 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
- 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/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/individual/types/Patient.d.ts +14 -2
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- 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.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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- 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.d.ts +8 -46
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/api/resources/remitDrafts/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/index.js +17 -0
- package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/index.js +27 -0
- package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -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/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -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/credentialing/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/index.js +17 -0
- package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/resources/index.js +27 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/index.js +17 -0
- package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/package.json +1 -1
- package/reference.md +622 -457
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/credentialing/index.d.ts +1 -0
- package/serialization/resources/credentialing/index.js +17 -0
- package/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/serialization/resources/credentialing/resources/index.js +27 -0
- package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/serialization/resources/remitDrafts/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/index.js +17 -0
- package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/index.js +27 -0
- package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
- package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
- /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
|
@@ -67,7 +67,7 @@ class V1 {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -128,7 +128,7 @@ class V1 {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
211
211
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
212
212
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.
|
|
280
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -73,7 +73,7 @@ class Diagnoses {
|
|
|
73
73
|
Authorization: yield this._getAuthorizationHeader(),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "candidhealth",
|
|
76
|
-
"X-Fern-SDK-Version": "0.
|
|
76
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -126,7 +126,7 @@ class Diagnoses {
|
|
|
126
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
130
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
131
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
132
132
|
},
|
|
@@ -188,7 +188,7 @@ class Diagnoses {
|
|
|
188
188
|
Authorization: yield this._getAuthorizationHeader(),
|
|
189
189
|
"X-Fern-Language": "JavaScript",
|
|
190
190
|
"X-Fern-SDK-Name": "candidhealth",
|
|
191
|
-
"X-Fern-SDK-Version": "0.
|
|
191
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
192
192
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
193
193
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
194
194
|
},
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.
|
|
86
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.
|
|
230
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -81,7 +81,7 @@ class V2 {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "candidhealth",
|
|
84
|
-
"X-Fern-SDK-Version": "0.
|
|
84
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -160,7 +160,7 @@ class V2 {
|
|
|
160
160
|
Authorization: yield this._getAuthorizationHeader(),
|
|
161
161
|
"X-Fern-Language": "JavaScript",
|
|
162
162
|
"X-Fern-SDK-Name": "candidhealth",
|
|
163
|
-
"X-Fern-SDK-Version": "0.
|
|
163
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
164
164
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
165
165
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
166
166
|
},
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -318,7 +318,7 @@ class V2 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.
|
|
321
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -396,7 +396,7 @@ class V2 {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
399
|
-
"X-Fern-SDK-Version": "0.
|
|
399
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -476,7 +476,7 @@ class V2 {
|
|
|
476
476
|
Authorization: yield this._getAuthorizationHeader(),
|
|
477
477
|
"X-Fern-Language": "JavaScript",
|
|
478
478
|
"X-Fern-SDK-Name": "candidhealth",
|
|
479
|
-
"X-Fern-SDK-Version": "0.
|
|
479
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
480
480
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
481
481
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
482
482
|
},
|
|
@@ -557,7 +557,7 @@ class V2 {
|
|
|
557
557
|
Authorization: yield this._getAuthorizationHeader(),
|
|
558
558
|
"X-Fern-Language": "JavaScript",
|
|
559
559
|
"X-Fern-SDK-Name": "candidhealth",
|
|
560
|
-
"X-Fern-SDK-Version": "0.
|
|
560
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
561
561
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
562
562
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
563
563
|
},
|
|
@@ -637,7 +637,7 @@ class V2 {
|
|
|
637
637
|
Authorization: yield this._getAuthorizationHeader(),
|
|
638
638
|
"X-Fern-Language": "JavaScript",
|
|
639
639
|
"X-Fern-SDK-Name": "candidhealth",
|
|
640
|
-
"X-Fern-SDK-Version": "0.
|
|
640
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
641
641
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
642
642
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
643
643
|
},
|
|
@@ -701,7 +701,7 @@ class V2 {
|
|
|
701
701
|
Authorization: yield this._getAuthorizationHeader(),
|
|
702
702
|
"X-Fern-Language": "JavaScript",
|
|
703
703
|
"X-Fern-SDK-Name": "candidhealth",
|
|
704
|
-
"X-Fern-SDK-Version": "0.
|
|
704
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
705
705
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
706
706
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
707
707
|
},
|
|
@@ -756,7 +756,7 @@ class V2 {
|
|
|
756
756
|
Authorization: yield this._getAuthorizationHeader(),
|
|
757
757
|
"X-Fern-Language": "JavaScript",
|
|
758
758
|
"X-Fern-SDK-Name": "candidhealth",
|
|
759
|
-
"X-Fern-SDK-Version": "0.
|
|
759
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
760
760
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
761
761
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
762
762
|
},
|
|
@@ -811,7 +811,7 @@ class V2 {
|
|
|
811
811
|
Authorization: yield this._getAuthorizationHeader(),
|
|
812
812
|
"X-Fern-Language": "JavaScript",
|
|
813
813
|
"X-Fern-SDK-Name": "candidhealth",
|
|
814
|
-
"X-Fern-SDK-Version": "0.
|
|
814
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
815
815
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
816
816
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
817
817
|
},
|
|
@@ -866,7 +866,7 @@ class V2 {
|
|
|
866
866
|
Authorization: yield this._getAuthorizationHeader(),
|
|
867
867
|
"X-Fern-Language": "JavaScript",
|
|
868
868
|
"X-Fern-SDK-Name": "candidhealth",
|
|
869
|
-
"X-Fern-SDK-Version": "0.
|
|
869
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
870
870
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
871
871
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
872
872
|
},
|
|
@@ -350,6 +350,7 @@ export declare class V4 {
|
|
|
350
350
|
* "age": 38
|
|
351
351
|
* }
|
|
352
352
|
* }],
|
|
353
|
+
* referralNumber: "string",
|
|
353
354
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
354
355
|
* dateOfService: "2023-01-15",
|
|
355
356
|
* endDateOfService: "2023-01-15",
|
|
@@ -408,8 +409,7 @@ export declare class V4 {
|
|
|
408
409
|
* dischargeDate: "2023-01-15",
|
|
409
410
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
410
411
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
411
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
412
|
-
* referralNumber: "string"
|
|
412
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
413
413
|
* })
|
|
414
414
|
*/
|
|
415
415
|
create(request: CandidApi.encounters.v4.EncounterCreate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.create.Error>>;
|
|
@@ -425,7 +425,7 @@ export declare class V4 {
|
|
|
425
425
|
* - Referring Provider
|
|
426
426
|
* - Subscriber Primary
|
|
427
427
|
* - Subscriber Secondary
|
|
428
|
-
* -
|
|
428
|
+
* - Referral Number
|
|
429
429
|
* - Responsible Party
|
|
430
430
|
* - Guarantor
|
|
431
431
|
*
|
|
@@ -670,8 +670,7 @@ export declare class V4 {
|
|
|
670
670
|
* dischargeDate: "2023-01-15",
|
|
671
671
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
672
672
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
673
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
674
|
-
* referralNumber: "string"
|
|
673
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
675
674
|
* })
|
|
676
675
|
*/
|
|
677
676
|
createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
|
|
@@ -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.
|
|
135
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
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.
|
|
181
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -507,6 +507,7 @@ class V4 {
|
|
|
507
507
|
* "age": 38
|
|
508
508
|
* }
|
|
509
509
|
* }],
|
|
510
|
+
* referralNumber: "string",
|
|
510
511
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
511
512
|
* dateOfService: "2023-01-15",
|
|
512
513
|
* endDateOfService: "2023-01-15",
|
|
@@ -565,8 +566,7 @@ class V4 {
|
|
|
565
566
|
* dischargeDate: "2023-01-15",
|
|
566
567
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
567
568
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
568
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
569
|
-
* referralNumber: "string"
|
|
569
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
570
570
|
* })
|
|
571
571
|
*/
|
|
572
572
|
create(request, requestOptions) {
|
|
@@ -580,7 +580,7 @@ class V4 {
|
|
|
580
580
|
Authorization: yield this._getAuthorizationHeader(),
|
|
581
581
|
"X-Fern-Language": "JavaScript",
|
|
582
582
|
"X-Fern-SDK-Name": "candidhealth",
|
|
583
|
-
"X-Fern-SDK-Version": "0.
|
|
583
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
584
584
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
585
585
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
586
586
|
},
|
|
@@ -640,7 +640,7 @@ class V4 {
|
|
|
640
640
|
* - Referring Provider
|
|
641
641
|
* - Subscriber Primary
|
|
642
642
|
* - Subscriber Secondary
|
|
643
|
-
* -
|
|
643
|
+
* - Referral Number
|
|
644
644
|
* - Responsible Party
|
|
645
645
|
* - Guarantor
|
|
646
646
|
*
|
|
@@ -885,8 +885,7 @@ class V4 {
|
|
|
885
885
|
* dischargeDate: "2023-01-15",
|
|
886
886
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
887
887
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
888
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
889
|
-
* referralNumber: "string"
|
|
888
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
890
889
|
* })
|
|
891
890
|
*/
|
|
892
891
|
createFromPreEncounterPatient(request, requestOptions) {
|
|
@@ -900,7 +899,7 @@ class V4 {
|
|
|
900
899
|
Authorization: yield this._getAuthorizationHeader(),
|
|
901
900
|
"X-Fern-Language": "JavaScript",
|
|
902
901
|
"X-Fern-SDK-Name": "candidhealth",
|
|
903
|
-
"X-Fern-SDK-Version": "0.
|
|
902
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
904
903
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
905
904
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
906
905
|
},
|
|
@@ -931,7 +930,6 @@ class V4 {
|
|
|
931
930
|
case "EntityNotFoundError":
|
|
932
931
|
case "HttpRequestValidationsError":
|
|
933
932
|
case "SchemaInstanceValidationHttpFailure":
|
|
934
|
-
case "InsurancePayMissingPrimaryCoverageError":
|
|
935
933
|
return {
|
|
936
934
|
ok: false,
|
|
937
935
|
error: serializers.encounters.v4.createFromPreEncounterPatient.Error.parseOrThrow(_response.error.body, {
|
|
@@ -1229,7 +1227,7 @@ class V4 {
|
|
|
1229
1227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1230
1228
|
"X-Fern-Language": "JavaScript",
|
|
1231
1229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1232
|
-
"X-Fern-SDK-Version": "0.
|
|
1230
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
1233
1231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1234
1232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1235
1233
|
},
|
package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -25,10 +25,6 @@ export declare namespace Error {
|
|
|
25
25
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
26
26
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
27
27
|
}
|
|
28
|
-
interface InsurancePayMissingPrimaryCoverageError extends _Utils {
|
|
29
|
-
errorName: "InsurancePayMissingPrimaryCoverageError";
|
|
30
|
-
content: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType;
|
|
31
|
-
}
|
|
32
28
|
interface _Unknown extends _Utils {
|
|
33
29
|
errorName: void;
|
|
34
30
|
content: core.Fetcher.Error;
|
|
@@ -42,7 +38,6 @@ export declare namespace Error {
|
|
|
42
38
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
43
39
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
44
40
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
45
|
-
insurancePayMissingPrimaryCoverageError: (value: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType) => _Result;
|
|
46
41
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
47
42
|
}
|
|
48
43
|
}
|
|
@@ -52,7 +47,6 @@ export declare const Error: {
|
|
|
52
47
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError;
|
|
53
48
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
|
|
54
49
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
|
|
55
|
-
readonly insurancePayMissingPrimaryCoverageError: (value: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.InsurancePayMissingPrimaryCoverageError;
|
|
56
50
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
57
51
|
readonly _visit: <_Result>(value: CandidApi.encounters.v4.createFromPreEncounterPatient.Error, visitor: CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Visitor<_Result>) => _Result;
|
|
58
52
|
};
|
|
@@ -74,15 +74,6 @@ exports.Error = {
|
|
|
74
74
|
},
|
|
75
75
|
};
|
|
76
76
|
},
|
|
77
|
-
insurancePayMissingPrimaryCoverageError: (value) => {
|
|
78
|
-
return {
|
|
79
|
-
content: value,
|
|
80
|
-
errorName: "InsurancePayMissingPrimaryCoverageError",
|
|
81
|
-
_visit: function (visitor) {
|
|
82
|
-
return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
|
|
83
|
-
},
|
|
84
|
-
};
|
|
85
|
-
},
|
|
86
77
|
_unknown: (fetcherError) => {
|
|
87
78
|
return {
|
|
88
79
|
errorName: undefined,
|
|
@@ -104,8 +95,6 @@ exports.Error = {
|
|
|
104
95
|
return visitor.httpRequestValidationsError(value.content);
|
|
105
96
|
case "SchemaInstanceValidationHttpFailure":
|
|
106
97
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
107
|
-
case "InsurancePayMissingPrimaryCoverageError":
|
|
108
|
-
return visitor.insurancePayMissingPrimaryCoverageError(value.content);
|
|
109
98
|
default:
|
|
110
99
|
return visitor._other(value);
|
|
111
100
|
}
|
|
@@ -301,6 +301,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
301
301
|
* "age": 38
|
|
302
302
|
* }
|
|
303
303
|
* }],
|
|
304
|
+
* referralNumber: "string",
|
|
304
305
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
305
306
|
* dateOfService: "2023-01-15",
|
|
306
307
|
* endDateOfService: "2023-01-15",
|
|
@@ -359,8 +360,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
359
360
|
* dischargeDate: "2023-01-15",
|
|
360
361
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
361
362
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
362
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
363
|
-
* referralNumber: "string"
|
|
363
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
364
364
|
* }
|
|
365
365
|
*/
|
|
366
366
|
export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
@@ -471,4 +471,9 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
471
471
|
*
|
|
472
472
|
*/
|
|
473
473
|
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
474
|
+
/**
|
|
475
|
+
* Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
|
476
|
+
*
|
|
477
|
+
*/
|
|
478
|
+
referralNumber?: string;
|
|
474
479
|
}
|
|
@@ -238,8 +238,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
238
238
|
* dischargeDate: "2023-01-15",
|
|
239
239
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
240
240
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
241
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
242
|
-
* referralNumber: "string"
|
|
241
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
243
242
|
* }
|
|
244
243
|
*/
|
|
245
244
|
export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4.EncounterBase {
|
|
@@ -96,7 +96,13 @@ import * as CandidApi from "../../../../../index";
|
|
|
96
96
|
* name: "Sunrise Foundation",
|
|
97
97
|
* category: "Foundation",
|
|
98
98
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
99
|
-
* enabled: true
|
|
99
|
+
* enabled: true,
|
|
100
|
+
* address: {
|
|
101
|
+
* address1: "123 Main St",
|
|
102
|
+
* city: "San Francisco",
|
|
103
|
+
* state: CandidApi.State.Ca,
|
|
104
|
+
* zipCode: "94105"
|
|
105
|
+
* }
|
|
100
106
|
* }],
|
|
101
107
|
* nonInsurancePayersInfo: [{
|
|
102
108
|
* nonInsurancePayer: {
|
|
@@ -104,7 +110,13 @@ import * as CandidApi from "../../../../../index";
|
|
|
104
110
|
* name: "Sunrise Foundation",
|
|
105
111
|
* category: "Foundation",
|
|
106
112
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
107
|
-
* enabled: true
|
|
113
|
+
* enabled: true,
|
|
114
|
+
* address: {
|
|
115
|
+
* address1: "123 Main St",
|
|
116
|
+
* city: "San Francisco",
|
|
117
|
+
* state: CandidApi.State.Ca,
|
|
118
|
+
* zipCode: "94105"
|
|
119
|
+
* }
|
|
108
120
|
* },
|
|
109
121
|
* memberId: "123456789"
|
|
110
122
|
* }],
|
|
@@ -481,4 +493,6 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
481
493
|
* instances cannot be created for the same schema on an encounter.
|
|
482
494
|
*/
|
|
483
495
|
schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
496
|
+
/** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
|
|
497
|
+
referralNumber?: string;
|
|
484
498
|
}
|
|
@@ -106,6 +106,4 @@ export interface EncounterBase {
|
|
|
106
106
|
* Code indicating the reason why a request was delayed
|
|
107
107
|
*/
|
|
108
108
|
delayReasonCode?: CandidApi.DelayReasonCode;
|
|
109
|
-
/** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
|
|
110
|
-
referralNumber?: string;
|
|
111
109
|
}
|
|
@@ -97,7 +97,13 @@ import * as CandidApi from "../../../../../index";
|
|
|
97
97
|
* name: "Sunrise Foundation",
|
|
98
98
|
* category: "Foundation",
|
|
99
99
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
100
|
-
* enabled: true
|
|
100
|
+
* enabled: true,
|
|
101
|
+
* address: {
|
|
102
|
+
* address1: "123 Main St",
|
|
103
|
+
* city: "San Francisco",
|
|
104
|
+
* state: CandidApi.State.Ca,
|
|
105
|
+
* zipCode: "94105"
|
|
106
|
+
* }
|
|
101
107
|
* }],
|
|
102
108
|
* nonInsurancePayersInfo: [{
|
|
103
109
|
* nonInsurancePayer: {
|
|
@@ -105,7 +111,13 @@ import * as CandidApi from "../../../../../index";
|
|
|
105
111
|
* name: "Sunrise Foundation",
|
|
106
112
|
* category: "Foundation",
|
|
107
113
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
108
|
-
* enabled: true
|
|
114
|
+
* enabled: true,
|
|
115
|
+
* address: {
|
|
116
|
+
* address1: "123 Main St",
|
|
117
|
+
* city: "San Francisco",
|
|
118
|
+
* state: CandidApi.State.Ca,
|
|
119
|
+
* zipCode: "94105"
|
|
120
|
+
* }
|
|
109
121
|
* },
|
|
110
122
|
* memberId: "123456789"
|
|
111
123
|
* }],
|
|
@@ -28,7 +28,6 @@ export * from "./PriorAuthorizationNumber";
|
|
|
28
28
|
export * from "./RxCui";
|
|
29
29
|
export * from "./IntakeQuestionId";
|
|
30
30
|
export * from "./IntakeFollowUpId";
|
|
31
|
-
export * from "./InsurancePayMissingPrimaryCoverageErrorType";
|
|
32
31
|
export * from "./EncounterExternalIdUniquenessErrorType";
|
|
33
32
|
export * from "./EncounterPatientControlNumberUniquenessErrorType";
|
|
34
33
|
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
@@ -44,7 +44,6 @@ __exportStar(require("./PriorAuthorizationNumber"), exports);
|
|
|
44
44
|
__exportStar(require("./RxCui"), exports);
|
|
45
45
|
__exportStar(require("./IntakeQuestionId"), exports);
|
|
46
46
|
__exportStar(require("./IntakeFollowUpId"), exports);
|
|
47
|
-
__exportStar(require("./InsurancePayMissingPrimaryCoverageErrorType"), exports);
|
|
48
47
|
__exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
49
48
|
__exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), exports);
|
|
50
49
|
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -96,7 +96,7 @@ class V2 {
|
|
|
96
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
99
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -189,7 +189,7 @@ class V2 {
|
|
|
189
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
190
190
|
"X-Fern-Language": "JavaScript",
|
|
191
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
192
|
-
"X-Fern-SDK-Version": "0.
|
|
192
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
193
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
195
|
},
|
|
@@ -32,8 +32,9 @@ export declare class V3 {
|
|
|
32
32
|
*
|
|
33
33
|
* **SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
|
|
34
34
|
* available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
|
|
35
|
-
* caller will receive a 422 response. If the file has already been generated, it will be served.
|
|
36
|
-
* our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
35
|
+
* caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
|
|
36
|
+
* up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
37
|
+
* outside of these stated guarantees.
|
|
37
38
|
*
|
|
38
39
|
* @param {CandidApi.exports.v3.GetExportsRequest} request
|
|
39
40
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -59,8 +59,9 @@ class V3 {
|
|
|
59
59
|
*
|
|
60
60
|
* **SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
|
|
61
61
|
* available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
|
|
62
|
-
* caller will receive a 422 response. If the file has already been generated, it will be served.
|
|
63
|
-
* our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
62
|
+
* caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
|
|
63
|
+
* up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
64
|
+
* outside of these stated guarantees.
|
|
64
65
|
*
|
|
65
66
|
* @param {CandidApi.exports.v3.GetExportsRequest} request
|
|
66
67
|
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -86,7 +87,7 @@ class V3 {
|
|
|
86
87
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
88
|
"X-Fern-Language": "JavaScript",
|
|
88
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.
|
|
90
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
90
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
93
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.
|
|
85
|
+
"X-Fern-SDK-Version": "0.35.1",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|