candidhealth 0.30.0 → 0.32.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 +37 -32
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +8 -1
- package/api/resources/contracts/resources/v2/client/Client.js +13 -6
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
- 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.d.ts +32 -50
- package/api/resources/encounters/resources/v4/client/Client.js +36 -54
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
- package/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
- 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.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
- package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
- package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
- package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -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.d.ts +14 -2
- package/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
- package/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
- package/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/individual/types/Patient.d.ts +8 -0
- package/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
- package/api/resources/medicationDispense/client/Client.d.ts +26 -0
- package/api/resources/medicationDispense/client/Client.js +17 -0
- package/api/resources/medicationDispense/client/index.d.ts +1 -0
- package/api/resources/medicationDispense/client/index.js +2 -0
- package/api/resources/medicationDispense/index.d.ts +2 -0
- package/api/resources/medicationDispense/index.js +18 -0
- package/api/resources/medicationDispense/resources/index.d.ts +1 -0
- package/api/resources/medicationDispense/resources/index.js +27 -0
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
- package/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
- package/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
- package/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
- package/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/api/resources/medicationDispense/resources/v1/index.js +18 -0
- package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
- package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
- package/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
- package/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
- 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 +144 -4
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +37 -32
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +8 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +13 -6
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
- 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.d.ts +32 -50
- package/dist/api/resources/encounters/resources/v4/client/Client.js +36 -54
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
- package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
- 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.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
- package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
- package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.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.d.ts +14 -2
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
- package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
- package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/individual/types/Patient.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/medicationDispense/client/Client.d.ts +26 -0
- package/dist/api/resources/medicationDispense/client/Client.js +17 -0
- package/dist/api/resources/medicationDispense/client/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/client/index.js +2 -0
- package/dist/api/resources/medicationDispense/index.d.ts +2 -0
- package/dist/api/resources/medicationDispense/index.js +18 -0
- package/dist/api/resources/medicationDispense/resources/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/resources/index.js +27 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/dist/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/medicationDispense/resources/v1/index.js +18 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
- 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 +144 -4
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
- package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
- package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
- package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -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/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/dist/serialization/resources/individual/types/Patient.js +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/dist/serialization/resources/medicationDispense/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/index.js +17 -0
- package/dist/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/resources/index.js +27 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/package.json +1 -1
- package/reference.md +994 -111
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
- package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
- package/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
- package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
- package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
- package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
- package/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
- package/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/serialization/resources/individual/types/Patient.js +2 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/serialization/resources/medicationDispense/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/index.js +17 -0
- package/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/resources/index.js +27 -0
- package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
- package/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
- package/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
- package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
- package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
- package/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
package/Client.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
|
|
|
18
18
|
import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
|
|
19
19
|
import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
|
|
20
20
|
import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
|
|
21
|
+
import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
|
|
21
22
|
import { NonInsurancePayerPayments } from "./api/resources/nonInsurancePayerPayments/client/Client";
|
|
22
23
|
import { NonInsurancePayerRefunds } from "./api/resources/nonInsurancePayerRefunds/client/Client";
|
|
23
24
|
import { NonInsurancePayers } from "./api/resources/nonInsurancePayers/client/Client";
|
|
@@ -83,6 +84,8 @@ export declare class CandidApiClient {
|
|
|
83
84
|
get insurancePayments(): InsurancePayments;
|
|
84
85
|
protected _insuranceRefunds: InsuranceRefunds | undefined;
|
|
85
86
|
get insuranceRefunds(): InsuranceRefunds;
|
|
87
|
+
protected _medicationDispense: MedicationDispense | undefined;
|
|
88
|
+
get medicationDispense(): MedicationDispense;
|
|
86
89
|
protected _nonInsurancePayerPayments: NonInsurancePayerPayments | undefined;
|
|
87
90
|
get nonInsurancePayerPayments(): NonInsurancePayerPayments;
|
|
88
91
|
protected _nonInsurancePayerRefunds: NonInsurancePayerRefunds | undefined;
|
package/Client.js
CHANGED
|
@@ -53,22 +53,23 @@ const Client_13 = require("./api/resources/importInvoice/client/Client");
|
|
|
53
53
|
const Client_14 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
54
54
|
const Client_15 = require("./api/resources/insurancePayments/client/Client");
|
|
55
55
|
const Client_16 = require("./api/resources/insuranceRefunds/client/Client");
|
|
56
|
-
const Client_17 = require("./api/resources/
|
|
57
|
-
const Client_18 = require("./api/resources/
|
|
58
|
-
const Client_19 = require("./api/resources/
|
|
59
|
-
const Client_20 = require("./api/resources/
|
|
60
|
-
const Client_21 = require("./api/resources/
|
|
61
|
-
const Client_22 = require("./api/resources/
|
|
62
|
-
const Client_23 = require("./api/resources/
|
|
63
|
-
const Client_24 = require("./api/resources/
|
|
64
|
-
const Client_25 = require("./api/resources/
|
|
65
|
-
const Client_26 = require("./api/resources/
|
|
66
|
-
const Client_27 = require("./api/resources/
|
|
67
|
-
const Client_28 = require("./api/resources/
|
|
68
|
-
const Client_29 = require("./api/resources/
|
|
69
|
-
const Client_30 = require("./api/resources/
|
|
70
|
-
const Client_31 = require("./api/resources/
|
|
71
|
-
const Client_32 = require("./api/resources/
|
|
56
|
+
const Client_17 = require("./api/resources/medicationDispense/client/Client");
|
|
57
|
+
const Client_18 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
58
|
+
const Client_19 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
59
|
+
const Client_20 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
60
|
+
const Client_21 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
61
|
+
const Client_22 = require("./api/resources/organizationProviders/client/Client");
|
|
62
|
+
const Client_23 = require("./api/resources/patientPayments/client/Client");
|
|
63
|
+
const Client_24 = require("./api/resources/patientRefunds/client/Client");
|
|
64
|
+
const Client_25 = require("./api/resources/payers/client/Client");
|
|
65
|
+
const Client_26 = require("./api/resources/serviceLines/client/Client");
|
|
66
|
+
const Client_27 = require("./api/resources/tasks/client/Client");
|
|
67
|
+
const Client_28 = require("./api/resources/thirdPartyPayerPayments/client/Client");
|
|
68
|
+
const Client_29 = require("./api/resources/thirdPartyPayerRefunds/client/Client");
|
|
69
|
+
const Client_30 = require("./api/resources/thirdPartyPayers/client/Client");
|
|
70
|
+
const Client_31 = require("./api/resources/writeOffs/client/Client");
|
|
71
|
+
const Client_32 = require("./api/resources/preEncounter/client/Client");
|
|
72
|
+
const Client_33 = require("./api/resources/serviceFacility/client/Client");
|
|
72
73
|
class CandidApiClient {
|
|
73
74
|
constructor(_options) {
|
|
74
75
|
this._options = _options;
|
|
@@ -140,69 +141,73 @@ class CandidApiClient {
|
|
|
140
141
|
var _a;
|
|
141
142
|
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_16.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
142
143
|
}
|
|
144
|
+
get medicationDispense() {
|
|
145
|
+
var _a;
|
|
146
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_17.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
147
|
+
}
|
|
143
148
|
get nonInsurancePayerPayments() {
|
|
144
149
|
var _a;
|
|
145
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
150
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_18.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
146
151
|
}
|
|
147
152
|
get nonInsurancePayerRefunds() {
|
|
148
153
|
var _a;
|
|
149
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
154
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_19.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
150
155
|
}
|
|
151
156
|
get nonInsurancePayers() {
|
|
152
157
|
var _a;
|
|
153
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
158
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_20.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
154
159
|
}
|
|
155
160
|
get organizationServiceFacilities() {
|
|
156
161
|
var _a;
|
|
157
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
162
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_21.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
158
163
|
}
|
|
159
164
|
get organizationProviders() {
|
|
160
165
|
var _a;
|
|
161
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
166
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_22.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
162
167
|
}
|
|
163
168
|
get patientPayments() {
|
|
164
169
|
var _a;
|
|
165
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
170
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_23.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
166
171
|
}
|
|
167
172
|
get patientRefunds() {
|
|
168
173
|
var _a;
|
|
169
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
174
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_24.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
170
175
|
}
|
|
171
176
|
get payers() {
|
|
172
177
|
var _a;
|
|
173
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
178
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_25.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
174
179
|
}
|
|
175
180
|
get serviceLines() {
|
|
176
181
|
var _a;
|
|
177
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
182
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_26.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
178
183
|
}
|
|
179
184
|
get tasks() {
|
|
180
185
|
var _a;
|
|
181
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
186
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_27.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
182
187
|
}
|
|
183
188
|
get thirdPartyPayerPayments() {
|
|
184
189
|
var _a;
|
|
185
|
-
return ((_a = this._thirdPartyPayerPayments) !== null && _a !== void 0 ? _a : (this._thirdPartyPayerPayments = new
|
|
190
|
+
return ((_a = this._thirdPartyPayerPayments) !== null && _a !== void 0 ? _a : (this._thirdPartyPayerPayments = new Client_28.ThirdPartyPayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
186
191
|
}
|
|
187
192
|
get thirdPartyPayerRefunds() {
|
|
188
193
|
var _a;
|
|
189
|
-
return ((_a = this._thirdPartyPayerRefunds) !== null && _a !== void 0 ? _a : (this._thirdPartyPayerRefunds = new
|
|
194
|
+
return ((_a = this._thirdPartyPayerRefunds) !== null && _a !== void 0 ? _a : (this._thirdPartyPayerRefunds = new Client_29.ThirdPartyPayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
190
195
|
}
|
|
191
196
|
get thirdPartyPayers() {
|
|
192
197
|
var _a;
|
|
193
|
-
return ((_a = this._thirdPartyPayers) !== null && _a !== void 0 ? _a : (this._thirdPartyPayers = new
|
|
198
|
+
return ((_a = this._thirdPartyPayers) !== null && _a !== void 0 ? _a : (this._thirdPartyPayers = new Client_30.ThirdPartyPayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
194
199
|
}
|
|
195
200
|
get writeOffs() {
|
|
196
201
|
var _a;
|
|
197
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
202
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_31.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
198
203
|
}
|
|
199
204
|
get preEncounter() {
|
|
200
205
|
var _a;
|
|
201
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
206
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_32.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
202
207
|
}
|
|
203
208
|
get serviceFacility() {
|
|
204
209
|
var _a;
|
|
205
|
-
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new
|
|
210
|
+
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_33.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
206
211
|
}
|
|
207
212
|
}
|
|
208
213
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -87,7 +87,7 @@ class V2 {
|
|
|
87
87
|
Authorization: yield this._getAuthorizationHeader(),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.
|
|
90
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -69,7 +69,7 @@ class V2 {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "candidhealth",
|
|
72
|
-
"X-Fern-SDK-Version": "0.
|
|
72
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -62,7 +62,14 @@ export declare class V2 {
|
|
|
62
62
|
* type: "states"
|
|
63
63
|
* },
|
|
64
64
|
* contractStatus: CandidApi.contracts.v2.ContractStatus.Pending,
|
|
65
|
-
* authorizedSignatory: {
|
|
65
|
+
* authorizedSignatory: {
|
|
66
|
+
* firstName: "string",
|
|
67
|
+
* lastName: "string",
|
|
68
|
+
* title: "string",
|
|
69
|
+
* email: "string",
|
|
70
|
+
* phone: "string",
|
|
71
|
+
* fax: "string"
|
|
72
|
+
* },
|
|
66
73
|
* commercialInsuranceTypes: {
|
|
67
74
|
* type: "allApply"
|
|
68
75
|
* },
|
|
@@ -66,7 +66,7 @@ class V2 {
|
|
|
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.32.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -171,7 +171,7 @@ class V2 {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "candidhealth",
|
|
174
|
-
"X-Fern-SDK-Version": "0.
|
|
174
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -216,7 +216,14 @@ class V2 {
|
|
|
216
216
|
* type: "states"
|
|
217
217
|
* },
|
|
218
218
|
* contractStatus: CandidApi.contracts.v2.ContractStatus.Pending,
|
|
219
|
-
* authorizedSignatory: {
|
|
219
|
+
* authorizedSignatory: {
|
|
220
|
+
* firstName: "string",
|
|
221
|
+
* lastName: "string",
|
|
222
|
+
* title: "string",
|
|
223
|
+
* email: "string",
|
|
224
|
+
* phone: "string",
|
|
225
|
+
* fax: "string"
|
|
226
|
+
* },
|
|
220
227
|
* commercialInsuranceTypes: {
|
|
221
228
|
* type: "allApply"
|
|
222
229
|
* },
|
|
@@ -239,7 +246,7 @@ class V2 {
|
|
|
239
246
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
247
|
"X-Fern-Language": "JavaScript",
|
|
241
248
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.
|
|
249
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
243
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
252
|
},
|
|
@@ -285,7 +292,7 @@ class V2 {
|
|
|
285
292
|
Authorization: yield this._getAuthorizationHeader(),
|
|
286
293
|
"X-Fern-Language": "JavaScript",
|
|
287
294
|
"X-Fern-SDK-Name": "candidhealth",
|
|
288
|
-
"X-Fern-SDK-Version": "0.
|
|
295
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
289
296
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
290
297
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
291
298
|
},
|
|
@@ -373,7 +380,7 @@ class V2 {
|
|
|
373
380
|
Authorization: yield this._getAuthorizationHeader(),
|
|
374
381
|
"X-Fern-Language": "JavaScript",
|
|
375
382
|
"X-Fern-SDK-Name": "candidhealth",
|
|
376
|
-
"X-Fern-SDK-Version": "0.
|
|
383
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
377
384
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
378
385
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
379
386
|
},
|
|
@@ -14,7 +14,14 @@ import * as CandidApi from "../../../../../../index";
|
|
|
14
14
|
* type: "states"
|
|
15
15
|
* },
|
|
16
16
|
* contractStatus: CandidApi.contracts.v2.ContractStatus.Pending,
|
|
17
|
-
* authorizedSignatory: {
|
|
17
|
+
* authorizedSignatory: {
|
|
18
|
+
* firstName: "string",
|
|
19
|
+
* lastName: "string",
|
|
20
|
+
* title: "string",
|
|
21
|
+
* email: "string",
|
|
22
|
+
* phone: "string",
|
|
23
|
+
* fax: "string"
|
|
24
|
+
* },
|
|
18
25
|
* commercialInsuranceTypes: {
|
|
19
26
|
* type: "allApply"
|
|
20
27
|
* },
|
|
@@ -67,7 +67,7 @@ class V1 {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -128,7 +128,7 @@ class V1 {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
211
211
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
212
212
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.
|
|
280
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.
|
|
86
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.
|
|
230
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -63,6 +63,7 @@ export declare class V4 {
|
|
|
63
63
|
* }],
|
|
64
64
|
* phoneConsent: true,
|
|
65
65
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
66
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
66
67
|
* emailConsent: true,
|
|
67
68
|
* externalId: "string",
|
|
68
69
|
* dateOfBirth: "2023-01-15",
|
|
@@ -232,7 +233,12 @@ export declare class V4 {
|
|
|
232
233
|
* }],
|
|
233
234
|
* clinicalNotes: [{
|
|
234
235
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
235
|
-
* notes: [{
|
|
236
|
+
* notes: [{
|
|
237
|
+
* text: "string",
|
|
238
|
+
* authorName: "string",
|
|
239
|
+
* authorNpi: CandidApi.Npi("string"),
|
|
240
|
+
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
241
|
+
* }]
|
|
236
242
|
* }],
|
|
237
243
|
* billingNotes: [{
|
|
238
244
|
* text: "string"
|
|
@@ -260,57 +266,19 @@ export declare class V4 {
|
|
|
260
266
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
261
267
|
* chargeAmountCents: 1,
|
|
262
268
|
* diagnosisPointers: [1],
|
|
263
|
-
* drugIdentification: {
|
|
269
|
+
* drugIdentification: {
|
|
270
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
271
|
+
* nationalDrugCode: "string",
|
|
272
|
+
* nationalDrugUnitCount: "string",
|
|
273
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
274
|
+
* linkSequenceNumber: "string",
|
|
275
|
+
* pharmacyPrescriptionNumber: "string",
|
|
276
|
+
* conversionFormula: "string"
|
|
277
|
+
* },
|
|
264
278
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
265
279
|
* description: "string",
|
|
266
280
|
* dateOfService: "2023-01-15",
|
|
267
281
|
* endDateOfService: "2023-01-15",
|
|
268
|
-
* referringProvider: {
|
|
269
|
-
* npi: "string",
|
|
270
|
-
* taxonomyCode: "string",
|
|
271
|
-
* address: {
|
|
272
|
-
* address1: "123 Main St",
|
|
273
|
-
* address2: "Apt 1",
|
|
274
|
-
* city: "New York",
|
|
275
|
-
* state: CandidApi.State.Ny,
|
|
276
|
-
* zipCode: "10001",
|
|
277
|
-
* zipPlusFourCode: "1234"
|
|
278
|
-
* },
|
|
279
|
-
* firstName: "string",
|
|
280
|
-
* lastName: "string",
|
|
281
|
-
* organizationName: "string"
|
|
282
|
-
* },
|
|
283
|
-
* initialReferringProvider: {
|
|
284
|
-
* npi: "string",
|
|
285
|
-
* taxonomyCode: "string",
|
|
286
|
-
* address: {
|
|
287
|
-
* address1: "123 Main St",
|
|
288
|
-
* address2: "Apt 1",
|
|
289
|
-
* city: "New York",
|
|
290
|
-
* state: CandidApi.State.Ny,
|
|
291
|
-
* zipCode: "10001",
|
|
292
|
-
* zipPlusFourCode: "1234"
|
|
293
|
-
* },
|
|
294
|
-
* qualifier: CandidApi.QualifierCode.Dq,
|
|
295
|
-
* firstName: "string",
|
|
296
|
-
* lastName: "string",
|
|
297
|
-
* organizationName: "string"
|
|
298
|
-
* },
|
|
299
|
-
* supervisingProvider: {
|
|
300
|
-
* npi: "string",
|
|
301
|
-
* taxonomyCode: "string",
|
|
302
|
-
* address: {
|
|
303
|
-
* address1: "123 Main St",
|
|
304
|
-
* address2: "Apt 1",
|
|
305
|
-
* city: "New York",
|
|
306
|
-
* state: CandidApi.State.Ny,
|
|
307
|
-
* zipCode: "10001",
|
|
308
|
-
* zipPlusFourCode: "1234"
|
|
309
|
-
* },
|
|
310
|
-
* firstName: "string",
|
|
311
|
-
* lastName: "string",
|
|
312
|
-
* organizationName: "string"
|
|
313
|
-
* },
|
|
314
282
|
* orderingProvider: {
|
|
315
283
|
* npi: "string",
|
|
316
284
|
* taxonomyCode: "string",
|
|
@@ -449,7 +417,12 @@ export declare class V4 {
|
|
|
449
417
|
* tagIds: [CandidApi.TagId("string")],
|
|
450
418
|
* clinicalNotes: [{
|
|
451
419
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
452
|
-
* notes: [{
|
|
420
|
+
* notes: [{
|
|
421
|
+
* text: "string",
|
|
422
|
+
* authorName: "string",
|
|
423
|
+
* authorNpi: CandidApi.Npi("string"),
|
|
424
|
+
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
425
|
+
* }]
|
|
453
426
|
* }],
|
|
454
427
|
* payToAddress: {
|
|
455
428
|
* address1: "123 Main St",
|
|
@@ -542,7 +515,16 @@ export declare class V4 {
|
|
|
542
515
|
* "bmi": 24.2,
|
|
543
516
|
* "age": 38
|
|
544
517
|
* }
|
|
545
|
-
* }]
|
|
518
|
+
* }],
|
|
519
|
+
* vitals: {
|
|
520
|
+
* heightIn: 70,
|
|
521
|
+
* weightLbs: 165,
|
|
522
|
+
* bloodPressureSystolicMmhg: 115,
|
|
523
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
524
|
+
* bodyTemperatureF: 98,
|
|
525
|
+
* hemoglobinGdl: 15.1,
|
|
526
|
+
* hematocritPct: 51.2
|
|
527
|
+
* }
|
|
546
528
|
* })
|
|
547
529
|
*/
|
|
548
530
|
update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
|
|
@@ -132,7 +132,7 @@ class V4 {
|
|
|
132
132
|
Authorization: yield this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.
|
|
135
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ class V4 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.
|
|
181
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -220,6 +220,7 @@ class V4 {
|
|
|
220
220
|
* }],
|
|
221
221
|
* phoneConsent: true,
|
|
222
222
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
223
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
223
224
|
* emailConsent: true,
|
|
224
225
|
* externalId: "string",
|
|
225
226
|
* dateOfBirth: "2023-01-15",
|
|
@@ -389,7 +390,12 @@ class V4 {
|
|
|
389
390
|
* }],
|
|
390
391
|
* clinicalNotes: [{
|
|
391
392
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
392
|
-
* notes: [{
|
|
393
|
+
* notes: [{
|
|
394
|
+
* text: "string",
|
|
395
|
+
* authorName: "string",
|
|
396
|
+
* authorNpi: CandidApi.Npi("string"),
|
|
397
|
+
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
398
|
+
* }]
|
|
393
399
|
* }],
|
|
394
400
|
* billingNotes: [{
|
|
395
401
|
* text: "string"
|
|
@@ -417,57 +423,19 @@ class V4 {
|
|
|
417
423
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
418
424
|
* chargeAmountCents: 1,
|
|
419
425
|
* diagnosisPointers: [1],
|
|
420
|
-
* drugIdentification: {
|
|
426
|
+
* drugIdentification: {
|
|
427
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
428
|
+
* nationalDrugCode: "string",
|
|
429
|
+
* nationalDrugUnitCount: "string",
|
|
430
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
431
|
+
* linkSequenceNumber: "string",
|
|
432
|
+
* pharmacyPrescriptionNumber: "string",
|
|
433
|
+
* conversionFormula: "string"
|
|
434
|
+
* },
|
|
421
435
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
422
436
|
* description: "string",
|
|
423
437
|
* dateOfService: "2023-01-15",
|
|
424
438
|
* endDateOfService: "2023-01-15",
|
|
425
|
-
* referringProvider: {
|
|
426
|
-
* npi: "string",
|
|
427
|
-
* taxonomyCode: "string",
|
|
428
|
-
* address: {
|
|
429
|
-
* address1: "123 Main St",
|
|
430
|
-
* address2: "Apt 1",
|
|
431
|
-
* city: "New York",
|
|
432
|
-
* state: CandidApi.State.Ny,
|
|
433
|
-
* zipCode: "10001",
|
|
434
|
-
* zipPlusFourCode: "1234"
|
|
435
|
-
* },
|
|
436
|
-
* firstName: "string",
|
|
437
|
-
* lastName: "string",
|
|
438
|
-
* organizationName: "string"
|
|
439
|
-
* },
|
|
440
|
-
* initialReferringProvider: {
|
|
441
|
-
* npi: "string",
|
|
442
|
-
* taxonomyCode: "string",
|
|
443
|
-
* address: {
|
|
444
|
-
* address1: "123 Main St",
|
|
445
|
-
* address2: "Apt 1",
|
|
446
|
-
* city: "New York",
|
|
447
|
-
* state: CandidApi.State.Ny,
|
|
448
|
-
* zipCode: "10001",
|
|
449
|
-
* zipPlusFourCode: "1234"
|
|
450
|
-
* },
|
|
451
|
-
* qualifier: CandidApi.QualifierCode.Dq,
|
|
452
|
-
* firstName: "string",
|
|
453
|
-
* lastName: "string",
|
|
454
|
-
* organizationName: "string"
|
|
455
|
-
* },
|
|
456
|
-
* supervisingProvider: {
|
|
457
|
-
* npi: "string",
|
|
458
|
-
* taxonomyCode: "string",
|
|
459
|
-
* address: {
|
|
460
|
-
* address1: "123 Main St",
|
|
461
|
-
* address2: "Apt 1",
|
|
462
|
-
* city: "New York",
|
|
463
|
-
* state: CandidApi.State.Ny,
|
|
464
|
-
* zipCode: "10001",
|
|
465
|
-
* zipPlusFourCode: "1234"
|
|
466
|
-
* },
|
|
467
|
-
* firstName: "string",
|
|
468
|
-
* lastName: "string",
|
|
469
|
-
* organizationName: "string"
|
|
470
|
-
* },
|
|
471
439
|
* orderingProvider: {
|
|
472
440
|
* npi: "string",
|
|
473
441
|
* taxonomyCode: "string",
|
|
@@ -602,7 +570,7 @@ class V4 {
|
|
|
602
570
|
Authorization: yield this._getAuthorizationHeader(),
|
|
603
571
|
"X-Fern-Language": "JavaScript",
|
|
604
572
|
"X-Fern-SDK-Name": "candidhealth",
|
|
605
|
-
"X-Fern-SDK-Version": "0.
|
|
573
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
606
574
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
607
575
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
608
576
|
},
|
|
@@ -664,7 +632,12 @@ class V4 {
|
|
|
664
632
|
* tagIds: [CandidApi.TagId("string")],
|
|
665
633
|
* clinicalNotes: [{
|
|
666
634
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
667
|
-
* notes: [{
|
|
635
|
+
* notes: [{
|
|
636
|
+
* text: "string",
|
|
637
|
+
* authorName: "string",
|
|
638
|
+
* authorNpi: CandidApi.Npi("string"),
|
|
639
|
+
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
640
|
+
* }]
|
|
668
641
|
* }],
|
|
669
642
|
* payToAddress: {
|
|
670
643
|
* address1: "123 Main St",
|
|
@@ -757,7 +730,16 @@ class V4 {
|
|
|
757
730
|
* "bmi": 24.2,
|
|
758
731
|
* "age": 38
|
|
759
732
|
* }
|
|
760
|
-
* }]
|
|
733
|
+
* }],
|
|
734
|
+
* vitals: {
|
|
735
|
+
* heightIn: 70,
|
|
736
|
+
* weightLbs: 165,
|
|
737
|
+
* bloodPressureSystolicMmhg: 115,
|
|
738
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
739
|
+
* bodyTemperatureF: 98,
|
|
740
|
+
* hemoglobinGdl: 15.1,
|
|
741
|
+
* hematocritPct: 51.2
|
|
742
|
+
* }
|
|
761
743
|
* })
|
|
762
744
|
*/
|
|
763
745
|
update(encounterId, request = {}, requestOptions) {
|
|
@@ -771,7 +753,7 @@ class V4 {
|
|
|
771
753
|
Authorization: yield this._getAuthorizationHeader(),
|
|
772
754
|
"X-Fern-Language": "JavaScript",
|
|
773
755
|
"X-Fern-SDK-Name": "candidhealth",
|
|
774
|
-
"X-Fern-SDK-Version": "0.
|
|
756
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
775
757
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
776
758
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
777
759
|
},
|