candidhealth 0.34.5 → 0.34.9
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 +7 -2
- 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/claims/types/Claim.d.ts +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/api/resources/diagnoses/client/Client.js +237 -0
- package/api/resources/diagnoses/client/create.d.ts +22 -0
- package/api/resources/diagnoses/client/create.js +47 -0
- package/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/api/resources/diagnoses/client/delete.js +58 -0
- package/api/resources/diagnoses/client/index.d.ts +4 -0
- package/api/resources/diagnoses/client/index.js +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/api/resources/diagnoses/client/requests/index.js +2 -0
- package/api/resources/diagnoses/client/update.d.ts +28 -0
- package/api/resources/diagnoses/client/update.js +58 -0
- package/api/resources/diagnoses/index.d.ts +1 -0
- package/api/resources/diagnoses/index.js +1 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +27 -14
- package/api/resources/encounters/resources/v4/client/Client.js +32 -19
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -6
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -6
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +14 -4
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/individual/types/Patient.d.ts +11 -0
- package/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
- package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/api/resources/individual/types/index.d.ts +2 -0
- package/api/resources/individual/types/index.js +2 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
- package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +21 -6
- package/api/resources/serviceLines/resources/v2/client/Client.js +24 -9
- package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- 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/claims/types/Claim.d.ts +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/dist/api/resources/diagnoses/client/Client.js +237 -0
- package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
- package/dist/api/resources/diagnoses/client/create.js +47 -0
- package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/delete.js +58 -0
- package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
- package/dist/api/resources/diagnoses/client/index.js +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/update.js +58 -0
- package/dist/api/resources/diagnoses/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/index.js +1 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +27 -14
- package/dist/api/resources/encounters/resources/v4/client/Client.js +32 -19
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -6
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -6
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +14 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/individual/types/Patient.d.ts +11 -0
- package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
- package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/dist/api/resources/individual/types/index.d.ts +2 -0
- package/dist/api/resources/individual/types/index.js +2 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +21 -6
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +24 -9
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
- package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/dist/serialization/resources/diagnoses/client/index.js +32 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/update.js +61 -0
- package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/index.js +1 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- 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/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
- package/dist/serialization/resources/individual/types/index.d.ts +2 -0
- package/dist/serialization/resources/individual/types/index.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +322 -12
- package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/serialization/resources/diagnoses/client/delete.js +61 -0
- package/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/serialization/resources/diagnoses/client/index.js +32 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/serialization/resources/diagnoses/client/update.js +61 -0
- package/serialization/resources/diagnoses/index.d.ts +1 -0
- package/serialization/resources/diagnoses/index.js +1 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- 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/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
- package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientUpdate.js +2 -0
- package/serialization/resources/individual/types/index.d.ts +2 -0
- package/serialization/resources/individual/types/index.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts
CHANGED
|
@@ -128,7 +128,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
128
128
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
129
129
|
* linkSequenceNumber: "string",
|
|
130
130
|
* pharmacyPrescriptionNumber: "string",
|
|
131
|
-
* conversionFormula: "string"
|
|
131
|
+
* conversionFormula: "string",
|
|
132
|
+
* drugDescription: "string"
|
|
132
133
|
* },
|
|
133
134
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
134
135
|
* description: "string",
|
|
@@ -149,10 +150,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
149
150
|
* lastName: "string",
|
|
150
151
|
* organizationName: "string"
|
|
151
152
|
* },
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
153
|
+
* testResults: [{
|
|
154
|
+
* value: 1.1,
|
|
155
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
156
|
+
* }]
|
|
156
157
|
* }],
|
|
157
158
|
* externalClaimSubmission: {
|
|
158
159
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
@@ -237,7 +238,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
237
238
|
* dischargeDate: "2023-01-15",
|
|
238
239
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
239
240
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
240
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
241
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
242
|
+
* referralNumber: "string"
|
|
241
243
|
* }
|
|
242
244
|
*/
|
|
243
245
|
export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4.EncounterBase {
|
|
@@ -122,7 +122,11 @@ import * as CandidApi from "../../../../../../index";
|
|
|
122
122
|
* phoneConsent: true,
|
|
123
123
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
124
124
|
* emailConsent: true,
|
|
125
|
-
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
125
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
126
|
+
* nonInsurancePayersInfo: [{
|
|
127
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
128
|
+
* memberId: "string"
|
|
129
|
+
* }]
|
|
126
130
|
* },
|
|
127
131
|
* patientAuthorizedRelease: true,
|
|
128
132
|
* schemaInstances: [{
|
|
@@ -259,7 +263,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
259
263
|
* firstName: "string",
|
|
260
264
|
* lastName: "string",
|
|
261
265
|
* organizationName: "string"
|
|
262
|
-
* }
|
|
266
|
+
* },
|
|
267
|
+
* referralNumber: "string"
|
|
263
268
|
* }
|
|
264
269
|
*/
|
|
265
270
|
export interface EncounterUpdate {
|
|
@@ -466,4 +471,9 @@ export interface EncounterUpdate {
|
|
|
466
471
|
*
|
|
467
472
|
*/
|
|
468
473
|
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
|
|
474
|
+
/**
|
|
475
|
+
* Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
|
476
|
+
*
|
|
477
|
+
*/
|
|
478
|
+
referralNumber?: string;
|
|
469
479
|
}
|
|
@@ -74,10 +74,10 @@ import * as CandidApi from "../../../../../index";
|
|
|
74
74
|
* },
|
|
75
75
|
* dateOfService: "2023-01-01",
|
|
76
76
|
* endDateOfService: "2023-01-03",
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* testResults: [{
|
|
78
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
|
|
79
|
+
* value: 51
|
|
80
|
+
* }]
|
|
81
81
|
* }],
|
|
82
82
|
* eras: [{
|
|
83
83
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
@@ -98,6 +98,16 @@ import * as CandidApi from "../../../../../index";
|
|
|
98
98
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
99
99
|
* enabled: true
|
|
100
100
|
* }],
|
|
101
|
+
* nonInsurancePayersInfo: [{
|
|
102
|
+
* nonInsurancePayer: {
|
|
103
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
104
|
+
* name: "Sunrise Foundation",
|
|
105
|
+
* category: "Foundation",
|
|
106
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
107
|
+
* enabled: true
|
|
108
|
+
* },
|
|
109
|
+
* memberId: "123456789"
|
|
110
|
+
* }],
|
|
101
111
|
* phoneConsent: true,
|
|
102
112
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
103
113
|
* emailConsent: true,
|
|
@@ -106,4 +106,6 @@ export interface EncounterBase {
|
|
|
106
106
|
* Code indicating the reason why a request was delayed
|
|
107
107
|
*/
|
|
108
108
|
delayReasonCode?: CandidApi.DelayReasonCode;
|
|
109
|
+
/** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
|
|
110
|
+
referralNumber?: string;
|
|
109
111
|
}
|
|
@@ -75,10 +75,10 @@ import * as CandidApi from "../../../../../index";
|
|
|
75
75
|
* },
|
|
76
76
|
* dateOfService: "2023-01-01",
|
|
77
77
|
* endDateOfService: "2023-01-03",
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
78
|
+
* testResults: [{
|
|
79
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
|
|
80
|
+
* value: 51
|
|
81
|
+
* }]
|
|
82
82
|
* }],
|
|
83
83
|
* eras: [{
|
|
84
84
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
@@ -99,6 +99,16 @@ import * as CandidApi from "../../../../../index";
|
|
|
99
99
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
100
100
|
* enabled: true
|
|
101
101
|
* }],
|
|
102
|
+
* nonInsurancePayersInfo: [{
|
|
103
|
+
* nonInsurancePayer: {
|
|
104
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
105
|
+
* name: "Sunrise Foundation",
|
|
106
|
+
* category: "Foundation",
|
|
107
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
108
|
+
* enabled: true
|
|
109
|
+
* },
|
|
110
|
+
* memberId: "123456789"
|
|
111
|
+
* }],
|
|
102
112
|
* phoneConsent: true,
|
|
103
113
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
104
114
|
* emailConsent: true,
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.34.
|
|
82
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -96,7 +96,7 @@ class V2 {
|
|
|
96
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.34.
|
|
99
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -189,7 +189,7 @@ class V2 {
|
|
|
189
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
190
190
|
"X-Fern-Language": "JavaScript",
|
|
191
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
192
|
-
"X-Fern-SDK-Version": "0.34.
|
|
192
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
193
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
195
|
},
|
|
@@ -86,7 +86,7 @@ class V3 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.34.
|
|
89
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.34.
|
|
85
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.34.
|
|
71
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -131,7 +131,7 @@ class V3 {
|
|
|
131
131
|
Authorization: yield this._getAuthorizationHeader(),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "candidhealth",
|
|
134
|
-
"X-Fern-SDK-Version": "0.34.
|
|
134
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -274,7 +274,7 @@ class V3 {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "candidhealth",
|
|
277
|
-
"X-Fern-SDK-Version": "0.34.
|
|
277
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -401,7 +401,7 @@ class V3 {
|
|
|
401
401
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
402
|
"X-Fern-Language": "JavaScript",
|
|
403
403
|
"X-Fern-SDK-Name": "candidhealth",
|
|
404
|
-
"X-Fern-SDK-Version": "0.34.
|
|
404
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
407
407
|
},
|
|
@@ -449,7 +449,7 @@ class V3 {
|
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
|
450
450
|
"X-Fern-Language": "JavaScript",
|
|
451
451
|
"X-Fern-SDK-Name": "candidhealth",
|
|
452
|
-
"X-Fern-SDK-Version": "0.34.
|
|
452
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
453
453
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
454
454
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
455
455
|
},
|
|
@@ -531,7 +531,7 @@ class V3 {
|
|
|
531
531
|
Authorization: yield this._getAuthorizationHeader(),
|
|
532
532
|
"X-Fern-Language": "JavaScript",
|
|
533
533
|
"X-Fern-SDK-Name": "candidhealth",
|
|
534
|
-
"X-Fern-SDK-Version": "0.34.
|
|
534
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
537
537
|
},
|
|
@@ -596,7 +596,7 @@ class V3 {
|
|
|
596
596
|
Authorization: yield this._getAuthorizationHeader(),
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "candidhealth",
|
|
599
|
-
"X-Fern-SDK-Version": "0.34.
|
|
599
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
600
600
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
601
601
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
602
602
|
},
|
|
@@ -652,7 +652,7 @@ class V3 {
|
|
|
652
652
|
Authorization: yield this._getAuthorizationHeader(),
|
|
653
653
|
"X-Fern-Language": "JavaScript",
|
|
654
654
|
"X-Fern-SDK-Name": "candidhealth",
|
|
655
|
-
"X-Fern-SDK-Version": "0.34.
|
|
655
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
656
656
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
657
657
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
658
658
|
},
|
|
@@ -709,7 +709,7 @@ class V3 {
|
|
|
709
709
|
Authorization: yield this._getAuthorizationHeader(),
|
|
710
710
|
"X-Fern-Language": "JavaScript",
|
|
711
711
|
"X-Fern-SDK-Name": "candidhealth",
|
|
712
|
-
"X-Fern-SDK-Version": "0.34.
|
|
712
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
713
713
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
714
714
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
715
715
|
},
|
|
@@ -762,7 +762,7 @@ class V3 {
|
|
|
762
762
|
Authorization: yield this._getAuthorizationHeader(),
|
|
763
763
|
"X-Fern-Language": "JavaScript",
|
|
764
764
|
"X-Fern-SDK-Name": "candidhealth",
|
|
765
|
-
"X-Fern-SDK-Version": "0.34.
|
|
765
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
766
766
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
767
767
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
768
768
|
},
|
|
@@ -89,7 +89,7 @@ class V1 {
|
|
|
89
89
|
Authorization: yield this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.34.
|
|
92
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
93
93
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
94
94
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
95
95
|
},
|
|
@@ -152,7 +152,7 @@ class V1 {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "candidhealth",
|
|
155
|
-
"X-Fern-SDK-Version": "0.34.
|
|
155
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -220,7 +220,7 @@ class V1 {
|
|
|
220
220
|
Authorization: yield this._getAuthorizationHeader(),
|
|
221
221
|
"X-Fern-Language": "JavaScript",
|
|
222
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
223
|
-
"X-Fern-SDK-Version": "0.34.
|
|
223
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
224
224
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
225
225
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
226
226
|
},
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "candidhealth",
|
|
87
|
-
"X-Fern-SDK-Version": "0.34.
|
|
87
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -197,7 +197,7 @@ class V1 {
|
|
|
197
197
|
Authorization: yield this._getAuthorizationHeader(),
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
200
|
-
"X-Fern-SDK-Version": "0.34.
|
|
200
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
201
201
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
202
202
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
203
203
|
},
|
|
@@ -245,7 +245,7 @@ class V1 {
|
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
|
246
246
|
"X-Fern-Language": "JavaScript",
|
|
247
247
|
"X-Fern-SDK-Name": "candidhealth",
|
|
248
|
-
"X-Fern-SDK-Version": "0.34.
|
|
248
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
249
249
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
250
250
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
251
251
|
},
|
|
@@ -322,7 +322,7 @@ class V1 {
|
|
|
322
322
|
Authorization: yield this._getAuthorizationHeader(),
|
|
323
323
|
"X-Fern-Language": "JavaScript",
|
|
324
324
|
"X-Fern-SDK-Name": "candidhealth",
|
|
325
|
-
"X-Fern-SDK-Version": "0.34.
|
|
325
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
326
326
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
327
327
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
328
328
|
},
|
package/api/resources/index.d.ts
CHANGED
package/api/resources/index.js
CHANGED
|
@@ -84,3 +84,4 @@ __exportStar(require("./serviceFacility/types"), exports);
|
|
|
84
84
|
exports.tags = __importStar(require("./tags"));
|
|
85
85
|
__exportStar(require("./tags/types"), exports);
|
|
86
86
|
exports.eligibility = __importStar(require("./eligibility"));
|
|
87
|
+
__exportStar(require("./diagnoses/client/requests"), exports);
|
|
@@ -17,6 +17,16 @@ import * as CandidApi from "../../../index";
|
|
|
17
17
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
18
18
|
* enabled: true
|
|
19
19
|
* }],
|
|
20
|
+
* nonInsurancePayersInfo: [{
|
|
21
|
+
* nonInsurancePayer: {
|
|
22
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
23
|
+
* name: "Sunrise Foundation",
|
|
24
|
+
* category: "Foundation",
|
|
25
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
26
|
+
* enabled: true
|
|
27
|
+
* },
|
|
28
|
+
* memberId: "123456789"
|
|
29
|
+
* }],
|
|
20
30
|
* phoneConsent: true,
|
|
21
31
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
22
32
|
* emailConsent: true,
|
|
@@ -42,4 +52,5 @@ export interface Patient extends CandidApi.PatientBase {
|
|
|
42
52
|
email?: CandidApi.Email;
|
|
43
53
|
emailConsent: boolean;
|
|
44
54
|
nonInsurancePayers: CandidApi.nonInsurancePayers.v1.NonInsurancePayer[];
|
|
55
|
+
nonInsurancePayersInfo: CandidApi.PatientNonInsurancePayerInfo[];
|
|
45
56
|
}
|
|
@@ -8,6 +8,7 @@ export interface PatientCreate extends CandidApi.PatientBase {
|
|
|
8
8
|
phoneConsent?: boolean;
|
|
9
9
|
email?: CandidApi.Email;
|
|
10
10
|
nonInsurancePayers?: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId[];
|
|
11
|
+
nonInsurancePayersInfo?: CandidApi.PatientNonInsurancePayerInfoCreate[];
|
|
11
12
|
/** Defaults to false */
|
|
12
13
|
emailConsent?: boolean;
|
|
13
14
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* nonInsurancePayer: {
|
|
9
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
10
|
+
* name: "Sunrise Foundation",
|
|
11
|
+
* category: "Foundation",
|
|
12
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
13
|
+
* enabled: true
|
|
14
|
+
* },
|
|
15
|
+
* memberId: "123456789"
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
export interface PatientNonInsurancePayerInfo {
|
|
19
|
+
nonInsurancePayer: CandidApi.nonInsurancePayers.v1.NonInsurancePayer;
|
|
20
|
+
memberId?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export interface PatientNonInsurancePayerInfoCreate {
|
|
6
|
+
nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId;
|
|
7
|
+
memberId?: string;
|
|
8
|
+
}
|
|
@@ -18,4 +18,6 @@ export interface PatientUpdate {
|
|
|
18
18
|
emailConsent?: boolean;
|
|
19
19
|
/** On update, we will replace the existing list of non-insurance payers with the new list if populated. */
|
|
20
20
|
nonInsurancePayers?: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId[];
|
|
21
|
+
/** On update, we will replace the existing list of non-insurance payers with the new list if populated. */
|
|
22
|
+
nonInsurancePayersInfo?: CandidApi.PatientNonInsurancePayerInfoCreate[];
|
|
21
23
|
}
|
|
@@ -3,6 +3,8 @@ export * from "./IndividualBase";
|
|
|
3
3
|
export * from "./SubscriberBase";
|
|
4
4
|
export * from "./SubscriberCreate";
|
|
5
5
|
export * from "./Subscriber";
|
|
6
|
+
export * from "./PatientNonInsurancePayerInfoCreate";
|
|
7
|
+
export * from "./PatientNonInsurancePayerInfo";
|
|
6
8
|
export * from "./PatientCreate";
|
|
7
9
|
export * from "./PatientUpdate";
|
|
8
10
|
export * from "./PatientBase";
|
|
@@ -19,6 +19,8 @@ __exportStar(require("./IndividualBase"), exports);
|
|
|
19
19
|
__exportStar(require("./SubscriberBase"), exports);
|
|
20
20
|
__exportStar(require("./SubscriberCreate"), exports);
|
|
21
21
|
__exportStar(require("./Subscriber"), exports);
|
|
22
|
+
__exportStar(require("./PatientNonInsurancePayerInfoCreate"), exports);
|
|
23
|
+
__exportStar(require("./PatientNonInsurancePayerInfo"), exports);
|
|
22
24
|
__exportStar(require("./PatientCreate"), exports);
|
|
23
25
|
__exportStar(require("./PatientUpdate"), exports);
|
|
24
26
|
__exportStar(require("./PatientBase"), exports);
|
|
@@ -68,7 +68,7 @@ class V1 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.34.
|
|
71
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -152,7 +152,7 @@ class V1 {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "candidhealth",
|
|
155
|
-
"X-Fern-SDK-Version": "0.34.
|
|
155
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -216,7 +216,7 @@ class V1 {
|
|
|
216
216
|
Authorization: yield this._getAuthorizationHeader(),
|
|
217
217
|
"X-Fern-Language": "JavaScript",
|
|
218
218
|
"X-Fern-SDK-Name": "candidhealth",
|
|
219
|
-
"X-Fern-SDK-Version": "0.34.
|
|
219
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
220
220
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
221
221
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
222
222
|
},
|
|
@@ -103,7 +103,7 @@ class V1 {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.34.
|
|
106
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
107
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
109
|
},
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
Authorization: yield this._getAuthorizationHeader(),
|
|
168
168
|
"X-Fern-Language": "JavaScript",
|
|
169
169
|
"X-Fern-SDK-Name": "candidhealth",
|
|
170
|
-
"X-Fern-SDK-Version": "0.34.
|
|
170
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
171
171
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
172
172
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
173
173
|
},
|
|
@@ -245,7 +245,7 @@ class V1 {
|
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
|
246
246
|
"X-Fern-Language": "JavaScript",
|
|
247
247
|
"X-Fern-SDK-Name": "candidhealth",
|
|
248
|
-
"X-Fern-SDK-Version": "0.34.
|
|
248
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
249
249
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
250
250
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
251
251
|
},
|
|
@@ -319,7 +319,7 @@ class V1 {
|
|
|
319
319
|
Authorization: yield this._getAuthorizationHeader(),
|
|
320
320
|
"X-Fern-Language": "JavaScript",
|
|
321
321
|
"X-Fern-SDK-Name": "candidhealth",
|
|
322
|
-
"X-Fern-SDK-Version": "0.34.
|
|
322
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
323
323
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
324
324
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
325
325
|
},
|
|
@@ -387,7 +387,7 @@ class V1 {
|
|
|
387
387
|
Authorization: yield this._getAuthorizationHeader(),
|
|
388
388
|
"X-Fern-Language": "JavaScript",
|
|
389
389
|
"X-Fern-SDK-Name": "candidhealth",
|
|
390
|
-
"X-Fern-SDK-Version": "0.34.
|
|
390
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
393
393
|
},
|
|
@@ -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.34.
|
|
107
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -168,7 +168,7 @@ class V1 {
|
|
|
168
168
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
169
|
"X-Fern-Language": "JavaScript",
|
|
170
170
|
"X-Fern-SDK-Name": "candidhealth",
|
|
171
|
-
"X-Fern-SDK-Version": "0.34.
|
|
171
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
172
172
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
173
173
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
174
174
|
},
|
|
@@ -247,7 +247,7 @@ class V1 {
|
|
|
247
247
|
Authorization: yield this._getAuthorizationHeader(),
|
|
248
248
|
"X-Fern-Language": "JavaScript",
|
|
249
249
|
"X-Fern-SDK-Name": "candidhealth",
|
|
250
|
-
"X-Fern-SDK-Version": "0.34.
|
|
250
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
251
251
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
252
252
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
253
253
|
},
|
|
@@ -325,7 +325,7 @@ class V1 {
|
|
|
325
325
|
Authorization: yield this._getAuthorizationHeader(),
|
|
326
326
|
"X-Fern-Language": "JavaScript",
|
|
327
327
|
"X-Fern-SDK-Name": "candidhealth",
|
|
328
|
-
"X-Fern-SDK-Version": "0.34.
|
|
328
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
329
329
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
330
330
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
331
331
|
},
|
|
@@ -393,7 +393,7 @@ class V1 {
|
|
|
393
393
|
Authorization: yield this._getAuthorizationHeader(),
|
|
394
394
|
"X-Fern-Language": "JavaScript",
|
|
395
395
|
"X-Fern-SDK-Name": "candidhealth",
|
|
396
|
-
"X-Fern-SDK-Version": "0.34.
|
|
396
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
397
397
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
398
398
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
399
399
|
},
|
|
@@ -40,7 +40,8 @@ export declare class V1 {
|
|
|
40
40
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
41
41
|
* linkSequenceNumber: "string",
|
|
42
42
|
* pharmacyPrescriptionNumber: "string",
|
|
43
|
-
* conversionFormula: "string"
|
|
43
|
+
* conversionFormula: "string",
|
|
44
|
+
* drugDescription: "string"
|
|
44
45
|
* },
|
|
45
46
|
* description: "string",
|
|
46
47
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo]
|
|
@@ -67,7 +67,8 @@ class V1 {
|
|
|
67
67
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
68
68
|
* linkSequenceNumber: "string",
|
|
69
69
|
* pharmacyPrescriptionNumber: "string",
|
|
70
|
-
* conversionFormula: "string"
|
|
70
|
+
* conversionFormula: "string",
|
|
71
|
+
* drugDescription: "string"
|
|
71
72
|
* },
|
|
72
73
|
* description: "string",
|
|
73
74
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo]
|
|
@@ -84,7 +85,7 @@ class V1 {
|
|
|
84
85
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
86
|
"X-Fern-Language": "JavaScript",
|
|
86
87
|
"X-Fern-SDK-Name": "candidhealth",
|
|
87
|
-
"X-Fern-SDK-Version": "0.34.
|
|
88
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
88
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
91
|
},
|