candidhealth 0.24.5 → 0.25.0
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 +13 -8
- 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/AppointmentId.d.ts +8 -0
- package/api/resources/commons/types/AppointmentId.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/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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.js +1 -1
- 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/financials/types/AllocationTarget.d.ts +4 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
- package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- 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/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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/client/Client.d.ts +26 -0
- package/api/resources/serviceLines/client/Client.js +17 -0
- package/api/resources/serviceLines/client/index.d.ts +1 -0
- package/api/resources/serviceLines/client/index.js +2 -0
- package/api/resources/serviceLines/index.d.ts +1 -0
- package/api/resources/serviceLines/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
- package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
- package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
- package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
- package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
- package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +2 -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/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +13 -8
- 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/AppointmentId.d.ts +8 -0
- package/dist/api/resources/commons/types/AppointmentId.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/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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.js +1 -1
- 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/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- 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/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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
- package/dist/api/resources/serviceLines/client/Client.js +17 -0
- package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/client/index.js +2 -0
- package/dist/api/resources/serviceLines/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
- package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
- package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
- package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -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/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
- package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/AppointmentId.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/financials/types/AllocationTarget.d.ts +5 -1
- package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
- package/package.json +1 -1
- package/reference.md +164 -24
- package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
- package/serialization/resources/commons/types/AppointmentId.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/financials/types/AllocationTarget.d.ts +5 -1
- package/serialization/resources/financials/types/AllocationTarget.js +2 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
- package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
- package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
- package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
- /package/api/resources/{preEncounter/resources/patients/resources/v1/types/ExternalProvider.js → financials/types/AppointmentAllocationTarget.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1 → api/resources/preEncounter/resources/common}/types/ExternalProvider.js +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineCreateStandalone {
|
|
6
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
chargeAmountCents?: number;
|
|
8
|
+
allowedAmountCents?: number;
|
|
9
|
+
insuranceBalanceCents?: number;
|
|
10
|
+
patientBalanceCents?: number;
|
|
11
|
+
primaryPaidAmountCents?: number;
|
|
12
|
+
secondaryPaidAmountCents?: number;
|
|
13
|
+
tertiaryPaidAmountCents?: number;
|
|
14
|
+
patientResponsibilityCents?: number;
|
|
15
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
16
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
17
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
18
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
19
|
+
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
20
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
21
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
22
|
+
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
23
|
+
procedureCode: string;
|
|
24
|
+
/**
|
|
25
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
26
|
+
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
27
|
+
* Example: 1.1 is valid, 1.11 is not.
|
|
28
|
+
*/
|
|
29
|
+
quantity: CandidApi.Decimal;
|
|
30
|
+
units: CandidApi.ServiceLineUnits;
|
|
31
|
+
claimId: CandidApi.ClaimId;
|
|
32
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
33
|
+
description?: string;
|
|
34
|
+
dateOfService?: string;
|
|
35
|
+
endDateOfService?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineUpdate {
|
|
6
|
+
editReason?: string;
|
|
7
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
8
|
+
chargeAmountCents?: number;
|
|
9
|
+
allowedAmountCents?: number;
|
|
10
|
+
insuranceBalanceCents?: number;
|
|
11
|
+
patientBalanceCents?: number;
|
|
12
|
+
primaryPaidAmountCents?: number;
|
|
13
|
+
secondaryPaidAmountCents?: number;
|
|
14
|
+
tertiaryPaidAmountCents?: number;
|
|
15
|
+
patientResponsibilityCents?: number;
|
|
16
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
17
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
18
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
19
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
20
|
+
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
21
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
22
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
23
|
+
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
24
|
+
units?: CandidApi.ServiceLineUnits;
|
|
25
|
+
procedureCode?: string;
|
|
26
|
+
/**
|
|
27
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
28
|
+
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
29
|
+
* Example: 1.1 is valid, 1.11 is not.
|
|
30
|
+
*/
|
|
31
|
+
quantity?: CandidApi.Decimal;
|
|
32
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
33
|
+
description?: string;
|
|
34
|
+
/** date_of_service must be defined on either the encounter or the service lines but not both. */
|
|
35
|
+
dateOfService?: string;
|
|
36
|
+
endDateOfService?: string;
|
|
37
|
+
}
|
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ServiceLineCreate"), exports);
|
|
18
|
+
__exportStar(require("./ServiceLineCreateStandalone"), exports);
|
|
19
|
+
__exportStar(require("./ServiceLineUpdate"), exports);
|
|
18
20
|
__exportStar(require("./ServiceLine"), exports);
|
|
19
21
|
__exportStar(require("./ServiceLineEraData"), exports);
|
|
20
22
|
__exportStar(require("./ServiceLineAdjustment"), exports);
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.
|
|
229
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.
|
|
297
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.
|
|
348
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.
|
|
119
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.
|
|
167
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.
|
|
224
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.
|
|
274
|
+
"X-Fern-SDK-Version": "0.25.0",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -7,6 +7,8 @@ export interface PatientWriteOff {
|
|
|
7
7
|
writeOffTimestamp: Date;
|
|
8
8
|
writeOffNote?: string;
|
|
9
9
|
writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
|
|
10
|
+
patientExternalId: CandidApi.PatientExternalId;
|
|
11
|
+
claimId: CandidApi.ClaimId;
|
|
10
12
|
serviceLineId: CandidApi.ServiceLineId;
|
|
11
13
|
revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
12
14
|
revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
@@ -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 AppointmentId: core.serialization.Schema<serializers.AppointmentId.Raw, CandidApi.AppointmentId>;
|
|
8
|
+
export declare namespace AppointmentId {
|
|
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.AppointmentId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../core"));
|
|
32
|
+
exports.AppointmentId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.AppointmentId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./EncounterId"), exports);
|
|
18
18
|
__exportStar(require("./OrganizationId"), exports);
|
|
19
19
|
__exportStar(require("./ClaimId"), exports);
|
|
20
|
+
__exportStar(require("./AppointmentId"), exports);
|
|
20
21
|
__exportStar(require("./ServiceLineId"), exports);
|
|
21
22
|
__exportStar(require("./PatientExternalId"), exports);
|
|
22
23
|
__exportStar(require("./EncounterExternalId"), exports);
|
|
@@ -7,9 +7,10 @@ import * as core from "../../../../core";
|
|
|
7
7
|
import { ServiceLineAllocationTarget } from "./ServiceLineAllocationTarget";
|
|
8
8
|
import { ClaimAllocationTarget } from "./ClaimAllocationTarget";
|
|
9
9
|
import { BillingProviderAllocationTarget } from "./BillingProviderAllocationTarget";
|
|
10
|
+
import { AppointmentAllocationTarget } from "./AppointmentAllocationTarget";
|
|
10
11
|
export declare const AllocationTarget: core.serialization.Schema<serializers.AllocationTarget.Raw, CandidApi.AllocationTarget>;
|
|
11
12
|
export declare namespace AllocationTarget {
|
|
12
|
-
type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId | AllocationTarget.Unattributed;
|
|
13
|
+
type Raw = AllocationTarget.ServiceLine | AllocationTarget.Claim | AllocationTarget.BillingProviderId | AllocationTarget.Appointment | AllocationTarget.Unattributed;
|
|
13
14
|
interface ServiceLine extends ServiceLineAllocationTarget.Raw {
|
|
14
15
|
type: "service_line";
|
|
15
16
|
}
|
|
@@ -19,6 +20,9 @@ export declare namespace AllocationTarget {
|
|
|
19
20
|
interface BillingProviderId extends BillingProviderAllocationTarget.Raw {
|
|
20
21
|
type: "billing_provider_id";
|
|
21
22
|
}
|
|
23
|
+
interface Appointment extends AppointmentAllocationTarget.Raw {
|
|
24
|
+
type: "appointment";
|
|
25
|
+
}
|
|
22
26
|
interface Unattributed {
|
|
23
27
|
type: "unattributed";
|
|
24
28
|
}
|
|
@@ -31,11 +31,13 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
const ServiceLineAllocationTarget_1 = require("./ServiceLineAllocationTarget");
|
|
32
32
|
const ClaimAllocationTarget_1 = require("./ClaimAllocationTarget");
|
|
33
33
|
const BillingProviderAllocationTarget_1 = require("./BillingProviderAllocationTarget");
|
|
34
|
+
const AppointmentAllocationTarget_1 = require("./AppointmentAllocationTarget");
|
|
34
35
|
exports.AllocationTarget = core.serialization
|
|
35
36
|
.union("type", {
|
|
36
37
|
service_line: ServiceLineAllocationTarget_1.ServiceLineAllocationTarget,
|
|
37
38
|
claim: ClaimAllocationTarget_1.ClaimAllocationTarget,
|
|
38
39
|
billing_provider_id: BillingProviderAllocationTarget_1.BillingProviderAllocationTarget,
|
|
40
|
+
appointment: AppointmentAllocationTarget_1.AppointmentAllocationTarget,
|
|
39
41
|
unattributed: core.serialization.object({}),
|
|
40
42
|
})
|
|
41
43
|
.transform({
|
|
@@ -8,9 +8,10 @@ import { ServiceLineId } from "../../commons/types/ServiceLineId";
|
|
|
8
8
|
import { ClaimId } from "../../commons/types/ClaimId";
|
|
9
9
|
import { EncounterExternalId } from "../../commons/types/EncounterExternalId";
|
|
10
10
|
import { ProviderId } from "../../commons/types/ProviderId";
|
|
11
|
+
import { AppointmentId } from "../../commons/types/AppointmentId";
|
|
11
12
|
export declare const AllocationTargetCreate: core.serialization.Schema<serializers.AllocationTargetCreate.Raw, CandidApi.AllocationTargetCreate>;
|
|
12
13
|
export declare namespace AllocationTargetCreate {
|
|
13
|
-
type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.ClaimByEncounterExternalId | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.Unattributed;
|
|
14
|
+
type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.ClaimByEncounterExternalId | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.AppointmentById | AllocationTargetCreate.Unattributed;
|
|
14
15
|
interface ServiceLineById {
|
|
15
16
|
type: "service_line_by_id";
|
|
16
17
|
value: ServiceLineId.Raw;
|
|
@@ -27,6 +28,10 @@ export declare namespace AllocationTargetCreate {
|
|
|
27
28
|
type: "billing_provider_by_id";
|
|
28
29
|
value: ProviderId.Raw;
|
|
29
30
|
}
|
|
31
|
+
interface AppointmentById {
|
|
32
|
+
type: "appointment_by_id";
|
|
33
|
+
value: AppointmentId.Raw;
|
|
34
|
+
}
|
|
30
35
|
interface Unattributed {
|
|
31
36
|
type: "unattributed";
|
|
32
37
|
}
|
|
@@ -32,6 +32,7 @@ const ServiceLineId_1 = require("../../commons/types/ServiceLineId");
|
|
|
32
32
|
const ClaimId_1 = require("../../commons/types/ClaimId");
|
|
33
33
|
const EncounterExternalId_1 = require("../../commons/types/EncounterExternalId");
|
|
34
34
|
const ProviderId_1 = require("../../commons/types/ProviderId");
|
|
35
|
+
const AppointmentId_1 = require("../../commons/types/AppointmentId");
|
|
35
36
|
exports.AllocationTargetCreate = core.serialization
|
|
36
37
|
.union("type", {
|
|
37
38
|
service_line_by_id: core.serialization.object({
|
|
@@ -46,6 +47,9 @@ exports.AllocationTargetCreate = core.serialization
|
|
|
46
47
|
billing_provider_by_id: core.serialization.object({
|
|
47
48
|
value: ProviderId_1.ProviderId,
|
|
48
49
|
}),
|
|
50
|
+
appointment_by_id: core.serialization.object({
|
|
51
|
+
value: AppointmentId_1.AppointmentId,
|
|
52
|
+
}),
|
|
49
53
|
unattributed: core.serialization.object({}),
|
|
50
54
|
})
|
|
51
55
|
.transform({
|
|
@@ -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 { AppointmentId } from "../../commons/types/AppointmentId";
|
|
8
|
+
export declare const AppointmentAllocationTarget: core.serialization.ObjectSchema<serializers.AppointmentAllocationTarget.Raw, CandidApi.AppointmentAllocationTarget>;
|
|
9
|
+
export declare namespace AppointmentAllocationTarget {
|
|
10
|
+
interface Raw {
|
|
11
|
+
appointment_id: AppointmentId.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.AppointmentAllocationTarget = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const AppointmentId_1 = require("../../commons/types/AppointmentId");
|
|
32
|
+
exports.AppointmentAllocationTarget = core.serialization.object({
|
|
33
|
+
appointmentId: core.serialization.property("appointment_id", AppointmentId_1.AppointmentId),
|
|
34
|
+
});
|
|
@@ -4,6 +4,7 @@ export * from "./Allocation";
|
|
|
4
4
|
export * from "./ServiceLineAllocationTarget";
|
|
5
5
|
export * from "./ClaimAllocationTarget";
|
|
6
6
|
export * from "./BillingProviderAllocationTarget";
|
|
7
|
+
export * from "./AppointmentAllocationTarget";
|
|
7
8
|
export * from "./AllocationTarget";
|
|
8
9
|
export * from "./AllocationCreate";
|
|
9
10
|
export * from "./AllocationTargetCreate";
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./Allocation"), exports);
|
|
|
20
20
|
__exportStar(require("./ServiceLineAllocationTarget"), exports);
|
|
21
21
|
__exportStar(require("./ClaimAllocationTarget"), exports);
|
|
22
22
|
__exportStar(require("./BillingProviderAllocationTarget"), exports);
|
|
23
|
+
__exportStar(require("./AppointmentAllocationTarget"), exports);
|
|
23
24
|
__exportStar(require("./AllocationTarget"), exports);
|
|
24
25
|
__exportStar(require("./AllocationCreate"), exports);
|
|
25
26
|
__exportStar(require("./AllocationTargetCreate"), exports);
|
package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
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 { HumanName } from "./HumanName";
|
|
8
|
+
import { ExternalProviderType } from "./ExternalProviderType";
|
|
9
|
+
import { ContactPoint } from "./ContactPoint";
|
|
10
|
+
import { Address } from "./Address";
|
|
11
|
+
import { Period } from "./Period";
|
|
12
|
+
export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.ExternalProvider.Raw, CandidApi.preEncounter.ExternalProvider>;
|
|
13
|
+
export declare namespace ExternalProvider {
|
|
14
|
+
interface Raw {
|
|
15
|
+
name: HumanName.Raw;
|
|
16
|
+
type?: ExternalProviderType.Raw | null;
|
|
17
|
+
npi?: string | null;
|
|
18
|
+
telecoms: ContactPoint.Raw[];
|
|
19
|
+
addresses: Address.Raw[];
|
|
20
|
+
period?: Period.Raw | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -27,14 +27,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalProvider = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const HumanName_1 = require("
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("./HumanName");
|
|
32
|
+
const ExternalProviderType_1 = require("./ExternalProviderType");
|
|
33
|
+
const ContactPoint_1 = require("./ContactPoint");
|
|
34
|
+
const Address_1 = require("./Address");
|
|
35
|
+
const Period_1 = require("./Period");
|
|
35
36
|
exports.ExternalProvider = core.serialization.object({
|
|
36
37
|
name: HumanName_1.HumanName,
|
|
37
|
-
|
|
38
|
+
type: ExternalProviderType_1.ExternalProviderType.optional(),
|
|
39
|
+
npi: core.serialization.string().optional(),
|
|
38
40
|
telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
|
|
39
41
|
addresses: core.serialization.list(Address_1.Address),
|
|
40
42
|
period: Period_1.Period.optional(),
|
package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ExternalProviderType: core.serialization.Schema<serializers.preEncounter.ExternalProviderType.Raw, CandidApi.preEncounter.ExternalProviderType>;
|
|
8
|
+
export declare namespace ExternalProviderType {
|
|
9
|
+
type Raw = "PRIMARY" | "REFERRING";
|
|
10
|
+
}
|
package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js
ADDED
|
@@ -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.ExternalProviderType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ExternalProviderType = core.serialization.enum_(["PRIMARY", "REFERRING"]);
|
|
@@ -34,3 +34,5 @@ __exportStar(require("./ContactPoint"), exports);
|
|
|
34
34
|
__exportStar(require("./ErrorBase"), exports);
|
|
35
35
|
__exportStar(require("./NotFoundErrorBody"), exports);
|
|
36
36
|
__exportStar(require("./VersionConflictErrorBody"), exports);
|
|
37
|
+
__exportStar(require("./ExternalProviderType"), exports);
|
|
38
|
+
__exportStar(require("./ExternalProvider"), exports);
|
|
@@ -6,6 +6,7 @@ import * as CandidApi from "../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { PayerId } from "../../../../common/types/PayerId";
|
|
8
8
|
import { NetworkType } from "./NetworkType";
|
|
9
|
+
import { InsuranceTypeCode } from "./InsuranceTypeCode";
|
|
9
10
|
import { Period } from "../../../../common/types/Period";
|
|
10
11
|
export declare const InsurancePlan: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.InsurancePlan.Raw, CandidApi.preEncounter.coverages.v1.InsurancePlan>;
|
|
11
12
|
export declare namespace InsurancePlan {
|
|
@@ -15,7 +16,8 @@ export declare namespace InsurancePlan {
|
|
|
15
16
|
payer_name: string;
|
|
16
17
|
group_number?: string | null;
|
|
17
18
|
name?: string | null;
|
|
18
|
-
|
|
19
|
+
plan_type?: NetworkType.Raw | null;
|
|
20
|
+
type?: InsuranceTypeCode.Raw | null;
|
|
19
21
|
period?: Period.Raw | null;
|
|
20
22
|
insurance_card_image_locator?: string | null;
|
|
21
23
|
}
|
|
@@ -30,6 +30,7 @@ exports.InsurancePlan = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const PayerId_1 = require("../../../../common/types/PayerId");
|
|
32
32
|
const NetworkType_1 = require("./NetworkType");
|
|
33
|
+
const InsuranceTypeCode_1 = require("./InsuranceTypeCode");
|
|
33
34
|
const Period_1 = require("../../../../common/types/Period");
|
|
34
35
|
exports.InsurancePlan = core.serialization.object({
|
|
35
36
|
memberId: core.serialization.property("member_id", core.serialization.string()),
|
|
@@ -37,7 +38,8 @@ exports.InsurancePlan = core.serialization.object({
|
|
|
37
38
|
payerName: core.serialization.property("payer_name", core.serialization.string()),
|
|
38
39
|
groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
|
|
39
40
|
name: core.serialization.string().optional(),
|
|
40
|
-
|
|
41
|
+
planType: core.serialization.property("plan_type", NetworkType_1.NetworkType.optional()),
|
|
42
|
+
type: InsuranceTypeCode_1.InsuranceTypeCode.optional(),
|
|
41
43
|
period: Period_1.Period.optional(),
|
|
42
44
|
insuranceCardImageLocator: core.serialization.property("insurance_card_image_locator", core.serialization.string().optional()),
|
|
43
45
|
});
|
|
@@ -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 InsuranceTypeCode: core.serialization.Schema<serializers.preEncounter.coverages.v1.InsuranceTypeCode.Raw, CandidApi.preEncounter.coverages.v1.InsuranceTypeCode>;
|
|
8
|
+
export declare namespace InsuranceTypeCode {
|
|
9
|
+
type Raw = "01" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "41" | "42" | "43" | "47" | "AP" | "C1" | "CO" | "CP" | "D" | "DB" | "E" | "EP" | "FF" | "GP" | "HA" | "HB" | "HD" | "HG" | "HM" | "HN" | "HP" | "HS" | "IN" | "IP" | "LC" | "LD" | "LI" | "LT" | "M" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MH" | "MI" | "MJ" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MR" | "MT" | "MV" | "OA" | "OT" | "PE" | "PL" | "PP" | "PR" | "PS" | "QM" | "RP" | "SP" | "TF" | "U" | "WC" | "WU";
|
|
10
|
+
}
|