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
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
46
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
47
|
+
exports.Error = core.serialization
|
|
48
|
+
.union("errorName", {
|
|
49
|
+
EntityNotFoundError: core.serialization.object({
|
|
50
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
51
|
+
}),
|
|
52
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
53
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
54
|
+
}),
|
|
55
|
+
UnauthorizedError: core.serialization.object({
|
|
56
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
57
|
+
}),
|
|
58
|
+
UnprocessableEntityError: core.serialization.object({
|
|
59
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
60
|
+
}),
|
|
61
|
+
})
|
|
62
|
+
.transform({
|
|
63
|
+
transform: (value) => {
|
|
64
|
+
switch (value.errorName) {
|
|
65
|
+
case "EntityNotFoundError":
|
|
66
|
+
return CandidApi.credentialing.v2.update.Error.entityNotFoundError(value.content);
|
|
67
|
+
case "HttpRequestValidationsError":
|
|
68
|
+
return CandidApi.credentialing.v2.update.Error.httpRequestValidationsError(value.content);
|
|
69
|
+
case "UnauthorizedError":
|
|
70
|
+
return CandidApi.credentialing.v2.update.Error.unauthorizedError(value.content);
|
|
71
|
+
case "UnprocessableEntityError":
|
|
72
|
+
return CandidApi.credentialing.v2.update.Error.unprocessableEntityError(value.content);
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
untransform: (_a) => {
|
|
76
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
77
|
+
return value;
|
|
78
|
+
},
|
|
79
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const CredentialingSpanStatus: core.serialization.Schema<serializers.credentialing.v2.CredentialingSpanStatus.Raw, CandidApi.credentialing.v2.CredentialingSpanStatus>;
|
|
8
|
+
export declare namespace CredentialingSpanStatus {
|
|
9
|
+
type Raw = "work_in_progress" | "pending" | "effective" | "expired";
|
|
10
|
+
}
|
|
@@ -26,8 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.CredentialingSpanStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
patientId: core.serialization.property("patient_id", core.serialization.string()),
|
|
33
|
-
});
|
|
31
|
+
exports.CredentialingSpanStatus = core.serialization.enum_(["work_in_progress", "pending", "effective", "expired"]);
|
package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { ProviderCredentialingSpanId } from "./ProviderCredentialingSpanId";
|
|
8
|
+
import { OrganizationProviderV2 } from "../../../../organizationProviders/resources/v3/types/OrganizationProviderV2";
|
|
9
|
+
import { Payer } from "../../../../payers/resources/v3/types/Payer";
|
|
10
|
+
import { Regions } from "../../../../commons/types/Regions";
|
|
11
|
+
import { CredentialingSpanStatus } from "./CredentialingSpanStatus";
|
|
12
|
+
export declare const ProviderCredentialingSpan: core.serialization.ObjectSchema<serializers.credentialing.v2.ProviderCredentialingSpan.Raw, CandidApi.credentialing.v2.ProviderCredentialingSpan>;
|
|
13
|
+
export declare namespace ProviderCredentialingSpan {
|
|
14
|
+
interface Raw {
|
|
15
|
+
provider_credentialing_span_id: ProviderCredentialingSpanId.Raw;
|
|
16
|
+
rendering_provider: OrganizationProviderV2.Raw;
|
|
17
|
+
contracting_provider: OrganizationProviderV2.Raw;
|
|
18
|
+
payer: Payer.Raw;
|
|
19
|
+
start_date?: string | null;
|
|
20
|
+
end_date?: string | null;
|
|
21
|
+
regions: Regions.Raw;
|
|
22
|
+
submitted_date?: string | null;
|
|
23
|
+
credentialing_status: CredentialingSpanStatus.Raw;
|
|
24
|
+
payer_loaded_date?: string | null;
|
|
25
|
+
source: string;
|
|
26
|
+
medallion_payer_enrollment_id?: string | null;
|
|
27
|
+
is_enabled: boolean;
|
|
28
|
+
}
|
|
29
|
+
}
|
package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ProviderCredentialingSpan = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const ProviderCredentialingSpanId_1 = require("./ProviderCredentialingSpanId");
|
|
32
|
+
const OrganizationProviderV2_1 = require("../../../../organizationProviders/resources/v3/types/OrganizationProviderV2");
|
|
33
|
+
const Payer_1 = require("../../../../payers/resources/v3/types/Payer");
|
|
34
|
+
const Regions_1 = require("../../../../commons/types/Regions");
|
|
35
|
+
const CredentialingSpanStatus_1 = require("./CredentialingSpanStatus");
|
|
36
|
+
exports.ProviderCredentialingSpan = core.serialization.object({
|
|
37
|
+
providerCredentialingSpanId: core.serialization.property("provider_credentialing_span_id", ProviderCredentialingSpanId_1.ProviderCredentialingSpanId),
|
|
38
|
+
renderingProvider: core.serialization.property("rendering_provider", OrganizationProviderV2_1.OrganizationProviderV2),
|
|
39
|
+
contractingProvider: core.serialization.property("contracting_provider", OrganizationProviderV2_1.OrganizationProviderV2),
|
|
40
|
+
payer: Payer_1.Payer,
|
|
41
|
+
startDate: core.serialization.property("start_date", core.serialization.string().optional()),
|
|
42
|
+
endDate: core.serialization.property("end_date", core.serialization.string().optional()),
|
|
43
|
+
regions: Regions_1.Regions,
|
|
44
|
+
submittedDate: core.serialization.property("submitted_date", core.serialization.string().optional()),
|
|
45
|
+
credentialingStatus: core.serialization.property("credentialing_status", CredentialingSpanStatus_1.CredentialingSpanStatus),
|
|
46
|
+
payerLoadedDate: core.serialization.property("payer_loaded_date", core.serialization.string().optional()),
|
|
47
|
+
source: core.serialization.string(),
|
|
48
|
+
medallionPayerEnrollmentId: core.serialization.property("medallion_payer_enrollment_id", core.serialization.string().optional()),
|
|
49
|
+
isEnabled: core.serialization.property("is_enabled", core.serialization.boolean()),
|
|
50
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ProviderCredentialingSpanId: core.serialization.Schema<serializers.credentialing.v2.ProviderCredentialingSpanId.Raw, CandidApi.credentialing.v2.ProviderCredentialingSpanId>;
|
|
8
|
+
export declare namespace ProviderCredentialingSpanId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ProviderCredentialingSpanId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.ProviderCredentialingSpanId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.credentialing.v2.ProviderCredentialingSpanId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { ProviderCredentialingSpan } from "./ProviderCredentialingSpan";
|
|
8
|
+
import { ResourcePage } from "../../../../commons/types/ResourcePage";
|
|
9
|
+
export declare const ProviderCredentialingSpanPage: core.serialization.ObjectSchema<serializers.credentialing.v2.ProviderCredentialingSpanPage.Raw, CandidApi.credentialing.v2.ProviderCredentialingSpanPage>;
|
|
10
|
+
export declare namespace ProviderCredentialingSpanPage {
|
|
11
|
+
interface Raw extends ResourcePage.Raw {
|
|
12
|
+
items: ProviderCredentialingSpan.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ProviderCredentialingSpanPage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const ProviderCredentialingSpan_1 = require("./ProviderCredentialingSpan");
|
|
32
|
+
const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
|
|
33
|
+
exports.ProviderCredentialingSpanPage = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
items: core.serialization.list(ProviderCredentialingSpan_1.ProviderCredentialingSpan),
|
|
36
|
+
})
|
|
37
|
+
.extend(ResourcePage_1.ResourcePage);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ProviderCredentialingSpanId"), exports);
|
|
18
|
+
__exportStar(require("./ProviderCredentialingSpan"), exports);
|
|
19
|
+
__exportStar(require("./CredentialingSpanStatus"), exports);
|
|
20
|
+
__exportStar(require("./ProviderCredentialingSpanPage"), exports);
|
|
@@ -9,10 +9,9 @@ import { EncounterPatientControlNumberUniquenessErrorType } from "../types/Encou
|
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
11
11
|
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
12
|
-
import { InsurancePayMissingPrimaryCoverageErrorType } from "../types/InsurancePayMissingPrimaryCoverageErrorType";
|
|
13
12
|
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatient.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>;
|
|
14
13
|
export declare namespace Error {
|
|
15
|
-
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure
|
|
14
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure;
|
|
16
15
|
interface EncounterExternalIdUniquenessError {
|
|
17
16
|
errorName: "EncounterExternalIdUniquenessError";
|
|
18
17
|
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
@@ -33,8 +32,4 @@ export declare namespace Error {
|
|
|
33
32
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
34
33
|
content: SchemaInstanceValidationFailure.Raw;
|
|
35
34
|
}
|
|
36
|
-
interface InsurancePayMissingPrimaryCoverageError {
|
|
37
|
-
errorName: "InsurancePayMissingPrimaryCoverageError";
|
|
38
|
-
content: InsurancePayMissingPrimaryCoverageErrorType.Raw;
|
|
39
|
-
}
|
|
40
35
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js
CHANGED
|
@@ -45,7 +45,6 @@ const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/Enc
|
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
47
47
|
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
48
|
-
const InsurancePayMissingPrimaryCoverageErrorType_1 = require("../types/InsurancePayMissingPrimaryCoverageErrorType");
|
|
49
48
|
exports.Error = core.serialization
|
|
50
49
|
.union("errorName", {
|
|
51
50
|
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
@@ -63,9 +62,6 @@ exports.Error = core.serialization
|
|
|
63
62
|
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
64
63
|
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
65
64
|
}),
|
|
66
|
-
InsurancePayMissingPrimaryCoverageError: core.serialization.object({
|
|
67
|
-
content: InsurancePayMissingPrimaryCoverageErrorType_1.InsurancePayMissingPrimaryCoverageErrorType,
|
|
68
|
-
}),
|
|
69
65
|
})
|
|
70
66
|
.transform({
|
|
71
67
|
transform: (value) => {
|
|
@@ -80,8 +76,6 @@ exports.Error = core.serialization
|
|
|
80
76
|
return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationsError(value.content);
|
|
81
77
|
case "SchemaInstanceValidationHttpFailure":
|
|
82
78
|
return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
83
|
-
case "InsurancePayMissingPrimaryCoverageError":
|
|
84
|
-
return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.insurancePayMissingPrimaryCoverageError(value.content);
|
|
85
79
|
}
|
|
86
80
|
},
|
|
87
81
|
untransform: (_a) => {
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js
CHANGED
|
@@ -72,5 +72,6 @@ exports.EncounterCreate = core.serialization
|
|
|
72
72
|
externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreate_1.ExternalClaimSubmissionCreate.optional()),
|
|
73
73
|
tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
|
|
74
74
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
|
|
75
|
+
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
75
76
|
})
|
|
76
77
|
.extend(EncounterBase_1.EncounterBase);
|
|
@@ -83,5 +83,6 @@ exports.Encounter = core.serialization
|
|
|
83
83
|
ownerOfNextAction: core.serialization.property("owner_of_next_action", EncounterOwnerOfNextActionType_1.EncounterOwnerOfNextActionType),
|
|
84
84
|
submissionOrigin: core.serialization.property("submission_origin", EncounterSubmissionOriginType_1.EncounterSubmissionOriginType),
|
|
85
85
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance)),
|
|
86
|
+
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
86
87
|
})
|
|
87
88
|
.extend(EncounterBase_1.EncounterBase);
|
|
@@ -58,5 +58,4 @@ exports.EncounterBase = core.serialization.object({
|
|
|
58
58
|
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.string().optional()),
|
|
59
59
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
|
|
60
60
|
delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
|
|
61
|
-
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
62
61
|
});
|
|
@@ -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);
|
|
@@ -34,5 +34,5 @@ exports.GuarantorBase = core.serialization.object({
|
|
|
34
34
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
35
35
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
36
36
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
37
|
-
address: StreetAddressShortZip_1.StreetAddressShortZip
|
|
37
|
+
address: StreetAddressShortZip_1.StreetAddressShortZip,
|
|
38
38
|
});
|
|
@@ -5,6 +5,7 @@ export * as auth from "./auth";
|
|
|
5
5
|
export * as billingNotes from "./billingNotes";
|
|
6
6
|
export * as claimSubmission from "./claimSubmission";
|
|
7
7
|
export * as contracts from "./contracts";
|
|
8
|
+
export * as credentialing from "./credentialing";
|
|
8
9
|
export * as customSchemas from "./customSchemas";
|
|
9
10
|
export * as encounterProviders from "./encounterProviders";
|
|
10
11
|
export * as encounters from "./encounters";
|
|
@@ -27,6 +28,7 @@ export * as organizationProviders from "./organizationProviders";
|
|
|
27
28
|
export * as patientPayments from "./patientPayments";
|
|
28
29
|
export * as patientRefunds from "./patientRefunds";
|
|
29
30
|
export * as payers from "./payers";
|
|
31
|
+
export * as remitDrafts from "./remitDrafts";
|
|
30
32
|
export * as remits from "./remits";
|
|
31
33
|
export * as serviceLines from "./serviceLines";
|
|
32
34
|
export * as tasks from "./tasks";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
29
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
30
30
|
exports.feeSchedules = __importStar(require("./feeSchedules"));
|
|
31
31
|
exports.commons = __importStar(require("./commons"));
|
|
32
32
|
__exportStar(require("./commons/errors"), exports);
|
|
@@ -34,6 +34,7 @@ exports.auth = __importStar(require("./auth"));
|
|
|
34
34
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
35
35
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
36
36
|
exports.contracts = __importStar(require("./contracts"));
|
|
37
|
+
exports.credentialing = __importStar(require("./credentialing"));
|
|
37
38
|
exports.customSchemas = __importStar(require("./customSchemas"));
|
|
38
39
|
exports.encounterProviders = __importStar(require("./encounterProviders"));
|
|
39
40
|
exports.encounters = __importStar(require("./encounters"));
|
|
@@ -56,6 +57,7 @@ exports.organizationProviders = __importStar(require("./organizationProviders"))
|
|
|
56
57
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
57
58
|
exports.patientRefunds = __importStar(require("./patientRefunds"));
|
|
58
59
|
exports.payers = __importStar(require("./payers"));
|
|
60
|
+
exports.remitDrafts = __importStar(require("./remitDrafts"));
|
|
59
61
|
exports.remits = __importStar(require("./remits"));
|
|
60
62
|
exports.serviceLines = __importStar(require("./serviceLines"));
|
|
61
63
|
exports.tasks = __importStar(require("./tasks"));
|
|
@@ -8,6 +8,7 @@ import { PayerIdentifier } from "../../../../payers/resources/v3/types/PayerIden
|
|
|
8
8
|
import { Payee } from "../../../../remits/resources/v1/types/Payee";
|
|
9
9
|
import { ClaimId } from "../../../../commons/types/ClaimId";
|
|
10
10
|
import { ClaimAdjudicationCreate } from "./ClaimAdjudicationCreate";
|
|
11
|
+
import { RemitDraftId } from "../../../../remitDrafts/resources/v1/types/RemitDraftId";
|
|
11
12
|
export declare const InsuranceAdjudicationCreate: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.Raw, CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate>;
|
|
12
13
|
export declare namespace InsuranceAdjudicationCreate {
|
|
13
14
|
interface Raw {
|
|
@@ -18,5 +19,6 @@ export declare namespace InsuranceAdjudicationCreate {
|
|
|
18
19
|
check_date: string;
|
|
19
20
|
note?: string | null;
|
|
20
21
|
claims: Record<ClaimId.Raw, ClaimAdjudicationCreate.Raw[]>;
|
|
22
|
+
remit_draft_id?: RemitDraftId.Raw | null;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -32,6 +32,7 @@ const PayerIdentifier_1 = require("../../../../payers/resources/v3/types/PayerId
|
|
|
32
32
|
const Payee_1 = require("../../../../remits/resources/v1/types/Payee");
|
|
33
33
|
const ClaimId_1 = require("../../../../commons/types/ClaimId");
|
|
34
34
|
const ClaimAdjudicationCreate_1 = require("./ClaimAdjudicationCreate");
|
|
35
|
+
const RemitDraftId_1 = require("../../../../remitDrafts/resources/v1/types/RemitDraftId");
|
|
35
36
|
exports.InsuranceAdjudicationCreate = core.serialization.object({
|
|
36
37
|
payerIdentifier: core.serialization.property("payer_identifier", PayerIdentifier_1.PayerIdentifier),
|
|
37
38
|
payee: Payee_1.Payee,
|
|
@@ -40,4 +41,5 @@ exports.InsuranceAdjudicationCreate = core.serialization.object({
|
|
|
40
41
|
checkDate: core.serialization.property("check_date", core.serialization.string()),
|
|
41
42
|
note: core.serialization.string().optional(),
|
|
42
43
|
claims: core.serialization.record(ClaimId_1.ClaimId, core.serialization.list(ClaimAdjudicationCreate_1.ClaimAdjudicationCreate)),
|
|
44
|
+
remitDraftId: core.serialization.property("remit_draft_id", RemitDraftId_1.RemitDraftId.optional()),
|
|
43
45
|
});
|
package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { NonInsurancePayerId } from "./NonInsurancePayerId";
|
|
8
|
+
import { StreetAddressShortZip } from "../../../../commons/types/StreetAddressShortZip";
|
|
8
9
|
export declare const NonInsurancePayer: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.NonInsurancePayer.Raw, CandidApi.nonInsurancePayers.v1.NonInsurancePayer>;
|
|
9
10
|
export declare namespace NonInsurancePayer {
|
|
10
11
|
interface Raw {
|
|
@@ -13,5 +14,6 @@ export declare namespace NonInsurancePayer {
|
|
|
13
14
|
description?: string | null;
|
|
14
15
|
category?: string | null;
|
|
15
16
|
enabled: boolean;
|
|
17
|
+
address?: StreetAddressShortZip.Raw | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js
CHANGED
|
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NonInsurancePayer = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
const NonInsurancePayerId_1 = require("./NonInsurancePayerId");
|
|
32
|
+
const StreetAddressShortZip_1 = require("../../../../commons/types/StreetAddressShortZip");
|
|
32
33
|
exports.NonInsurancePayer = core.serialization.object({
|
|
33
34
|
nonInsurancePayerId: core.serialization.property("non_insurance_payer_id", NonInsurancePayerId_1.NonInsurancePayerId),
|
|
34
35
|
name: core.serialization.string(),
|
|
35
36
|
description: core.serialization.string().optional(),
|
|
36
37
|
category: core.serialization.string().optional(),
|
|
37
38
|
enabled: core.serialization.boolean(),
|
|
39
|
+
address: StreetAddressShortZip_1.StreetAddressShortZip.optional(),
|
|
38
40
|
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
export declare const AppointmentWorkQueue: core.serialization.Schema<serializers.preEncounter.appointments.v1.AppointmentWorkQueue.Raw, CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue>;
|
|
8
8
|
export declare namespace AppointmentWorkQueue {
|
|
9
|
-
type Raw = "EMERGENT_ISSUE" | "NEW_PATIENT" | "RETURNING_PATIENT";
|
|
9
|
+
type Raw = "EMERGENT_ISSUE" | "NEW_PATIENT" | "RETURNING_PATIENT" | "MANUAL_ESCALATION";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AppointmentWorkQueue = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
-
exports.AppointmentWorkQueue = core.serialization.enum_(["EMERGENT_ISSUE", "NEW_PATIENT", "RETURNING_PATIENT"]);
|
|
31
|
+
exports.AppointmentWorkQueue = core.serialization.enum_(["EMERGENT_ISSUE", "NEW_PATIENT", "RETURNING_PATIENT", "MANUAL_ESCALATION"]);
|
|
@@ -33,4 +33,5 @@ const ServiceCoverage_1 = require("./ServiceCoverage");
|
|
|
33
33
|
exports.CoverageBenefits = core.serialization.object({
|
|
34
34
|
planCoverage: core.serialization.property("plan_coverage", PlanCoverage_1.PlanCoverage.optional()),
|
|
35
35
|
serviceSpecificCoverage: core.serialization.property("service_specific_coverage", core.serialization.list(ServiceCoverage_1.ServiceCoverage).optional()),
|
|
36
|
+
notes: core.serialization.string().optional(),
|
|
36
37
|
});
|