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
|
@@ -60,7 +60,9 @@ class V2 {
|
|
|
60
60
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
61
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
62
62
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
63
|
-
* denialReason: {
|
|
63
|
+
* denialReason: {
|
|
64
|
+
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
65
|
+
* },
|
|
64
66
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
65
67
|
* procedureCode: "string",
|
|
66
68
|
* quantity: CandidApi.Decimal("string"),
|
|
@@ -82,7 +84,7 @@ class V2 {
|
|
|
82
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
85
|
"X-Fern-Language": "JavaScript",
|
|
84
86
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.
|
|
87
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
86
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
90
|
},
|
|
@@ -140,7 +142,18 @@ class V2 {
|
|
|
140
142
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
141
143
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
142
144
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
143
|
-
*
|
|
145
|
+
* drugIdentification: {
|
|
146
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
147
|
+
* nationalDrugCode: "string",
|
|
148
|
+
* nationalDrugUnitCount: "string",
|
|
149
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
150
|
+
* linkSequenceNumber: "string",
|
|
151
|
+
* pharmacyPrescriptionNumber: "string",
|
|
152
|
+
* conversionFormula: "string"
|
|
153
|
+
* },
|
|
154
|
+
* denialReason: {
|
|
155
|
+
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
156
|
+
* },
|
|
144
157
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
145
158
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
146
159
|
* procedureCode: "string",
|
|
@@ -161,7 +174,7 @@ class V2 {
|
|
|
161
174
|
Authorization: yield this._getAuthorizationHeader(),
|
|
162
175
|
"X-Fern-Language": "JavaScript",
|
|
163
176
|
"X-Fern-SDK-Name": "candidhealth",
|
|
164
|
-
"X-Fern-SDK-Version": "0.
|
|
177
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
165
178
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
166
179
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
167
180
|
},
|
|
@@ -225,7 +238,7 @@ class V2 {
|
|
|
225
238
|
Authorization: yield this._getAuthorizationHeader(),
|
|
226
239
|
"X-Fern-Language": "JavaScript",
|
|
227
240
|
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
-
"X-Fern-SDK-Version": "0.
|
|
241
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
229
242
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
230
243
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
231
244
|
},
|
|
@@ -83,6 +83,7 @@ export interface ServiceLine {
|
|
|
83
83
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
84
84
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
85
85
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
86
|
+
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
86
87
|
serviceLineEraData?: CandidApi.serviceLines.v2.ServiceLineEraData;
|
|
87
88
|
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
88
89
|
relatedInvoices?: CandidApi.Invoice[];
|
|
@@ -92,9 +93,6 @@ export interface ServiceLine {
|
|
|
92
93
|
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
93
94
|
serviceLineId: CandidApi.ServiceLineId;
|
|
94
95
|
procedureCode: string;
|
|
95
|
-
referringProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
96
|
-
initialReferringProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
97
|
-
supervisingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
98
96
|
orderingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
99
97
|
/**
|
|
100
98
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
@@ -26,23 +26,6 @@ export interface ServiceLineCreate {
|
|
|
26
26
|
description?: string;
|
|
27
27
|
dateOfService?: string;
|
|
28
28
|
endDateOfService?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The final provider who referred the services that were rendered.
|
|
31
|
-
* All physicians who order services or refer Medicare beneficiaries must
|
|
32
|
-
* report this data.
|
|
33
|
-
*/
|
|
34
|
-
referringProvider?: CandidApi.encounterProviders.v2.ReferringProvider;
|
|
35
|
-
/**
|
|
36
|
-
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
37
|
-
* 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.
|
|
38
|
-
* 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.
|
|
39
|
-
*/
|
|
40
|
-
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider;
|
|
41
|
-
/**
|
|
42
|
-
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
43
|
-
* 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.
|
|
44
|
-
*/
|
|
45
|
-
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider;
|
|
46
29
|
/**
|
|
47
30
|
* Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line.
|
|
48
31
|
* If not required by this implementation guide, do not send.
|
|
@@ -10,6 +10,7 @@ export interface ServiceLineUpdate {
|
|
|
10
10
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
11
11
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
12
12
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
13
|
+
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
13
14
|
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
14
15
|
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
15
16
|
units?: CandidApi.ServiceLineUnits;
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.
|
|
229
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.
|
|
297
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.
|
|
348
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -60,7 +60,13 @@ export declare class V1 {
|
|
|
60
60
|
* paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
61
61
|
* paymentNote: "string",
|
|
62
62
|
* checkNumber: "string",
|
|
63
|
-
* allocations: [{
|
|
63
|
+
* allocations: [{
|
|
64
|
+
* amountCents: 1,
|
|
65
|
+
* target: {
|
|
66
|
+
* type: "service_line_by_id",
|
|
67
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
68
|
+
* }
|
|
69
|
+
* }],
|
|
64
70
|
* invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
65
71
|
* })
|
|
66
72
|
*/
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.
|
|
107
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -218,7 +218,13 @@ class V1 {
|
|
|
218
218
|
* paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
219
219
|
* paymentNote: "string",
|
|
220
220
|
* checkNumber: "string",
|
|
221
|
-
* allocations: [{
|
|
221
|
+
* allocations: [{
|
|
222
|
+
* amountCents: 1,
|
|
223
|
+
* target: {
|
|
224
|
+
* type: "service_line_by_id",
|
|
225
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
226
|
+
* }
|
|
227
|
+
* }],
|
|
222
228
|
* invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
223
229
|
* })
|
|
224
230
|
*/
|
|
@@ -233,7 +239,7 @@ class V1 {
|
|
|
233
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
234
240
|
"X-Fern-Language": "JavaScript",
|
|
235
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
236
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
237
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
238
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
239
245
|
},
|
|
@@ -307,7 +313,7 @@ class V1 {
|
|
|
307
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
308
314
|
"X-Fern-Language": "JavaScript",
|
|
309
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
310
|
-
"X-Fern-SDK-Version": "0.
|
|
316
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
311
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
312
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
313
319
|
},
|
|
@@ -372,7 +378,7 @@ class V1 {
|
|
|
372
378
|
Authorization: yield this._getAuthorizationHeader(),
|
|
373
379
|
"X-Fern-Language": "JavaScript",
|
|
374
380
|
"X-Fern-SDK-Name": "candidhealth",
|
|
375
|
-
"X-Fern-SDK-Version": "0.
|
|
381
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
376
382
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
377
383
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
378
384
|
},
|
|
@@ -64,7 +64,13 @@ export declare class V1 {
|
|
|
64
64
|
* amountCents: 1,
|
|
65
65
|
* refundTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
66
66
|
* refundNote: "string",
|
|
67
|
-
* allocations: [{
|
|
67
|
+
* allocations: [{
|
|
68
|
+
* amountCents: 1,
|
|
69
|
+
* target: {
|
|
70
|
+
* type: "service_line_by_id",
|
|
71
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
72
|
+
* }
|
|
73
|
+
* }],
|
|
68
74
|
* refundReason: CandidApi.RefundReason.Overcharged
|
|
69
75
|
* })
|
|
70
76
|
*/
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.
|
|
107
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -222,7 +222,13 @@ class V1 {
|
|
|
222
222
|
* amountCents: 1,
|
|
223
223
|
* refundTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
224
224
|
* refundNote: "string",
|
|
225
|
-
* allocations: [{
|
|
225
|
+
* allocations: [{
|
|
226
|
+
* amountCents: 1,
|
|
227
|
+
* target: {
|
|
228
|
+
* type: "service_line_by_id",
|
|
229
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
230
|
+
* }
|
|
231
|
+
* }],
|
|
226
232
|
* refundReason: CandidApi.RefundReason.Overcharged
|
|
227
233
|
* })
|
|
228
234
|
*/
|
|
@@ -237,7 +243,7 @@ class V1 {
|
|
|
237
243
|
Authorization: yield this._getAuthorizationHeader(),
|
|
238
244
|
"X-Fern-Language": "JavaScript",
|
|
239
245
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
246
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
241
247
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
242
248
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
243
249
|
},
|
|
@@ -318,7 +324,7 @@ class V1 {
|
|
|
318
324
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
325
|
"X-Fern-Language": "JavaScript",
|
|
320
326
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.
|
|
327
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
322
328
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
329
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
330
|
},
|
|
@@ -383,7 +389,7 @@ class V1 {
|
|
|
383
389
|
Authorization: yield this._getAuthorizationHeader(),
|
|
384
390
|
"X-Fern-Language": "JavaScript",
|
|
385
391
|
"X-Fern-SDK-Name": "candidhealth",
|
|
386
|
-
"X-Fern-SDK-Version": "0.
|
|
392
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
387
393
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
388
394
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
389
395
|
},
|
|
@@ -70,7 +70,7 @@ class V1 {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "candidhealth",
|
|
73
|
-
"X-Fern-SDK-Version": "0.
|
|
73
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -136,7 +136,7 @@ class V1 {
|
|
|
136
136
|
Authorization: yield this._getAuthorizationHeader(),
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.
|
|
139
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
140
140
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
141
141
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
142
142
|
},
|
|
@@ -229,7 +229,7 @@ class V1 {
|
|
|
229
229
|
Authorization: yield this._getAuthorizationHeader(),
|
|
230
230
|
"X-Fern-Language": "JavaScript",
|
|
231
231
|
"X-Fern-SDK-Name": "candidhealth",
|
|
232
|
-
"X-Fern-SDK-Version": "0.
|
|
232
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
233
233
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
234
234
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
235
235
|
},
|
|
@@ -289,7 +289,7 @@ class V1 {
|
|
|
289
289
|
Authorization: yield this._getAuthorizationHeader(),
|
|
290
290
|
"X-Fern-Language": "JavaScript",
|
|
291
291
|
"X-Fern-SDK-Name": "candidhealth",
|
|
292
|
-
"X-Fern-SDK-Version": "0.
|
|
292
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
293
293
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
294
294
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
295
295
|
},
|
|
@@ -357,7 +357,7 @@ class V1 {
|
|
|
357
357
|
Authorization: yield this._getAuthorizationHeader(),
|
|
358
358
|
"X-Fern-Language": "JavaScript",
|
|
359
359
|
"X-Fern-SDK-Name": "candidhealth",
|
|
360
|
-
"X-Fern-SDK-Version": "0.
|
|
360
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
361
361
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
362
362
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
363
363
|
},
|
|
@@ -420,7 +420,7 @@ class V1 {
|
|
|
420
420
|
Authorization: yield this._getAuthorizationHeader(),
|
|
421
421
|
"X-Fern-Language": "JavaScript",
|
|
422
422
|
"X-Fern-SDK-Name": "candidhealth",
|
|
423
|
-
"X-Fern-SDK-Version": "0.
|
|
423
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
424
424
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
425
425
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
426
426
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.
|
|
119
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.
|
|
167
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.
|
|
224
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.
|
|
274
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { SubscriberCreate } from "../../../../../individual/types/SubscriberCrea
|
|
|
18
18
|
import { ServiceAuthorizationExceptionCode } from "../../types/ServiceAuthorizationExceptionCode";
|
|
19
19
|
import { DelayReasonCode } from "../../../../../commons/types/DelayReasonCode";
|
|
20
20
|
import { SchemaInstance } from "../../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
21
|
+
import { VitalsUpdate } from "../../types/VitalsUpdate";
|
|
21
22
|
export declare const EncounterUpdate: core.serialization.Schema<serializers.encounters.v4.EncounterUpdate.Raw, CandidApi.encounters.v4.EncounterUpdate>;
|
|
22
23
|
export declare namespace EncounterUpdate {
|
|
23
24
|
interface Raw {
|
|
@@ -48,5 +49,6 @@ export declare namespace EncounterUpdate {
|
|
|
48
49
|
delay_reason_code?: DelayReasonCode.Raw | null;
|
|
49
50
|
patient_authorized_release?: boolean | null;
|
|
50
51
|
schema_instances?: SchemaInstance.Raw[] | null;
|
|
52
|
+
vitals?: VitalsUpdate.Raw | null;
|
|
51
53
|
}
|
|
52
54
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -42,6 +42,7 @@ const SubscriberCreate_1 = require("../../../../../individual/types/SubscriberCr
|
|
|
42
42
|
const ServiceAuthorizationExceptionCode_1 = require("../../types/ServiceAuthorizationExceptionCode");
|
|
43
43
|
const DelayReasonCode_1 = require("../../../../../commons/types/DelayReasonCode");
|
|
44
44
|
const SchemaInstance_1 = require("../../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
45
|
+
const VitalsUpdate_1 = require("../../types/VitalsUpdate");
|
|
45
46
|
exports.EncounterUpdate = core.serialization.object({
|
|
46
47
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
|
|
47
48
|
externalId: core.serialization.property("external_id", EncounterExternalId_1.EncounterExternalId.optional()),
|
|
@@ -70,4 +71,5 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
70
71
|
delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
|
|
71
72
|
patientAuthorizedRelease: core.serialization.property("patient_authorized_release", core.serialization.boolean().optional()),
|
|
72
73
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
|
|
74
|
+
vitals: VitalsUpdate_1.VitalsUpdate.optional(),
|
|
73
75
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const VitalsUpdate: core.serialization.ObjectSchema<serializers.encounters.v4.VitalsUpdate.Raw, CandidApi.encounters.v4.VitalsUpdate>;
|
|
8
|
+
export declare namespace VitalsUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
height_in?: number | null;
|
|
11
|
+
weight_lbs?: number | null;
|
|
12
|
+
blood_pressure_systolic_mmhg?: number | null;
|
|
13
|
+
blood_pressure_diastolic_mmhg?: number | null;
|
|
14
|
+
body_temperature_f?: number | null;
|
|
15
|
+
hemoglobin_gdl?: number | null;
|
|
16
|
+
hematocrit_pct?: number | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.VitalsUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.VitalsUpdate = core.serialization.object({
|
|
32
|
+
heightIn: core.serialization.property("height_in", core.serialization.number().optional()),
|
|
33
|
+
weightLbs: core.serialization.property("weight_lbs", core.serialization.number().optional()),
|
|
34
|
+
bloodPressureSystolicMmhg: core.serialization.property("blood_pressure_systolic_mmhg", core.serialization.number().optional()),
|
|
35
|
+
bloodPressureDiastolicMmhg: core.serialization.property("blood_pressure_diastolic_mmhg", core.serialization.number().optional()),
|
|
36
|
+
bodyTemperatureF: core.serialization.property("body_temperature_f", core.serialization.number().optional()),
|
|
37
|
+
hemoglobinGdl: core.serialization.property("hemoglobin_gdl", core.serialization.number().optional()),
|
|
38
|
+
hematocritPct: core.serialization.property("hematocrit_pct", core.serialization.number().optional()),
|
|
39
|
+
});
|
|
@@ -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);
|
|
@@ -8,10 +8,10 @@ import { ServiceLineId } from "../../commons/types/ServiceLineId";
|
|
|
8
8
|
import { ClaimId } from "../../commons/types/ClaimId";
|
|
9
9
|
import { EncounterExternalId } from "../../commons/types/EncounterExternalId";
|
|
10
10
|
import { ProviderId } from "../../commons/types/ProviderId";
|
|
11
|
-
import {
|
|
11
|
+
import { AppointmentByIdAndPatientExternalId } from "./AppointmentByIdAndPatientExternalId";
|
|
12
12
|
export declare const AllocationTargetCreate: core.serialization.Schema<serializers.AllocationTargetCreate.Raw, CandidApi.AllocationTargetCreate>;
|
|
13
13
|
export declare namespace AllocationTargetCreate {
|
|
14
|
-
type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.ClaimByEncounterExternalId | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.
|
|
14
|
+
type Raw = AllocationTargetCreate.ServiceLineById | AllocationTargetCreate.ClaimById | AllocationTargetCreate.ClaimByEncounterExternalId | AllocationTargetCreate.BillingProviderById | AllocationTargetCreate.AppointmentByIdAndPatientExternalId | AllocationTargetCreate.Unattributed;
|
|
15
15
|
interface ServiceLineById {
|
|
16
16
|
type: "service_line_by_id";
|
|
17
17
|
value: ServiceLineId.Raw;
|
|
@@ -28,9 +28,8 @@ export declare namespace AllocationTargetCreate {
|
|
|
28
28
|
type: "billing_provider_by_id";
|
|
29
29
|
value: ProviderId.Raw;
|
|
30
30
|
}
|
|
31
|
-
interface
|
|
32
|
-
type: "
|
|
33
|
-
value: AppointmentId.Raw;
|
|
31
|
+
interface AppointmentByIdAndPatientExternalId extends AppointmentByIdAndPatientExternalId.Raw {
|
|
32
|
+
type: "appointment_by_id_and_patient_external_id";
|
|
34
33
|
}
|
|
35
34
|
interface Unattributed {
|
|
36
35
|
type: "unattributed";
|
|
@@ -32,7 +32,7 @@ const ServiceLineId_1 = require("../../commons/types/ServiceLineId");
|
|
|
32
32
|
const ClaimId_1 = require("../../commons/types/ClaimId");
|
|
33
33
|
const EncounterExternalId_1 = require("../../commons/types/EncounterExternalId");
|
|
34
34
|
const ProviderId_1 = require("../../commons/types/ProviderId");
|
|
35
|
-
const
|
|
35
|
+
const AppointmentByIdAndPatientExternalId_1 = require("./AppointmentByIdAndPatientExternalId");
|
|
36
36
|
exports.AllocationTargetCreate = core.serialization
|
|
37
37
|
.union("type", {
|
|
38
38
|
service_line_by_id: core.serialization.object({
|
|
@@ -47,9 +47,7 @@ exports.AllocationTargetCreate = core.serialization
|
|
|
47
47
|
billing_provider_by_id: core.serialization.object({
|
|
48
48
|
value: ProviderId_1.ProviderId,
|
|
49
49
|
}),
|
|
50
|
-
|
|
51
|
-
value: AppointmentId_1.AppointmentId,
|
|
52
|
-
}),
|
|
50
|
+
appointment_by_id_and_patient_external_id: AppointmentByIdAndPatientExternalId_1.AppointmentByIdAndPatientExternalId,
|
|
53
51
|
unattributed: core.serialization.object({}),
|
|
54
52
|
})
|
|
55
53
|
.transform({
|
|
@@ -5,9 +5,11 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { AppointmentId } from "../../commons/types/AppointmentId";
|
|
8
|
+
import { PatientExternalId } from "../../commons/types/PatientExternalId";
|
|
8
9
|
export declare const AppointmentAllocationTarget: core.serialization.ObjectSchema<serializers.AppointmentAllocationTarget.Raw, CandidApi.AppointmentAllocationTarget>;
|
|
9
10
|
export declare namespace AppointmentAllocationTarget {
|
|
10
11
|
interface Raw {
|
|
11
12
|
appointment_id: AppointmentId.Raw;
|
|
13
|
+
patient_external_id: PatientExternalId.Raw;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -29,6 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.AppointmentAllocationTarget = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
const AppointmentId_1 = require("../../commons/types/AppointmentId");
|
|
32
|
+
const PatientExternalId_1 = require("../../commons/types/PatientExternalId");
|
|
32
33
|
exports.AppointmentAllocationTarget = core.serialization.object({
|
|
33
34
|
appointmentId: core.serialization.property("appointment_id", AppointmentId_1.AppointmentId),
|
|
35
|
+
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
34
36
|
});
|
package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AppointmentId } from "../../commons/types/AppointmentId";
|
|
8
|
+
import { PatientExternalId } from "../../commons/types/PatientExternalId";
|
|
9
|
+
export declare const AppointmentByIdAndPatientExternalId: core.serialization.ObjectSchema<serializers.AppointmentByIdAndPatientExternalId.Raw, CandidApi.AppointmentByIdAndPatientExternalId>;
|
|
10
|
+
export declare namespace AppointmentByIdAndPatientExternalId {
|
|
11
|
+
interface Raw {
|
|
12
|
+
appointment_id: AppointmentId.Raw;
|
|
13
|
+
patient_external_id: PatientExternalId.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.AppointmentByIdAndPatientExternalId = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const AppointmentId_1 = require("../../commons/types/AppointmentId");
|
|
32
|
+
const PatientExternalId_1 = require("../../commons/types/PatientExternalId");
|
|
33
|
+
exports.AppointmentByIdAndPatientExternalId = core.serialization.object({
|
|
34
|
+
appointmentId: core.serialization.property("appointment_id", AppointmentId_1.AppointmentId),
|
|
35
|
+
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
36
|
+
});
|