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
|
@@ -14,6 +14,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
14
14
|
* }],
|
|
15
15
|
* phoneConsent: true,
|
|
16
16
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
17
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
17
18
|
* emailConsent: true,
|
|
18
19
|
* externalId: "string",
|
|
19
20
|
* dateOfBirth: "2023-01-15",
|
|
@@ -183,7 +184,12 @@ import * as CandidApi from "../../../../../../index";
|
|
|
183
184
|
* }],
|
|
184
185
|
* clinicalNotes: [{
|
|
185
186
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
186
|
-
* notes: [{
|
|
187
|
+
* notes: [{
|
|
188
|
+
* text: "string",
|
|
189
|
+
* authorName: "string",
|
|
190
|
+
* authorNpi: CandidApi.Npi("string"),
|
|
191
|
+
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
192
|
+
* }]
|
|
187
193
|
* }],
|
|
188
194
|
* billingNotes: [{
|
|
189
195
|
* text: "string"
|
|
@@ -211,57 +217,19 @@ import * as CandidApi from "../../../../../../index";
|
|
|
211
217
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
212
218
|
* chargeAmountCents: 1,
|
|
213
219
|
* diagnosisPointers: [1],
|
|
214
|
-
* drugIdentification: {
|
|
220
|
+
* drugIdentification: {
|
|
221
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
222
|
+
* nationalDrugCode: "string",
|
|
223
|
+
* nationalDrugUnitCount: "string",
|
|
224
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
225
|
+
* linkSequenceNumber: "string",
|
|
226
|
+
* pharmacyPrescriptionNumber: "string",
|
|
227
|
+
* conversionFormula: "string"
|
|
228
|
+
* },
|
|
215
229
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
216
230
|
* description: "string",
|
|
217
231
|
* dateOfService: "2023-01-15",
|
|
218
232
|
* endDateOfService: "2023-01-15",
|
|
219
|
-
* referringProvider: {
|
|
220
|
-
* npi: "string",
|
|
221
|
-
* taxonomyCode: "string",
|
|
222
|
-
* address: {
|
|
223
|
-
* address1: "123 Main St",
|
|
224
|
-
* address2: "Apt 1",
|
|
225
|
-
* city: "New York",
|
|
226
|
-
* state: CandidApi.State.Ny,
|
|
227
|
-
* zipCode: "10001",
|
|
228
|
-
* zipPlusFourCode: "1234"
|
|
229
|
-
* },
|
|
230
|
-
* firstName: "string",
|
|
231
|
-
* lastName: "string",
|
|
232
|
-
* organizationName: "string"
|
|
233
|
-
* },
|
|
234
|
-
* initialReferringProvider: {
|
|
235
|
-
* npi: "string",
|
|
236
|
-
* taxonomyCode: "string",
|
|
237
|
-
* address: {
|
|
238
|
-
* address1: "123 Main St",
|
|
239
|
-
* address2: "Apt 1",
|
|
240
|
-
* city: "New York",
|
|
241
|
-
* state: CandidApi.State.Ny,
|
|
242
|
-
* zipCode: "10001",
|
|
243
|
-
* zipPlusFourCode: "1234"
|
|
244
|
-
* },
|
|
245
|
-
* qualifier: CandidApi.QualifierCode.Dq,
|
|
246
|
-
* firstName: "string",
|
|
247
|
-
* lastName: "string",
|
|
248
|
-
* organizationName: "string"
|
|
249
|
-
* },
|
|
250
|
-
* supervisingProvider: {
|
|
251
|
-
* npi: "string",
|
|
252
|
-
* taxonomyCode: "string",
|
|
253
|
-
* address: {
|
|
254
|
-
* address1: "123 Main St",
|
|
255
|
-
* address2: "Apt 1",
|
|
256
|
-
* city: "New York",
|
|
257
|
-
* state: CandidApi.State.Ny,
|
|
258
|
-
* zipCode: "10001",
|
|
259
|
-
* zipPlusFourCode: "1234"
|
|
260
|
-
* },
|
|
261
|
-
* firstName: "string",
|
|
262
|
-
* lastName: "string",
|
|
263
|
-
* organizationName: "string"
|
|
264
|
-
* },
|
|
265
233
|
* orderingProvider: {
|
|
266
234
|
* npi: "string",
|
|
267
235
|
* taxonomyCode: "string",
|
|
@@ -431,13 +399,11 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
431
399
|
/**
|
|
432
400
|
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
433
401
|
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
434
|
-
* Information in Loop ID-2310 applies to the entire claim unless overridden on a service line by the presence of Loop ID-2420 with the same value in NM101.
|
|
435
402
|
*
|
|
436
403
|
*/
|
|
437
404
|
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider;
|
|
438
405
|
/**
|
|
439
406
|
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
440
|
-
* Information in Loop ID-2310 applies to the entire claim unless overridden on a service line by the presence of Loop ID-2420 with the same value in NM101.
|
|
441
407
|
*
|
|
442
408
|
*/
|
|
443
409
|
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider;
|
|
@@ -12,7 +12,12 @@ import * as CandidApi from "../../../../../../index";
|
|
|
12
12
|
* tagIds: [CandidApi.TagId("string")],
|
|
13
13
|
* clinicalNotes: [{
|
|
14
14
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
15
|
-
* notes: [{
|
|
15
|
+
* notes: [{
|
|
16
|
+
* text: "string",
|
|
17
|
+
* authorName: "string",
|
|
18
|
+
* authorNpi: CandidApi.Npi("string"),
|
|
19
|
+
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
20
|
+
* }]
|
|
16
21
|
* }],
|
|
17
22
|
* payToAddress: {
|
|
18
23
|
* address1: "123 Main St",
|
|
@@ -105,7 +110,16 @@ import * as CandidApi from "../../../../../../index";
|
|
|
105
110
|
* "bmi": 24.2,
|
|
106
111
|
* "age": 38
|
|
107
112
|
* }
|
|
108
|
-
* }]
|
|
113
|
+
* }],
|
|
114
|
+
* vitals: {
|
|
115
|
+
* heightIn: 70,
|
|
116
|
+
* weightLbs: 165,
|
|
117
|
+
* bloodPressureSystolicMmhg: 115,
|
|
118
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
119
|
+
* bodyTemperatureF: 98,
|
|
120
|
+
* hemoglobinGdl: 15.1,
|
|
121
|
+
* hematocritPct: 51.2
|
|
122
|
+
* }
|
|
109
123
|
* }
|
|
110
124
|
*/
|
|
111
125
|
export interface EncounterUpdate {
|
|
@@ -256,4 +270,10 @@ export interface EncounterUpdate {
|
|
|
256
270
|
*
|
|
257
271
|
*/
|
|
258
272
|
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
273
|
+
/**
|
|
274
|
+
* If a vitals entity already exists for the encounter, then all values will be updated to the provided values.
|
|
275
|
+
* Otherwise, a new vitals object will be created for the encounter.
|
|
276
|
+
*
|
|
277
|
+
*/
|
|
278
|
+
vitals?: CandidApi.encounters.v4.VitalsUpdate;
|
|
259
279
|
}
|
|
@@ -87,6 +87,13 @@ import * as CandidApi from "../../../../../index";
|
|
|
87
87
|
* number: "1234567890",
|
|
88
88
|
* type: CandidApi.PhoneNumberType.Home
|
|
89
89
|
* }],
|
|
90
|
+
* nonInsurancePayers: [{
|
|
91
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
92
|
+
* name: "Sunrise Foundation",
|
|
93
|
+
* category: "Foundation",
|
|
94
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
95
|
+
* enabled: true
|
|
96
|
+
* }],
|
|
90
97
|
* phoneConsent: true,
|
|
91
98
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
92
99
|
* emailConsent: true,
|
|
@@ -88,6 +88,13 @@ import * as CandidApi from "../../../../../index";
|
|
|
88
88
|
* number: "1234567890",
|
|
89
89
|
* type: CandidApi.PhoneNumberType.Home
|
|
90
90
|
* }],
|
|
91
|
+
* nonInsurancePayers: [{
|
|
92
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
93
|
+
* name: "Sunrise Foundation",
|
|
94
|
+
* category: "Foundation",
|
|
95
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
96
|
+
* enabled: true
|
|
97
|
+
* }],
|
|
91
98
|
* phoneConsent: true,
|
|
92
99
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
93
100
|
* emailConsent: true,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* heightIn: 70,
|
|
8
|
+
* weightLbs: 165,
|
|
9
|
+
* bloodPressureSystolicMmhg: 115,
|
|
10
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
11
|
+
* bodyTemperatureF: 98,
|
|
12
|
+
* hemoglobinGdl: 15.1,
|
|
13
|
+
* hematocritPct: 51.2
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
export interface VitalsUpdate {
|
|
17
|
+
heightIn?: number;
|
|
18
|
+
weightLbs?: number;
|
|
19
|
+
bloodPressureSystolicMmhg?: number;
|
|
20
|
+
bloodPressureDiastolicMmhg?: number;
|
|
21
|
+
bodyTemperatureF?: number;
|
|
22
|
+
hemoglobinGdl?: number;
|
|
23
|
+
hematocritPct?: number;
|
|
24
|
+
}
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./Encounter"), exports);
|
|
|
19
19
|
__exportStar(require("./EncounterSortOptions"), exports);
|
|
20
20
|
__exportStar(require("./Medication"), exports);
|
|
21
21
|
__exportStar(require("./Vitals"), exports);
|
|
22
|
+
__exportStar(require("./VitalsUpdate"), exports);
|
|
22
23
|
__exportStar(require("./Intervention"), exports);
|
|
23
24
|
__exportStar(require("./InterventionCategory"), exports);
|
|
24
25
|
__exportStar(require("./Lab"), exports);
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -34,7 +34,17 @@ export declare class V2 {
|
|
|
34
34
|
* await client.expectedNetworkStatus.v2.computeForRenderingProvider(CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
35
35
|
* serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType.NewPatientVideoAppt,
|
|
36
36
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
37
|
-
* subscriberInformation: {
|
|
37
|
+
* subscriberInformation: {
|
|
38
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
39
|
+
* memberId: "string",
|
|
40
|
+
* insuranceType: {
|
|
41
|
+
* lineOfBusiness: CandidApi.expectedNetworkStatus.v2.LineOfBusiness.Medicare,
|
|
42
|
+
* insuranceTypeCodes: {
|
|
43
|
+
* type: "insurance_type_code",
|
|
44
|
+
* value: CandidApi.InsuranceTypeCode.C01
|
|
45
|
+
* }
|
|
46
|
+
* }
|
|
47
|
+
* },
|
|
38
48
|
* patientAddress: {
|
|
39
49
|
* address1: "123 Main St",
|
|
40
50
|
* address2: "Apt 1",
|
|
@@ -61,7 +71,17 @@ export declare class V2 {
|
|
|
61
71
|
* await client.expectedNetworkStatus.v2.computeAllInNetworkProviders({
|
|
62
72
|
* serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType.NewPatientVideoAppt,
|
|
63
73
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
64
|
-
* subscriberInformation: {
|
|
74
|
+
* subscriberInformation: {
|
|
75
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
76
|
+
* memberId: "string",
|
|
77
|
+
* insuranceType: {
|
|
78
|
+
* lineOfBusiness: CandidApi.expectedNetworkStatus.v2.LineOfBusiness.Medicare,
|
|
79
|
+
* insuranceTypeCodes: {
|
|
80
|
+
* type: "insurance_type_code",
|
|
81
|
+
* value: CandidApi.InsuranceTypeCode.C01
|
|
82
|
+
* }
|
|
83
|
+
* }
|
|
84
|
+
* },
|
|
65
85
|
* patientAddress: {
|
|
66
86
|
* address1: "123 Main St",
|
|
67
87
|
* address2: "Apt 1",
|
|
@@ -61,7 +61,17 @@ class V2 {
|
|
|
61
61
|
* await client.expectedNetworkStatus.v2.computeForRenderingProvider(CandidApi.organizationProviders.v2.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
62
62
|
* serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType.NewPatientVideoAppt,
|
|
63
63
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
64
|
-
* subscriberInformation: {
|
|
64
|
+
* subscriberInformation: {
|
|
65
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
66
|
+
* memberId: "string",
|
|
67
|
+
* insuranceType: {
|
|
68
|
+
* lineOfBusiness: CandidApi.expectedNetworkStatus.v2.LineOfBusiness.Medicare,
|
|
69
|
+
* insuranceTypeCodes: {
|
|
70
|
+
* type: "insurance_type_code",
|
|
71
|
+
* value: CandidApi.InsuranceTypeCode.C01
|
|
72
|
+
* }
|
|
73
|
+
* }
|
|
74
|
+
* },
|
|
65
75
|
* patientAddress: {
|
|
66
76
|
* address1: "123 Main St",
|
|
67
77
|
* address2: "Apt 1",
|
|
@@ -86,7 +96,7 @@ class V2 {
|
|
|
86
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
97
|
"X-Fern-Language": "JavaScript",
|
|
88
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.
|
|
99
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
90
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
102
|
},
|
|
@@ -144,7 +154,17 @@ class V2 {
|
|
|
144
154
|
* await client.expectedNetworkStatus.v2.computeAllInNetworkProviders({
|
|
145
155
|
* serviceType: CandidApi.expectedNetworkStatus.v2.ServiceType.NewPatientVideoAppt,
|
|
146
156
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
147
|
-
* subscriberInformation: {
|
|
157
|
+
* subscriberInformation: {
|
|
158
|
+
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
159
|
+
* memberId: "string",
|
|
160
|
+
* insuranceType: {
|
|
161
|
+
* lineOfBusiness: CandidApi.expectedNetworkStatus.v2.LineOfBusiness.Medicare,
|
|
162
|
+
* insuranceTypeCodes: {
|
|
163
|
+
* type: "insurance_type_code",
|
|
164
|
+
* value: CandidApi.InsuranceTypeCode.C01
|
|
165
|
+
* }
|
|
166
|
+
* }
|
|
167
|
+
* },
|
|
148
168
|
* patientAddress: {
|
|
149
169
|
* address1: "123 Main St",
|
|
150
170
|
* address2: "Apt 1",
|
|
@@ -169,7 +189,7 @@ class V2 {
|
|
|
169
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
190
|
"X-Fern-Language": "JavaScript",
|
|
171
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.
|
|
192
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
173
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
195
|
},
|
|
@@ -86,7 +86,7 @@ class V3 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.
|
|
89
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.
|
|
85
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -131,7 +131,7 @@ class V3 {
|
|
|
131
131
|
Authorization: yield this._getAuthorizationHeader(),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "candidhealth",
|
|
134
|
-
"X-Fern-SDK-Version": "0.
|
|
134
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -274,7 +274,7 @@ class V3 {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "candidhealth",
|
|
277
|
-
"X-Fern-SDK-Version": "0.
|
|
277
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -401,7 +401,7 @@ class V3 {
|
|
|
401
401
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
402
|
"X-Fern-Language": "JavaScript",
|
|
403
403
|
"X-Fern-SDK-Name": "candidhealth",
|
|
404
|
-
"X-Fern-SDK-Version": "0.
|
|
404
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
407
407
|
},
|
|
@@ -449,7 +449,7 @@ class V3 {
|
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
|
450
450
|
"X-Fern-Language": "JavaScript",
|
|
451
451
|
"X-Fern-SDK-Name": "candidhealth",
|
|
452
|
-
"X-Fern-SDK-Version": "0.
|
|
452
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
453
453
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
454
454
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
455
455
|
},
|
|
@@ -513,7 +513,7 @@ class V3 {
|
|
|
513
513
|
* modifiers: new Set([CandidApi.ProcedureModifier.TwentyTwo])
|
|
514
514
|
* },
|
|
515
515
|
* entries: [{
|
|
516
|
-
* startDate: "2024-
|
|
516
|
+
* startDate: "2024-04-11",
|
|
517
517
|
* rateCents: 33000,
|
|
518
518
|
* isDeactivated: false
|
|
519
519
|
* }]
|
|
@@ -531,7 +531,7 @@ class V3 {
|
|
|
531
531
|
Authorization: yield this._getAuthorizationHeader(),
|
|
532
532
|
"X-Fern-Language": "JavaScript",
|
|
533
533
|
"X-Fern-SDK-Name": "candidhealth",
|
|
534
|
-
"X-Fern-SDK-Version": "0.
|
|
534
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
537
537
|
},
|
|
@@ -596,7 +596,7 @@ class V3 {
|
|
|
596
596
|
Authorization: yield this._getAuthorizationHeader(),
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "candidhealth",
|
|
599
|
-
"X-Fern-SDK-Version": "0.
|
|
599
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
600
600
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
601
601
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
602
602
|
},
|
|
@@ -652,7 +652,7 @@ class V3 {
|
|
|
652
652
|
Authorization: yield this._getAuthorizationHeader(),
|
|
653
653
|
"X-Fern-Language": "JavaScript",
|
|
654
654
|
"X-Fern-SDK-Name": "candidhealth",
|
|
655
|
-
"X-Fern-SDK-Version": "0.
|
|
655
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
656
656
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
657
657
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
658
658
|
},
|
|
@@ -709,7 +709,7 @@ class V3 {
|
|
|
709
709
|
Authorization: yield this._getAuthorizationHeader(),
|
|
710
710
|
"X-Fern-Language": "JavaScript",
|
|
711
711
|
"X-Fern-SDK-Name": "candidhealth",
|
|
712
|
-
"X-Fern-SDK-Version": "0.
|
|
712
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
713
713
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
714
714
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
715
715
|
},
|
|
@@ -762,7 +762,7 @@ class V3 {
|
|
|
762
762
|
Authorization: yield this._getAuthorizationHeader(),
|
|
763
763
|
"X-Fern-Language": "JavaScript",
|
|
764
764
|
"X-Fern-SDK-Name": "candidhealth",
|
|
765
|
-
"X-Fern-SDK-Version": "0.
|
|
765
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
766
766
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
767
767
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
768
768
|
},
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../index";
|
|
|
6
6
|
* Allocation targets describe whether the portion of a payment is being applied toward a specific service line,
|
|
7
7
|
* claim, billing provider, or is unallocated.
|
|
8
8
|
*/
|
|
9
|
-
export declare type AllocationTargetCreate = CandidApi.AllocationTargetCreate.ServiceLineById | CandidApi.AllocationTargetCreate.ClaimById | CandidApi.AllocationTargetCreate.ClaimByEncounterExternalId | CandidApi.AllocationTargetCreate.BillingProviderById | CandidApi.AllocationTargetCreate.
|
|
9
|
+
export declare type AllocationTargetCreate = CandidApi.AllocationTargetCreate.ServiceLineById | CandidApi.AllocationTargetCreate.ClaimById | CandidApi.AllocationTargetCreate.ClaimByEncounterExternalId | CandidApi.AllocationTargetCreate.BillingProviderById | CandidApi.AllocationTargetCreate.AppointmentByIdAndPatientExternalId | CandidApi.AllocationTargetCreate.Unattributed;
|
|
10
10
|
export declare namespace AllocationTargetCreate {
|
|
11
11
|
interface ServiceLineById {
|
|
12
12
|
type: "service_line_by_id";
|
|
@@ -24,9 +24,8 @@ export declare namespace AllocationTargetCreate {
|
|
|
24
24
|
type: "billing_provider_by_id";
|
|
25
25
|
value: CandidApi.ProviderId;
|
|
26
26
|
}
|
|
27
|
-
interface
|
|
28
|
-
type: "
|
|
29
|
-
value: CandidApi.AppointmentId;
|
|
27
|
+
interface AppointmentByIdAndPatientExternalId extends CandidApi.AppointmentByIdAndPatientExternalId {
|
|
28
|
+
type: "appointment_by_id_and_patient_external_id";
|
|
30
29
|
}
|
|
31
30
|
interface Unattributed {
|
|
32
31
|
type: "unattributed";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export interface AppointmentByIdAndPatientExternalId {
|
|
6
|
+
appointmentId: CandidApi.AppointmentId;
|
|
7
|
+
patientExternalId: CandidApi.PatientExternalId;
|
|
8
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./AppointmentAllocationTarget";
|
|
|
8
8
|
export * from "./AllocationTarget";
|
|
9
9
|
export * from "./AllocationCreate";
|
|
10
10
|
export * from "./AllocationTargetCreate";
|
|
11
|
+
export * from "./AppointmentByIdAndPatientExternalId";
|
|
11
12
|
export * from "./AccountType";
|
|
12
13
|
export * from "./NoteUpdate";
|
|
13
14
|
export * from "./InvoiceUpdate";
|
|
@@ -24,6 +24,7 @@ __exportStar(require("./AppointmentAllocationTarget"), exports);
|
|
|
24
24
|
__exportStar(require("./AllocationTarget"), exports);
|
|
25
25
|
__exportStar(require("./AllocationCreate"), exports);
|
|
26
26
|
__exportStar(require("./AllocationTargetCreate"), exports);
|
|
27
|
+
__exportStar(require("./AppointmentByIdAndPatientExternalId"), exports);
|
|
27
28
|
__exportStar(require("./AccountType"), exports);
|
|
28
29
|
__exportStar(require("./NoteUpdate"), exports);
|
|
29
30
|
__exportStar(require("./InvoiceUpdate"), exports);
|
|
@@ -89,7 +89,7 @@ class V1 {
|
|
|
89
89
|
Authorization: yield this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
93
93
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
94
94
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
95
95
|
},
|
|
@@ -152,7 +152,7 @@ class V1 {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "candidhealth",
|
|
155
|
-
"X-Fern-SDK-Version": "0.
|
|
155
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -220,7 +220,7 @@ class V1 {
|
|
|
220
220
|
Authorization: yield this._getAuthorizationHeader(),
|
|
221
221
|
"X-Fern-Language": "JavaScript",
|
|
222
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
223
|
-
"X-Fern-SDK-Version": "0.
|
|
223
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
224
224
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
225
225
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
226
226
|
},
|
|
@@ -34,7 +34,13 @@ export declare class V1 {
|
|
|
34
34
|
* externalCustomerIdentifier: "string",
|
|
35
35
|
* note: "string",
|
|
36
36
|
* dueDate: "2023-01-15",
|
|
37
|
-
* items: [{
|
|
37
|
+
* items: [{
|
|
38
|
+
* attribution: {
|
|
39
|
+
* type: "service_line_id",
|
|
40
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
41
|
+
* },
|
|
42
|
+
* amountCents: 1
|
|
43
|
+
* }],
|
|
38
44
|
* status: CandidApi.invoices.v2.InvoiceStatus.Draft,
|
|
39
45
|
* externalIdentifier: "string",
|
|
40
46
|
* customerInvoiceUrl: "string"
|
|
@@ -87,7 +93,13 @@ export declare class V1 {
|
|
|
87
93
|
* dueDate: "2023-01-15",
|
|
88
94
|
* items: {
|
|
89
95
|
* updateType: CandidApi.importInvoice.v1.InvoiceItemUpdateType.Append,
|
|
90
|
-
* items: [{
|
|
96
|
+
* items: [{
|
|
97
|
+
* attribution: {
|
|
98
|
+
* type: "service_line_id",
|
|
99
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
100
|
+
* },
|
|
101
|
+
* amountCents: 1
|
|
102
|
+
* }]
|
|
91
103
|
* }
|
|
92
104
|
* })
|
|
93
105
|
*/
|