candidhealth 0.35.0 → 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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +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.js +5 -5
- 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 +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -4
- 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/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/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.js +8 -8
- 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 +177 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +247 -10
- 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 +2 -1
- 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.js +3 -3
- 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 +7 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +6 -0
- 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/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +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.js +5 -5
- 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 +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -4
- 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/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/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.js +8 -8
- 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 +177 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +247 -10
- 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 +2 -1
- 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.js +3 -3
- 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 +7 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +6 -0
- 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 +1 -0
- package/dist/serialization/resources/index.js +2 -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/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/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +6 -0
- package/package.json +1 -1
- package/reference.md +258 -4
- 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 +1 -0
- package/serialization/resources/index.js +2 -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/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/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +6 -0
package/reference.md
CHANGED
|
@@ -3586,8 +3586,9 @@ of Candid Health's export files be resilient to the addition of new columns at t
|
|
|
3586
3586
|
|
|
3587
3587
|
**SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
|
|
3588
3588
|
available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
|
|
3589
|
-
caller will receive a 422 response. If the file has already been generated, it will be served.
|
|
3590
|
-
our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
3589
|
+
caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
|
|
3590
|
+
up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
|
|
3591
|
+
outside of these stated guarantees.
|
|
3591
3592
|
|
|
3592
3593
|
</dd>
|
|
3593
3594
|
</dl>
|
|
@@ -5078,6 +5079,7 @@ await client.insuranceAdjudications.v1.create({
|
|
|
5078
5079
|
},
|
|
5079
5080
|
],
|
|
5080
5081
|
},
|
|
5082
|
+
remitDraftId: CandidApi.RemitDraftId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
5081
5083
|
});
|
|
5082
5084
|
```
|
|
5083
5085
|
|
|
@@ -10415,7 +10417,7 @@ Gets patients with dependent objects for patients that match the query parameter
|
|
|
10415
10417
|
await client.preEncounter.lists.v1.getPatientList({
|
|
10416
10418
|
pageToken: CandidApi.PageToken("string"),
|
|
10417
10419
|
limit: 1,
|
|
10418
|
-
sortField: "string",
|
|
10420
|
+
sortField: CandidApi.SortFieldString("string"),
|
|
10419
10421
|
sortDirection: CandidApi.SortDirection.Asc,
|
|
10420
10422
|
filters: CandidApi.FilterQueryString("string"),
|
|
10421
10423
|
});
|
|
@@ -10482,7 +10484,7 @@ Searches for appointments that match the query parameters.
|
|
|
10482
10484
|
|
|
10483
10485
|
```typescript
|
|
10484
10486
|
await client.preEncounter.lists.v1.getAppointmentList({
|
|
10485
|
-
sortField: "string",
|
|
10487
|
+
sortField: CandidApi.SortFieldString("string"),
|
|
10486
10488
|
sortDirection: CandidApi.SortDirection.Asc,
|
|
10487
10489
|
limit: 1,
|
|
10488
10490
|
pageToken: CandidApi.PageToken("string"),
|
|
@@ -10736,6 +10738,7 @@ await client.preEncounter.patients.v1.create({
|
|
|
10736
10738
|
},
|
|
10737
10739
|
],
|
|
10738
10740
|
primaryServiceFacilityId: "string",
|
|
10741
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
10739
10742
|
},
|
|
10740
10743
|
});
|
|
10741
10744
|
```
|
|
@@ -10772,6 +10775,256 @@ await client.preEncounter.patients.v1.create({
|
|
|
10772
10775
|
</dl>
|
|
10773
10776
|
</details>
|
|
10774
10777
|
|
|
10778
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">createWithMrn</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.createWithMrn.Error></code></summary>
|
|
10779
|
+
<dl>
|
|
10780
|
+
<dd>
|
|
10781
|
+
|
|
10782
|
+
#### 📝 Description
|
|
10783
|
+
|
|
10784
|
+
<dl>
|
|
10785
|
+
<dd>
|
|
10786
|
+
|
|
10787
|
+
<dl>
|
|
10788
|
+
<dd>
|
|
10789
|
+
|
|
10790
|
+
Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. InvalidMRNError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
|
|
10791
|
+
|
|
10792
|
+
</dd>
|
|
10793
|
+
</dl>
|
|
10794
|
+
</dd>
|
|
10795
|
+
</dl>
|
|
10796
|
+
|
|
10797
|
+
#### 🔌 Usage
|
|
10798
|
+
|
|
10799
|
+
<dl>
|
|
10800
|
+
<dd>
|
|
10801
|
+
|
|
10802
|
+
<dl>
|
|
10803
|
+
<dd>
|
|
10804
|
+
|
|
10805
|
+
```typescript
|
|
10806
|
+
await client.preEncounter.patients.v1.createWithMrn({
|
|
10807
|
+
skipDuplicateCheck: true,
|
|
10808
|
+
body: {
|
|
10809
|
+
mrn: "string",
|
|
10810
|
+
name: {
|
|
10811
|
+
family: "string",
|
|
10812
|
+
given: ["string"],
|
|
10813
|
+
use: CandidApi.NameUse.Usual,
|
|
10814
|
+
period: {},
|
|
10815
|
+
},
|
|
10816
|
+
otherNames: [
|
|
10817
|
+
{
|
|
10818
|
+
family: "string",
|
|
10819
|
+
given: ["string"],
|
|
10820
|
+
use: CandidApi.NameUse.Usual,
|
|
10821
|
+
period: {},
|
|
10822
|
+
},
|
|
10823
|
+
],
|
|
10824
|
+
gender: CandidApi.Gender.Man,
|
|
10825
|
+
birthDate: "2023-01-15",
|
|
10826
|
+
socialSecurityNumber: "string",
|
|
10827
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
10828
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
10829
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
10830
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
10831
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
10832
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
10833
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
10834
|
+
multipleBirth: 1,
|
|
10835
|
+
primaryAddress: {
|
|
10836
|
+
use: CandidApi.AddressUse.Home,
|
|
10837
|
+
line: ["string"],
|
|
10838
|
+
city: "string",
|
|
10839
|
+
state: "string",
|
|
10840
|
+
postalCode: "string",
|
|
10841
|
+
country: "string",
|
|
10842
|
+
period: {},
|
|
10843
|
+
},
|
|
10844
|
+
otherAddresses: [
|
|
10845
|
+
{
|
|
10846
|
+
use: CandidApi.AddressUse.Home,
|
|
10847
|
+
line: ["string"],
|
|
10848
|
+
city: "string",
|
|
10849
|
+
state: "string",
|
|
10850
|
+
postalCode: "string",
|
|
10851
|
+
country: "string",
|
|
10852
|
+
period: {},
|
|
10853
|
+
},
|
|
10854
|
+
],
|
|
10855
|
+
primaryTelecom: {
|
|
10856
|
+
value: "string",
|
|
10857
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10858
|
+
},
|
|
10859
|
+
otherTelecoms: [
|
|
10860
|
+
{
|
|
10861
|
+
value: "string",
|
|
10862
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10863
|
+
},
|
|
10864
|
+
],
|
|
10865
|
+
email: "string",
|
|
10866
|
+
electronicCommunicationOptIn: true,
|
|
10867
|
+
photo: "string",
|
|
10868
|
+
language: "string",
|
|
10869
|
+
externalProvenance: {
|
|
10870
|
+
externalId: "string",
|
|
10871
|
+
systemName: "string",
|
|
10872
|
+
},
|
|
10873
|
+
contacts: [
|
|
10874
|
+
{
|
|
10875
|
+
relationship: [CandidApi.Relationship.Self],
|
|
10876
|
+
name: {
|
|
10877
|
+
family: "string",
|
|
10878
|
+
given: ["string"],
|
|
10879
|
+
use: CandidApi.NameUse.Usual,
|
|
10880
|
+
period: {},
|
|
10881
|
+
},
|
|
10882
|
+
telecoms: [
|
|
10883
|
+
{
|
|
10884
|
+
value: "string",
|
|
10885
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10886
|
+
},
|
|
10887
|
+
],
|
|
10888
|
+
addresses: [
|
|
10889
|
+
{
|
|
10890
|
+
use: CandidApi.AddressUse.Home,
|
|
10891
|
+
line: ["string"],
|
|
10892
|
+
city: "string",
|
|
10893
|
+
state: "string",
|
|
10894
|
+
postalCode: "string",
|
|
10895
|
+
country: "string",
|
|
10896
|
+
period: {},
|
|
10897
|
+
},
|
|
10898
|
+
],
|
|
10899
|
+
period: {},
|
|
10900
|
+
hipaaAuthorization: true,
|
|
10901
|
+
},
|
|
10902
|
+
],
|
|
10903
|
+
generalPractitioners: [
|
|
10904
|
+
{
|
|
10905
|
+
name: {
|
|
10906
|
+
family: "string",
|
|
10907
|
+
given: ["string"],
|
|
10908
|
+
use: CandidApi.NameUse.Usual,
|
|
10909
|
+
period: {},
|
|
10910
|
+
},
|
|
10911
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
10912
|
+
npi: "string",
|
|
10913
|
+
telecoms: [
|
|
10914
|
+
{
|
|
10915
|
+
value: "string",
|
|
10916
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10917
|
+
},
|
|
10918
|
+
],
|
|
10919
|
+
addresses: [],
|
|
10920
|
+
period: {},
|
|
10921
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10922
|
+
},
|
|
10923
|
+
],
|
|
10924
|
+
filingOrder: {
|
|
10925
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10926
|
+
},
|
|
10927
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
10928
|
+
nonInsurancePayerAssociations: [
|
|
10929
|
+
{
|
|
10930
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
10931
|
+
},
|
|
10932
|
+
],
|
|
10933
|
+
guarantor: {
|
|
10934
|
+
name: {
|
|
10935
|
+
family: "string",
|
|
10936
|
+
given: ["string"],
|
|
10937
|
+
use: CandidApi.NameUse.Usual,
|
|
10938
|
+
period: {},
|
|
10939
|
+
},
|
|
10940
|
+
telecom: {
|
|
10941
|
+
value: "string",
|
|
10942
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10943
|
+
},
|
|
10944
|
+
email: "string",
|
|
10945
|
+
birthDate: "2023-01-15",
|
|
10946
|
+
address: {
|
|
10947
|
+
use: CandidApi.AddressUse.Home,
|
|
10948
|
+
line: ["string"],
|
|
10949
|
+
city: "string",
|
|
10950
|
+
state: "string",
|
|
10951
|
+
postalCode: "string",
|
|
10952
|
+
country: "string",
|
|
10953
|
+
period: {},
|
|
10954
|
+
},
|
|
10955
|
+
},
|
|
10956
|
+
selfPay: true,
|
|
10957
|
+
authorizations: [
|
|
10958
|
+
{
|
|
10959
|
+
payerId: CandidApi.PayerId("string"),
|
|
10960
|
+
payerName: "string",
|
|
10961
|
+
authorizationNumber: "string",
|
|
10962
|
+
cptCode: "string",
|
|
10963
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
10964
|
+
},
|
|
10965
|
+
],
|
|
10966
|
+
referrals: [
|
|
10967
|
+
{
|
|
10968
|
+
provider: {
|
|
10969
|
+
name: {
|
|
10970
|
+
family: "string",
|
|
10971
|
+
given: ["string"],
|
|
10972
|
+
use: CandidApi.NameUse.Usual,
|
|
10973
|
+
period: {},
|
|
10974
|
+
},
|
|
10975
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
10976
|
+
npi: "string",
|
|
10977
|
+
telecoms: [
|
|
10978
|
+
{
|
|
10979
|
+
value: "string",
|
|
10980
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10981
|
+
},
|
|
10982
|
+
],
|
|
10983
|
+
addresses: [],
|
|
10984
|
+
period: {},
|
|
10985
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10986
|
+
},
|
|
10987
|
+
referralNumber: "string",
|
|
10988
|
+
},
|
|
10989
|
+
],
|
|
10990
|
+
primaryServiceFacilityId: "string",
|
|
10991
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
10992
|
+
},
|
|
10993
|
+
});
|
|
10994
|
+
```
|
|
10995
|
+
|
|
10996
|
+
</dd>
|
|
10997
|
+
</dl>
|
|
10998
|
+
</dd>
|
|
10999
|
+
</dl>
|
|
11000
|
+
|
|
11001
|
+
#### ⚙️ Parameters
|
|
11002
|
+
|
|
11003
|
+
<dl>
|
|
11004
|
+
<dd>
|
|
11005
|
+
|
|
11006
|
+
<dl>
|
|
11007
|
+
<dd>
|
|
11008
|
+
|
|
11009
|
+
**request:** `CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest`
|
|
11010
|
+
|
|
11011
|
+
</dd>
|
|
11012
|
+
</dl>
|
|
11013
|
+
|
|
11014
|
+
<dl>
|
|
11015
|
+
<dd>
|
|
11016
|
+
|
|
11017
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11018
|
+
|
|
11019
|
+
</dd>
|
|
11020
|
+
</dl>
|
|
11021
|
+
</dd>
|
|
11022
|
+
</dl>
|
|
11023
|
+
|
|
11024
|
+
</dd>
|
|
11025
|
+
</dl>
|
|
11026
|
+
</details>
|
|
11027
|
+
|
|
10775
11028
|
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error></code></summary>
|
|
10776
11029
|
<dl>
|
|
10777
11030
|
<dd>
|
|
@@ -11177,6 +11430,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11177
11430
|
},
|
|
11178
11431
|
],
|
|
11179
11432
|
primaryServiceFacilityId: "string",
|
|
11433
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
11180
11434
|
});
|
|
11181
11435
|
```
|
|
11182
11436
|
|
|
@@ -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
|
});
|
|
@@ -28,6 +28,7 @@ export * as organizationProviders from "./organizationProviders";
|
|
|
28
28
|
export * as patientPayments from "./patientPayments";
|
|
29
29
|
export * as patientRefunds from "./patientRefunds";
|
|
30
30
|
export * as payers from "./payers";
|
|
31
|
+
export * as remitDrafts from "./remitDrafts";
|
|
31
32
|
export * as remits from "./remits";
|
|
32
33
|
export * as serviceLines from "./serviceLines";
|
|
33
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.credentialing = 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);
|
|
@@ -57,6 +57,7 @@ exports.organizationProviders = __importStar(require("./organizationProviders"))
|
|
|
57
57
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
58
58
|
exports.patientRefunds = __importStar(require("./patientRefunds"));
|
|
59
59
|
exports.payers = __importStar(require("./payers"));
|
|
60
|
+
exports.remitDrafts = __importStar(require("./remitDrafts"));
|
|
60
61
|
exports.remits = __importStar(require("./remits"));
|
|
61
62
|
exports.serviceLines = __importStar(require("./serviceLines"));
|
|
62
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
|
});
|
|
@@ -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
|
});
|
|
@@ -7,11 +7,13 @@ import * as core from "../../../../../../../../core";
|
|
|
7
7
|
import { Appointment } from "../../../../appointments/resources/v1/types/Appointment";
|
|
8
8
|
import { MutablePatient } from "../../../../patients/resources/v1/types/MutablePatient";
|
|
9
9
|
import { MutableCoverage } from "../../../../coverages/resources/v1/types/MutableCoverage";
|
|
10
|
+
import { UniversalServiceIdentifier } from "../../../../appointments/resources/v1/types/UniversalServiceIdentifier";
|
|
10
11
|
export declare const AppointmentListItem: core.serialization.ObjectSchema<serializers.preEncounter.lists.v1.AppointmentListItem.Raw, CandidApi.preEncounter.lists.v1.AppointmentListItem>;
|
|
11
12
|
export declare namespace AppointmentListItem {
|
|
12
13
|
interface Raw {
|
|
13
14
|
appointment: Appointment.Raw;
|
|
14
15
|
patient: MutablePatient.Raw;
|
|
15
16
|
primary_coverage?: MutableCoverage.Raw | null;
|
|
17
|
+
primary_service_type?: UniversalServiceIdentifier.Raw | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -31,8 +31,10 @@ const core = __importStar(require("../../../../../../../../core"));
|
|
|
31
31
|
const Appointment_1 = require("../../../../appointments/resources/v1/types/Appointment");
|
|
32
32
|
const MutablePatient_1 = require("../../../../patients/resources/v1/types/MutablePatient");
|
|
33
33
|
const MutableCoverage_1 = require("../../../../coverages/resources/v1/types/MutableCoverage");
|
|
34
|
+
const UniversalServiceIdentifier_1 = require("../../../../appointments/resources/v1/types/UniversalServiceIdentifier");
|
|
34
35
|
exports.AppointmentListItem = core.serialization.object({
|
|
35
36
|
appointment: Appointment_1.Appointment,
|
|
36
37
|
patient: MutablePatient_1.MutablePatient,
|
|
37
38
|
primaryCoverage: core.serialization.property("primary_coverage", MutableCoverage_1.MutableCoverage.optional()),
|
|
39
|
+
primaryServiceType: core.serialization.property("primary_service_type", UniversalServiceIdentifier_1.UniversalServiceIdentifier.optional()),
|
|
38
40
|
});
|
package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.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 SortFieldString: core.serialization.Schema<serializers.preEncounter.lists.v1.SortFieldString.Raw, CandidApi.preEncounter.lists.v1.SortFieldString>;
|
|
8
|
+
export declare namespace SortFieldString {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.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.SortFieldString = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
32
|
+
exports.SortFieldString = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.lists.v1.SortFieldString,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./FilterQueryString"), exports);
|
|
18
|
+
__exportStar(require("./SortFieldString"), exports);
|
|
18
19
|
__exportStar(require("./PatientListItem"), exports);
|
|
19
20
|
__exportStar(require("./PatientListPage"), exports);
|
|
20
21
|
__exportStar(require("./AppointmentListItem"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
8
|
+
import { PotentialDuplicatePatientsErrorBody } from "../types/PotentialDuplicatePatientsErrorBody";
|
|
9
|
+
import { InvalidMrnErrorBody } from "../types/InvalidMrnErrorBody";
|
|
10
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.createWithMrn.Error.Raw, CandidApi.preEncounter.patients.v1.createWithMrn.Error>;
|
|
11
|
+
export declare namespace Error {
|
|
12
|
+
type Raw = Error.VersionConflictError | Error.PotentialDuplicatePatients | Error.InvalidMrnError;
|
|
13
|
+
interface VersionConflictError {
|
|
14
|
+
errorName: "VersionConflictError";
|
|
15
|
+
content: VersionConflictErrorBody.Raw;
|
|
16
|
+
}
|
|
17
|
+
interface PotentialDuplicatePatients {
|
|
18
|
+
errorName: "PotentialDuplicatePatients";
|
|
19
|
+
content: PotentialDuplicatePatientsErrorBody.Raw;
|
|
20
|
+
}
|
|
21
|
+
interface InvalidMrnError {
|
|
22
|
+
errorName: "InvalidMRNError";
|
|
23
|
+
content: InvalidMrnErrorBody.Raw;
|
|
24
|
+
}
|
|
25
|
+
}
|
package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
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 VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
44
|
+
const PotentialDuplicatePatientsErrorBody_1 = require("../types/PotentialDuplicatePatientsErrorBody");
|
|
45
|
+
const InvalidMrnErrorBody_1 = require("../types/InvalidMrnErrorBody");
|
|
46
|
+
exports.Error = core.serialization
|
|
47
|
+
.union("errorName", {
|
|
48
|
+
VersionConflictError: core.serialization.object({
|
|
49
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
50
|
+
}),
|
|
51
|
+
PotentialDuplicatePatients: core.serialization.object({
|
|
52
|
+
content: PotentialDuplicatePatientsErrorBody_1.PotentialDuplicatePatientsErrorBody,
|
|
53
|
+
}),
|
|
54
|
+
InvalidMRNError: core.serialization.object({
|
|
55
|
+
content: InvalidMrnErrorBody_1.InvalidMrnErrorBody,
|
|
56
|
+
}),
|
|
57
|
+
})
|
|
58
|
+
.transform({
|
|
59
|
+
transform: (value) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "VersionConflictError":
|
|
62
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error.versionConflictError(value.content);
|
|
63
|
+
case "PotentialDuplicatePatients":
|
|
64
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error.potentialDuplicatePatients(value.content);
|
|
65
|
+
case "InvalidMRNError":
|
|
66
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error.invalidMrnError(value.content);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
untransform: (_a) => {
|
|
70
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
71
|
+
return value;
|
|
72
|
+
},
|
|
73
|
+
});
|
package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js
CHANGED
|
@@ -23,8 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
26
|
+
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.createWithMrn = exports.create = void 0;
|
|
27
27
|
exports.create = __importStar(require("./create"));
|
|
28
|
+
exports.createWithMrn = __importStar(require("./createWithMrn"));
|
|
28
29
|
exports.get = __importStar(require("./get"));
|
|
29
30
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
30
31
|
exports.update = __importStar(require("./update"));
|
|
@@ -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 DoNotInvoiceReason: core.serialization.Schema<serializers.preEncounter.patients.v1.DoNotInvoiceReason.Raw, CandidApi.preEncounter.patients.v1.DoNotInvoiceReason>;
|
|
8
|
+
export declare namespace DoNotInvoiceReason {
|
|
9
|
+
type Raw = "BANKRUPTCY" | "DECEASED" | "HARDSHIP" | "OTHER";
|
|
10
|
+
}
|