candidhealth 0.34.9 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +61 -56
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/client/Client.d.ts +26 -0
- package/api/resources/credentialing/client/Client.js +17 -0
- package/api/resources/credentialing/client/index.d.ts +1 -0
- package/api/resources/credentialing/client/index.js +2 -0
- package/api/resources/credentialing/index.d.ts +2 -0
- package/api/resources/credentialing/index.js +18 -0
- package/api/resources/credentialing/resources/index.d.ts +1 -0
- package/api/resources/credentialing/resources/index.js +27 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/api/resources/credentialing/resources/v2/index.js +18 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/api/resources/credentialing/resources/v2/types/index.js +20 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
- package/api/resources/encounters/resources/v4/client/Client.js +9 -11
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/types/index.js +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
- package/api/resources/exports/resources/v3/client/Client.js +4 -3
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/individual/types/Patient.d.ts +14 -2
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/api/resources/remitDrafts/index.d.ts +1 -0
- package/api/resources/remitDrafts/index.js +17 -0
- package/api/resources/remitDrafts/resources/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/index.js +27 -0
- package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/v1/index.js +17 -0
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
- package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +61 -56
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
- package/dist/api/resources/credentialing/client/Client.js +17 -0
- package/dist/api/resources/credentialing/client/index.d.ts +1 -0
- package/dist/api/resources/credentialing/client/index.js +2 -0
- package/dist/api/resources/credentialing/index.d.ts +2 -0
- package/dist/api/resources/credentialing/index.js +18 -0
- package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/index.js +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
- package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/individual/types/Patient.d.ts +14 -2
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/api/resources/remitDrafts/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/index.js +17 -0
- package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/index.js +27 -0
- package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/credentialing/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/index.js +17 -0
- package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/resources/index.js +27 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/index.js +17 -0
- package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/package.json +1 -1
- package/reference.md +622 -457
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/credentialing/index.d.ts +1 -0
- package/serialization/resources/credentialing/index.js +17 -0
- package/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/serialization/resources/credentialing/resources/index.js +27 -0
- package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/serialization/resources/remitDrafts/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/index.js +17 -0
- package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/index.js +27 -0
- package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
- package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
- /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.createWithMrn.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.createWithMrn.Error.PotentialDuplicatePatients | CandidApi.preEncounter.patients.v1.createWithMrn.Error.InvalidMrnError | CandidApi.preEncounter.patients.v1.createWithMrn.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface VersionConflictError extends _Utils {
|
|
9
|
+
errorName: "VersionConflictError";
|
|
10
|
+
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
11
|
+
}
|
|
12
|
+
interface PotentialDuplicatePatients extends _Utils {
|
|
13
|
+
errorName: "PotentialDuplicatePatients";
|
|
14
|
+
content: CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody;
|
|
15
|
+
}
|
|
16
|
+
interface InvalidMrnError extends _Utils {
|
|
17
|
+
errorName: "InvalidMRNError";
|
|
18
|
+
content: CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody;
|
|
19
|
+
}
|
|
20
|
+
interface _Unknown extends _Utils {
|
|
21
|
+
errorName: void;
|
|
22
|
+
content: core.Fetcher.Error;
|
|
23
|
+
}
|
|
24
|
+
interface _Utils {
|
|
25
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.createWithMrn.Error._Visitor<_Result>) => _Result;
|
|
26
|
+
}
|
|
27
|
+
interface _Visitor<_Result> {
|
|
28
|
+
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
29
|
+
potentialDuplicatePatients: (value: CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody) => _Result;
|
|
30
|
+
invalidMrnError: (value: CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody) => _Result;
|
|
31
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare const Error: {
|
|
35
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.createWithMrn.Error.VersionConflictError;
|
|
36
|
+
readonly potentialDuplicatePatients: (value: CandidApi.preEncounter.patients.v1.PotentialDuplicatePatientsErrorBody) => CandidApi.preEncounter.patients.v1.createWithMrn.Error.PotentialDuplicatePatients;
|
|
37
|
+
readonly invalidMrnError: (value: CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody) => CandidApi.preEncounter.patients.v1.createWithMrn.Error.InvalidMrnError;
|
|
38
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.createWithMrn.Error._Unknown;
|
|
39
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.createWithMrn.Error, visitor: CandidApi.preEncounter.patients.v1.createWithMrn.Error._Visitor<_Result>) => _Result;
|
|
40
|
+
};
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
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.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
versionConflictError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "VersionConflictError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
potentialDuplicatePatients: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "PotentialDuplicatePatients",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
invalidMrnError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "InvalidMRNError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_unknown: (fetcherError) => {
|
|
60
|
+
return {
|
|
61
|
+
errorName: undefined,
|
|
62
|
+
content: fetcherError,
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.preEncounter.patients.v1.createWithMrn.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
_visit: (value, visitor) => {
|
|
69
|
+
switch (value.errorName) {
|
|
70
|
+
case "VersionConflictError":
|
|
71
|
+
return visitor.versionConflictError(value.content);
|
|
72
|
+
case "PotentialDuplicatePatients":
|
|
73
|
+
return visitor.potentialDuplicatePatients(value.content);
|
|
74
|
+
case "InvalidMRNError":
|
|
75
|
+
return visitor.invalidMrnError(value.content);
|
|
76
|
+
default:
|
|
77
|
+
return visitor._other(value);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
};
|
|
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.create = void 0;
|
|
29
|
+
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.createWithMrn = exports.create = void 0;
|
|
30
30
|
__exportStar(require("./requests"), exports);
|
|
31
31
|
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.createWithMrn = __importStar(require("./createWithMrn"));
|
|
32
33
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
33
34
|
exports.get = __importStar(require("./get"));
|
|
34
35
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
@@ -11,27 +11,13 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
11
11
|
* family: "string",
|
|
12
12
|
* given: ["string"],
|
|
13
13
|
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
14
|
-
* period: {
|
|
15
|
-
* start: {
|
|
16
|
-
* "key": "value"
|
|
17
|
-
* },
|
|
18
|
-
* end: {
|
|
19
|
-
* "key": "value"
|
|
20
|
-
* }
|
|
21
|
-
* }
|
|
14
|
+
* period: {}
|
|
22
15
|
* },
|
|
23
16
|
* otherNames: [{
|
|
24
17
|
* family: "string",
|
|
25
18
|
* given: ["string"],
|
|
26
19
|
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
27
|
-
* period: {
|
|
28
|
-
* start: {
|
|
29
|
-
* "key": "value"
|
|
30
|
-
* },
|
|
31
|
-
* end: {
|
|
32
|
-
* "key": "value"
|
|
33
|
-
* }
|
|
34
|
-
* }
|
|
20
|
+
* period: {}
|
|
35
21
|
* }],
|
|
36
22
|
* gender: CandidApi.preEncounter.Gender.Man,
|
|
37
23
|
* birthDate: "2023-01-15",
|
|
@@ -51,14 +37,7 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
51
37
|
* state: "string",
|
|
52
38
|
* postalCode: "string",
|
|
53
39
|
* country: "string",
|
|
54
|
-
* period: {
|
|
55
|
-
* start: {
|
|
56
|
-
* "key": "value"
|
|
57
|
-
* },
|
|
58
|
-
* end: {
|
|
59
|
-
* "key": "value"
|
|
60
|
-
* }
|
|
61
|
-
* }
|
|
40
|
+
* period: {}
|
|
62
41
|
* },
|
|
63
42
|
* otherAddresses: [{
|
|
64
43
|
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
@@ -67,28 +46,15 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
67
46
|
* state: "string",
|
|
68
47
|
* postalCode: "string",
|
|
69
48
|
* country: "string",
|
|
70
|
-
* period: {
|
|
71
|
-
* start: {
|
|
72
|
-
* "key": "value"
|
|
73
|
-
* },
|
|
74
|
-
* end: {
|
|
75
|
-
* "key": "value"
|
|
76
|
-
* }
|
|
77
|
-
* }
|
|
49
|
+
* period: {}
|
|
78
50
|
* }],
|
|
79
51
|
* primaryTelecom: {
|
|
80
52
|
* value: "string",
|
|
81
|
-
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
82
|
-
* period: {
|
|
83
|
-
* "key": "value"
|
|
84
|
-
* }
|
|
53
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
85
54
|
* },
|
|
86
55
|
* otherTelecoms: [{
|
|
87
56
|
* value: "string",
|
|
88
|
-
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
89
|
-
* period: {
|
|
90
|
-
* "key": "value"
|
|
91
|
-
* }
|
|
57
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
92
58
|
* }],
|
|
93
59
|
* email: "string",
|
|
94
60
|
* electronicCommunicationOptIn: true,
|
|
@@ -104,21 +70,11 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
104
70
|
* family: "string",
|
|
105
71
|
* given: ["string"],
|
|
106
72
|
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
107
|
-
* period: {
|
|
108
|
-
* start: {
|
|
109
|
-
* "key": "value"
|
|
110
|
-
* },
|
|
111
|
-
* end: {
|
|
112
|
-
* "key": "value"
|
|
113
|
-
* }
|
|
114
|
-
* }
|
|
73
|
+
* period: {}
|
|
115
74
|
* },
|
|
116
75
|
* telecoms: [{
|
|
117
76
|
* value: "string",
|
|
118
|
-
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
119
|
-
* period: {
|
|
120
|
-
* "key": "value"
|
|
121
|
-
* }
|
|
77
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
122
78
|
* }],
|
|
123
79
|
* addresses: [{
|
|
124
80
|
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
@@ -127,23 +83,9 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
127
83
|
* state: "string",
|
|
128
84
|
* postalCode: "string",
|
|
129
85
|
* country: "string",
|
|
130
|
-
* period: {
|
|
131
|
-
* start: {
|
|
132
|
-
* "key": "value"
|
|
133
|
-
* },
|
|
134
|
-
* end: {
|
|
135
|
-
* "key": "value"
|
|
136
|
-
* }
|
|
137
|
-
* }
|
|
86
|
+
* period: {}
|
|
138
87
|
* }],
|
|
139
|
-
* period: {
|
|
140
|
-
* start: {
|
|
141
|
-
* "key": "value"
|
|
142
|
-
* },
|
|
143
|
-
* end: {
|
|
144
|
-
* "key": "value"
|
|
145
|
-
* }
|
|
146
|
-
* },
|
|
88
|
+
* period: {},
|
|
147
89
|
* hipaaAuthorization: true
|
|
148
90
|
* }],
|
|
149
91
|
* generalPractitioners: [{
|
|
@@ -151,35 +93,16 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
151
93
|
* family: "string",
|
|
152
94
|
* given: ["string"],
|
|
153
95
|
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
154
|
-
* period: {
|
|
155
|
-
* start: {
|
|
156
|
-
* "key": "value"
|
|
157
|
-
* },
|
|
158
|
-
* end: {
|
|
159
|
-
* "key": "value"
|
|
160
|
-
* }
|
|
161
|
-
* }
|
|
96
|
+
* period: {}
|
|
162
97
|
* },
|
|
163
98
|
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
164
99
|
* npi: "string",
|
|
165
100
|
* telecoms: [{
|
|
166
101
|
* value: "string",
|
|
167
|
-
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
168
|
-
* period: {
|
|
169
|
-
* "key": "value"
|
|
170
|
-
* }
|
|
171
|
-
* }],
|
|
172
|
-
* addresses: [{
|
|
173
|
-
* "key": "value"
|
|
102
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
174
103
|
* }],
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
* "key": "value"
|
|
178
|
-
* },
|
|
179
|
-
* end: {
|
|
180
|
-
* "key": "value"
|
|
181
|
-
* }
|
|
182
|
-
* },
|
|
104
|
+
* addresses: [],
|
|
105
|
+
* period: {},
|
|
183
106
|
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
184
107
|
* }],
|
|
185
108
|
* filingOrder: {
|
|
@@ -187,31 +110,18 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
187
110
|
* },
|
|
188
111
|
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
189
112
|
* nonInsurancePayerAssociations: [{
|
|
190
|
-
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
|
|
191
|
-
* memberId: {
|
|
192
|
-
* "key": "value"
|
|
193
|
-
* }
|
|
113
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
|
|
194
114
|
* }],
|
|
195
115
|
* guarantor: {
|
|
196
116
|
* name: {
|
|
197
117
|
* family: "string",
|
|
198
118
|
* given: ["string"],
|
|
199
119
|
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
200
|
-
* period: {
|
|
201
|
-
* start: {
|
|
202
|
-
* "key": "value"
|
|
203
|
-
* },
|
|
204
|
-
* end: {
|
|
205
|
-
* "key": "value"
|
|
206
|
-
* }
|
|
207
|
-
* }
|
|
120
|
+
* period: {}
|
|
208
121
|
* },
|
|
209
122
|
* telecom: {
|
|
210
123
|
* value: "string",
|
|
211
|
-
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
212
|
-
* period: {
|
|
213
|
-
* "key": "value"
|
|
214
|
-
* }
|
|
124
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
215
125
|
* },
|
|
216
126
|
* email: "string",
|
|
217
127
|
* birthDate: "2023-01-15",
|
|
@@ -222,35 +132,16 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
222
132
|
* state: "string",
|
|
223
133
|
* postalCode: "string",
|
|
224
134
|
* country: "string",
|
|
225
|
-
* period: {
|
|
226
|
-
* start: {
|
|
227
|
-
* "key": "value"
|
|
228
|
-
* },
|
|
229
|
-
* end: {
|
|
230
|
-
* "key": "value"
|
|
231
|
-
* }
|
|
232
|
-
* }
|
|
135
|
+
* period: {}
|
|
233
136
|
* }
|
|
234
137
|
* },
|
|
235
138
|
* selfPay: true,
|
|
236
139
|
* authorizations: [{
|
|
237
140
|
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
238
141
|
* payerName: "string",
|
|
239
|
-
* additionalPayerInformation: {
|
|
240
|
-
* "key": "value"
|
|
241
|
-
* },
|
|
242
142
|
* authorizationNumber: "string",
|
|
243
143
|
* cptCode: "string",
|
|
244
|
-
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
245
|
-
* quantity: {
|
|
246
|
-
* "key": "value"
|
|
247
|
-
* },
|
|
248
|
-
* period: {
|
|
249
|
-
* "key": "value"
|
|
250
|
-
* },
|
|
251
|
-
* notes: {
|
|
252
|
-
* "key": "value"
|
|
253
|
-
* }
|
|
144
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
254
145
|
* }],
|
|
255
146
|
* referrals: [{
|
|
256
147
|
* provider: {
|
|
@@ -258,46 +149,22 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
258
149
|
* family: "string",
|
|
259
150
|
* given: ["string"],
|
|
260
151
|
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
261
|
-
* period: {
|
|
262
|
-
* start: {
|
|
263
|
-
* "key": "value"
|
|
264
|
-
* },
|
|
265
|
-
* end: {
|
|
266
|
-
* "key": "value"
|
|
267
|
-
* }
|
|
268
|
-
* }
|
|
152
|
+
* period: {}
|
|
269
153
|
* },
|
|
270
154
|
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
271
155
|
* npi: "string",
|
|
272
156
|
* telecoms: [{
|
|
273
157
|
* value: "string",
|
|
274
|
-
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
275
|
-
* period: {
|
|
276
|
-
* "key": "value"
|
|
277
|
-
* }
|
|
278
|
-
* }],
|
|
279
|
-
* addresses: [{
|
|
280
|
-
* "key": "value"
|
|
158
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
281
159
|
* }],
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
* "key": "value"
|
|
285
|
-
* },
|
|
286
|
-
* end: {
|
|
287
|
-
* "key": "value"
|
|
288
|
-
* }
|
|
289
|
-
* },
|
|
160
|
+
* addresses: [],
|
|
161
|
+
* period: {},
|
|
290
162
|
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
291
163
|
* },
|
|
292
|
-
* referralNumber: "string"
|
|
293
|
-
* period: {
|
|
294
|
-
* "key": "value"
|
|
295
|
-
* },
|
|
296
|
-
* notes: {
|
|
297
|
-
* "key": "value"
|
|
298
|
-
* }
|
|
164
|
+
* referralNumber: "string"
|
|
299
165
|
* }],
|
|
300
|
-
* primaryServiceFacilityId: "string"
|
|
166
|
+
* primaryServiceFacilityId: "string",
|
|
167
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
301
168
|
* }
|
|
302
169
|
* }
|
|
303
170
|
*/
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* skipDuplicateCheck: true,
|
|
9
|
+
* body: {
|
|
10
|
+
* mrn: "string",
|
|
11
|
+
* name: {
|
|
12
|
+
* family: "string",
|
|
13
|
+
* given: ["string"],
|
|
14
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
15
|
+
* period: {}
|
|
16
|
+
* },
|
|
17
|
+
* otherNames: [{
|
|
18
|
+
* family: "string",
|
|
19
|
+
* given: ["string"],
|
|
20
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
21
|
+
* period: {}
|
|
22
|
+
* }],
|
|
23
|
+
* gender: CandidApi.preEncounter.Gender.Man,
|
|
24
|
+
* birthDate: "2023-01-15",
|
|
25
|
+
* socialSecurityNumber: "string",
|
|
26
|
+
* biologicalSex: CandidApi.preEncounter.Sex.Female,
|
|
27
|
+
* sexualOrientation: CandidApi.preEncounter.SexualOrientation.Heterosexual,
|
|
28
|
+
* race: CandidApi.preEncounter.Race.AmericanIndianOrAlaskaNative,
|
|
29
|
+
* ethnicity: CandidApi.preEncounter.Ethnicity.HispanicOrLatino,
|
|
30
|
+
* disabilityStatus: CandidApi.preEncounter.DisabilityStatus.Disabled,
|
|
31
|
+
* maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
|
|
32
|
+
* deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
33
|
+
* multipleBirth: 1,
|
|
34
|
+
* primaryAddress: {
|
|
35
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
36
|
+
* line: ["string"],
|
|
37
|
+
* city: "string",
|
|
38
|
+
* state: "string",
|
|
39
|
+
* postalCode: "string",
|
|
40
|
+
* country: "string",
|
|
41
|
+
* period: {}
|
|
42
|
+
* },
|
|
43
|
+
* otherAddresses: [{
|
|
44
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
45
|
+
* line: ["string"],
|
|
46
|
+
* city: "string",
|
|
47
|
+
* state: "string",
|
|
48
|
+
* postalCode: "string",
|
|
49
|
+
* country: "string",
|
|
50
|
+
* period: {}
|
|
51
|
+
* }],
|
|
52
|
+
* primaryTelecom: {
|
|
53
|
+
* value: "string",
|
|
54
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
55
|
+
* },
|
|
56
|
+
* otherTelecoms: [{
|
|
57
|
+
* value: "string",
|
|
58
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
59
|
+
* }],
|
|
60
|
+
* email: "string",
|
|
61
|
+
* electronicCommunicationOptIn: true,
|
|
62
|
+
* photo: "string",
|
|
63
|
+
* language: "string",
|
|
64
|
+
* externalProvenance: {
|
|
65
|
+
* externalId: "string",
|
|
66
|
+
* systemName: "string"
|
|
67
|
+
* },
|
|
68
|
+
* contacts: [{
|
|
69
|
+
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
70
|
+
* name: {
|
|
71
|
+
* family: "string",
|
|
72
|
+
* given: ["string"],
|
|
73
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
74
|
+
* period: {}
|
|
75
|
+
* },
|
|
76
|
+
* telecoms: [{
|
|
77
|
+
* value: "string",
|
|
78
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
79
|
+
* }],
|
|
80
|
+
* addresses: [{
|
|
81
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
82
|
+
* line: ["string"],
|
|
83
|
+
* city: "string",
|
|
84
|
+
* state: "string",
|
|
85
|
+
* postalCode: "string",
|
|
86
|
+
* country: "string",
|
|
87
|
+
* period: {}
|
|
88
|
+
* }],
|
|
89
|
+
* period: {},
|
|
90
|
+
* hipaaAuthorization: true
|
|
91
|
+
* }],
|
|
92
|
+
* generalPractitioners: [{
|
|
93
|
+
* name: {
|
|
94
|
+
* family: "string",
|
|
95
|
+
* given: ["string"],
|
|
96
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
97
|
+
* period: {}
|
|
98
|
+
* },
|
|
99
|
+
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
100
|
+
* npi: "string",
|
|
101
|
+
* telecoms: [{
|
|
102
|
+
* value: "string",
|
|
103
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
104
|
+
* }],
|
|
105
|
+
* addresses: [],
|
|
106
|
+
* period: {},
|
|
107
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
108
|
+
* }],
|
|
109
|
+
* filingOrder: {
|
|
110
|
+
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
111
|
+
* },
|
|
112
|
+
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
113
|
+
* nonInsurancePayerAssociations: [{
|
|
114
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
|
|
115
|
+
* }],
|
|
116
|
+
* guarantor: {
|
|
117
|
+
* name: {
|
|
118
|
+
* family: "string",
|
|
119
|
+
* given: ["string"],
|
|
120
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
121
|
+
* period: {}
|
|
122
|
+
* },
|
|
123
|
+
* telecom: {
|
|
124
|
+
* value: "string",
|
|
125
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
126
|
+
* },
|
|
127
|
+
* email: "string",
|
|
128
|
+
* birthDate: "2023-01-15",
|
|
129
|
+
* address: {
|
|
130
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
131
|
+
* line: ["string"],
|
|
132
|
+
* city: "string",
|
|
133
|
+
* state: "string",
|
|
134
|
+
* postalCode: "string",
|
|
135
|
+
* country: "string",
|
|
136
|
+
* period: {}
|
|
137
|
+
* }
|
|
138
|
+
* },
|
|
139
|
+
* selfPay: true,
|
|
140
|
+
* authorizations: [{
|
|
141
|
+
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
142
|
+
* payerName: "string",
|
|
143
|
+
* authorizationNumber: "string",
|
|
144
|
+
* cptCode: "string",
|
|
145
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
146
|
+
* }],
|
|
147
|
+
* referrals: [{
|
|
148
|
+
* provider: {
|
|
149
|
+
* name: {
|
|
150
|
+
* family: "string",
|
|
151
|
+
* given: ["string"],
|
|
152
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
153
|
+
* period: {}
|
|
154
|
+
* },
|
|
155
|
+
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
156
|
+
* npi: "string",
|
|
157
|
+
* telecoms: [{
|
|
158
|
+
* value: "string",
|
|
159
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home
|
|
160
|
+
* }],
|
|
161
|
+
* addresses: [],
|
|
162
|
+
* period: {},
|
|
163
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
164
|
+
* },
|
|
165
|
+
* referralNumber: "string"
|
|
166
|
+
* }],
|
|
167
|
+
* primaryServiceFacilityId: "string",
|
|
168
|
+
* doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
|
|
169
|
+
* }
|
|
170
|
+
* }
|
|
171
|
+
*/
|
|
172
|
+
export interface CreatePatientWithMrnRequest {
|
|
173
|
+
skipDuplicateCheck?: boolean;
|
|
174
|
+
body: CandidApi.preEncounter.patients.v1.MutablePatientWithMrn;
|
|
175
|
+
}
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { type CreatePatientRequest } from "./CreatePatientRequest";
|
|
2
|
+
export { type CreatePatientWithMrnRequest } from "./CreatePatientWithMrnRequest";
|
|
2
3
|
export { type PatientsSearchRequestPaginated } from "./PatientsSearchRequestPaginated";
|
|
3
4
|
export { type PatientGetMultiRequest } from "./PatientGetMultiRequest";
|
|
4
5
|
export { type PatientScanRequest } from "./PatientScanRequest";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type DoNotInvoiceReason = "BANKRUPTCY" | "DECEASED" | "HARDSHIP" | "OTHER";
|
|
5
|
+
export declare const DoNotInvoiceReason: {
|
|
6
|
+
readonly Bankruptcy: "BANKRUPTCY";
|
|
7
|
+
readonly Deceased: "DECEASED";
|
|
8
|
+
readonly Hardship: "HARDSHIP";
|
|
9
|
+
readonly Other: "OTHER";
|
|
10
|
+
};
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DoNotInvoiceReason = void 0;
|
|
7
|
+
exports.DoNotInvoiceReason = {
|
|
8
|
+
Bankruptcy: "BANKRUPTCY",
|
|
9
|
+
Deceased: "DECEASED",
|
|
10
|
+
Hardship: "HARDSHIP",
|
|
11
|
+
Other: "OTHER",
|
|
12
|
+
};
|