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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TestResultType: core.serialization.Schema<serializers.serviceLines.v2.TestResultType.Raw, CandidApi.serviceLines.v2.TestResultType>;
|
|
8
|
+
export declare namespace TestResultType {
|
|
9
|
+
type Raw = "HEMATOCRIT" | "HEMOGLOBIN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestResultType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TestResultType = core.serialization.enum_(["HEMATOCRIT", "HEMOGLOBIN"]);
|
|
@@ -7,6 +7,7 @@ export * from "./ServiceLineAdjustment";
|
|
|
7
7
|
export * from "./ServiceLineDenialReason";
|
|
8
8
|
export * from "./DenialReasonContent";
|
|
9
9
|
export * from "./DrugIdentification";
|
|
10
|
+
export * from "./TestResultType";
|
|
10
11
|
export * from "./TestResult";
|
|
11
12
|
export * from "./ServiceIdQualifier";
|
|
12
13
|
export * from "./MeasurementUnitCode";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./ServiceLineAdjustment"), exports);
|
|
|
23
23
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
24
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
25
25
|
__exportStar(require("./DrugIdentification"), exports);
|
|
26
|
+
__exportStar(require("./TestResultType"), exports);
|
|
26
27
|
__exportStar(require("./TestResult"), exports);
|
|
27
28
|
__exportStar(require("./ServiceIdQualifier"), exports);
|
|
28
29
|
__exportStar(require("./MeasurementUnitCode"), exports);
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1903,6 +1903,12 @@ await client.encounters.v4.create({
|
|
|
1903
1903
|
phoneConsent: true,
|
|
1904
1904
|
email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
1905
1905
|
nonInsurancePayers: [CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
1906
|
+
nonInsurancePayersInfo: [
|
|
1907
|
+
{
|
|
1908
|
+
nonInsurancePayerId: CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
1909
|
+
memberId: "string",
|
|
1910
|
+
},
|
|
1911
|
+
],
|
|
1906
1912
|
emailConsent: true,
|
|
1907
1913
|
externalId: "string",
|
|
1908
1914
|
dateOfBirth: "2023-01-15",
|
|
@@ -2132,6 +2138,7 @@ await client.encounters.v4.create({
|
|
|
2132
2138
|
linkSequenceNumber: "string",
|
|
2133
2139
|
pharmacyPrescriptionNumber: "string",
|
|
2134
2140
|
conversionFormula: "string",
|
|
2141
|
+
drugDescription: "string",
|
|
2135
2142
|
},
|
|
2136
2143
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
2137
2144
|
description: "string",
|
|
@@ -2152,10 +2159,12 @@ await client.encounters.v4.create({
|
|
|
2152
2159
|
lastName: "string",
|
|
2153
2160
|
organizationName: "string",
|
|
2154
2161
|
},
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2162
|
+
testResults: [
|
|
2163
|
+
{
|
|
2164
|
+
value: 1.1,
|
|
2165
|
+
resultType: CandidApi.TestResultType.Hematocrit,
|
|
2166
|
+
},
|
|
2167
|
+
],
|
|
2159
2168
|
},
|
|
2160
2169
|
],
|
|
2161
2170
|
guarantor: {
|
|
@@ -2277,6 +2286,7 @@ await client.encounters.v4.create({
|
|
|
2277
2286
|
onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
2278
2287
|
lastMenstrualPeriodDate: "2023-01-15",
|
|
2279
2288
|
delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
2289
|
+
referralNumber: "string",
|
|
2280
2290
|
});
|
|
2281
2291
|
```
|
|
2282
2292
|
|
|
@@ -2498,6 +2508,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
2498
2508
|
linkSequenceNumber: "string",
|
|
2499
2509
|
pharmacyPrescriptionNumber: "string",
|
|
2500
2510
|
conversionFormula: "string",
|
|
2511
|
+
drugDescription: "string",
|
|
2501
2512
|
},
|
|
2502
2513
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
2503
2514
|
description: "string",
|
|
@@ -2518,10 +2529,12 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
2518
2529
|
lastName: "string",
|
|
2519
2530
|
organizationName: "string",
|
|
2520
2531
|
},
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2532
|
+
testResults: [
|
|
2533
|
+
{
|
|
2534
|
+
value: 1.1,
|
|
2535
|
+
resultType: CandidApi.TestResultType.Hematocrit,
|
|
2536
|
+
},
|
|
2537
|
+
],
|
|
2525
2538
|
},
|
|
2526
2539
|
],
|
|
2527
2540
|
externalClaimSubmission: {
|
|
@@ -2620,6 +2633,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
2620
2633
|
onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
2621
2634
|
lastMenstrualPeriodDate: "2023-01-15",
|
|
2622
2635
|
delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
2636
|
+
referralNumber: "string",
|
|
2623
2637
|
});
|
|
2624
2638
|
```
|
|
2625
2639
|
|
|
@@ -2793,6 +2807,12 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
|
|
|
2793
2807
|
email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
2794
2808
|
emailConsent: true,
|
|
2795
2809
|
nonInsurancePayers: [CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
2810
|
+
nonInsurancePayersInfo: [
|
|
2811
|
+
{
|
|
2812
|
+
nonInsurancePayerId: CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
2813
|
+
memberId: "string",
|
|
2814
|
+
},
|
|
2815
|
+
],
|
|
2796
2816
|
},
|
|
2797
2817
|
patientAuthorizedRelease: true,
|
|
2798
2818
|
schemaInstances: [
|
|
@@ -2936,6 +2956,7 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
|
|
|
2936
2956
|
lastName: "string",
|
|
2937
2957
|
organizationName: "string",
|
|
2938
2958
|
},
|
|
2959
|
+
referralNumber: "string",
|
|
2939
2960
|
});
|
|
2940
2961
|
```
|
|
2941
2962
|
|
|
@@ -5641,6 +5662,7 @@ await client.medicationDispense.v1.create({
|
|
|
5641
5662
|
linkSequenceNumber: "string",
|
|
5642
5663
|
pharmacyPrescriptionNumber: "string",
|
|
5643
5664
|
conversionFormula: "string",
|
|
5665
|
+
drugDescription: "string",
|
|
5644
5666
|
},
|
|
5645
5667
|
description: "string",
|
|
5646
5668
|
modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
@@ -6407,6 +6429,14 @@ await client.nonInsurancePayers.v1.create({
|
|
|
6407
6429
|
name: "string",
|
|
6408
6430
|
description: "string",
|
|
6409
6431
|
category: "string",
|
|
6432
|
+
address: {
|
|
6433
|
+
address1: "123 Main St",
|
|
6434
|
+
address2: "Apt 1",
|
|
6435
|
+
city: "New York",
|
|
6436
|
+
state: CandidApi.State.Ny,
|
|
6437
|
+
zipCode: "10001",
|
|
6438
|
+
zipPlusFourCode: "1234",
|
|
6439
|
+
},
|
|
6410
6440
|
});
|
|
6411
6441
|
```
|
|
6412
6442
|
|
|
@@ -6628,6 +6658,9 @@ await client.nonInsurancePayers.v1.update(CandidApi.NonInsurancePayerId("d5e9c84
|
|
|
6628
6658
|
category: {
|
|
6629
6659
|
type: "remove",
|
|
6630
6660
|
},
|
|
6661
|
+
address: {
|
|
6662
|
+
type: "remove",
|
|
6663
|
+
},
|
|
6631
6664
|
});
|
|
6632
6665
|
```
|
|
6633
6666
|
|
|
@@ -8177,6 +8210,22 @@ await client.serviceLines.v2.create({
|
|
|
8177
8210
|
description: "string",
|
|
8178
8211
|
dateOfService: "2023-01-15",
|
|
8179
8212
|
endDateOfService: "2023-01-15",
|
|
8213
|
+
drugIdentification: {
|
|
8214
|
+
serviceIdQualifier: CandidApi.ServiceIdQualifier.EanUcc13,
|
|
8215
|
+
nationalDrugCode: "string",
|
|
8216
|
+
nationalDrugUnitCount: "string",
|
|
8217
|
+
measurementUnitCode: CandidApi.MeasurementUnitCode.Milliliters,
|
|
8218
|
+
linkSequenceNumber: "string",
|
|
8219
|
+
pharmacyPrescriptionNumber: "string",
|
|
8220
|
+
conversionFormula: "string",
|
|
8221
|
+
drugDescription: "string",
|
|
8222
|
+
},
|
|
8223
|
+
testResults: [
|
|
8224
|
+
{
|
|
8225
|
+
value: 1.1,
|
|
8226
|
+
resultType: CandidApi.TestResultType.Hematocrit,
|
|
8227
|
+
},
|
|
8228
|
+
],
|
|
8180
8229
|
});
|
|
8181
8230
|
```
|
|
8182
8231
|
|
|
@@ -8241,6 +8290,7 @@ await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-
|
|
|
8241
8290
|
linkSequenceNumber: "string",
|
|
8242
8291
|
pharmacyPrescriptionNumber: "string",
|
|
8243
8292
|
conversionFormula: "string",
|
|
8293
|
+
drugDescription: "string",
|
|
8244
8294
|
},
|
|
8245
8295
|
denialReason: {
|
|
8246
8296
|
reason: CandidApi.DenialReasonContent.AuthorizationRequired,
|
|
@@ -8252,10 +8302,12 @@ await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-
|
|
|
8252
8302
|
description: "string",
|
|
8253
8303
|
dateOfService: "2023-01-15",
|
|
8254
8304
|
endDateOfService: "2023-01-15",
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8305
|
+
testResults: [
|
|
8306
|
+
{
|
|
8307
|
+
value: 1.1,
|
|
8308
|
+
resultType: CandidApi.TestResultType.Hematocrit,
|
|
8309
|
+
},
|
|
8310
|
+
],
|
|
8259
8311
|
});
|
|
8260
8312
|
```
|
|
8261
8313
|
|
|
@@ -9474,6 +9526,22 @@ await client.preEncounter.coverages.v1.create({
|
|
|
9474
9526
|
},
|
|
9475
9527
|
dateOfBirth: "2023-01-15",
|
|
9476
9528
|
biologicalSex: CandidApi.Sex.Female,
|
|
9529
|
+
address: {
|
|
9530
|
+
use: CandidApi.AddressUse.Home,
|
|
9531
|
+
line: ["string"],
|
|
9532
|
+
city: "string",
|
|
9533
|
+
state: "string",
|
|
9534
|
+
postalCode: "string",
|
|
9535
|
+
country: "string",
|
|
9536
|
+
period: {
|
|
9537
|
+
start: {
|
|
9538
|
+
key: "value",
|
|
9539
|
+
},
|
|
9540
|
+
end: {
|
|
9541
|
+
key: "value",
|
|
9542
|
+
},
|
|
9543
|
+
},
|
|
9544
|
+
},
|
|
9477
9545
|
},
|
|
9478
9546
|
relationship: CandidApi.Relationship.Self,
|
|
9479
9547
|
patient: CandidApi.PatientId("string"),
|
|
@@ -9605,6 +9673,22 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
|
|
|
9605
9673
|
},
|
|
9606
9674
|
dateOfBirth: "2023-01-15",
|
|
9607
9675
|
biologicalSex: CandidApi.Sex.Female,
|
|
9676
|
+
address: {
|
|
9677
|
+
use: CandidApi.AddressUse.Home,
|
|
9678
|
+
line: ["string"],
|
|
9679
|
+
city: "string",
|
|
9680
|
+
state: "string",
|
|
9681
|
+
postalCode: "string",
|
|
9682
|
+
country: "string",
|
|
9683
|
+
period: {
|
|
9684
|
+
start: {
|
|
9685
|
+
key: "value",
|
|
9686
|
+
},
|
|
9687
|
+
end: {
|
|
9688
|
+
key: "value",
|
|
9689
|
+
},
|
|
9690
|
+
},
|
|
9691
|
+
},
|
|
9608
9692
|
},
|
|
9609
9693
|
relationship: CandidApi.Relationship.Self,
|
|
9610
9694
|
patient: CandidApi.PatientId("string"),
|
|
@@ -10481,6 +10565,14 @@ await client.preEncounter.patients.v1.create({
|
|
|
10481
10565
|
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10482
10566
|
},
|
|
10483
10567
|
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
10568
|
+
nonInsurancePayerAssociations: [
|
|
10569
|
+
{
|
|
10570
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
10571
|
+
memberId: {
|
|
10572
|
+
key: "value",
|
|
10573
|
+
},
|
|
10574
|
+
},
|
|
10575
|
+
],
|
|
10484
10576
|
guarantor: {
|
|
10485
10577
|
name: {
|
|
10486
10578
|
family: "string",
|
|
@@ -10594,6 +10686,7 @@ await client.preEncounter.patients.v1.create({
|
|
|
10594
10686
|
},
|
|
10595
10687
|
},
|
|
10596
10688
|
],
|
|
10689
|
+
primaryServiceFacilityId: "string",
|
|
10597
10690
|
},
|
|
10598
10691
|
});
|
|
10599
10692
|
```
|
|
@@ -11051,6 +11144,14 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11051
11144
|
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
11052
11145
|
},
|
|
11053
11146
|
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
11147
|
+
nonInsurancePayerAssociations: [
|
|
11148
|
+
{
|
|
11149
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
11150
|
+
memberId: {
|
|
11151
|
+
key: "value",
|
|
11152
|
+
},
|
|
11153
|
+
},
|
|
11154
|
+
],
|
|
11054
11155
|
guarantor: {
|
|
11055
11156
|
name: {
|
|
11056
11157
|
family: "string",
|
|
@@ -11164,6 +11265,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11164
11265
|
},
|
|
11165
11266
|
},
|
|
11166
11267
|
],
|
|
11268
|
+
primaryServiceFacilityId: "string",
|
|
11167
11269
|
});
|
|
11168
11270
|
```
|
|
11169
11271
|
|
|
@@ -11417,6 +11519,214 @@ await client.preEncounter.patients.v1.scan({
|
|
|
11417
11519
|
</dl>
|
|
11418
11520
|
</details>
|
|
11419
11521
|
|
|
11522
|
+
## Diagnoses
|
|
11523
|
+
|
|
11524
|
+
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Diagnosis, CandidApi.diagnoses.create.Error></code></summary>
|
|
11525
|
+
<dl>
|
|
11526
|
+
<dd>
|
|
11527
|
+
|
|
11528
|
+
#### 📝 Description
|
|
11529
|
+
|
|
11530
|
+
<dl>
|
|
11531
|
+
<dd>
|
|
11532
|
+
|
|
11533
|
+
<dl>
|
|
11534
|
+
<dd>
|
|
11535
|
+
|
|
11536
|
+
Creates a new diagnosis for an encounter
|
|
11537
|
+
|
|
11538
|
+
</dd>
|
|
11539
|
+
</dl>
|
|
11540
|
+
</dd>
|
|
11541
|
+
</dl>
|
|
11542
|
+
|
|
11543
|
+
#### 🔌 Usage
|
|
11544
|
+
|
|
11545
|
+
<dl>
|
|
11546
|
+
<dd>
|
|
11547
|
+
|
|
11548
|
+
<dl>
|
|
11549
|
+
<dd>
|
|
11550
|
+
|
|
11551
|
+
```typescript
|
|
11552
|
+
await client.diagnoses.create({
|
|
11553
|
+
encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
11554
|
+
name: "string",
|
|
11555
|
+
codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
11556
|
+
code: "string",
|
|
11557
|
+
});
|
|
11558
|
+
```
|
|
11559
|
+
|
|
11560
|
+
</dd>
|
|
11561
|
+
</dl>
|
|
11562
|
+
</dd>
|
|
11563
|
+
</dl>
|
|
11564
|
+
|
|
11565
|
+
#### ⚙️ Parameters
|
|
11566
|
+
|
|
11567
|
+
<dl>
|
|
11568
|
+
<dd>
|
|
11569
|
+
|
|
11570
|
+
<dl>
|
|
11571
|
+
<dd>
|
|
11572
|
+
|
|
11573
|
+
**request:** `CandidApi.StandaloneDiagnosisCreate`
|
|
11574
|
+
|
|
11575
|
+
</dd>
|
|
11576
|
+
</dl>
|
|
11577
|
+
|
|
11578
|
+
<dl>
|
|
11579
|
+
<dd>
|
|
11580
|
+
|
|
11581
|
+
**requestOptions:** `Diagnoses.RequestOptions`
|
|
11582
|
+
|
|
11583
|
+
</dd>
|
|
11584
|
+
</dl>
|
|
11585
|
+
</dd>
|
|
11586
|
+
</dl>
|
|
11587
|
+
|
|
11588
|
+
</dd>
|
|
11589
|
+
</dl>
|
|
11590
|
+
</details>
|
|
11591
|
+
|
|
11592
|
+
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">update</a>(diagnosisId, { ...params }) -> core.APIResponse<CandidApi.Diagnosis, CandidApi.diagnoses.update.Error></code></summary>
|
|
11593
|
+
<dl>
|
|
11594
|
+
<dd>
|
|
11595
|
+
|
|
11596
|
+
#### 📝 Description
|
|
11597
|
+
|
|
11598
|
+
<dl>
|
|
11599
|
+
<dd>
|
|
11600
|
+
|
|
11601
|
+
<dl>
|
|
11602
|
+
<dd>
|
|
11603
|
+
|
|
11604
|
+
Updates the diagnosis record matching the provided `diagnosis_id`
|
|
11605
|
+
|
|
11606
|
+
</dd>
|
|
11607
|
+
</dl>
|
|
11608
|
+
</dd>
|
|
11609
|
+
</dl>
|
|
11610
|
+
|
|
11611
|
+
#### 🔌 Usage
|
|
11612
|
+
|
|
11613
|
+
<dl>
|
|
11614
|
+
<dd>
|
|
11615
|
+
|
|
11616
|
+
<dl>
|
|
11617
|
+
<dd>
|
|
11618
|
+
|
|
11619
|
+
```typescript
|
|
11620
|
+
await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
11621
|
+
name: "string",
|
|
11622
|
+
codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
11623
|
+
code: "string",
|
|
11624
|
+
});
|
|
11625
|
+
```
|
|
11626
|
+
|
|
11627
|
+
</dd>
|
|
11628
|
+
</dl>
|
|
11629
|
+
</dd>
|
|
11630
|
+
</dl>
|
|
11631
|
+
|
|
11632
|
+
#### ⚙️ Parameters
|
|
11633
|
+
|
|
11634
|
+
<dl>
|
|
11635
|
+
<dd>
|
|
11636
|
+
|
|
11637
|
+
<dl>
|
|
11638
|
+
<dd>
|
|
11639
|
+
|
|
11640
|
+
**diagnosisId:** `CandidApi.DiagnosisId`
|
|
11641
|
+
|
|
11642
|
+
</dd>
|
|
11643
|
+
</dl>
|
|
11644
|
+
|
|
11645
|
+
<dl>
|
|
11646
|
+
<dd>
|
|
11647
|
+
|
|
11648
|
+
**request:** `CandidApi.DiagnosisUpdate`
|
|
11649
|
+
|
|
11650
|
+
</dd>
|
|
11651
|
+
</dl>
|
|
11652
|
+
|
|
11653
|
+
<dl>
|
|
11654
|
+
<dd>
|
|
11655
|
+
|
|
11656
|
+
**requestOptions:** `Diagnoses.RequestOptions`
|
|
11657
|
+
|
|
11658
|
+
</dd>
|
|
11659
|
+
</dl>
|
|
11660
|
+
</dd>
|
|
11661
|
+
</dl>
|
|
11662
|
+
|
|
11663
|
+
</dd>
|
|
11664
|
+
</dl>
|
|
11665
|
+
</details>
|
|
11666
|
+
|
|
11667
|
+
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">delete</a>(diagnosisId) -> core.APIResponse<void, CandidApi.diagnoses.delete.Error></code></summary>
|
|
11668
|
+
<dl>
|
|
11669
|
+
<dd>
|
|
11670
|
+
|
|
11671
|
+
#### 📝 Description
|
|
11672
|
+
|
|
11673
|
+
<dl>
|
|
11674
|
+
<dd>
|
|
11675
|
+
|
|
11676
|
+
<dl>
|
|
11677
|
+
<dd>
|
|
11678
|
+
|
|
11679
|
+
Deletes the diagnosis record associated with the provided `diagnosis_id`
|
|
11680
|
+
|
|
11681
|
+
</dd>
|
|
11682
|
+
</dl>
|
|
11683
|
+
</dd>
|
|
11684
|
+
</dl>
|
|
11685
|
+
|
|
11686
|
+
#### 🔌 Usage
|
|
11687
|
+
|
|
11688
|
+
<dl>
|
|
11689
|
+
<dd>
|
|
11690
|
+
|
|
11691
|
+
<dl>
|
|
11692
|
+
<dd>
|
|
11693
|
+
|
|
11694
|
+
```typescript
|
|
11695
|
+
await client.diagnoses.delete(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
11696
|
+
```
|
|
11697
|
+
|
|
11698
|
+
</dd>
|
|
11699
|
+
</dl>
|
|
11700
|
+
</dd>
|
|
11701
|
+
</dl>
|
|
11702
|
+
|
|
11703
|
+
#### ⚙️ Parameters
|
|
11704
|
+
|
|
11705
|
+
<dl>
|
|
11706
|
+
<dd>
|
|
11707
|
+
|
|
11708
|
+
<dl>
|
|
11709
|
+
<dd>
|
|
11710
|
+
|
|
11711
|
+
**diagnosisId:** `CandidApi.DiagnosisId`
|
|
11712
|
+
|
|
11713
|
+
</dd>
|
|
11714
|
+
</dl>
|
|
11715
|
+
|
|
11716
|
+
<dl>
|
|
11717
|
+
<dd>
|
|
11718
|
+
|
|
11719
|
+
**requestOptions:** `Diagnoses.RequestOptions`
|
|
11720
|
+
|
|
11721
|
+
</dd>
|
|
11722
|
+
</dl>
|
|
11723
|
+
</dd>
|
|
11724
|
+
</dl>
|
|
11725
|
+
|
|
11726
|
+
</dd>
|
|
11727
|
+
</dl>
|
|
11728
|
+
</details>
|
|
11729
|
+
|
|
11420
11730
|
## ServiceFacility
|
|
11421
11731
|
|
|
11422
11732
|
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DiagnosisNotFoundError } from "../types/DiagnosisNotFoundError";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.diagnoses.delete.Error.Raw, CandidApi.diagnoses.delete.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.DiagnosisNotFoundHttpError;
|
|
11
|
+
interface DiagnosisNotFoundHttpError {
|
|
12
|
+
errorName: "DiagnosisNotFoundHTTPError";
|
|
13
|
+
content: DiagnosisNotFoundError.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../core"));
|
|
43
|
+
const DiagnosisNotFoundError_1 = require("../types/DiagnosisNotFoundError");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
DiagnosisNotFoundHTTPError: core.serialization.object({
|
|
47
|
+
content: DiagnosisNotFoundError_1.DiagnosisNotFoundError,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "DiagnosisNotFoundHTTPError":
|
|
54
|
+
return CandidApi.diagnoses.delete.Error.diagnosisNotFoundHttpError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.update = void 0;
|
|
30
|
+
exports.update = __importStar(require("./update"));
|
|
31
|
+
exports.delete = __importStar(require("./delete"));
|
|
32
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { DiagnosisTypeCode } from "../../types/DiagnosisTypeCode";
|
|
8
|
+
export declare const DiagnosisUpdate: core.serialization.Schema<serializers.DiagnosisUpdate.Raw, CandidApi.DiagnosisUpdate>;
|
|
9
|
+
export declare namespace DiagnosisUpdate {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name?: string | null;
|
|
12
|
+
code_type?: DiagnosisTypeCode.Raw | null;
|
|
13
|
+
code?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|