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
|
@@ -56,8 +56,32 @@ class V1 {
|
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* await client.preEncounter.patients.v1.create({
|
|
59
|
-
* name: {
|
|
60
|
-
*
|
|
59
|
+
* name: {
|
|
60
|
+
* family: "string",
|
|
61
|
+
* given: ["string"],
|
|
62
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
63
|
+
* period: {
|
|
64
|
+
* start: {
|
|
65
|
+
* "key": "value"
|
|
66
|
+
* },
|
|
67
|
+
* end: {
|
|
68
|
+
* "key": "value"
|
|
69
|
+
* }
|
|
70
|
+
* }
|
|
71
|
+
* },
|
|
72
|
+
* otherNames: [{
|
|
73
|
+
* family: "string",
|
|
74
|
+
* given: ["string"],
|
|
75
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
76
|
+
* period: {
|
|
77
|
+
* start: {
|
|
78
|
+
* "key": "value"
|
|
79
|
+
* },
|
|
80
|
+
* end: {
|
|
81
|
+
* "key": "value"
|
|
82
|
+
* }
|
|
83
|
+
* }
|
|
84
|
+
* }],
|
|
61
85
|
* gender: CandidApi.preEncounter.Gender.Man,
|
|
62
86
|
* birthDate: "2023-01-15",
|
|
63
87
|
* socialSecurityNumber: "string",
|
|
@@ -69,10 +93,52 @@ class V1 {
|
|
|
69
93
|
* maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
|
|
70
94
|
* deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
71
95
|
* multipleBirth: 1,
|
|
72
|
-
* primaryAddress: {
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
96
|
+
* primaryAddress: {
|
|
97
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
98
|
+
* line: ["string"],
|
|
99
|
+
* city: "string",
|
|
100
|
+
* state: "string",
|
|
101
|
+
* postalCode: "string",
|
|
102
|
+
* country: "string",
|
|
103
|
+
* period: {
|
|
104
|
+
* start: {
|
|
105
|
+
* "key": "value"
|
|
106
|
+
* },
|
|
107
|
+
* end: {
|
|
108
|
+
* "key": "value"
|
|
109
|
+
* }
|
|
110
|
+
* }
|
|
111
|
+
* },
|
|
112
|
+
* otherAddresses: [{
|
|
113
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
114
|
+
* line: ["string"],
|
|
115
|
+
* city: "string",
|
|
116
|
+
* state: "string",
|
|
117
|
+
* postalCode: "string",
|
|
118
|
+
* country: "string",
|
|
119
|
+
* period: {
|
|
120
|
+
* start: {
|
|
121
|
+
* "key": "value"
|
|
122
|
+
* },
|
|
123
|
+
* end: {
|
|
124
|
+
* "key": "value"
|
|
125
|
+
* }
|
|
126
|
+
* }
|
|
127
|
+
* }],
|
|
128
|
+
* primaryTelecom: {
|
|
129
|
+
* value: "string",
|
|
130
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
131
|
+
* period: {
|
|
132
|
+
* "key": "value"
|
|
133
|
+
* }
|
|
134
|
+
* },
|
|
135
|
+
* otherTelecoms: [{
|
|
136
|
+
* value: "string",
|
|
137
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
138
|
+
* period: {
|
|
139
|
+
* "key": "value"
|
|
140
|
+
* }
|
|
141
|
+
* }],
|
|
76
142
|
* email: "string",
|
|
77
143
|
* electronicCommunicationOptIn: true,
|
|
78
144
|
* photo: "string",
|
|
@@ -83,13 +149,88 @@ class V1 {
|
|
|
83
149
|
* },
|
|
84
150
|
* contacts: [{
|
|
85
151
|
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
86
|
-
* name: {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
152
|
+
* name: {
|
|
153
|
+
* family: "string",
|
|
154
|
+
* given: ["string"],
|
|
155
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
156
|
+
* period: {
|
|
157
|
+
* start: {
|
|
158
|
+
* "key": "value"
|
|
159
|
+
* },
|
|
160
|
+
* end: {
|
|
161
|
+
* "key": "value"
|
|
162
|
+
* }
|
|
163
|
+
* }
|
|
164
|
+
* },
|
|
165
|
+
* telecoms: [{
|
|
166
|
+
* value: "string",
|
|
167
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
168
|
+
* period: {
|
|
169
|
+
* "key": "value"
|
|
170
|
+
* }
|
|
171
|
+
* }],
|
|
172
|
+
* addresses: [{
|
|
173
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
174
|
+
* line: ["string"],
|
|
175
|
+
* city: "string",
|
|
176
|
+
* state: "string",
|
|
177
|
+
* postalCode: "string",
|
|
178
|
+
* country: "string",
|
|
179
|
+
* period: {
|
|
180
|
+
* start: {
|
|
181
|
+
* "key": "value"
|
|
182
|
+
* },
|
|
183
|
+
* end: {
|
|
184
|
+
* "key": "value"
|
|
185
|
+
* }
|
|
186
|
+
* }
|
|
187
|
+
* }],
|
|
188
|
+
* period: {
|
|
189
|
+
* start: {
|
|
190
|
+
* "key": "value"
|
|
191
|
+
* },
|
|
192
|
+
* end: {
|
|
193
|
+
* "key": "value"
|
|
194
|
+
* }
|
|
195
|
+
* },
|
|
90
196
|
* hipaaAuthorization: true
|
|
91
197
|
* }],
|
|
92
|
-
* generalPractitioners: [{
|
|
198
|
+
* generalPractitioners: [{
|
|
199
|
+
* name: {
|
|
200
|
+
* family: "string",
|
|
201
|
+
* given: ["string"],
|
|
202
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
203
|
+
* period: {
|
|
204
|
+
* start: {
|
|
205
|
+
* "key": "value"
|
|
206
|
+
* },
|
|
207
|
+
* end: {
|
|
208
|
+
* "key": "value"
|
|
209
|
+
* }
|
|
210
|
+
* }
|
|
211
|
+
* },
|
|
212
|
+
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
213
|
+
* npi: "string",
|
|
214
|
+
* telecoms: [{
|
|
215
|
+
* value: "string",
|
|
216
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
217
|
+
* period: {
|
|
218
|
+
* "key": "value"
|
|
219
|
+
* }
|
|
220
|
+
* }],
|
|
221
|
+
* addresses: [{
|
|
222
|
+
* "key": "value"
|
|
223
|
+
* }],
|
|
224
|
+
* period: {
|
|
225
|
+
* start: {
|
|
226
|
+
* "key": "value"
|
|
227
|
+
* },
|
|
228
|
+
* end: {
|
|
229
|
+
* "key": "value"
|
|
230
|
+
* }
|
|
231
|
+
* },
|
|
232
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
233
|
+
* }],
|
|
93
234
|
* filingOrder: {
|
|
94
235
|
* coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
95
236
|
* }
|
|
@@ -106,7 +247,7 @@ class V1 {
|
|
|
106
247
|
Authorization: yield this._getAuthorizationHeader(),
|
|
107
248
|
"X-Fern-Language": "JavaScript",
|
|
108
249
|
"X-Fern-SDK-Name": "candidhealth",
|
|
109
|
-
"X-Fern-SDK-Version": "0.
|
|
250
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
110
251
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
111
252
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
112
253
|
},
|
|
@@ -158,8 +299,32 @@ class V1 {
|
|
|
158
299
|
*
|
|
159
300
|
* @example
|
|
160
301
|
* await client.preEncounter.patients.v1.createNoDuplicateCheck({
|
|
161
|
-
* name: {
|
|
162
|
-
*
|
|
302
|
+
* name: {
|
|
303
|
+
* family: "string",
|
|
304
|
+
* given: ["string"],
|
|
305
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
306
|
+
* period: {
|
|
307
|
+
* start: {
|
|
308
|
+
* "key": "value"
|
|
309
|
+
* },
|
|
310
|
+
* end: {
|
|
311
|
+
* "key": "value"
|
|
312
|
+
* }
|
|
313
|
+
* }
|
|
314
|
+
* },
|
|
315
|
+
* otherNames: [{
|
|
316
|
+
* family: "string",
|
|
317
|
+
* given: ["string"],
|
|
318
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
319
|
+
* period: {
|
|
320
|
+
* start: {
|
|
321
|
+
* "key": "value"
|
|
322
|
+
* },
|
|
323
|
+
* end: {
|
|
324
|
+
* "key": "value"
|
|
325
|
+
* }
|
|
326
|
+
* }
|
|
327
|
+
* }],
|
|
163
328
|
* gender: CandidApi.preEncounter.Gender.Man,
|
|
164
329
|
* birthDate: "2023-01-15",
|
|
165
330
|
* socialSecurityNumber: "string",
|
|
@@ -171,10 +336,52 @@ class V1 {
|
|
|
171
336
|
* maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
|
|
172
337
|
* deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
173
338
|
* multipleBirth: 1,
|
|
174
|
-
* primaryAddress: {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
339
|
+
* primaryAddress: {
|
|
340
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
341
|
+
* line: ["string"],
|
|
342
|
+
* city: "string",
|
|
343
|
+
* state: "string",
|
|
344
|
+
* postalCode: "string",
|
|
345
|
+
* country: "string",
|
|
346
|
+
* period: {
|
|
347
|
+
* start: {
|
|
348
|
+
* "key": "value"
|
|
349
|
+
* },
|
|
350
|
+
* end: {
|
|
351
|
+
* "key": "value"
|
|
352
|
+
* }
|
|
353
|
+
* }
|
|
354
|
+
* },
|
|
355
|
+
* otherAddresses: [{
|
|
356
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
357
|
+
* line: ["string"],
|
|
358
|
+
* city: "string",
|
|
359
|
+
* state: "string",
|
|
360
|
+
* postalCode: "string",
|
|
361
|
+
* country: "string",
|
|
362
|
+
* period: {
|
|
363
|
+
* start: {
|
|
364
|
+
* "key": "value"
|
|
365
|
+
* },
|
|
366
|
+
* end: {
|
|
367
|
+
* "key": "value"
|
|
368
|
+
* }
|
|
369
|
+
* }
|
|
370
|
+
* }],
|
|
371
|
+
* primaryTelecom: {
|
|
372
|
+
* value: "string",
|
|
373
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
374
|
+
* period: {
|
|
375
|
+
* "key": "value"
|
|
376
|
+
* }
|
|
377
|
+
* },
|
|
378
|
+
* otherTelecoms: [{
|
|
379
|
+
* value: "string",
|
|
380
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
381
|
+
* period: {
|
|
382
|
+
* "key": "value"
|
|
383
|
+
* }
|
|
384
|
+
* }],
|
|
178
385
|
* email: "string",
|
|
179
386
|
* electronicCommunicationOptIn: true,
|
|
180
387
|
* photo: "string",
|
|
@@ -185,13 +392,88 @@ class V1 {
|
|
|
185
392
|
* },
|
|
186
393
|
* contacts: [{
|
|
187
394
|
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
188
|
-
* name: {
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
395
|
+
* name: {
|
|
396
|
+
* family: "string",
|
|
397
|
+
* given: ["string"],
|
|
398
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
399
|
+
* period: {
|
|
400
|
+
* start: {
|
|
401
|
+
* "key": "value"
|
|
402
|
+
* },
|
|
403
|
+
* end: {
|
|
404
|
+
* "key": "value"
|
|
405
|
+
* }
|
|
406
|
+
* }
|
|
407
|
+
* },
|
|
408
|
+
* telecoms: [{
|
|
409
|
+
* value: "string",
|
|
410
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
411
|
+
* period: {
|
|
412
|
+
* "key": "value"
|
|
413
|
+
* }
|
|
414
|
+
* }],
|
|
415
|
+
* addresses: [{
|
|
416
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
417
|
+
* line: ["string"],
|
|
418
|
+
* city: "string",
|
|
419
|
+
* state: "string",
|
|
420
|
+
* postalCode: "string",
|
|
421
|
+
* country: "string",
|
|
422
|
+
* period: {
|
|
423
|
+
* start: {
|
|
424
|
+
* "key": "value"
|
|
425
|
+
* },
|
|
426
|
+
* end: {
|
|
427
|
+
* "key": "value"
|
|
428
|
+
* }
|
|
429
|
+
* }
|
|
430
|
+
* }],
|
|
431
|
+
* period: {
|
|
432
|
+
* start: {
|
|
433
|
+
* "key": "value"
|
|
434
|
+
* },
|
|
435
|
+
* end: {
|
|
436
|
+
* "key": "value"
|
|
437
|
+
* }
|
|
438
|
+
* },
|
|
192
439
|
* hipaaAuthorization: true
|
|
193
440
|
* }],
|
|
194
|
-
* generalPractitioners: [{
|
|
441
|
+
* generalPractitioners: [{
|
|
442
|
+
* name: {
|
|
443
|
+
* family: "string",
|
|
444
|
+
* given: ["string"],
|
|
445
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
446
|
+
* period: {
|
|
447
|
+
* start: {
|
|
448
|
+
* "key": "value"
|
|
449
|
+
* },
|
|
450
|
+
* end: {
|
|
451
|
+
* "key": "value"
|
|
452
|
+
* }
|
|
453
|
+
* }
|
|
454
|
+
* },
|
|
455
|
+
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
456
|
+
* npi: "string",
|
|
457
|
+
* telecoms: [{
|
|
458
|
+
* value: "string",
|
|
459
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
460
|
+
* period: {
|
|
461
|
+
* "key": "value"
|
|
462
|
+
* }
|
|
463
|
+
* }],
|
|
464
|
+
* addresses: [{
|
|
465
|
+
* "key": "value"
|
|
466
|
+
* }],
|
|
467
|
+
* period: {
|
|
468
|
+
* start: {
|
|
469
|
+
* "key": "value"
|
|
470
|
+
* },
|
|
471
|
+
* end: {
|
|
472
|
+
* "key": "value"
|
|
473
|
+
* }
|
|
474
|
+
* },
|
|
475
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
476
|
+
* }],
|
|
195
477
|
* filingOrder: {
|
|
196
478
|
* coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
197
479
|
* }
|
|
@@ -208,7 +490,7 @@ class V1 {
|
|
|
208
490
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
491
|
"X-Fern-Language": "JavaScript",
|
|
210
492
|
"X-Fern-SDK-Name": "candidhealth",
|
|
211
|
-
"X-Fern-SDK-Version": "0.
|
|
493
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
212
494
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
213
495
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
214
496
|
},
|
|
@@ -296,7 +578,7 @@ class V1 {
|
|
|
296
578
|
Authorization: yield this._getAuthorizationHeader(),
|
|
297
579
|
"X-Fern-Language": "JavaScript",
|
|
298
580
|
"X-Fern-SDK-Name": "candidhealth",
|
|
299
|
-
"X-Fern-SDK-Version": "0.
|
|
581
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
300
582
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
301
583
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
302
584
|
},
|
|
@@ -344,7 +626,7 @@ class V1 {
|
|
|
344
626
|
Authorization: yield this._getAuthorizationHeader(),
|
|
345
627
|
"X-Fern-Language": "JavaScript",
|
|
346
628
|
"X-Fern-SDK-Name": "candidhealth",
|
|
347
|
-
"X-Fern-SDK-Version": "0.
|
|
629
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
348
630
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
349
631
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
350
632
|
},
|
|
@@ -405,7 +687,7 @@ class V1 {
|
|
|
405
687
|
Authorization: yield this._getAuthorizationHeader(),
|
|
406
688
|
"X-Fern-Language": "JavaScript",
|
|
407
689
|
"X-Fern-SDK-Name": "candidhealth",
|
|
408
|
-
"X-Fern-SDK-Version": "0.
|
|
690
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
409
691
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
410
692
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
411
693
|
},
|
|
@@ -456,8 +738,32 @@ class V1 {
|
|
|
456
738
|
*
|
|
457
739
|
* @example
|
|
458
740
|
* await client.preEncounter.patients.v1.update(CandidApi.preEncounter.patients.v1.PatientId("string"), "string", {
|
|
459
|
-
* name: {
|
|
460
|
-
*
|
|
741
|
+
* name: {
|
|
742
|
+
* family: "string",
|
|
743
|
+
* given: ["string"],
|
|
744
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
745
|
+
* period: {
|
|
746
|
+
* start: {
|
|
747
|
+
* "key": "value"
|
|
748
|
+
* },
|
|
749
|
+
* end: {
|
|
750
|
+
* "key": "value"
|
|
751
|
+
* }
|
|
752
|
+
* }
|
|
753
|
+
* },
|
|
754
|
+
* otherNames: [{
|
|
755
|
+
* family: "string",
|
|
756
|
+
* given: ["string"],
|
|
757
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
758
|
+
* period: {
|
|
759
|
+
* start: {
|
|
760
|
+
* "key": "value"
|
|
761
|
+
* },
|
|
762
|
+
* end: {
|
|
763
|
+
* "key": "value"
|
|
764
|
+
* }
|
|
765
|
+
* }
|
|
766
|
+
* }],
|
|
461
767
|
* gender: CandidApi.preEncounter.Gender.Man,
|
|
462
768
|
* birthDate: "2023-01-15",
|
|
463
769
|
* socialSecurityNumber: "string",
|
|
@@ -469,10 +775,52 @@ class V1 {
|
|
|
469
775
|
* maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
|
|
470
776
|
* deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
471
777
|
* multipleBirth: 1,
|
|
472
|
-
* primaryAddress: {
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
778
|
+
* primaryAddress: {
|
|
779
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
780
|
+
* line: ["string"],
|
|
781
|
+
* city: "string",
|
|
782
|
+
* state: "string",
|
|
783
|
+
* postalCode: "string",
|
|
784
|
+
* country: "string",
|
|
785
|
+
* period: {
|
|
786
|
+
* start: {
|
|
787
|
+
* "key": "value"
|
|
788
|
+
* },
|
|
789
|
+
* end: {
|
|
790
|
+
* "key": "value"
|
|
791
|
+
* }
|
|
792
|
+
* }
|
|
793
|
+
* },
|
|
794
|
+
* otherAddresses: [{
|
|
795
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
796
|
+
* line: ["string"],
|
|
797
|
+
* city: "string",
|
|
798
|
+
* state: "string",
|
|
799
|
+
* postalCode: "string",
|
|
800
|
+
* country: "string",
|
|
801
|
+
* period: {
|
|
802
|
+
* start: {
|
|
803
|
+
* "key": "value"
|
|
804
|
+
* },
|
|
805
|
+
* end: {
|
|
806
|
+
* "key": "value"
|
|
807
|
+
* }
|
|
808
|
+
* }
|
|
809
|
+
* }],
|
|
810
|
+
* primaryTelecom: {
|
|
811
|
+
* value: "string",
|
|
812
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
813
|
+
* period: {
|
|
814
|
+
* "key": "value"
|
|
815
|
+
* }
|
|
816
|
+
* },
|
|
817
|
+
* otherTelecoms: [{
|
|
818
|
+
* value: "string",
|
|
819
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
820
|
+
* period: {
|
|
821
|
+
* "key": "value"
|
|
822
|
+
* }
|
|
823
|
+
* }],
|
|
476
824
|
* email: "string",
|
|
477
825
|
* electronicCommunicationOptIn: true,
|
|
478
826
|
* photo: "string",
|
|
@@ -483,13 +831,88 @@ class V1 {
|
|
|
483
831
|
* },
|
|
484
832
|
* contacts: [{
|
|
485
833
|
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
486
|
-
* name: {
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
834
|
+
* name: {
|
|
835
|
+
* family: "string",
|
|
836
|
+
* given: ["string"],
|
|
837
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
838
|
+
* period: {
|
|
839
|
+
* start: {
|
|
840
|
+
* "key": "value"
|
|
841
|
+
* },
|
|
842
|
+
* end: {
|
|
843
|
+
* "key": "value"
|
|
844
|
+
* }
|
|
845
|
+
* }
|
|
846
|
+
* },
|
|
847
|
+
* telecoms: [{
|
|
848
|
+
* value: "string",
|
|
849
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
850
|
+
* period: {
|
|
851
|
+
* "key": "value"
|
|
852
|
+
* }
|
|
853
|
+
* }],
|
|
854
|
+
* addresses: [{
|
|
855
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
856
|
+
* line: ["string"],
|
|
857
|
+
* city: "string",
|
|
858
|
+
* state: "string",
|
|
859
|
+
* postalCode: "string",
|
|
860
|
+
* country: "string",
|
|
861
|
+
* period: {
|
|
862
|
+
* start: {
|
|
863
|
+
* "key": "value"
|
|
864
|
+
* },
|
|
865
|
+
* end: {
|
|
866
|
+
* "key": "value"
|
|
867
|
+
* }
|
|
868
|
+
* }
|
|
869
|
+
* }],
|
|
870
|
+
* period: {
|
|
871
|
+
* start: {
|
|
872
|
+
* "key": "value"
|
|
873
|
+
* },
|
|
874
|
+
* end: {
|
|
875
|
+
* "key": "value"
|
|
876
|
+
* }
|
|
877
|
+
* },
|
|
490
878
|
* hipaaAuthorization: true
|
|
491
879
|
* }],
|
|
492
|
-
* generalPractitioners: [{
|
|
880
|
+
* generalPractitioners: [{
|
|
881
|
+
* name: {
|
|
882
|
+
* family: "string",
|
|
883
|
+
* given: ["string"],
|
|
884
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
885
|
+
* period: {
|
|
886
|
+
* start: {
|
|
887
|
+
* "key": "value"
|
|
888
|
+
* },
|
|
889
|
+
* end: {
|
|
890
|
+
* "key": "value"
|
|
891
|
+
* }
|
|
892
|
+
* }
|
|
893
|
+
* },
|
|
894
|
+
* type: CandidApi.preEncounter.ExternalProviderType.Primary,
|
|
895
|
+
* npi: "string",
|
|
896
|
+
* telecoms: [{
|
|
897
|
+
* value: "string",
|
|
898
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
899
|
+
* period: {
|
|
900
|
+
* "key": "value"
|
|
901
|
+
* }
|
|
902
|
+
* }],
|
|
903
|
+
* addresses: [{
|
|
904
|
+
* "key": "value"
|
|
905
|
+
* }],
|
|
906
|
+
* period: {
|
|
907
|
+
* start: {
|
|
908
|
+
* "key": "value"
|
|
909
|
+
* },
|
|
910
|
+
* end: {
|
|
911
|
+
* "key": "value"
|
|
912
|
+
* }
|
|
913
|
+
* },
|
|
914
|
+
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
|
|
915
|
+
* }],
|
|
493
916
|
* filingOrder: {
|
|
494
917
|
* coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
495
918
|
* }
|
|
@@ -506,7 +929,7 @@ class V1 {
|
|
|
506
929
|
Authorization: yield this._getAuthorizationHeader(),
|
|
507
930
|
"X-Fern-Language": "JavaScript",
|
|
508
931
|
"X-Fern-SDK-Name": "candidhealth",
|
|
509
|
-
"X-Fern-SDK-Version": "0.
|
|
932
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
510
933
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
511
934
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
512
935
|
},
|
|
@@ -572,7 +995,7 @@ class V1 {
|
|
|
572
995
|
Authorization: yield this._getAuthorizationHeader(),
|
|
573
996
|
"X-Fern-Language": "JavaScript",
|
|
574
997
|
"X-Fern-SDK-Name": "candidhealth",
|
|
575
|
-
"X-Fern-SDK-Version": "0.
|
|
998
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
576
999
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
577
1000
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
578
1001
|
},
|
|
@@ -640,7 +1063,7 @@ class V1 {
|
|
|
640
1063
|
Authorization: yield this._getAuthorizationHeader(),
|
|
641
1064
|
"X-Fern-Language": "JavaScript",
|
|
642
1065
|
"X-Fern-SDK-Name": "candidhealth",
|
|
643
|
-
"X-Fern-SDK-Version": "0.
|
|
1066
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
644
1067
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
645
1068
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
646
1069
|
},
|
|
@@ -693,7 +1116,7 @@ class V1 {
|
|
|
693
1116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
694
1117
|
"X-Fern-Language": "JavaScript",
|
|
695
1118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
696
|
-
"X-Fern-SDK-Version": "0.
|
|
1119
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
697
1120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
698
1121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
699
1122
|
},
|
|
@@ -78,7 +78,7 @@ class ServiceFacility {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
81
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.32.0",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -33,7 +33,9 @@ export declare class V2 {
|
|
|
33
33
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
34
34
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
35
35
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
36
|
-
* denialReason: {
|
|
36
|
+
* denialReason: {
|
|
37
|
+
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
38
|
+
* },
|
|
37
39
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
38
40
|
* procedureCode: "string",
|
|
39
41
|
* quantity: CandidApi.Decimal("string"),
|
|
@@ -59,7 +61,18 @@ export declare class V2 {
|
|
|
59
61
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
60
62
|
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
63
|
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
62
|
-
*
|
|
64
|
+
* drugIdentification: {
|
|
65
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
66
|
+
* nationalDrugCode: "string",
|
|
67
|
+
* nationalDrugUnitCount: "string",
|
|
68
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
69
|
+
* linkSequenceNumber: "string",
|
|
70
|
+
* pharmacyPrescriptionNumber: "string",
|
|
71
|
+
* conversionFormula: "string"
|
|
72
|
+
* },
|
|
73
|
+
* denialReason: {
|
|
74
|
+
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
75
|
+
* },
|
|
63
76
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
64
77
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
65
78
|
* procedureCode: "string",
|