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/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js
CHANGED
|
@@ -122,7 +122,7 @@ class V1 {
|
|
|
122
122
|
Authorization: yield this._getAuthorizationHeader(),
|
|
123
123
|
"X-Fern-Language": "JavaScript",
|
|
124
124
|
"X-Fern-SDK-Name": "candidhealth",
|
|
125
|
-
"X-Fern-SDK-Version": "0.34.
|
|
125
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
126
126
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
127
127
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
128
128
|
},
|
|
@@ -187,7 +187,7 @@ class V1 {
|
|
|
187
187
|
Authorization: yield this._getAuthorizationHeader(),
|
|
188
188
|
"X-Fern-Language": "JavaScript",
|
|
189
189
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.34.
|
|
190
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
191
191
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
192
192
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
193
193
|
},
|
|
@@ -248,7 +248,7 @@ class V1 {
|
|
|
248
248
|
Authorization: yield this._getAuthorizationHeader(),
|
|
249
249
|
"X-Fern-Language": "JavaScript",
|
|
250
250
|
"X-Fern-SDK-Name": "candidhealth",
|
|
251
|
-
"X-Fern-SDK-Version": "0.34.
|
|
251
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
252
252
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
253
253
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
254
254
|
},
|
|
@@ -365,7 +365,7 @@ class V1 {
|
|
|
365
365
|
Authorization: yield this._getAuthorizationHeader(),
|
|
366
366
|
"X-Fern-Language": "JavaScript",
|
|
367
367
|
"X-Fern-SDK-Name": "candidhealth",
|
|
368
|
-
"X-Fern-SDK-Version": "0.34.
|
|
368
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
369
369
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
370
370
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
371
371
|
},
|
|
@@ -435,7 +435,7 @@ class V1 {
|
|
|
435
435
|
Authorization: yield this._getAuthorizationHeader(),
|
|
436
436
|
"X-Fern-Language": "JavaScript",
|
|
437
437
|
"X-Fern-SDK-Name": "candidhealth",
|
|
438
|
-
"X-Fern-SDK-Version": "0.34.
|
|
438
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
439
439
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
440
440
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
441
441
|
},
|
|
@@ -484,7 +484,7 @@ class V1 {
|
|
|
484
484
|
Authorization: yield this._getAuthorizationHeader(),
|
|
485
485
|
"X-Fern-Language": "JavaScript",
|
|
486
486
|
"X-Fern-SDK-Name": "candidhealth",
|
|
487
|
-
"X-Fern-SDK-Version": "0.34.
|
|
487
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
488
488
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
489
489
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
490
490
|
},
|
|
@@ -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 CanonicalNonInsurancePayerAssociation {
|
|
6
|
+
id: CandidApi.preEncounter.CanonicalNonInsurancePayerId;
|
|
7
|
+
memberId?: string;
|
|
8
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./PatientId";
|
|
|
5
5
|
export * from "./CoverageId";
|
|
6
6
|
export * from "./AppointmentId";
|
|
7
7
|
export * from "./CanonicalProviderId";
|
|
8
|
+
export * from "./CanonicalNonInsurancePayerAssociation";
|
|
8
9
|
export * from "./CanonicalNonInsurancePayerId";
|
|
9
10
|
export * from "./Relationship";
|
|
10
11
|
export * from "./Gender";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./PatientId"), exports);
|
|
|
21
21
|
__exportStar(require("./CoverageId"), exports);
|
|
22
22
|
__exportStar(require("./AppointmentId"), exports);
|
|
23
23
|
__exportStar(require("./CanonicalProviderId"), exports);
|
|
24
|
+
__exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
|
|
24
25
|
__exportStar(require("./CanonicalNonInsurancePayerId"), exports);
|
|
25
26
|
__exportStar(require("./Relationship"), exports);
|
|
26
27
|
__exportStar(require("./Gender"), exports);
|
|
@@ -45,7 +45,23 @@ export declare class V1 {
|
|
|
45
45
|
* }
|
|
46
46
|
* },
|
|
47
47
|
* dateOfBirth: "2023-01-15",
|
|
48
|
-
* biologicalSex: CandidApi.preEncounter.Sex.Female
|
|
48
|
+
* biologicalSex: CandidApi.preEncounter.Sex.Female,
|
|
49
|
+
* address: {
|
|
50
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
51
|
+
* line: ["string"],
|
|
52
|
+
* city: "string",
|
|
53
|
+
* state: "string",
|
|
54
|
+
* postalCode: "string",
|
|
55
|
+
* country: "string",
|
|
56
|
+
* period: {
|
|
57
|
+
* start: {
|
|
58
|
+
* "key": "value"
|
|
59
|
+
* },
|
|
60
|
+
* end: {
|
|
61
|
+
* "key": "value"
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
49
65
|
* },
|
|
50
66
|
* relationship: CandidApi.preEncounter.Relationship.Self,
|
|
51
67
|
* patient: CandidApi.preEncounter.PatientId("string"),
|
|
@@ -123,7 +139,23 @@ export declare class V1 {
|
|
|
123
139
|
* }
|
|
124
140
|
* },
|
|
125
141
|
* dateOfBirth: "2023-01-15",
|
|
126
|
-
* biologicalSex: CandidApi.preEncounter.Sex.Female
|
|
142
|
+
* biologicalSex: CandidApi.preEncounter.Sex.Female,
|
|
143
|
+
* address: {
|
|
144
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
145
|
+
* line: ["string"],
|
|
146
|
+
* city: "string",
|
|
147
|
+
* state: "string",
|
|
148
|
+
* postalCode: "string",
|
|
149
|
+
* country: "string",
|
|
150
|
+
* period: {
|
|
151
|
+
* start: {
|
|
152
|
+
* "key": "value"
|
|
153
|
+
* },
|
|
154
|
+
* end: {
|
|
155
|
+
* "key": "value"
|
|
156
|
+
* }
|
|
157
|
+
* }
|
|
158
|
+
* }
|
|
127
159
|
* },
|
|
128
160
|
* relationship: CandidApi.preEncounter.Relationship.Self,
|
|
129
161
|
* patient: CandidApi.preEncounter.PatientId("string"),
|
|
@@ -72,7 +72,23 @@ class V1 {
|
|
|
72
72
|
* }
|
|
73
73
|
* },
|
|
74
74
|
* dateOfBirth: "2023-01-15",
|
|
75
|
-
* biologicalSex: CandidApi.preEncounter.Sex.Female
|
|
75
|
+
* biologicalSex: CandidApi.preEncounter.Sex.Female,
|
|
76
|
+
* address: {
|
|
77
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
78
|
+
* line: ["string"],
|
|
79
|
+
* city: "string",
|
|
80
|
+
* state: "string",
|
|
81
|
+
* postalCode: "string",
|
|
82
|
+
* country: "string",
|
|
83
|
+
* period: {
|
|
84
|
+
* start: {
|
|
85
|
+
* "key": "value"
|
|
86
|
+
* },
|
|
87
|
+
* end: {
|
|
88
|
+
* "key": "value"
|
|
89
|
+
* }
|
|
90
|
+
* }
|
|
91
|
+
* }
|
|
76
92
|
* },
|
|
77
93
|
* relationship: CandidApi.preEncounter.Relationship.Self,
|
|
78
94
|
* patient: CandidApi.preEncounter.PatientId("string"),
|
|
@@ -134,7 +150,7 @@ class V1 {
|
|
|
134
150
|
Authorization: yield this._getAuthorizationHeader(),
|
|
135
151
|
"X-Fern-Language": "JavaScript",
|
|
136
152
|
"X-Fern-SDK-Name": "candidhealth",
|
|
137
|
-
"X-Fern-SDK-Version": "0.34.
|
|
153
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
138
154
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
139
155
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
140
156
|
},
|
|
@@ -190,7 +206,23 @@ class V1 {
|
|
|
190
206
|
* }
|
|
191
207
|
* },
|
|
192
208
|
* dateOfBirth: "2023-01-15",
|
|
193
|
-
* biologicalSex: CandidApi.preEncounter.Sex.Female
|
|
209
|
+
* biologicalSex: CandidApi.preEncounter.Sex.Female,
|
|
210
|
+
* address: {
|
|
211
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
212
|
+
* line: ["string"],
|
|
213
|
+
* city: "string",
|
|
214
|
+
* state: "string",
|
|
215
|
+
* postalCode: "string",
|
|
216
|
+
* country: "string",
|
|
217
|
+
* period: {
|
|
218
|
+
* start: {
|
|
219
|
+
* "key": "value"
|
|
220
|
+
* },
|
|
221
|
+
* end: {
|
|
222
|
+
* "key": "value"
|
|
223
|
+
* }
|
|
224
|
+
* }
|
|
225
|
+
* }
|
|
194
226
|
* },
|
|
195
227
|
* relationship: CandidApi.preEncounter.Relationship.Self,
|
|
196
228
|
* patient: CandidApi.preEncounter.PatientId("string"),
|
|
@@ -252,7 +284,7 @@ class V1 {
|
|
|
252
284
|
Authorization: yield this._getAuthorizationHeader(),
|
|
253
285
|
"X-Fern-Language": "JavaScript",
|
|
254
286
|
"X-Fern-SDK-Name": "candidhealth",
|
|
255
|
-
"X-Fern-SDK-Version": "0.34.
|
|
287
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
256
288
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
257
289
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
258
290
|
},
|
|
@@ -317,7 +349,7 @@ class V1 {
|
|
|
317
349
|
Authorization: yield this._getAuthorizationHeader(),
|
|
318
350
|
"X-Fern-Language": "JavaScript",
|
|
319
351
|
"X-Fern-SDK-Name": "candidhealth",
|
|
320
|
-
"X-Fern-SDK-Version": "0.34.
|
|
352
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
321
353
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
322
354
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
323
355
|
},
|
|
@@ -364,7 +396,7 @@ class V1 {
|
|
|
364
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
365
397
|
"X-Fern-Language": "JavaScript",
|
|
366
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
367
|
-
"X-Fern-SDK-Version": "0.34.
|
|
399
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
368
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
369
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
370
402
|
},
|
|
@@ -432,7 +464,7 @@ class V1 {
|
|
|
432
464
|
Authorization: yield this._getAuthorizationHeader(),
|
|
433
465
|
"X-Fern-Language": "JavaScript",
|
|
434
466
|
"X-Fern-SDK-Name": "candidhealth",
|
|
435
|
-
"X-Fern-SDK-Version": "0.34.
|
|
467
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
436
468
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
437
469
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
438
470
|
},
|
|
@@ -485,7 +517,7 @@ class V1 {
|
|
|
485
517
|
Authorization: yield this._getAuthorizationHeader(),
|
|
486
518
|
"X-Fern-Language": "JavaScript",
|
|
487
519
|
"X-Fern-SDK-Name": "candidhealth",
|
|
488
|
-
"X-Fern-SDK-Version": "0.34.
|
|
520
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
489
521
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
490
522
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
491
523
|
},
|
|
@@ -538,7 +570,7 @@ class V1 {
|
|
|
538
570
|
Authorization: yield this._getAuthorizationHeader(),
|
|
539
571
|
"X-Fern-Language": "JavaScript",
|
|
540
572
|
"X-Fern-SDK-Name": "candidhealth",
|
|
541
|
-
"X-Fern-SDK-Version": "0.34.
|
|
573
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
542
574
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
543
575
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
544
576
|
},
|
|
@@ -589,7 +621,7 @@ class V1 {
|
|
|
589
621
|
Authorization: yield this._getAuthorizationHeader(),
|
|
590
622
|
"X-Fern-Language": "JavaScript",
|
|
591
623
|
"X-Fern-SDK-Name": "candidhealth",
|
|
592
|
-
"X-Fern-SDK-Version": "0.34.
|
|
624
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
593
625
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
594
626
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
595
627
|
},
|
|
@@ -91,7 +91,7 @@ class V1 {
|
|
|
91
91
|
Authorization: yield this._getAuthorizationHeader(),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "0.34.
|
|
94
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
95
95
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
96
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
97
|
},
|
|
@@ -176,7 +176,7 @@ class V1 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.34.
|
|
179
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -210,6 +210,12 @@ export declare class V1 {
|
|
|
210
210
|
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
211
211
|
* },
|
|
212
212
|
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
213
|
+
* nonInsurancePayerAssociations: [{
|
|
214
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
|
|
215
|
+
* memberId: {
|
|
216
|
+
* "key": "value"
|
|
217
|
+
* }
|
|
218
|
+
* }],
|
|
213
219
|
* guarantor: {
|
|
214
220
|
* name: {
|
|
215
221
|
* family: "string",
|
|
@@ -314,7 +320,8 @@ export declare class V1 {
|
|
|
314
320
|
* notes: {
|
|
315
321
|
* "key": "value"
|
|
316
322
|
* }
|
|
317
|
-
* }]
|
|
323
|
+
* }],
|
|
324
|
+
* primaryServiceFacilityId: "string"
|
|
318
325
|
* }
|
|
319
326
|
* })
|
|
320
327
|
*/
|
|
@@ -544,6 +551,12 @@ export declare class V1 {
|
|
|
544
551
|
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
545
552
|
* },
|
|
546
553
|
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
554
|
+
* nonInsurancePayerAssociations: [{
|
|
555
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
|
|
556
|
+
* memberId: {
|
|
557
|
+
* "key": "value"
|
|
558
|
+
* }
|
|
559
|
+
* }],
|
|
547
560
|
* guarantor: {
|
|
548
561
|
* name: {
|
|
549
562
|
* family: "string",
|
|
@@ -648,7 +661,8 @@ export declare class V1 {
|
|
|
648
661
|
* notes: {
|
|
649
662
|
* "key": "value"
|
|
650
663
|
* }
|
|
651
|
-
* }]
|
|
664
|
+
* }],
|
|
665
|
+
* primaryServiceFacilityId: "string"
|
|
652
666
|
* })
|
|
653
667
|
*/
|
|
654
668
|
update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
|
|
@@ -237,6 +237,12 @@ class V1 {
|
|
|
237
237
|
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
238
238
|
* },
|
|
239
239
|
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
240
|
+
* nonInsurancePayerAssociations: [{
|
|
241
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
|
|
242
|
+
* memberId: {
|
|
243
|
+
* "key": "value"
|
|
244
|
+
* }
|
|
245
|
+
* }],
|
|
240
246
|
* guarantor: {
|
|
241
247
|
* name: {
|
|
242
248
|
* family: "string",
|
|
@@ -341,7 +347,8 @@ class V1 {
|
|
|
341
347
|
* notes: {
|
|
342
348
|
* "key": "value"
|
|
343
349
|
* }
|
|
344
|
-
* }]
|
|
350
|
+
* }],
|
|
351
|
+
* primaryServiceFacilityId: "string"
|
|
345
352
|
* }
|
|
346
353
|
* })
|
|
347
354
|
*/
|
|
@@ -361,7 +368,7 @@ class V1 {
|
|
|
361
368
|
Authorization: yield this._getAuthorizationHeader(),
|
|
362
369
|
"X-Fern-Language": "JavaScript",
|
|
363
370
|
"X-Fern-SDK-Name": "candidhealth",
|
|
364
|
-
"X-Fern-SDK-Version": "0.34.
|
|
371
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
365
372
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
366
373
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
367
374
|
},
|
|
@@ -450,7 +457,7 @@ class V1 {
|
|
|
450
457
|
Authorization: yield this._getAuthorizationHeader(),
|
|
451
458
|
"X-Fern-Language": "JavaScript",
|
|
452
459
|
"X-Fern-SDK-Name": "candidhealth",
|
|
453
|
-
"X-Fern-SDK-Version": "0.34.
|
|
460
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
454
461
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
455
462
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
456
463
|
},
|
|
@@ -498,7 +505,7 @@ class V1 {
|
|
|
498
505
|
Authorization: yield this._getAuthorizationHeader(),
|
|
499
506
|
"X-Fern-Language": "JavaScript",
|
|
500
507
|
"X-Fern-SDK-Name": "candidhealth",
|
|
501
|
-
"X-Fern-SDK-Version": "0.34.
|
|
508
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
502
509
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
503
510
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
504
511
|
},
|
|
@@ -559,7 +566,7 @@ class V1 {
|
|
|
559
566
|
Authorization: yield this._getAuthorizationHeader(),
|
|
560
567
|
"X-Fern-Language": "JavaScript",
|
|
561
568
|
"X-Fern-SDK-Name": "candidhealth",
|
|
562
|
-
"X-Fern-SDK-Version": "0.34.
|
|
569
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
563
570
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
564
571
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
565
572
|
},
|
|
@@ -789,6 +796,12 @@ class V1 {
|
|
|
789
796
|
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
790
797
|
* },
|
|
791
798
|
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
799
|
+
* nonInsurancePayerAssociations: [{
|
|
800
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
|
|
801
|
+
* memberId: {
|
|
802
|
+
* "key": "value"
|
|
803
|
+
* }
|
|
804
|
+
* }],
|
|
792
805
|
* guarantor: {
|
|
793
806
|
* name: {
|
|
794
807
|
* family: "string",
|
|
@@ -893,7 +906,8 @@ class V1 {
|
|
|
893
906
|
* notes: {
|
|
894
907
|
* "key": "value"
|
|
895
908
|
* }
|
|
896
|
-
* }]
|
|
909
|
+
* }],
|
|
910
|
+
* primaryServiceFacilityId: "string"
|
|
897
911
|
* })
|
|
898
912
|
*/
|
|
899
913
|
update(id, version, request, requestOptions) {
|
|
@@ -907,7 +921,7 @@ class V1 {
|
|
|
907
921
|
Authorization: yield this._getAuthorizationHeader(),
|
|
908
922
|
"X-Fern-Language": "JavaScript",
|
|
909
923
|
"X-Fern-SDK-Name": "candidhealth",
|
|
910
|
-
"X-Fern-SDK-Version": "0.34.
|
|
924
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
911
925
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
912
926
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
913
927
|
},
|
|
@@ -973,7 +987,7 @@ class V1 {
|
|
|
973
987
|
Authorization: yield this._getAuthorizationHeader(),
|
|
974
988
|
"X-Fern-Language": "JavaScript",
|
|
975
989
|
"X-Fern-SDK-Name": "candidhealth",
|
|
976
|
-
"X-Fern-SDK-Version": "0.34.
|
|
990
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
977
991
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
978
992
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
979
993
|
},
|
|
@@ -1041,7 +1055,7 @@ class V1 {
|
|
|
1041
1055
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1042
1056
|
"X-Fern-Language": "JavaScript",
|
|
1043
1057
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1044
|
-
"X-Fern-SDK-Version": "0.34.
|
|
1058
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
1045
1059
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1046
1060
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1047
1061
|
},
|
|
@@ -1094,7 +1108,7 @@ class V1 {
|
|
|
1094
1108
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1095
1109
|
"X-Fern-Language": "JavaScript",
|
|
1096
1110
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1097
|
-
"X-Fern-SDK-Version": "0.34.
|
|
1111
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
1098
1112
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1099
1113
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1100
1114
|
},
|
|
@@ -186,6 +186,12 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
186
186
|
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
187
187
|
* },
|
|
188
188
|
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
189
|
+
* nonInsurancePayerAssociations: [{
|
|
190
|
+
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
|
|
191
|
+
* memberId: {
|
|
192
|
+
* "key": "value"
|
|
193
|
+
* }
|
|
194
|
+
* }],
|
|
189
195
|
* guarantor: {
|
|
190
196
|
* name: {
|
|
191
197
|
* family: "string",
|
|
@@ -290,7 +296,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
290
296
|
* notes: {
|
|
291
297
|
* "key": "value"
|
|
292
298
|
* }
|
|
293
|
-
* }]
|
|
299
|
+
* }],
|
|
300
|
+
* primaryServiceFacilityId: "string"
|
|
294
301
|
* }
|
|
295
302
|
* }
|
|
296
303
|
*/
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
export interface Guarantor {
|
|
6
6
|
name: CandidApi.preEncounter.HumanName;
|
|
7
|
-
telecom
|
|
7
|
+
telecom?: CandidApi.preEncounter.ContactPoint;
|
|
8
8
|
email?: string;
|
|
9
9
|
birthDate: string;
|
|
10
10
|
address: CandidApi.preEncounter.Address;
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts
CHANGED
|
@@ -43,8 +43,10 @@ export interface MutablePatient {
|
|
|
43
43
|
generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
|
|
44
44
|
filingOrder: CandidApi.preEncounter.patients.v1.FilingOrder;
|
|
45
45
|
nonInsurancePayers?: CandidApi.preEncounter.CanonicalNonInsurancePayerId[];
|
|
46
|
+
nonInsurancePayerAssociations?: CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation[];
|
|
46
47
|
guarantor?: CandidApi.preEncounter.patients.v1.Guarantor;
|
|
47
48
|
selfPay?: boolean;
|
|
48
49
|
authorizations?: CandidApi.preEncounter.patients.v1.Authorization[];
|
|
49
50
|
referrals?: CandidApi.preEncounter.patients.v1.Referral[];
|
|
51
|
+
primaryServiceFacilityId?: string;
|
|
50
52
|
}
|
|
@@ -77,7 +77,7 @@ class ServiceFacility {
|
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "candidhealth",
|
|
80
|
-
"X-Fern-SDK-Version": "0.34.
|
|
80
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
81
81
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
82
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
83
|
},
|
|
@@ -43,7 +43,21 @@ export declare class V2 {
|
|
|
43
43
|
* claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
44
44
|
* description: "string",
|
|
45
45
|
* dateOfService: "2023-01-15",
|
|
46
|
-
* endDateOfService: "2023-01-15"
|
|
46
|
+
* endDateOfService: "2023-01-15",
|
|
47
|
+
* drugIdentification: {
|
|
48
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
49
|
+
* nationalDrugCode: "string",
|
|
50
|
+
* nationalDrugUnitCount: "string",
|
|
51
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
52
|
+
* linkSequenceNumber: "string",
|
|
53
|
+
* pharmacyPrescriptionNumber: "string",
|
|
54
|
+
* conversionFormula: "string",
|
|
55
|
+
* drugDescription: "string"
|
|
56
|
+
* },
|
|
57
|
+
* testResults: [{
|
|
58
|
+
* value: 1.1,
|
|
59
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
60
|
+
* }]
|
|
47
61
|
* })
|
|
48
62
|
*/
|
|
49
63
|
create(request: CandidApi.serviceLines.v2.ServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.create.Error>>;
|
|
@@ -68,7 +82,8 @@ export declare class V2 {
|
|
|
68
82
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
69
83
|
* linkSequenceNumber: "string",
|
|
70
84
|
* pharmacyPrescriptionNumber: "string",
|
|
71
|
-
* conversionFormula: "string"
|
|
85
|
+
* conversionFormula: "string",
|
|
86
|
+
* drugDescription: "string"
|
|
72
87
|
* },
|
|
73
88
|
* denialReason: {
|
|
74
89
|
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
@@ -80,10 +95,10 @@ export declare class V2 {
|
|
|
80
95
|
* description: "string",
|
|
81
96
|
* dateOfService: "2023-01-15",
|
|
82
97
|
* endDateOfService: "2023-01-15",
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
98
|
+
* testResults: [{
|
|
99
|
+
* value: 1.1,
|
|
100
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
101
|
+
* }]
|
|
87
102
|
* })
|
|
88
103
|
*/
|
|
89
104
|
update(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.serviceLines.v2.ServiceLineUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.update.Error>>;
|
|
@@ -70,7 +70,21 @@ class V2 {
|
|
|
70
70
|
* claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
71
71
|
* description: "string",
|
|
72
72
|
* dateOfService: "2023-01-15",
|
|
73
|
-
* endDateOfService: "2023-01-15"
|
|
73
|
+
* endDateOfService: "2023-01-15",
|
|
74
|
+
* drugIdentification: {
|
|
75
|
+
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
76
|
+
* nationalDrugCode: "string",
|
|
77
|
+
* nationalDrugUnitCount: "string",
|
|
78
|
+
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
79
|
+
* linkSequenceNumber: "string",
|
|
80
|
+
* pharmacyPrescriptionNumber: "string",
|
|
81
|
+
* conversionFormula: "string",
|
|
82
|
+
* drugDescription: "string"
|
|
83
|
+
* },
|
|
84
|
+
* testResults: [{
|
|
85
|
+
* value: 1.1,
|
|
86
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
87
|
+
* }]
|
|
74
88
|
* })
|
|
75
89
|
*/
|
|
76
90
|
create(request, requestOptions) {
|
|
@@ -84,7 +98,7 @@ class V2 {
|
|
|
84
98
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
99
|
"X-Fern-Language": "JavaScript",
|
|
86
100
|
"X-Fern-SDK-Name": "candidhealth",
|
|
87
|
-
"X-Fern-SDK-Version": "0.34.
|
|
101
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
88
102
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
103
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
104
|
},
|
|
@@ -149,7 +163,8 @@ class V2 {
|
|
|
149
163
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
150
164
|
* linkSequenceNumber: "string",
|
|
151
165
|
* pharmacyPrescriptionNumber: "string",
|
|
152
|
-
* conversionFormula: "string"
|
|
166
|
+
* conversionFormula: "string",
|
|
167
|
+
* drugDescription: "string"
|
|
153
168
|
* },
|
|
154
169
|
* denialReason: {
|
|
155
170
|
* reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
|
|
@@ -161,10 +176,10 @@ class V2 {
|
|
|
161
176
|
* description: "string",
|
|
162
177
|
* dateOfService: "2023-01-15",
|
|
163
178
|
* endDateOfService: "2023-01-15",
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
179
|
+
* testResults: [{
|
|
180
|
+
* value: 1.1,
|
|
181
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
182
|
+
* }]
|
|
168
183
|
* })
|
|
169
184
|
*/
|
|
170
185
|
update(serviceLineId, request, requestOptions) {
|
|
@@ -178,7 +193,7 @@ class V2 {
|
|
|
178
193
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
194
|
"X-Fern-Language": "JavaScript",
|
|
180
195
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.34.
|
|
196
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
182
197
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
198
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
199
|
},
|
|
@@ -242,7 +257,7 @@ class V2 {
|
|
|
242
257
|
Authorization: yield this._getAuthorizationHeader(),
|
|
243
258
|
"X-Fern-Language": "JavaScript",
|
|
244
259
|
"X-Fern-SDK-Name": "candidhealth",
|
|
245
|
-
"X-Fern-SDK-Version": "0.34.
|
|
260
|
+
"X-Fern-SDK-Version": "0.34.9",
|
|
246
261
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
247
262
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
248
263
|
},
|