candidhealth 0.35.0 → 0.35.2
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.d.ts +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +11 -6
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
- package/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
- 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/client/create.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
- 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/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -2
- package/api/resources/preEncounter/resources/common/types/index.js +1 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
- 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/getPatientList.d.ts +3 -3
- 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 +246 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +69 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
- 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/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
- 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/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/index.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
- 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 +8 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +7 -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.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +11 -6
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
- 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/client/create.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
- 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/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -2
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
- 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/getPatientList.d.ts +3 -3
- 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 +246 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +69 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
- 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/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
- 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/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/index.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
- 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 +8 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.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/client/create.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
- 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/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
- 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/client/getPatientList.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
- 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/create.d.ts +1 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
- 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/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
- 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/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 +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
- 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/{preEncounter/resources/common/types/NotFoundErrorBody.js → remitDrafts/resources/v1/types/RemitDraftId.js} +6 -7
- 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 +7 -0
- package/package.json +1 -1
- package/reference.md +259 -4
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
- 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/client/create.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
- 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/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
- package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
- 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/client/getPatientList.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
- 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/create.d.ts +1 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +67 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
- 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/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
- 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/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 +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
- 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/{preEncounter/resources/common/types/NotFoundErrorBody.js → remitDrafts/resources/v1/types/RemitDraftId.js} +6 -7
- 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 +7 -0
- package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -5
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -5
- package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -35
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
- package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -35
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
- /package/api/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +0 -0
- /package/api/resources/preEncounter/resources/{common/types/NotFoundErrorBody.js → patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/types/{PotentialDuplicatePatient.js → MutablePatientWithMrn.js} +0 -0
- /package/{api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js → dist/api/resources/preEncounter/resources/common/types/ErrorBase4Xx.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/{common/types/ErrorBase.js → patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/{common/types/NotFoundErrorBody.js → patients/resources/v1/types/MutablePatientWithMrn.js} +0 -0
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.v1.update.Error.Raw, CandidApi.preEncounter.coverages.v1.update.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
12
|
interface NotFoundError {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content:
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
15
|
}
|
|
16
16
|
interface VersionConflictError {
|
|
17
17
|
errorName: "VersionConflictError";
|
package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
48
|
-
content:
|
|
48
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
49
49
|
}),
|
|
50
50
|
VersionConflictError: core.serialization.object({
|
|
51
51
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
@@ -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
|
});
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.lists.v1.getPatientList.Error.Raw, CandidApi.preEncounter.lists.v1.getPatientList.Error>;
|
|
9
9
|
export declare namespace Error {
|
|
10
10
|
type Raw = Error.BadRequestError;
|
|
11
11
|
interface BadRequestError {
|
|
12
12
|
errorName: "BadRequestError";
|
|
13
|
-
content:
|
|
13
|
+
content: ErrorBase4Xx.Raw;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -40,11 +40,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
exports.Error = core.serialization
|
|
45
45
|
.union("errorName", {
|
|
46
46
|
BadRequestError: core.serialization.object({
|
|
47
|
-
content:
|
|
47
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
48
48
|
}),
|
|
49
49
|
})
|
|
50
50
|
.transform({
|
|
@@ -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
|
});
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
});
|
package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js
CHANGED
|
@@ -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);
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts
CHANGED
|
@@ -5,16 +5,11 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
8
|
-
import { PotentialDuplicatePatientsErrorBody } from "../types/PotentialDuplicatePatientsErrorBody";
|
|
9
8
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.create.Error.Raw, CandidApi.preEncounter.patients.v1.create.Error>;
|
|
10
9
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.VersionConflictError
|
|
10
|
+
type Raw = Error.VersionConflictError;
|
|
12
11
|
interface VersionConflictError {
|
|
13
12
|
errorName: "VersionConflictError";
|
|
14
13
|
content: VersionConflictErrorBody.Raw;
|
|
15
14
|
}
|
|
16
|
-
interface PotentialDuplicatePatients {
|
|
17
|
-
errorName: "PotentialDuplicatePatients";
|
|
18
|
-
content: PotentialDuplicatePatientsErrorBody.Raw;
|
|
19
|
-
}
|
|
20
15
|
}
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js
CHANGED
|
@@ -41,23 +41,17 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
43
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
44
|
-
const PotentialDuplicatePatientsErrorBody_1 = require("../types/PotentialDuplicatePatientsErrorBody");
|
|
45
44
|
exports.Error = core.serialization
|
|
46
45
|
.union("errorName", {
|
|
47
46
|
VersionConflictError: core.serialization.object({
|
|
48
47
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
49
48
|
}),
|
|
50
|
-
PotentialDuplicatePatients: core.serialization.object({
|
|
51
|
-
content: PotentialDuplicatePatientsErrorBody_1.PotentialDuplicatePatientsErrorBody,
|
|
52
|
-
}),
|
|
53
49
|
})
|
|
54
50
|
.transform({
|
|
55
51
|
transform: (value) => {
|
|
56
52
|
switch (value.errorName) {
|
|
57
53
|
case "VersionConflictError":
|
|
58
54
|
return CandidApi.preEncounter.patients.v1.create.Error.versionConflictError(value.content);
|
|
59
|
-
case "PotentialDuplicatePatients":
|
|
60
|
-
return CandidApi.preEncounter.patients.v1.create.Error.potentialDuplicatePatients(value.content);
|
|
61
55
|
}
|
|
62
56
|
},
|
|
63
57
|
untransform: (_a) => {
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.createWithMrn.Error.Raw, CandidApi.preEncounter.patients.v1.createWithMrn.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.VersionConflictError | Error.BadRequestError;
|
|
12
|
+
interface VersionConflictError {
|
|
13
|
+
errorName: "VersionConflictError";
|
|
14
|
+
content: VersionConflictErrorBody.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface BadRequestError {
|
|
17
|
+
errorName: "BadRequestError";
|
|
18
|
+
content: ErrorBase4Xx.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
VersionConflictError: core.serialization.object({
|
|
48
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
49
|
+
}),
|
|
50
|
+
BadRequestError: core.serialization.object({
|
|
51
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "VersionConflictError":
|
|
58
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error.versionConflictError(value.content);
|
|
59
|
+
case "BadRequestError":
|
|
60
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error.badRequestError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.deactivate.Error.Raw, CandidApi.preEncounter.patients.v1.deactivate.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
12
|
interface NotFoundError {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content:
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
15
|
}
|
|
16
16
|
interface VersionConflictError {
|
|
17
17
|
errorName: "VersionConflictError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
48
|
-
content:
|
|
48
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
49
49
|
}),
|
|
50
50
|
VersionConflictError: core.serialization.object({
|
|
51
51
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.get.Error.Raw, CandidApi.preEncounter.patients.v1.get.Error>;
|
|
9
9
|
export declare namespace Error {
|
|
10
10
|
type Raw = Error.NotFoundError;
|
|
11
11
|
interface NotFoundError {
|
|
12
12
|
errorName: "NotFoundError";
|
|
13
|
-
content:
|
|
13
|
+
content: ErrorBase4Xx.Raw;
|
|
14
14
|
}
|
|
15
15
|
}
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js
CHANGED
|
@@ -40,11 +40,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
exports.Error = core.serialization
|
|
45
45
|
.union("errorName", {
|
|
46
46
|
NotFoundError: core.serialization.object({
|
|
47
|
-
content:
|
|
47
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
48
48
|
}),
|
|
49
49
|
})
|
|
50
50
|
.transform({
|
|
@@ -5,7 +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 { Patient } from "../types/Patient";
|
|
8
|
-
import {
|
|
8
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
9
9
|
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.getHistory.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
10
10
|
export declare namespace Response {
|
|
11
11
|
type Raw = Patient.Raw[];
|
|
@@ -15,6 +15,6 @@ export declare namespace Error {
|
|
|
15
15
|
type Raw = Error.NotFoundError;
|
|
16
16
|
interface NotFoundError {
|
|
17
17
|
errorName: "NotFoundError";
|
|
18
|
-
content:
|
|
18
|
+
content: ErrorBase4Xx.Raw;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -41,12 +41,12 @@ exports.Error = exports.Response = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
43
|
const Patient_1 = require("../types/Patient");
|
|
44
|
-
const
|
|
44
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
45
45
|
exports.Response = core.serialization.list(Patient_1.Patient);
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
NotFoundError: core.serialization.object({
|
|
49
|
-
content:
|
|
49
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
50
50
|
}),
|
|
51
51
|
})
|
|
52
52
|
.transform({
|
package/dist/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"));
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.update.Error.Raw, CandidApi.preEncounter.patients.v1.update.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
12
|
interface NotFoundError {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content:
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
15
|
}
|
|
16
16
|
interface VersionConflictError {
|
|
17
17
|
errorName: "VersionConflictError";
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
48
|
-
content:
|
|
48
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
49
49
|
}),
|
|
50
50
|
VersionConflictError: core.serialization.object({
|
|
51
51
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.DoNotInvoiceReason = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.DoNotInvoiceReason = core.serialization.enum_(["BANKRUPTCY", "DECEASED", "HARDSHIP", "OTHER"]);
|
|
@@ -23,6 +23,7 @@ import { CanonicalNonInsurancePayerAssociation } from "../../../../common/types/
|
|
|
23
23
|
import { Guarantor } from "./Guarantor";
|
|
24
24
|
import { Authorization } from "./Authorization";
|
|
25
25
|
import { Referral } from "./Referral";
|
|
26
|
+
import { DoNotInvoiceReason } from "./DoNotInvoiceReason";
|
|
26
27
|
export declare const MutablePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatient.Raw, CandidApi.preEncounter.patients.v1.MutablePatient>;
|
|
27
28
|
export declare namespace MutablePatient {
|
|
28
29
|
interface Raw {
|
|
@@ -58,5 +59,6 @@ export declare namespace MutablePatient {
|
|
|
58
59
|
authorizations?: Authorization.Raw[] | null;
|
|
59
60
|
referrals?: Referral.Raw[] | null;
|
|
60
61
|
primary_service_facility_id?: string | null;
|
|
62
|
+
do_not_invoice_reason?: DoNotInvoiceReason.Raw | null;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
@@ -47,6 +47,7 @@ const CanonicalNonInsurancePayerAssociation_1 = require("../../../../common/type
|
|
|
47
47
|
const Guarantor_1 = require("./Guarantor");
|
|
48
48
|
const Authorization_1 = require("./Authorization");
|
|
49
49
|
const Referral_1 = require("./Referral");
|
|
50
|
+
const DoNotInvoiceReason_1 = require("./DoNotInvoiceReason");
|
|
50
51
|
exports.MutablePatient = core.serialization.object({
|
|
51
52
|
name: HumanName_1.HumanName,
|
|
52
53
|
otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
|
|
@@ -80,4 +81,5 @@ exports.MutablePatient = core.serialization.object({
|
|
|
80
81
|
authorizations: core.serialization.list(Authorization_1.Authorization).optional(),
|
|
81
82
|
referrals: core.serialization.list(Referral_1.Referral).optional(),
|
|
82
83
|
primaryServiceFacilityId: core.serialization.property("primary_service_facility_id", core.serialization.string().optional()),
|
|
84
|
+
doNotInvoiceReason: core.serialization.property("do_not_invoice_reason", DoNotInvoiceReason_1.DoNotInvoiceReason.optional()),
|
|
83
85
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { MutablePatient } from "./MutablePatient";
|
|
8
|
+
export declare const MutablePatientWithMrn: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatientWithMrn.Raw, CandidApi.preEncounter.patients.v1.MutablePatientWithMrn>;
|
|
9
|
+
export declare namespace MutablePatientWithMrn {
|
|
10
|
+
interface Raw extends MutablePatient.Raw {
|
|
11
|
+
mrn: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.MutablePatientWithMrn = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const MutablePatient_1 = require("./MutablePatient");
|
|
32
|
+
exports.MutablePatientWithMrn = core.serialization
|
|
33
|
+
.object({
|
|
34
|
+
mrn: core.serialization.string(),
|
|
35
|
+
})
|
|
36
|
+
.extend(MutablePatient_1.MutablePatient);
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export * from "./MaritalStatus";
|
|
|
3
3
|
export * from "./ExternalProvenance";
|
|
4
4
|
export * from "./Contact";
|
|
5
5
|
export * from "./FilingOrder";
|
|
6
|
+
export * from "./DoNotInvoiceReason";
|
|
6
7
|
export * from "./MutablePatient";
|
|
8
|
+
export * from "./MutablePatientWithMrn";
|
|
7
9
|
export * from "./Patient";
|
|
8
10
|
export * from "./PatientPage";
|
|
9
|
-
export * from "./PotentialDuplicatePatient";
|
|
10
|
-
export * from "./PotentialDuplicatePatientsErrorBody";
|
|
11
11
|
export * from "./AuthorizationUnit";
|
|
12
12
|
export * from "./Authorization";
|
|
13
13
|
export * from "./Referral";
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js
CHANGED
|
@@ -19,11 +19,11 @@ __exportStar(require("./MaritalStatus"), exports);
|
|
|
19
19
|
__exportStar(require("./ExternalProvenance"), exports);
|
|
20
20
|
__exportStar(require("./Contact"), exports);
|
|
21
21
|
__exportStar(require("./FilingOrder"), exports);
|
|
22
|
+
__exportStar(require("./DoNotInvoiceReason"), exports);
|
|
22
23
|
__exportStar(require("./MutablePatient"), exports);
|
|
24
|
+
__exportStar(require("./MutablePatientWithMrn"), exports);
|
|
23
25
|
__exportStar(require("./Patient"), exports);
|
|
24
26
|
__exportStar(require("./PatientPage"), exports);
|
|
25
|
-
__exportStar(require("./PotentialDuplicatePatient"), exports);
|
|
26
|
-
__exportStar(require("./PotentialDuplicatePatientsErrorBody"), exports);
|
|
27
27
|
__exportStar(require("./AuthorizationUnit"), exports);
|
|
28
28
|
__exportStar(require("./Authorization"), exports);
|
|
29
29
|
__exportStar(require("./Referral"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|