@rinse-dental/open-dental 3.4.2 → 4.0.2
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/README.md +388 -16
- package/dist/api/accountModules.d.ts +23 -3
- package/dist/api/accountModules.d.ts.map +1 -1
- package/dist/api/accountModules.js +17 -6
- package/dist/api/adjustments.d.ts +5 -2
- package/dist/api/adjustments.d.ts.map +1 -1
- package/dist/api/adjustments.js +11 -5
- package/dist/api/allergies.d.ts +5 -2
- package/dist/api/allergies.d.ts.map +1 -1
- package/dist/api/allergies.js +11 -5
- package/dist/api/allergydefs.d.ts +27 -0
- package/dist/api/allergydefs.d.ts.map +1 -0
- package/dist/api/allergydefs.js +40 -0
- package/dist/api/appointmentTypes.d.ts +12 -2
- package/dist/api/appointmentTypes.d.ts.map +1 -1
- package/dist/api/appointmentTypes.js +12 -2
- package/dist/api/appointments.d.ts +5 -2
- package/dist/api/appointments.d.ts.map +1 -1
- package/dist/api/appointments.js +19 -13
- package/dist/api/apptFieldDefs.d.ts +54 -0
- package/dist/api/apptFieldDefs.d.ts.map +1 -0
- package/dist/api/apptFieldDefs.js +79 -0
- package/dist/api/apptFields.d.ts +60 -0
- package/dist/api/apptFields.d.ts.map +1 -0
- package/dist/api/apptFields.js +102 -0
- package/dist/api/asapComms.d.ts +44 -0
- package/dist/api/asapComms.d.ts.map +1 -0
- package/dist/api/asapComms.js +64 -0
- package/dist/api/autoNoteControls.d.ts +48 -0
- package/dist/api/autoNoteControls.d.ts.map +1 -0
- package/dist/api/autoNoteControls.js +74 -0
- package/dist/api/autoNotes.d.ts +42 -0
- package/dist/api/autoNotes.d.ts.map +1 -0
- package/dist/api/autoNotes.js +70 -0
- package/dist/api/benefits.d.ts +14 -3
- package/dist/api/benefits.d.ts.map +1 -1
- package/dist/api/benefits.js +24 -5
- package/dist/api/carriers.d.ts +68 -0
- package/dist/api/carriers.d.ts.map +1 -0
- package/dist/api/carriers.js +107 -0
- package/dist/api/chartModules.d.ts +1 -1
- package/dist/api/chartModules.d.ts.map +1 -1
- package/dist/api/chartModules.js +4 -4
- package/dist/api/claimPayments.d.ts +93 -0
- package/dist/api/claimPayments.d.ts.map +1 -0
- package/dist/api/claimPayments.js +163 -0
- package/dist/api/claimProcs.d.ts +42 -2
- package/dist/api/claimProcs.d.ts.map +1 -1
- package/dist/api/claimProcs.js +65 -2
- package/dist/api/claimTrackings.d.ts +44 -0
- package/dist/api/claimTrackings.d.ts.map +1 -0
- package/dist/api/claimTrackings.js +70 -0
- package/dist/api/claims.d.ts +33 -0
- package/dist/api/claims.d.ts.map +1 -1
- package/dist/api/claims.js +60 -6
- package/dist/api/clinics.d.ts +47 -0
- package/dist/api/clinics.d.ts.map +1 -0
- package/dist/api/clinics.js +70 -0
- package/dist/api/clockEvents.d.ts +33 -0
- package/dist/api/clockEvents.d.ts.map +1 -0
- package/dist/api/clockEvents.js +42 -0
- package/dist/api/codeGroups.d.ts +64 -0
- package/dist/api/codeGroups.d.ts.map +1 -0
- package/dist/api/codeGroups.js +84 -0
- package/dist/api/commlogs.d.ts +14 -2
- package/dist/api/commlogs.d.ts.map +1 -1
- package/dist/api/commlogs.js +11 -4
- package/dist/api/computers.d.ts +25 -0
- package/dist/api/computers.d.ts.map +1 -0
- package/dist/api/computers.js +29 -0
- package/dist/api/covCats.d.ts +58 -0
- package/dist/api/covCats.d.ts.map +1 -0
- package/dist/api/covCats.js +78 -0
- package/dist/api/covSpans.d.ts +60 -0
- package/dist/api/covSpans.d.ts.map +1 -0
- package/dist/api/covSpans.js +91 -0
- package/dist/api/definitions.d.ts +19 -3
- package/dist/api/definitions.d.ts.map +1 -1
- package/dist/api/definitions.js +26 -2
- package/dist/api/discountPlanSubs.js +3 -3
- package/dist/api/discountPlans.d.ts +4 -1
- package/dist/api/discountPlans.d.ts.map +1 -1
- package/dist/api/discountPlans.js +9 -3
- package/dist/api/diseaseDefs.d.ts +35 -0
- package/dist/api/diseaseDefs.d.ts.map +1 -0
- package/dist/api/diseaseDefs.js +49 -0
- package/dist/api/diseases.d.ts +4 -1
- package/dist/api/diseases.d.ts.map +1 -1
- package/dist/api/diseases.js +6 -3
- package/dist/api/documents.d.ts +137 -0
- package/dist/api/documents.d.ts.map +1 -0
- package/dist/api/documents.js +235 -0
- package/dist/api/eTrans.d.ts +20 -0
- package/dist/api/eTrans.d.ts.map +1 -0
- package/dist/api/eTrans.js +36 -0
- package/dist/api/eTransMessageTexts.d.ts +15 -0
- package/dist/api/eTransMessageTexts.d.ts.map +1 -0
- package/dist/api/eTransMessageTexts.js +22 -0
- package/dist/api/eTranss.d.ts +22 -0
- package/dist/api/eTranss.d.ts.map +1 -0
- package/dist/api/eTranss.js +29 -0
- package/dist/api/ehrPatients.d.ts +29 -0
- package/dist/api/ehrPatients.d.ts.map +1 -0
- package/dist/api/ehrPatients.js +42 -0
- package/dist/api/employees.d.ts +66 -0
- package/dist/api/employees.d.ts.map +1 -0
- package/dist/api/employees.js +86 -0
- package/dist/api/employers.d.ts +53 -0
- package/dist/api/employers.d.ts.map +1 -0
- package/dist/api/employers.js +81 -0
- package/dist/api/eobAttaches.d.ts +56 -0
- package/dist/api/eobAttaches.d.ts.map +1 -0
- package/dist/api/eobAttaches.js +96 -0
- package/dist/api/events.d.ts +26 -0
- package/dist/api/events.d.ts.map +1 -0
- package/dist/api/events.js +26 -0
- package/dist/api/familyModules.d.ts +12 -2
- package/dist/api/familyModules.d.ts.map +1 -1
- package/dist/api/familyModules.js +9 -4
- package/dist/api/feeScheds.d.ts +8 -2
- package/dist/api/feeScheds.d.ts.map +1 -1
- package/dist/api/feeScheds.js +14 -2
- package/dist/api/fees.d.ts +41 -3
- package/dist/api/fees.d.ts.map +1 -1
- package/dist/api/fees.js +58 -2
- package/dist/api/histAppointments.d.ts +29 -0
- package/dist/api/histAppointments.d.ts.map +1 -0
- package/dist/api/histAppointments.js +33 -0
- package/dist/api/index.d.ts +89 -13
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +180 -28
- package/dist/api/insPlans.d.ts +11 -4
- package/dist/api/insPlans.d.ts.map +1 -1
- package/dist/api/insPlans.js +17 -7
- package/dist/api/insSubs.d.ts +13 -5
- package/dist/api/insSubs.d.ts.map +1 -1
- package/dist/api/insSubs.js +19 -8
- package/dist/api/insVerifies.d.ts +9 -6
- package/dist/api/insVerifies.d.ts.map +1 -1
- package/dist/api/insVerifies.js +15 -9
- package/dist/api/labCases.d.ts +22 -7
- package/dist/api/labCases.d.ts.map +1 -1
- package/dist/api/labCases.js +34 -11
- package/dist/api/labTurnarounds.d.ts +52 -0
- package/dist/api/labTurnarounds.d.ts.map +1 -0
- package/dist/api/labTurnarounds.js +78 -0
- package/dist/api/laboratories.d.ts +71 -0
- package/dist/api/laboratories.d.ts.map +1 -0
- package/dist/api/laboratories.js +91 -0
- package/dist/api/medicationPats.d.ts +5 -2
- package/dist/api/medicationPats.d.ts.map +1 -1
- package/dist/api/medicationPats.js +11 -5
- package/dist/api/medications.d.ts +37 -0
- package/dist/api/medications.d.ts.map +1 -0
- package/dist/api/medications.js +46 -0
- package/dist/api/operatories.d.ts +4 -3
- package/dist/api/operatories.d.ts.map +1 -1
- package/dist/api/operatories.js +8 -4
- package/dist/api/patFieldDefs.d.ts +57 -0
- package/dist/api/patFieldDefs.d.ts.map +1 -0
- package/dist/api/patFieldDefs.js +83 -0
- package/dist/api/patFields.d.ts +11 -6
- package/dist/api/patFields.d.ts.map +1 -1
- package/dist/api/patFields.js +23 -14
- package/dist/api/patPlans.d.ts +13 -6
- package/dist/api/patPlans.d.ts.map +1 -1
- package/dist/api/patPlans.js +18 -8
- package/dist/api/patientNotes.d.ts +48 -0
- package/dist/api/patientNotes.d.ts.map +1 -0
- package/dist/api/patientNotes.js +70 -0
- package/dist/api/patientRaces.d.ts +21 -0
- package/dist/api/patientRaces.d.ts.map +1 -0
- package/dist/api/patientRaces.js +28 -0
- package/dist/api/patients.d.ts +6 -3
- package/dist/api/patients.d.ts.map +1 -1
- package/dist/api/patients.js +15 -6
- package/dist/api/payPlanCharges.d.ts +4 -0
- package/dist/api/payPlanCharges.d.ts.map +1 -1
- package/dist/api/payPlanCharges.js +4 -0
- package/dist/api/payPlans.d.ts +10 -1
- package/dist/api/payPlans.d.ts.map +1 -1
- package/dist/api/payPlans.js +17 -18
- package/dist/api/paySplits.d.ts +12 -7
- package/dist/api/paySplits.d.ts.map +1 -1
- package/dist/api/paySplits.js +14 -6
- package/dist/api/payments.d.ts +18 -3
- package/dist/api/payments.d.ts.map +1 -1
- package/dist/api/payments.js +30 -4
- package/dist/api/perioExams.d.ts +67 -0
- package/dist/api/perioExams.d.ts.map +1 -0
- package/dist/api/perioExams.js +104 -0
- package/dist/api/perioMeasures.d.ts +74 -0
- package/dist/api/perioMeasures.d.ts.map +1 -0
- package/dist/api/perioMeasures.js +118 -0
- package/dist/api/pharmacies.d.ts +29 -0
- package/dist/api/pharmacies.d.ts.map +1 -0
- package/dist/api/pharmacies.js +38 -0
- package/dist/api/popups.d.ts +42 -0
- package/dist/api/popups.d.ts.map +1 -0
- package/dist/api/popups.js +71 -0
- package/dist/api/preferences.d.ts +31 -0
- package/dist/api/preferences.d.ts.map +1 -0
- package/dist/api/preferences.js +46 -0
- package/dist/api/procNotes.d.ts +5 -2
- package/dist/api/procNotes.d.ts.map +1 -1
- package/dist/api/procNotes.js +9 -3
- package/dist/api/procTPs.d.ts +6 -3
- package/dist/api/procTPs.d.ts.map +1 -1
- package/dist/api/procTPs.js +10 -4
- package/dist/api/procedureCodes.d.ts +9 -7
- package/dist/api/procedureCodes.d.ts.map +1 -1
- package/dist/api/procedureCodes.js +13 -8
- package/dist/api/procedureLog.d.ts +5 -2
- package/dist/api/procedureLog.d.ts.map +1 -1
- package/dist/api/procedureLog.js +15 -6
- package/dist/api/providers.d.ts +4 -1
- package/dist/api/providers.d.ts.map +1 -1
- package/dist/api/providers.js +10 -4
- package/dist/api/queries.d.ts +24 -1
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/api/queries.js +35 -0
- package/dist/api/quickPasteCats.d.ts +24 -0
- package/dist/api/quickPasteCats.d.ts.map +1 -0
- package/dist/api/quickPasteCats.js +33 -0
- package/dist/api/quickPasteNotes.d.ts +27 -0
- package/dist/api/quickPasteNotes.d.ts.map +1 -0
- package/dist/api/quickPasteNotes.js +36 -0
- package/dist/api/recallTypes.d.ts +31 -0
- package/dist/api/recallTypes.d.ts.map +1 -0
- package/dist/api/recallTypes.js +40 -0
- package/dist/api/recalls.d.ts +20 -4
- package/dist/api/recalls.d.ts.map +1 -1
- package/dist/api/recalls.js +26 -14
- package/dist/api/refAttaches.d.ts +6 -3
- package/dist/api/refAttaches.d.ts.map +1 -1
- package/dist/api/refAttaches.js +11 -5
- package/dist/api/referrals.d.ts +4 -1
- package/dist/api/referrals.d.ts.map +1 -1
- package/dist/api/referrals.js +10 -4
- package/dist/api/reports.d.ts +34 -0
- package/dist/api/reports.d.ts.map +1 -0
- package/dist/api/reports.js +40 -0
- package/dist/api/rxPats.d.ts +27 -0
- package/dist/api/rxPats.d.ts.map +1 -0
- package/dist/api/rxPats.js +41 -0
- package/dist/api/scheduleOps.d.ts +20 -0
- package/dist/api/scheduleOps.d.ts.map +1 -0
- package/dist/api/scheduleOps.js +30 -0
- package/dist/api/schedules.d.ts +23 -2
- package/dist/api/schedules.d.ts.map +1 -1
- package/dist/api/schedules.js +31 -2
- package/dist/api/security.d.ts +25 -0
- package/dist/api/security.d.ts.map +1 -0
- package/dist/api/security.js +29 -0
- package/dist/api/securityLogs.d.ts +5 -2
- package/dist/api/securityLogs.d.ts.map +1 -1
- package/dist/api/securityLogs.js +8 -2
- package/dist/api/sheetDefs.d.ts +27 -0
- package/dist/api/sheetDefs.d.ts.map +1 -0
- package/dist/api/sheetDefs.js +36 -0
- package/dist/api/sheetFields.d.ts +38 -0
- package/dist/api/sheetFields.d.ts.map +1 -0
- package/dist/api/sheetFields.js +53 -0
- package/dist/api/sheets.d.ts +47 -0
- package/dist/api/sheets.d.ts.map +1 -0
- package/dist/api/sheets.js +64 -0
- package/dist/api/signalODs.d.ts +23 -0
- package/dist/api/signalODs.d.ts.map +1 -0
- package/dist/api/signalODs.js +30 -0
- package/dist/api/statements.d.ts +48 -0
- package/dist/api/statements.d.ts.map +1 -0
- package/dist/api/statements.js +72 -0
- package/dist/api/subscriptions.d.ts +67 -0
- package/dist/api/subscriptions.d.ts.map +1 -0
- package/dist/api/subscriptions.js +93 -0
- package/dist/api/substitutionLinks.d.ts +51 -0
- package/dist/api/substitutionLinks.d.ts.map +1 -0
- package/dist/api/substitutionLinks.js +74 -0
- package/dist/api/taskLists.d.ts +20 -0
- package/dist/api/taskLists.d.ts.map +1 -0
- package/dist/api/taskLists.js +24 -0
- package/dist/api/taskNotes.d.ts +50 -0
- package/dist/api/taskNotes.d.ts.map +1 -0
- package/dist/api/taskNotes.js +81 -0
- package/dist/api/tasks.d.ts +69 -0
- package/dist/api/tasks.d.ts.map +1 -0
- package/dist/api/tasks.js +89 -0
- package/dist/api/toothInitials.d.ts +39 -0
- package/dist/api/toothInitials.d.ts.map +1 -0
- package/dist/api/toothInitials.js +64 -0
- package/dist/api/treatplanattaches.d.ts +5 -2
- package/dist/api/treatplanattaches.d.ts.map +1 -1
- package/dist/api/treatplanattaches.js +10 -4
- package/dist/api/treatplans.d.ts +15 -1
- package/dist/api/treatplans.d.ts.map +1 -1
- package/dist/api/treatplans.js +26 -4
- package/dist/api/userGroupAttaches.d.ts +20 -0
- package/dist/api/userGroupAttaches.d.ts.map +1 -0
- package/dist/api/userGroupAttaches.js +30 -0
- package/dist/api/userGroups.d.ts +20 -0
- package/dist/api/userGroups.d.ts.map +1 -0
- package/dist/api/userGroups.js +29 -0
- package/dist/api/userODs.d.ts +49 -0
- package/dist/api/userODs.d.ts.map +1 -0
- package/dist/api/userODs.js +64 -0
- package/dist/openDental.d.ts +624 -115
- package/dist/openDental.d.ts.map +1 -1
- package/dist/openDental.js +800 -291
- package/dist/types/DiscountPlanTypes.d.ts +3 -0
- package/dist/types/DiscountPlanTypes.d.ts.map +1 -1
- package/dist/types/adjustmentTypes.d.ts +3 -0
- package/dist/types/adjustmentTypes.d.ts.map +1 -1
- package/dist/types/allergyDefTypes.d.ts +25 -0
- package/dist/types/allergyDefTypes.d.ts.map +1 -0
- package/dist/types/allergyTypes.d.ts +3 -0
- package/dist/types/allergyTypes.d.ts.map +1 -1
- package/dist/types/{appoinmentTypesType.d.ts → appointmentTypeTypes.d.ts} +1 -1
- package/dist/types/appointmentTypeTypes.d.ts.map +1 -0
- package/dist/types/appointmentTypeTypes.js +2 -0
- package/dist/types/appointmentTypes.d.ts +19 -0
- package/dist/types/appointmentTypes.d.ts.map +1 -1
- package/dist/types/apptFieldDefTypes.d.ts +25 -0
- package/dist/types/apptFieldDefTypes.d.ts.map +1 -0
- package/dist/types/apptFieldDefTypes.js +2 -0
- package/dist/types/apptFieldTypes.d.ts +34 -0
- package/dist/types/apptFieldTypes.d.ts.map +1 -0
- package/dist/types/apptFieldTypes.js +2 -0
- package/dist/types/asapCommTypes.d.ts +63 -0
- package/dist/types/asapCommTypes.d.ts.map +1 -0
- package/dist/types/asapCommTypes.js +2 -0
- package/dist/types/autoNoteControlTypes.d.ts +27 -0
- package/dist/types/autoNoteControlTypes.d.ts.map +1 -0
- package/dist/types/autoNoteControlTypes.js +2 -0
- package/dist/types/autoNoteTypes.d.ts +33 -0
- package/dist/types/autoNoteTypes.d.ts.map +1 -0
- package/dist/types/autoNoteTypes.js +2 -0
- package/dist/types/benefitTypes.d.ts +6 -0
- package/dist/types/benefitTypes.d.ts.map +1 -1
- package/dist/types/carrierTypes.d.ts +45 -0
- package/dist/types/carrierTypes.d.ts.map +1 -0
- package/dist/types/carrierTypes.js +2 -0
- package/dist/types/claimPaymentTypes.d.ts +72 -0
- package/dist/types/claimPaymentTypes.d.ts.map +1 -0
- package/dist/types/claimPaymentTypes.js +2 -0
- package/dist/types/claimProcTypes.d.ts +3 -0
- package/dist/types/claimProcTypes.d.ts.map +1 -1
- package/dist/types/claimTrackingTypes.d.ts +37 -0
- package/dist/types/claimTrackingTypes.d.ts.map +1 -0
- package/dist/types/claimTrackingTypes.js +2 -0
- package/dist/types/claimTypes.d.ts +3 -0
- package/dist/types/claimTypes.d.ts.map +1 -1
- package/dist/types/clinicTypes.d.ts +45 -0
- package/dist/types/clinicTypes.d.ts.map +1 -0
- package/dist/types/clinicTypes.js +2 -0
- package/dist/types/clockEventTypes.d.ts +52 -0
- package/dist/types/clockEventTypes.d.ts.map +1 -0
- package/dist/types/clockEventTypes.js +2 -0
- package/dist/types/codeGroupTypes.d.ts +67 -0
- package/dist/types/codeGroupTypes.d.ts.map +1 -0
- package/dist/types/codeGroupTypes.js +2 -0
- package/dist/types/computerTypes.d.ts +10 -0
- package/dist/types/computerTypes.d.ts.map +1 -0
- package/dist/types/computerTypes.js +2 -0
- package/dist/types/covCatTypes.d.ts +53 -0
- package/dist/types/covCatTypes.d.ts.map +1 -0
- package/dist/types/covCatTypes.js +2 -0
- package/dist/types/covSpanTypes.d.ts +52 -0
- package/dist/types/covSpanTypes.d.ts.map +1 -0
- package/dist/types/covSpanTypes.js +2 -0
- package/dist/types/definitionTypes.d.ts +12 -0
- package/dist/types/definitionTypes.d.ts.map +1 -1
- package/dist/types/discountPlanSubTypes.d.ts +5 -1
- package/dist/types/discountPlanSubTypes.d.ts.map +1 -1
- package/dist/types/diseaseDefTypes.d.ts +33 -0
- package/dist/types/diseaseDefTypes.d.ts.map +1 -0
- package/dist/types/diseaseDefTypes.js +2 -0
- package/dist/types/diseaseTypes.d.ts +3 -0
- package/dist/types/diseaseTypes.d.ts.map +1 -1
- package/dist/types/documentTypes.d.ts +191 -0
- package/dist/types/documentTypes.d.ts.map +1 -0
- package/dist/types/documentTypes.js +2 -0
- package/dist/types/eTransMessageTextTypes.d.ts +9 -0
- package/dist/types/eTransMessageTextTypes.d.ts.map +1 -0
- package/dist/types/eTransMessageTextTypes.js +2 -0
- package/dist/types/eTransTypes.d.ts +15 -0
- package/dist/types/eTransTypes.d.ts.map +1 -0
- package/dist/types/eTransTypes.js +2 -0
- package/dist/types/eTranssTypes.d.ts +46 -0
- package/dist/types/eTranssTypes.d.ts.map +1 -0
- package/dist/types/eTranssTypes.js +2 -0
- package/dist/types/ehrPatientTypes.d.ts +34 -0
- package/dist/types/ehrPatientTypes.d.ts.map +1 -0
- package/dist/types/ehrPatientTypes.js +2 -0
- package/dist/types/employeeTypes.d.ts +88 -0
- package/dist/types/employeeTypes.d.ts.map +1 -0
- package/dist/types/employeeTypes.js +2 -0
- package/dist/types/employerTypes.d.ts +38 -0
- package/dist/types/employerTypes.d.ts.map +1 -0
- package/dist/types/employerTypes.js +2 -0
- package/dist/types/eobAttachTypes.d.ts +62 -0
- package/dist/types/eobAttachTypes.d.ts.map +1 -0
- package/dist/types/eobAttachTypes.js +2 -0
- package/dist/types/eventTypes.d.ts +52 -0
- package/dist/types/eventTypes.d.ts.map +1 -0
- package/dist/types/eventTypes.js +2 -0
- package/dist/types/feeTypes.d.ts +3 -0
- package/dist/types/feeTypes.d.ts.map +1 -1
- package/dist/types/histAppointmentTypes.d.ts +77 -0
- package/dist/types/histAppointmentTypes.d.ts.map +1 -0
- package/dist/types/histAppointmentTypes.js +2 -0
- package/dist/types/insPlanTypes.d.ts +4 -1
- package/dist/types/insPlanTypes.d.ts.map +1 -1
- package/dist/types/insSubTypes.d.ts +4 -1
- package/dist/types/insSubTypes.d.ts.map +1 -1
- package/dist/types/insVerifiesTypes.d.ts +3 -0
- package/dist/types/insVerifiesTypes.d.ts.map +1 -1
- package/dist/types/labCaseTypes.d.ts +4 -0
- package/dist/types/labCaseTypes.d.ts.map +1 -1
- package/dist/types/labTurnaroundTypes.d.ts +55 -0
- package/dist/types/labTurnaroundTypes.d.ts.map +1 -0
- package/dist/types/labTurnaroundTypes.js +2 -0
- package/dist/types/laboratoryTypes.d.ts +80 -0
- package/dist/types/laboratoryTypes.d.ts.map +1 -0
- package/dist/types/laboratoryTypes.js +2 -0
- package/dist/types/medicationPatTypes.d.ts +3 -0
- package/dist/types/medicationPatTypes.d.ts.map +1 -1
- package/dist/types/medicationTypes.d.ts +28 -0
- package/dist/types/medicationTypes.d.ts.map +1 -0
- package/dist/types/medicationTypes.js +2 -0
- package/dist/types/operatoryTypes.d.ts +5 -2
- package/dist/types/operatoryTypes.d.ts.map +1 -1
- package/dist/types/patFieldDefTypes.d.ts +64 -0
- package/dist/types/patFieldDefTypes.d.ts.map +1 -0
- package/dist/types/patFieldDefTypes.js +2 -0
- package/dist/types/patFieldTypes.d.ts +4 -0
- package/dist/types/patFieldTypes.d.ts.map +1 -1
- package/dist/types/patPlanTypes.d.ts +3 -0
- package/dist/types/patPlanTypes.d.ts.map +1 -1
- package/dist/types/patientNoteTypes.d.ts +32 -0
- package/dist/types/patientNoteTypes.d.ts.map +1 -0
- package/dist/types/patientNoteTypes.js +2 -0
- package/dist/types/patientRaceTypes.d.ts +25 -0
- package/dist/types/patientRaceTypes.d.ts.map +1 -0
- package/dist/types/patientRaceTypes.js +2 -0
- package/dist/types/patientTypes.d.ts +7 -1
- package/dist/types/patientTypes.d.ts.map +1 -1
- package/dist/types/payPlanChargeTypes.d.ts +4 -0
- package/dist/types/payPlanChargeTypes.d.ts.map +1 -1
- package/dist/types/paySplitTypes.d.ts +3 -0
- package/dist/types/paySplitTypes.d.ts.map +1 -1
- package/dist/types/paymentTypes.d.ts +11 -0
- package/dist/types/paymentTypes.d.ts.map +1 -1
- package/dist/types/perioExamTypes.d.ts +54 -0
- package/dist/types/perioExamTypes.d.ts.map +1 -0
- package/dist/types/perioExamTypes.js +2 -0
- package/dist/types/perioMeasureTypes.d.ts +80 -0
- package/dist/types/perioMeasureTypes.d.ts.map +1 -0
- package/dist/types/perioMeasureTypes.js +2 -0
- package/dist/types/pharmacyTypes.d.ts +18 -0
- package/dist/types/pharmacyTypes.d.ts.map +1 -0
- package/dist/types/pharmacyTypes.js +2 -0
- package/dist/types/popupTypes.d.ts +55 -0
- package/dist/types/popupTypes.d.ts.map +1 -0
- package/dist/types/popupTypes.js +2 -0
- package/dist/types/preferenceTypes.d.ts +32 -0
- package/dist/types/preferenceTypes.d.ts.map +1 -0
- package/dist/types/preferenceTypes.js +2 -0
- package/dist/types/procNoteTypes.d.ts +3 -0
- package/dist/types/procNoteTypes.d.ts.map +1 -1
- package/dist/types/procTPTypes.d.ts +3 -0
- package/dist/types/procTPTypes.d.ts.map +1 -1
- package/dist/types/procedureCodeTypes.d.ts +3 -0
- package/dist/types/procedureCodeTypes.d.ts.map +1 -1
- package/dist/types/procedurelogTypes.d.ts +7 -0
- package/dist/types/procedurelogTypes.d.ts.map +1 -1
- package/dist/types/providerTypes.d.ts +3 -0
- package/dist/types/providerTypes.d.ts.map +1 -1
- package/dist/types/queryTypes.d.ts +10 -0
- package/dist/types/queryTypes.d.ts.map +1 -1
- package/dist/types/quickPasteCatTypes.d.ts +23 -0
- package/dist/types/quickPasteCatTypes.d.ts.map +1 -0
- package/dist/types/quickPasteCatTypes.js +2 -0
- package/dist/types/quickPasteNoteTypes.d.ts +26 -0
- package/dist/types/quickPasteNoteTypes.d.ts.map +1 -0
- package/dist/types/quickPasteNoteTypes.js +2 -0
- package/dist/types/recallTypeTypes.d.ts +13 -0
- package/dist/types/recallTypeTypes.d.ts.map +1 -0
- package/dist/types/recallTypeTypes.js +2 -0
- package/dist/types/recallTypes.d.ts +6 -3
- package/dist/types/recallTypes.d.ts.map +1 -1
- package/dist/types/refAttachTypes.d.ts +3 -0
- package/dist/types/refAttachTypes.d.ts.map +1 -1
- package/dist/types/referralTypes.d.ts +7 -4
- package/dist/types/referralTypes.d.ts.map +1 -1
- package/dist/types/reportTypes.d.ts +56 -0
- package/dist/types/reportTypes.d.ts.map +1 -0
- package/dist/types/reportTypes.js +2 -0
- package/dist/types/rxPatTypes.d.ts +43 -0
- package/dist/types/rxPatTypes.d.ts.map +1 -0
- package/dist/types/rxPatTypes.js +2 -0
- package/dist/types/scheduleOpTypes.d.ts +22 -0
- package/dist/types/scheduleOpTypes.d.ts.map +1 -0
- package/dist/types/scheduleOpTypes.js +2 -0
- package/dist/types/scheduleTypes.d.ts +17 -0
- package/dist/types/scheduleTypes.d.ts.map +1 -1
- package/dist/types/securityLogTypes.d.ts +3 -0
- package/dist/types/securityLogTypes.d.ts.map +1 -1
- package/dist/types/securityTypes.d.ts +13 -0
- package/dist/types/securityTypes.d.ts.map +1 -0
- package/dist/types/securityTypes.js +2 -0
- package/dist/types/sheetDefTypes.d.ts +22 -0
- package/dist/types/sheetDefTypes.d.ts.map +1 -0
- package/dist/types/sheetDefTypes.js +2 -0
- package/dist/types/sheetFieldTypes.d.ts +48 -0
- package/dist/types/sheetFieldTypes.d.ts.map +1 -0
- package/dist/types/sheetFieldTypes.js +2 -0
- package/dist/types/sheetTypes.d.ts +62 -0
- package/dist/types/sheetTypes.d.ts.map +1 -0
- package/dist/types/sheetTypes.js +2 -0
- package/dist/types/signalODTypes.d.ts +48 -0
- package/dist/types/signalODTypes.d.ts.map +1 -0
- package/dist/types/signalODTypes.js +2 -0
- package/dist/types/statementTypes.d.ts +60 -0
- package/dist/types/statementTypes.d.ts.map +1 -0
- package/dist/types/statementTypes.js +2 -0
- package/dist/types/subscriptionTypes.d.ts +99 -0
- package/dist/types/subscriptionTypes.d.ts.map +1 -0
- package/dist/types/subscriptionTypes.js +2 -0
- package/dist/types/substitutionLinkTypes.d.ts +46 -0
- package/dist/types/substitutionLinkTypes.d.ts.map +1 -0
- package/dist/types/substitutionLinkTypes.js +2 -0
- package/dist/types/taskListTypes.d.ts +67 -0
- package/dist/types/taskListTypes.d.ts.map +1 -0
- package/dist/types/taskListTypes.js +2 -0
- package/dist/types/taskNoteTypes.d.ts +42 -0
- package/dist/types/taskNoteTypes.d.ts.map +1 -0
- package/dist/types/taskNoteTypes.js +2 -0
- package/dist/types/taskTypes.d.ts +153 -0
- package/dist/types/taskTypes.d.ts.map +1 -0
- package/dist/types/taskTypes.js +2 -0
- package/dist/types/toothInitialTypes.d.ts +44 -0
- package/dist/types/toothInitialTypes.d.ts.map +1 -0
- package/dist/types/toothInitialTypes.js +2 -0
- package/dist/types/treatPlanAttachTypes.d.ts +3 -0
- package/dist/types/treatPlanAttachTypes.d.ts.map +1 -1
- package/dist/types/treatPlanTypes.d.ts +4 -0
- package/dist/types/treatPlanTypes.d.ts.map +1 -1
- package/dist/types/userGroupAttachTypes.d.ts +22 -0
- package/dist/types/userGroupAttachTypes.d.ts.map +1 -0
- package/dist/types/userGroupAttachTypes.js +2 -0
- package/dist/types/userGroupTypes.d.ts +21 -0
- package/dist/types/userGroupTypes.d.ts.map +1 -0
- package/dist/types/userGroupTypes.js +2 -0
- package/dist/types/userODTypes.d.ts +97 -0
- package/dist/types/userODTypes.d.ts.map +1 -0
- package/dist/types/userODTypes.js +2 -0
- package/dist/utils/errorHandler.d.ts +5 -0
- package/dist/utils/errorHandler.d.ts.map +1 -1
- package/dist/utils/errorHandler.js +11 -0
- package/dist/utils/httpClient.d.ts +24 -6
- package/dist/utils/httpClient.d.ts.map +1 -1
- package/dist/utils/httpClient.js +28 -24
- package/docs/Open Dental 2026-04-22/api-url-list.md +110 -0
- package/docs/Open Dental 2026-04-22/apiaccountmodules.md +116 -0
- package/docs/Open Dental 2026-04-22/apiadjustments.md +133 -0
- package/docs/Open Dental 2026-04-22/apiallergies.md +132 -0
- package/docs/Open Dental 2026-04-22/apiallergydefs.md +74 -0
- package/docs/Open Dental 2026-04-22/apiappointments.md +510 -0
- package/docs/Open Dental 2026-04-22/apiappointmenttypes.md +86 -0
- package/docs/Open Dental 2026-04-22/apiapptfielddefs.md +130 -0
- package/docs/Open Dental 2026-04-22/apiapptfields.md +147 -0
- package/docs/Open Dental 2026-04-22/apiasapcomms.md +141 -0
- package/docs/Open Dental 2026-04-22/apiautonotecontrols.md +111 -0
- package/docs/Open Dental 2026-04-22/apiautonotes.md +103 -0
- package/docs/Open Dental 2026-04-22/apibenefits.md +515 -0
- package/docs/Open Dental 2026-04-22/apicarriers.md +150 -0
- package/docs/Open Dental 2026-04-22/apichartmodules.md +135 -0
- package/docs/Open Dental 2026-04-22/apiclaimpayments.md +206 -0
- package/docs/Open Dental 2026-04-22/apiclaimprocs.md +256 -0
- package/docs/Open Dental 2026-04-22/apiclaims.md +339 -0
- package/docs/Open Dental 2026-04-22/apiclaimtrackings.md +110 -0
- package/docs/Open Dental 2026-04-22/apiclinics.md +95 -0
- package/docs/Open Dental 2026-04-22/apiclockevents.md +98 -0
- package/docs/Open Dental 2026-04-22/apicodegroups.md +140 -0
- package/docs/Open Dental 2026-04-22/apicommlogs.md +161 -0
- package/docs/Open Dental 2026-04-22/apicomputers.md +39 -0
- package/docs/Open Dental 2026-04-22/apicovcats.md +139 -0
- package/docs/Open Dental 2026-04-22/apicovspans.md +140 -0
- package/docs/Open Dental 2026-04-22/apidefinitions.md +90 -0
- package/docs/Open Dental 2026-04-22/apidiscountplans.md +154 -0
- package/docs/Open Dental 2026-04-22/apidiscountplansubs.md +125 -0
- package/docs/Open Dental 2026-04-22/apidiseasedefs.md +88 -0
- package/docs/Open Dental 2026-04-22/apidiseases.md +168 -0
- package/docs/Open Dental 2026-04-22/apidocuments.md +319 -0
- package/docs/Open Dental 2026-04-22/apiehrpatients.md +87 -0
- package/docs/Open Dental 2026-04-22/apiemployees.md +145 -0
- package/docs/Open Dental 2026-04-22/apiemployers.md +129 -0
- package/docs/Open Dental 2026-04-22/apieobattaches.md +132 -0
- package/docs/Open Dental 2026-04-22/apietrans.md +44 -0
- package/docs/Open Dental 2026-04-22/apietransmessagetexts.md +56 -0
- package/docs/Open Dental 2026-04-22/apietranss.md +79 -0
- package/docs/Open Dental 2026-04-22/apievents.md +96 -0
- package/docs/Open Dental 2026-04-22/apifamilymodules.md +108 -0
- package/docs/Open Dental 2026-04-22/apifees.md +146 -0
- package/docs/Open Dental 2026-04-22/apifeescheds.md +116 -0
- package/docs/Open Dental 2026-04-22/apihistappointments.md +121 -0
- package/docs/Open Dental 2026-04-22/apiimplementation.md +128 -0
- package/docs/Open Dental 2026-04-22/apiinsplans.md +236 -0
- package/docs/Open Dental 2026-04-22/apiinssubs.md +171 -0
- package/docs/Open Dental 2026-04-22/apiinsverifies.md +123 -0
- package/docs/Open Dental 2026-04-22/apilabcases.md +174 -0
- package/docs/Open Dental 2026-04-22/apilaboratories.md +147 -0
- package/docs/Open Dental 2026-04-22/apilabturnarounds.md +128 -0
- package/docs/Open Dental 2026-04-22/apimedicationpats.md +170 -0
- package/docs/Open Dental 2026-04-22/apimedications.md +74 -0
- package/docs/Open Dental 2026-04-22/apioperatories.md +78 -0
- package/docs/Open Dental 2026-04-22/apipatfielddefs.md +139 -0
- package/docs/Open Dental 2026-04-22/apipatfields.md +166 -0
- package/docs/Open Dental 2026-04-22/apipatientnotes.md +102 -0
- package/docs/Open Dental 2026-04-22/apipatientraces.md +51 -0
- package/docs/Open Dental 2026-04-22/apipatients.md +346 -0
- package/docs/Open Dental 2026-04-22/apipatplans.md +147 -0
- package/docs/Open Dental 2026-04-22/apipayments.md +236 -0
- package/docs/Open Dental 2026-04-22/apipayplancharges.md +59 -0
- package/docs/Open Dental 2026-04-22/apipayplans.md +256 -0
- package/docs/Open Dental 2026-04-22/apipaysplits.md +112 -0
- package/docs/Open Dental 2026-04-22/apiperioexams.md +155 -0
- package/docs/Open Dental 2026-04-22/apiperiomeasures.md +162 -0
- package/docs/Open Dental 2026-04-22/apipharmacies.md +78 -0
- package/docs/Open Dental 2026-04-22/apipopups.md +127 -0
- package/docs/Open Dental 2026-04-22/apipreferences.md +47 -0
- package/docs/Open Dental 2026-04-22/apiprocedurecodes.md +260 -0
- package/docs/Open Dental 2026-04-22/apiprocedurelogs.md +477 -0
- package/docs/Open Dental 2026-04-22/apiprocnotes.md +86 -0
- package/docs/Open Dental 2026-04-22/apiproctps.md +141 -0
- package/docs/Open Dental 2026-04-22/apiproviders.md +189 -0
- package/docs/Open Dental 2026-04-22/apiqueries.md +74 -0
- package/docs/Open Dental 2026-04-22/apiquickpastecats.md +130 -0
- package/docs/Open Dental 2026-04-22/apiquickpastenotes.md +75 -0
- package/docs/Open Dental 2026-04-22/apirecalls.md +239 -0
- package/docs/Open Dental 2026-04-22/apirecalltypes.md +65 -0
- package/docs/Open Dental 2026-04-22/apirefattaches.md +179 -0
- package/docs/Open Dental 2026-04-22/apireferrals.md +198 -0
- package/docs/Open Dental 2026-04-22/apireports.md +85 -0
- package/docs/Open Dental 2026-04-22/apirxpats.md +113 -0
- package/docs/Open Dental 2026-04-22/apischeduleops.md +58 -0
- package/docs/Open Dental 2026-04-22/apischedules.md +106 -0
- package/docs/Open Dental 2026-04-22/apisecurity.md +53 -0
- package/docs/Open Dental 2026-04-22/apisecuritylogs.md +59 -0
- package/docs/Open Dental 2026-04-22/apisheetdefs.md +118 -0
- package/docs/Open Dental 2026-04-22/apisheetfields.md +140 -0
- package/docs/Open Dental 2026-04-22/apisheets.md +156 -0
- package/docs/Open Dental 2026-04-22/apisignalods.md +118 -0
- package/docs/Open Dental 2026-04-22/apispecification.md +47 -0
- package/docs/Open Dental 2026-04-22/apistatements.md +160 -0
- package/docs/Open Dental 2026-04-22/apisubscriptions.md +133 -0
- package/docs/Open Dental 2026-04-22/apisubstitutionlinks.md +143 -0
- package/docs/Open Dental 2026-04-22/apitasklists.md +89 -0
- package/docs/Open Dental 2026-04-22/apitasknotes.md +130 -0
- package/docs/Open Dental 2026-04-22/apitasks.md +192 -0
- package/docs/Open Dental 2026-04-22/apitoothinitials.md +119 -0
- package/docs/Open Dental 2026-04-22/apitreatplanattaches.md +111 -0
- package/docs/Open Dental 2026-04-22/apitreatplans.md +201 -0
- package/docs/Open Dental 2026-04-22/apiusergroupattaches.md +57 -0
- package/docs/Open Dental 2026-04-22/apiusergroups.md +56 -0
- package/docs/Open Dental 2026-04-22/apiuserods.md +128 -0
- package/docs/Open Dental 2026-04-22/context/Open Dental _ Benefits Guide.md +294 -0
- package/docs/Open Dental 2026-04-22/context/OpenDental_DB_Documentation_v26-1.xml +20118 -0
- package/docs/Open Dental 2026-04-22/context/sitemap.xml +4617 -0
- package/package.json +8 -7
- package/release.sh +3 -5
- package/tsconfig.test.json +8 -0
- package/__tests__/example.test.ts +0 -6
- package/dist/types/appoinmentTypesType.d.ts.map +0 -1
- package/src/api/accountModules.ts +0 -61
- package/src/api/adjustments.ts +0 -126
- package/src/api/allergies.ts +0 -114
- package/src/api/appointmentTypes.ts +0 -21
- package/src/api/appointments.ts +0 -343
- package/src/api/benefits.ts +0 -155
- package/src/api/chartModules.ts +0 -53
- package/src/api/claimProcs.ts +0 -117
- package/src/api/claims.ts +0 -173
- package/src/api/commlogs.ts +0 -63
- package/src/api/definitions.ts +0 -35
- package/src/api/discountPlanSubs.ts +0 -106
- package/src/api/discountPlans.ts +0 -159
- package/src/api/diseases.ts +0 -130
- package/src/api/familyModules.ts +0 -29
- package/src/api/feeScheds.ts +0 -30
- package/src/api/fees.ts +0 -43
- package/src/api/index.ts +0 -25
- package/src/api/insPlans.ts +0 -158
- package/src/api/insSubs.ts +0 -155
- package/src/api/insVerifies.ts +0 -85
- package/src/api/labCases.ts +0 -183
- package/src/api/medicationPats.ts +0 -120
- package/src/api/operatories.ts +0 -46
- package/src/api/patFields.ts +0 -112
- package/src/api/patPlans.ts +0 -113
- package/src/api/patients.ts +0 -254
- package/src/api/payPlanCharges.ts +0 -49
- package/src/api/payPlans.ts +0 -274
- package/src/api/paySplits.ts +0 -56
- package/src/api/payments.ts +0 -86
- package/src/api/procNotes.ts +0 -67
- package/src/api/procTPs.ts +0 -112
- package/src/api/procedureCodes.ts +0 -45
- package/src/api/procedureLog.ts +0 -377
- package/src/api/providers.ts +0 -175
- package/src/api/queries.ts +0 -43
- package/src/api/recalls.ts +0 -148
- package/src/api/refAttaches.ts +0 -142
- package/src/api/referrals.ts +0 -222
- package/src/api/schedules.ts +0 -64
- package/src/api/securityLogs.ts +0 -32
- package/src/api/treatplanattaches.ts +0 -67
- package/src/api/treatplans.ts +0 -96
- package/src/index.ts +0 -2
- package/src/openDental.ts +0 -506
- package/src/transformerTypes/visitTypes.ts +0 -87
- package/src/transformers/index.ts +0 -4
- package/src/transformers/visit.ts +0 -83
- package/src/types/DiscountPlanTypes.ts +0 -70
- package/src/types/accountModuleTypes.ts +0 -46
- package/src/types/adjustmentTypes.ts +0 -63
- package/src/types/allergyTypes.ts +0 -48
- package/src/types/appoinmentTypesType.ts +0 -16
- package/src/types/appointmentTypes.ts +0 -256
- package/src/types/benefitTypes.ts +0 -70
- package/src/types/chartModuleTypes.ts +0 -65
- package/src/types/claimProcTypes.ts +0 -99
- package/src/types/claimTypes.ts +0 -227
- package/src/types/commlogTypes.ts +0 -28
- package/src/types/definitionTypes.ts +0 -24
- package/src/types/discountPlanSubTypes.ts +0 -45
- package/src/types/diseaseTypes.ts +0 -50
- package/src/types/familyModuleTypes.ts +0 -33
- package/src/types/feeSchedsTypes.ts +0 -38
- package/src/types/feeTypes.ts +0 -49
- package/src/types/insPlanTypes.ts +0 -72
- package/src/types/insSubTypes.ts +0 -65
- package/src/types/insVerifiesTypes.ts +0 -38
- package/src/types/labCaseTypes.ts +0 -71
- package/src/types/medicationPatTypes.ts +0 -50
- package/src/types/operatoryTypes.ts +0 -24
- package/src/types/patFieldTypes.ts +0 -24
- package/src/types/patPlanTypes.ts +0 -55
- package/src/types/patientTypes.ts +0 -236
- package/src/types/payPlanChargeTypes.ts +0 -77
- package/src/types/payPlanTypes.ts +0 -171
- package/src/types/paySplitTypes.ts +0 -44
- package/src/types/paymentTypes.ts +0 -69
- package/src/types/procNoteTypes.ts +0 -38
- package/src/types/procTPTypes.ts +0 -79
- package/src/types/procedureCodeTypes.ts +0 -48
- package/src/types/procedurelogTypes.ts +0 -184
- package/src/types/providerTypes.ts +0 -73
- package/src/types/queryTypes.ts +0 -17
- package/src/types/recallTypes.ts +0 -102
- package/src/types/refAttachTypes.ts +0 -63
- package/src/types/referralTypes.ts +0 -102
- package/src/types/scheduleTypes.ts +0 -32
- package/src/types/securityLogTypes.ts +0 -24
- package/src/types/treatPlanAttachTypes.ts +0 -39
- package/src/types/treatPlanTypes.ts +0 -75
- package/src/utils/errorHandler.ts +0 -0
- package/src/utils/httpClient.ts +0 -111
- package/tsconfig.json +0 -16
- /package/dist/types/{appoinmentTypesType.js → allergyDefTypes.js} +0 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# API: Recalls
|
|
2
|
+
|
|
3
|
+
**Source:** https://www.opendental.com/site/apirecalls.html
|
|
4
|
+
**DB Schema Ref:** recall, recalltype
|
|
5
|
+
**Extracted:** 2026-04-22
|
|
6
|
+
**Base Path:** `/recalls`
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Recalls track when patients are due for preventive procedures (e.g., Prophy, Perio). Each patient may have at most one recall per RecallType. The API supports retrieving, creating, updating recalls, switching recall types, and updating reminder status.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Endpoints
|
|
17
|
+
|
|
18
|
+
### GET /recalls
|
|
19
|
+
|
|
20
|
+
**Version:** 22.4.40
|
|
21
|
+
**Description:** Retrieves a list of recall records, optionally filtered by patient.
|
|
22
|
+
|
|
23
|
+
**Query Parameters:**
|
|
24
|
+
| Name | Type | Required | Default | Description |
|
|
25
|
+
|------|------|----------|---------|-------------|
|
|
26
|
+
| PatNum | integer | No | — | Filter by patient number |
|
|
27
|
+
|
|
28
|
+
**Response:** array of objects
|
|
29
|
+
| Field | Type | Description |
|
|
30
|
+
|-------|------|-------------|
|
|
31
|
+
| RecallNum | integer | Primary key |
|
|
32
|
+
| PatNum | integer | FK to patient.PatNum |
|
|
33
|
+
| DateDue | string (yyyy-MM-dd) | Date used for recall reporting; usually same as DateDueCalc unless user-modified |
|
|
34
|
+
| DatePrevious | string (yyyy-MM-dd) | Previous date trigger procedures were completed; calculated automatically |
|
|
35
|
+
| RecallInterval | string | Format: digit + 'y'/'m'/'w'/'d' (e.g., "6m") |
|
|
36
|
+
| RecallStatus | integer | FK to definition.DefNum (Category=13); 0 = None |
|
|
37
|
+
| recallStatus | string | Human-readable recall status description |
|
|
38
|
+
| Note | string | Administrative note for staff |
|
|
39
|
+
| IsDisabled | boolean | If true, recall is disabled |
|
|
40
|
+
| DateTStamp | string (timestamp) | Last inserted/updated datetime |
|
|
41
|
+
| RecallTypeNum | integer | FK to recalltype.RecallTypeNum |
|
|
42
|
+
| DisableUntilBalance | decimal | Family balance threshold; 0 = no threshold |
|
|
43
|
+
| DisableUntilDate | string (yyyy-MM-dd) | Recall disabled until this date |
|
|
44
|
+
| DateScheduled | string (yyyy-MM-dd) | Populated only if a recall appointment is scheduled |
|
|
45
|
+
| Priority | string | "Normal" or "ASAP" |
|
|
46
|
+
| TimePatternOverride | string | Overrides RecallType time pattern; 'X' and '/' characters only |
|
|
47
|
+
|
|
48
|
+
**Status Codes:**
|
|
49
|
+
| Code | Meaning |
|
|
50
|
+
|------|---------|
|
|
51
|
+
| 200 | OK |
|
|
52
|
+
| 400 | Bad Request |
|
|
53
|
+
| 404 | Not Found |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
### GET /recalls/List
|
|
58
|
+
|
|
59
|
+
**Version:** 22.1
|
|
60
|
+
**Description:** Retrieves the recall list as displayed in the Appointment Module, with pagination support.
|
|
61
|
+
|
|
62
|
+
**Query Parameters:**
|
|
63
|
+
| Name | Type | Required | Default | Description |
|
|
64
|
+
|------|------|----------|---------|-------------|
|
|
65
|
+
| DateStart | string (yyyy-MM-dd) | No | RecallDaysPast preference | Due date range start (inclusive) |
|
|
66
|
+
| DateEnd | string (yyyy-MM-dd) | No | RecallDaysFuture preference | Due date range end (inclusive) |
|
|
67
|
+
| ProvNum | integer | No | — | Filter by provider (considers PriProv and SecProv) |
|
|
68
|
+
| ClinicNum | integer | No | — | Filter by clinic; use 0 for unassigned |
|
|
69
|
+
| RecallType | string | No | — | Typically "Prophy" or "Perio" |
|
|
70
|
+
| IncludeReminded | boolean | No | false | Include patients already reminded |
|
|
71
|
+
| Offset | integer | No | 0 | Pagination offset |
|
|
72
|
+
|
|
73
|
+
**Response:** array of objects
|
|
74
|
+
| Field | Type | Description |
|
|
75
|
+
|-------|------|-------------|
|
|
76
|
+
| DueDate | string | Recall due date |
|
|
77
|
+
| PatNum | integer | Patient identifier |
|
|
78
|
+
| Patient | string | Format "Last, First" |
|
|
79
|
+
| Age | string | Patient age |
|
|
80
|
+
| Type | string | RecallType description |
|
|
81
|
+
| Interval | string | Recall interval |
|
|
82
|
+
| NumRemind | string | Number of reminders sent |
|
|
83
|
+
| LastRemind | string | Date of last reminder |
|
|
84
|
+
| Contact | string | Preferred recall contact method |
|
|
85
|
+
| Status | string | Current recall status |
|
|
86
|
+
| ClinicNum | integer | Clinic identifier |
|
|
87
|
+
| Note | string | Administrative note |
|
|
88
|
+
|
|
89
|
+
**Status Codes:**
|
|
90
|
+
| Code | Meaning |
|
|
91
|
+
|------|---------|
|
|
92
|
+
| 200 | OK |
|
|
93
|
+
| 400 | Bad Request (with explanation) |
|
|
94
|
+
| 404 | Not Found (with explanation) |
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### POST /recalls
|
|
99
|
+
|
|
100
|
+
**Version:** 24.2.31
|
|
101
|
+
**Description:** Creates a recall for a patient. Maximum one recall per RecallType per patient.
|
|
102
|
+
|
|
103
|
+
**Body Parameters:**
|
|
104
|
+
| Name | Type | Required | Description |
|
|
105
|
+
|------|------|----------|-------------|
|
|
106
|
+
| PatNum | integer | Yes | FK to patient.PatNum |
|
|
107
|
+
| RecallTypeNum | integer | Yes | FK to recalltype.RecallTypeNum |
|
|
108
|
+
| DateDue | string (yyyy-MM-dd) | No | Recall due date |
|
|
109
|
+
| RecallInterval | string | No | Format: digit + 'y'/'m'/'w'/'d'; defaults to recalltype.DefaultInterval |
|
|
110
|
+
| RecallStatus | integer | No | FK to definition.DefNum (Category=13); default 0 |
|
|
111
|
+
| Note | string | No | Administrative note |
|
|
112
|
+
| IsDisabled | boolean | No | Default false |
|
|
113
|
+
| DisableUntilBalance | decimal | No | Default 0 |
|
|
114
|
+
| DisableUntilDate | string (yyyy-MM-dd) | No | — |
|
|
115
|
+
| Priority | string | No | "Normal" or "ASAP"; default "Normal" |
|
|
116
|
+
| TimePatternOverride | string | No | 'X' and '/' characters only, 5-minute increments |
|
|
117
|
+
|
|
118
|
+
**Response:** object (same fields as GET /recalls)
|
|
119
|
+
|
|
120
|
+
**Status Codes:**
|
|
121
|
+
| Code | Meaning |
|
|
122
|
+
|------|---------|
|
|
123
|
+
| 200 | OK |
|
|
124
|
+
| 400 | Bad Request (with explanation) |
|
|
125
|
+
| 404 | Not Found (with explanation) |
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
### PUT /recalls/{RecallNum}
|
|
130
|
+
|
|
131
|
+
**Version:** 24.2.31
|
|
132
|
+
**Description:** Updates an existing recall. All body fields are optional.
|
|
133
|
+
|
|
134
|
+
**Path Parameters:**
|
|
135
|
+
| Name | Type | Required | Description |
|
|
136
|
+
|------|------|----------|-------------|
|
|
137
|
+
| RecallNum | integer | Yes | Primary key of the recall to update |
|
|
138
|
+
|
|
139
|
+
**Body Parameters:**
|
|
140
|
+
| Name | Type | Required | Description |
|
|
141
|
+
|------|------|----------|-------------|
|
|
142
|
+
| DateDue | string (yyyy-MM-dd) | No | Updated due date |
|
|
143
|
+
| RecallInterval | string | No | Format: digit + 'y'/'m'/'w'/'d' |
|
|
144
|
+
| RecallStatus | integer | No | Use 0 for "None" |
|
|
145
|
+
| Note | string | No | Overwrites existing note |
|
|
146
|
+
| IsDisabled | boolean | No | — |
|
|
147
|
+
| DisableUntilBalance | decimal | No | — |
|
|
148
|
+
| DisableUntilDate | string (yyyy-MM-dd) | No | — |
|
|
149
|
+
| Priority | string | No | "Normal" or "ASAP" |
|
|
150
|
+
| TimePatternOverride | string | No | 'X' and '/' characters only |
|
|
151
|
+
|
|
152
|
+
**Response:** object (same fields as GET /recalls)
|
|
153
|
+
|
|
154
|
+
**Status Codes:**
|
|
155
|
+
| Code | Meaning |
|
|
156
|
+
|------|---------|
|
|
157
|
+
| 200 | OK |
|
|
158
|
+
| 400 | Bad Request (with explanation) |
|
|
159
|
+
| 404 | Not Found (with explanation) |
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### PUT /recalls/Status
|
|
164
|
+
|
|
165
|
+
**Version:** 21.2
|
|
166
|
+
**Description:** Updates the RecallStatus for a patient's recall and optionally creates a commlog entry. Updates the recall reminder status — not appointment status.
|
|
167
|
+
|
|
168
|
+
**Body Parameters:**
|
|
169
|
+
| Name | Type | Required | Description |
|
|
170
|
+
|------|------|----------|-------------|
|
|
171
|
+
| PatNum | integer | Yes | Patient identifier |
|
|
172
|
+
| recallType | string | Yes | Typically "Prophy" or "Perio" |
|
|
173
|
+
| RecallStatus | integer | No | definition.DefNum where Category=13; use 0 for "None" |
|
|
174
|
+
| commlogMode | string | No | "None", "Email", "Mail", "Phone", "InPerson", "Text", "EmailAndText", or "PhoneAndText" |
|
|
175
|
+
| commlogNote | string | No | Replaces default commlog note |
|
|
176
|
+
|
|
177
|
+
**Response:** 200 OK
|
|
178
|
+
|
|
179
|
+
**Status Codes:**
|
|
180
|
+
| Code | Meaning |
|
|
181
|
+
|------|---------|
|
|
182
|
+
| 200 | OK |
|
|
183
|
+
| 400 | Bad Request (with explanation) |
|
|
184
|
+
| 404 | Not Found (with explanation) |
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
### PUT /recalls/SwitchType
|
|
189
|
+
|
|
190
|
+
**Version:** 22.4.41
|
|
191
|
+
**Description:** Toggles a patient's recall type between Prophy and Perio, mirroring the UI button behavior.
|
|
192
|
+
|
|
193
|
+
**Body Parameters:**
|
|
194
|
+
| Name | Type | Required | Description |
|
|
195
|
+
|------|------|----------|-------------|
|
|
196
|
+
| PatNum | integer | Yes | Patient identifier |
|
|
197
|
+
|
|
198
|
+
**Response:** 200 OK
|
|
199
|
+
|
|
200
|
+
**Status Codes:**
|
|
201
|
+
| Code | Meaning |
|
|
202
|
+
|------|---------|
|
|
203
|
+
| 200 | OK |
|
|
204
|
+
| 400 | Bad Request (with explanation) |
|
|
205
|
+
| 404 | Not Found (with explanation) |
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Field Reference
|
|
210
|
+
|
|
211
|
+
### Priority (enum: RecallPriority)
|
|
212
|
+
| Value | DB Int | Description |
|
|
213
|
+
|-------|--------|-------------|
|
|
214
|
+
| Normal | 0 | Default scheduling priority |
|
|
215
|
+
| ASAP | 1 | Flags record for the ASAP list |
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Implementation Notes
|
|
220
|
+
|
|
221
|
+
- A patient may have only one recall per RecallType.
|
|
222
|
+
- RecallTypes shown in /recalls/List depend on the "RecallTypesShowingInList" preference (CSV of RecallTypeNum values).
|
|
223
|
+
- `DateDue` is the field used for recall reports. It tracks `DateDueCalc` unless a user manually overrides it; gets cleared when the recall is reset or disabled.
|
|
224
|
+
- `DatePrevious` is not editable via API — it is auto-calculated from completed trigger procedures on the patient's chart.
|
|
225
|
+
- `RecallStatus` references definition.DefNum where Category=13; use 0 for "None".
|
|
226
|
+
- `DisableUntilBalance` default is 0 (no balance threshold). If positive, the family balance must be below this value for the recall to appear in the list.
|
|
227
|
+
- `TimePatternOverride` must use only 'X' and '/' characters in 5-minute increments.
|
|
228
|
+
- PUT /recalls/Status creates a commlog with CommType.Recall. Use PUT /appointments Confirm for appointment confirmation status changes.
|
|
229
|
+
- PUT /recalls/SwitchType: Prophy → Perio and Perio → Prophy.
|
|
230
|
+
- The recall table is kept synchronized automatically by the system when procedures, patient status, or procedurecode.SetRecall changes; minor sync bugs may exist.
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## Related Resources
|
|
235
|
+
| Resource | Purpose |
|
|
236
|
+
|----------|---------|
|
|
237
|
+
| Appointments | Use PUT /appointments Confirm to update appointment confirmation status |
|
|
238
|
+
| Definitions | RecallStatus values (Category=13) |
|
|
239
|
+
| RecallTypes | RecallTypeNum references |
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# API: RecallTypes
|
|
2
|
+
|
|
3
|
+
**Source:** https://www.opendental.com/site/apirecalltypes.html
|
|
4
|
+
**DB Schema Ref:** recalltype
|
|
5
|
+
**Extracted:** 2026-04-22
|
|
6
|
+
**Base Path:** `/recalltypes`
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
RecallTypes define the templates that drive patient recall scheduling, including the default interval between recalls, appointment time pattern, associated procedures, and whether the type appends to special recall appointments. All patient recalls are based on a recall type.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Endpoints
|
|
17
|
+
|
|
18
|
+
### GET /recalltypes/{RecallTypeNum}
|
|
19
|
+
|
|
20
|
+
**Version:** 24.1.44
|
|
21
|
+
**Description:** Retrieves a single recall type record by primary key.
|
|
22
|
+
|
|
23
|
+
**Path Parameters:**
|
|
24
|
+
| Name | Type | Required | Description |
|
|
25
|
+
|------|------|----------|-------------|
|
|
26
|
+
| RecallTypeNum | integer | Yes | Primary key of the recall type |
|
|
27
|
+
|
|
28
|
+
**Response:** object
|
|
29
|
+
| Field | Type | Description |
|
|
30
|
+
|-------|------|-------------|
|
|
31
|
+
| RecallTypeNum | bigint | Primary key |
|
|
32
|
+
| Description | varchar(255) | Name/description of the recall type |
|
|
33
|
+
| DefaultInterval | integer | Default interval between recalls; encoded as a combined integer (years + months + weeks + days); displayed in the app as e.g. "6m1d" |
|
|
34
|
+
| TimePattern | varchar(255) | Appointment time pattern using / and X characters; each character represents one time-increment unit per global setting |
|
|
35
|
+
| Procedures | varchar(255) | Comma-separated procedure codes to place on the recall appointment |
|
|
36
|
+
| AppendToSpecial | boolean (tinyint) | True if this type should automatically append to the appointment when scheduling a special recall type; only relevant for manual/custom types |
|
|
37
|
+
|
|
38
|
+
**Status Codes:**
|
|
39
|
+
| Code | Meaning |
|
|
40
|
+
|------|---------|
|
|
41
|
+
| 200 | OK |
|
|
42
|
+
| 404 | NotFound |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### GET /recalltypes
|
|
47
|
+
|
|
48
|
+
**Version:** 24.1.44
|
|
49
|
+
**Description:** Retrieves all recall types in the system as an array.
|
|
50
|
+
|
|
51
|
+
**Response:** array of objects (same fields as single GET)
|
|
52
|
+
|
|
53
|
+
**Status Codes:**
|
|
54
|
+
| Code | Meaning |
|
|
55
|
+
|------|---------|
|
|
56
|
+
| 200 | OK |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Implementation Notes
|
|
61
|
+
|
|
62
|
+
- `DefaultInterval` is stored as a single integer that encodes years, months, weeks, and days. Decode using Open Dental's Interval struct logic; the API returns the combined integer value.
|
|
63
|
+
- `TimePattern` appointment length is relative to the global "Time Increments" preference — each `/` or `X` represents one increment unit (e.g., 10, 15, or 20 minutes depending on setup).
|
|
64
|
+
- `AppendToSpecial` is only considered for manual/custom recall types; it is ignored if the type is itself flagged as a special recall type.
|
|
65
|
+
- `Procedures` stores ProcCodes (not CodeNums) as a comma-delimited string.
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# API: RefAttaches
|
|
2
|
+
|
|
3
|
+
**Source:** https://www.opendental.com/site/apirefattaches.html
|
|
4
|
+
**DB Schema Ref:** refattach
|
|
5
|
+
**Extracted:** 2026-04-22
|
|
6
|
+
**Base Path:** `/refattaches`
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
RefAttaches (referral attachments) link a patient to a referral source. Each record captures whether the referral is incoming (RefFrom), outgoing (RefTo), or custom (RefCustom), along with status, notes, and associated procedure information.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Endpoints
|
|
17
|
+
|
|
18
|
+
### GET /refattaches
|
|
19
|
+
|
|
20
|
+
**Version:** 22.4.27
|
|
21
|
+
**Description:** Retrieves a list of referral attachments with optional filtering.
|
|
22
|
+
|
|
23
|
+
**Query Parameters:**
|
|
24
|
+
| Name | Type | Required | Default | Description |
|
|
25
|
+
|------|------|----------|---------|-------------|
|
|
26
|
+
| PatNum | integer | No | — | Filter by patient number |
|
|
27
|
+
| ReferralNum | integer | No | — | Filter by referral number (v25.2.10+) |
|
|
28
|
+
| DateTStamp | string (yyyy-MM-dd HH:mm:ss) | No | — | Return only records modified after this timestamp (v25.2.10+) |
|
|
29
|
+
|
|
30
|
+
**Response:** array of objects
|
|
31
|
+
| Field | Type | Description |
|
|
32
|
+
|-------|------|-------------|
|
|
33
|
+
| RefAttachNum | integer | Primary key |
|
|
34
|
+
| ReferralNum | integer | FK to referral.ReferralNum |
|
|
35
|
+
| referralName | string | Referral source name |
|
|
36
|
+
| PatNum | integer | FK to patient.PatNum |
|
|
37
|
+
| ItemOrder | integer | Display order (one-based) |
|
|
38
|
+
| RefDate | string (yyyy-MM-dd) | Date of referral |
|
|
39
|
+
| ReferralType | string | "RefFrom", "RefTo", or "RefCustom" |
|
|
40
|
+
| RefToStatus | string | "None", "Declined", "Scheduled", "Consulted", "InTreatment", or "Complete" |
|
|
41
|
+
| Note | string | Patient-specific referral notes |
|
|
42
|
+
| IsTransitionOfCare | string | "true" or "false" |
|
|
43
|
+
| ProcNum | integer | FK to procedurelog.ProcNum |
|
|
44
|
+
| DateProcComplete | string (yyyy-MM-dd) | Procedure completion date |
|
|
45
|
+
| ProvNum | integer | FK to provider.ProvNum (valid only for RefTo; -1 when RefType is not RefTo) |
|
|
46
|
+
| DateTStamp | string (yyyy-MM-dd HH:mm:ss) | Last edited datetime |
|
|
47
|
+
|
|
48
|
+
**Status Codes:**
|
|
49
|
+
| Code | Meaning |
|
|
50
|
+
|------|---------|
|
|
51
|
+
| 200 | OK |
|
|
52
|
+
| 400 | Bad Request |
|
|
53
|
+
| 404 | Not Found |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
### POST /refattaches
|
|
58
|
+
|
|
59
|
+
**Version:** 21.2
|
|
60
|
+
**Description:** Attaches a patient to a referral source. Either ReferralNum or referralName must be provided.
|
|
61
|
+
|
|
62
|
+
**Body Parameters:**
|
|
63
|
+
| Name | Type | Required | Description |
|
|
64
|
+
|------|------|----------|-------------|
|
|
65
|
+
| PatNum | integer | Yes | FK to patient.PatNum |
|
|
66
|
+
| ReferralNum | integer | Conditional | FK to referral; required if referralName not provided |
|
|
67
|
+
| referralName | string | Conditional | Required if ReferralNum not provided; creates new referral record if no exact match found |
|
|
68
|
+
| RefDate | string (yyyy-MM-dd) | No | Defaults to current date |
|
|
69
|
+
| ReferralType | string | No | "RefFrom" (default), "RefTo", or "RefCustom" |
|
|
70
|
+
| RefToStatus | string | No | "None" (default), "Declined", "Scheduled", "Consulted", "InTreatment", "Complete" |
|
|
71
|
+
| Note | string | No | Patient-specific notes |
|
|
72
|
+
| IsTransitionOfCare | string | No | "true" or "false"; defaults to "false" (v23.3.26+) |
|
|
73
|
+
| ProcNum | integer | No | FK to procedurelog.ProcNum; defaults to 0 (v23.3.26+) |
|
|
74
|
+
| DateProcComplete | string (yyyy-MM-dd) | No | Defaults to "0001-01-01" (v23.3.26+) |
|
|
75
|
+
| ProvNum | integer | No | FK to provider.ProvNum; valid only when ReferralType is "RefTo" (v23.3.26+) |
|
|
76
|
+
|
|
77
|
+
**Response:** object (same fields as GET /refattaches)
|
|
78
|
+
|
|
79
|
+
**Status Codes:**
|
|
80
|
+
| Code | Meaning |
|
|
81
|
+
|------|---------|
|
|
82
|
+
| 201 | Created |
|
|
83
|
+
| 400 | Bad Request |
|
|
84
|
+
| 404 | Not Found |
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
### PUT /refattaches/{RefAttachNum}
|
|
89
|
+
|
|
90
|
+
**Version:** 23.3.26
|
|
91
|
+
**Description:** Updates an existing referral attachment. All body fields are optional.
|
|
92
|
+
|
|
93
|
+
**Path Parameters:**
|
|
94
|
+
| Name | Type | Required | Description |
|
|
95
|
+
|------|------|----------|-------------|
|
|
96
|
+
| RefAttachNum | integer | Yes | Primary key of the referral attachment |
|
|
97
|
+
|
|
98
|
+
**Body Parameters:**
|
|
99
|
+
| Name | Type | Required | Description |
|
|
100
|
+
|------|------|----------|-------------|
|
|
101
|
+
| ReferralNum | integer | No | FK to referral.ReferralNum |
|
|
102
|
+
| RefDate | string (yyyy-MM-dd) | No | Date of referral |
|
|
103
|
+
| ReferralType | string | No | "RefFrom", "RefTo", or "RefCustom" |
|
|
104
|
+
| RefToStatus | string | No | "None", "Declined", "Scheduled", "Consulted", "InTreatment", "Complete" |
|
|
105
|
+
| Note | string | No | Overwrites existing note |
|
|
106
|
+
| IsTransitionOfCare | string | No | "true" or "false" |
|
|
107
|
+
| ProcNum | integer | No | FK to procedurelog.ProcNum |
|
|
108
|
+
| DateProcComplete | string (yyyy-MM-dd) | No | Procedure completion date |
|
|
109
|
+
| ProvNum | integer | No | FK to provider.ProvNum; valid only when ReferralType is "RefTo" |
|
|
110
|
+
|
|
111
|
+
**Response:** object (same fields as GET /refattaches)
|
|
112
|
+
|
|
113
|
+
**Status Codes:**
|
|
114
|
+
| Code | Meaning |
|
|
115
|
+
|------|---------|
|
|
116
|
+
| 200 | OK |
|
|
117
|
+
| 400 | Bad Request |
|
|
118
|
+
| 404 | Not Found |
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
### DELETE /refattaches/{RefAttachNum}
|
|
123
|
+
|
|
124
|
+
**Version:** 23.3.26
|
|
125
|
+
**Description:** Removes a referral attachment record.
|
|
126
|
+
|
|
127
|
+
**Path Parameters:**
|
|
128
|
+
| Name | Type | Required | Description |
|
|
129
|
+
|------|------|----------|-------------|
|
|
130
|
+
| RefAttachNum | integer | Yes | Primary key of the referral attachment |
|
|
131
|
+
|
|
132
|
+
**Response:** 200 OK
|
|
133
|
+
|
|
134
|
+
**Status Codes:**
|
|
135
|
+
| Code | Meaning |
|
|
136
|
+
|------|---------|
|
|
137
|
+
| 200 | OK |
|
|
138
|
+
| 400 | Bad Request |
|
|
139
|
+
| 404 | Not Found |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Field Reference
|
|
144
|
+
|
|
145
|
+
### ReferralType (enum: ReferralType)
|
|
146
|
+
| Value | DB Int | Description |
|
|
147
|
+
|-------|--------|-------------|
|
|
148
|
+
| RefTo | 0 | Outgoing referral — patient referred out |
|
|
149
|
+
| RefFrom | 1 | Incoming referral — patient referred in |
|
|
150
|
+
| RefCustom | 2 | Neither to nor from; rarely used; will not appear on reports |
|
|
151
|
+
|
|
152
|
+
### RefToStatus (enum: ReferralToStatus)
|
|
153
|
+
| Value | DB Int | Description |
|
|
154
|
+
|-------|--------|-------------|
|
|
155
|
+
| None | 0 | No status set |
|
|
156
|
+
| Declined | 1 | Patient declined referral |
|
|
157
|
+
| Scheduled | 2 | Appointment scheduled |
|
|
158
|
+
| Consulted | 3 | Patient consulted |
|
|
159
|
+
| InTreatment | 4 | Patient in treatment |
|
|
160
|
+
| Complete | 5 | Referral complete |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Implementation Notes
|
|
165
|
+
|
|
166
|
+
- Either `ReferralNum` or `referralName` must be supplied on POST; if `referralName` is used and no exact match exists, a new referral record is created.
|
|
167
|
+
- `ProvNum` is only valid when `ReferralType` is "RefTo"; it is stored as -1 in the DB when ReferralType is not RefTo.
|
|
168
|
+
- `IsTransitionOfCare` is a boolean represented as a string ("true"/"false"); outgoing referrals (RefTo) default to true in the UI.
|
|
169
|
+
- `RefCustom` type records do not appear on referral reports.
|
|
170
|
+
- `DateProcComplete` defaults to "0001-01-01" (effectively null/unset).
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Related Resources
|
|
175
|
+
| Resource | Purpose |
|
|
176
|
+
|----------|---------|
|
|
177
|
+
| Referrals | Manage referral source records referenced by ReferralNum |
|
|
178
|
+
| Procedures | ProcNum links to procedurelog |
|
|
179
|
+
| Providers | ProvNum links to provider |
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# API: Referrals
|
|
2
|
+
|
|
3
|
+
**Source:** https://www.opendental.com/site/apireferrals.html
|
|
4
|
+
**DB Schema Ref:** referral
|
|
5
|
+
**Extracted:** 2026-04-22
|
|
6
|
+
**Base Path:** `/referrals`
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Referrals are the source records for referring providers, patients, or non-person sources (e.g., "website", "word of mouth"). All referral info is stored on the referral record itself for easy querying. Referral attachments (linking a referral to a patient) are managed through the RefAttaches API.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Endpoints
|
|
17
|
+
|
|
18
|
+
### GET /referrals/{ReferralNum}
|
|
19
|
+
|
|
20
|
+
**Version:** 24.1.34
|
|
21
|
+
**Description:** Retrieves a single referral record by its identifier.
|
|
22
|
+
|
|
23
|
+
**Path Parameters:**
|
|
24
|
+
| Name | Type | Required | Description |
|
|
25
|
+
|------|------|----------|-------------|
|
|
26
|
+
| ReferralNum | integer | Yes | Referral identifier |
|
|
27
|
+
|
|
28
|
+
**Response:** object
|
|
29
|
+
| Field | Type | Description |
|
|
30
|
+
|-------|------|-------------|
|
|
31
|
+
| ReferralNum | integer | Primary key |
|
|
32
|
+
| LName | string | Last name, or description for non-person sources (e.g., "word of mouth") |
|
|
33
|
+
| FName | string | First name |
|
|
34
|
+
| MName | string | Middle name or initial |
|
|
35
|
+
| SSN | string | SSN or TIN (no punctuation; in Canada, holds referring provider CDA number) |
|
|
36
|
+
| UsingTIN | string | "true" if SSN field contains TIN |
|
|
37
|
+
| Specialty | integer | FK to definition.DefNum (Category=35) |
|
|
38
|
+
| specialty | string | Specialty name |
|
|
39
|
+
| ST | string | State (max 2 characters) |
|
|
40
|
+
| Telephone | string | Primary phone number |
|
|
41
|
+
| Address | string | Mailing address |
|
|
42
|
+
| Address2 | string | Additional address info |
|
|
43
|
+
| City | string | City |
|
|
44
|
+
| Zip | string | ZIP code |
|
|
45
|
+
| Note | string | General notes about the referral |
|
|
46
|
+
| Phone2 | string | Additional phone number (no format restrictions) |
|
|
47
|
+
| IsHidden | string | "true" if hidden (records cannot be deleted, only hidden) |
|
|
48
|
+
| NotPerson | string | "true" for non-person sources (e.g., Yellow Pages) |
|
|
49
|
+
| Title | string | Professional title (e.g., DMD, DDS) |
|
|
50
|
+
| EMail | string | Email address |
|
|
51
|
+
| PatNum | integer | FK to patient.PatNum; 0 if not a patient |
|
|
52
|
+
| IsDoctor | string | "true" if another dentist or physician |
|
|
53
|
+
| DateTStamp | string (timestamp) | Last edited datetime |
|
|
54
|
+
| IsPreferred | string | "true" if marked as a preferred referral |
|
|
55
|
+
| BusinessName | string | Business affiliation name |
|
|
56
|
+
| DisplayNote | string | Shows in Family Module Patient Info grid (scheduling notes) |
|
|
57
|
+
| isPatient | string | "true" if this referral is linked to a patient record |
|
|
58
|
+
|
|
59
|
+
**Status Codes:**
|
|
60
|
+
| Code | Meaning |
|
|
61
|
+
|------|---------|
|
|
62
|
+
| 200 | OK |
|
|
63
|
+
| 404 | Not Found |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### GET /referrals
|
|
68
|
+
|
|
69
|
+
**Version:** 21.4
|
|
70
|
+
**Description:** Retrieves all referral sources with optional boolean and string filters.
|
|
71
|
+
|
|
72
|
+
**Query Parameters:**
|
|
73
|
+
| Name | Type | Required | Default | Description |
|
|
74
|
+
|------|------|----------|---------|-------------|
|
|
75
|
+
| IsHidden | string | No | — | Filter by hidden status ("true"/"false") (v24.1.34+) |
|
|
76
|
+
| NotPerson | string | No | — | Filter non-person referrals (v24.1.34+) |
|
|
77
|
+
| IsDoctor | string | No | — | Filter doctor referrals (v24.1.34+) |
|
|
78
|
+
| IsPreferred | string | No | — | Filter preferred referrals (v24.1.34+) |
|
|
79
|
+
| isPatient | string | No | — | Filter patient referrals (v24.1.34+) |
|
|
80
|
+
| BusinessName | string | No | — | Partial string match on business name (v24.4.19+) |
|
|
81
|
+
|
|
82
|
+
**Response:** array of referral objects (same fields as single GET)
|
|
83
|
+
|
|
84
|
+
**Status Codes:**
|
|
85
|
+
| Code | Meaning |
|
|
86
|
+
|------|---------|
|
|
87
|
+
| 200 | OK |
|
|
88
|
+
| 400 | Bad Request |
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
### POST /referrals
|
|
93
|
+
|
|
94
|
+
**Version:** 22.3
|
|
95
|
+
**Description:** Creates a new referral. Referrals can be for patients (provide PatNum), providers (provide Specialty), or non-persons (provide neither).
|
|
96
|
+
|
|
97
|
+
**Body Parameters:**
|
|
98
|
+
| Name | Type | Required | Description |
|
|
99
|
+
|------|------|----------|-------------|
|
|
100
|
+
| LName | string | Yes | Last name or description for non-person sources |
|
|
101
|
+
| PatNum | integer | No | Sets isPatient=true, IsDoctor=false, NotPerson=false |
|
|
102
|
+
| FName | string | No | First name |
|
|
103
|
+
| MName | string | No | Middle name or initial |
|
|
104
|
+
| SSN | string | No | No punctuation (v24.4.16+) |
|
|
105
|
+
| UsingTIN | string | No | "true"/"false"; default "false" (v24.4.16+) |
|
|
106
|
+
| Specialty | integer | No | definition.DefNum where Category=35; sets IsDoctor=true |
|
|
107
|
+
| specialty | string | No | definition.ItemName where DefCat=ProviderSpecialty(35) |
|
|
108
|
+
| ST | string | No | Max 2 characters (v24.4.16+) |
|
|
109
|
+
| Telephone | string | No | Must be 10 digits (v24.4.16+) |
|
|
110
|
+
| Address | string | No | (v24.4.16+) |
|
|
111
|
+
| Address2 | string | No | (v24.4.16+) |
|
|
112
|
+
| City | string | No | (v24.4.16+) |
|
|
113
|
+
| Zip | string | No | (v24.4.16+) |
|
|
114
|
+
| Note | string | No | General notes |
|
|
115
|
+
| Phone2 | string | No | Additional phone, no restrictions (v24.4.16+) |
|
|
116
|
+
| NotPerson | string | No | Default "false" unless neither PatNum nor Specialty supplied (v24.4.16+) |
|
|
117
|
+
| Title | string | No | Professional title |
|
|
118
|
+
| EMail | string | No | Email address (v24.4.16+) |
|
|
119
|
+
| IsDoctor | string | No | Default "false" unless Specialty supplied (v24.4.16+) |
|
|
120
|
+
| BusinessName | string | No | Business affiliation (v24.4.16+) |
|
|
121
|
+
| DisplayNote | string | No | Scheduling notes shown in Family Module (v24.4.16+) |
|
|
122
|
+
|
|
123
|
+
**Response:** object (same fields as GET /referrals/{ReferralNum})
|
|
124
|
+
|
|
125
|
+
**Status Codes:**
|
|
126
|
+
| Code | Meaning |
|
|
127
|
+
|------|---------|
|
|
128
|
+
| 201 | Created |
|
|
129
|
+
| 400 | Bad Request |
|
|
130
|
+
| 404 | Not Found |
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
### PUT /referrals/{ReferralNum}
|
|
135
|
+
|
|
136
|
+
**Version:** 22.4.24
|
|
137
|
+
**Description:** Updates an existing referral. All body fields are optional. Referrals linked to a patient can only have Note and DisplayNote modified.
|
|
138
|
+
|
|
139
|
+
**Path Parameters:**
|
|
140
|
+
| Name | Type | Required | Description |
|
|
141
|
+
|------|------|----------|-------------|
|
|
142
|
+
| ReferralNum | integer | Yes | Referral identifier |
|
|
143
|
+
|
|
144
|
+
**Body Parameters:**
|
|
145
|
+
| Name | Type | Required | Description |
|
|
146
|
+
|------|------|----------|-------------|
|
|
147
|
+
| LName | string | No | Last name or description |
|
|
148
|
+
| FName | string | No | First name |
|
|
149
|
+
| MName | string | No | Middle name or initial |
|
|
150
|
+
| SSN | string | No | No punctuation (v24.4.16+) |
|
|
151
|
+
| UsingTIN | string | No | "true"/"false" (v24.4.16+) |
|
|
152
|
+
| Specialty | integer | No | Use 0 to indicate None |
|
|
153
|
+
| ST | string | No | Max 2 characters (v24.4.16+) |
|
|
154
|
+
| Telephone | string | No | Must be 10 digits (v24.4.16+) |
|
|
155
|
+
| Address | string | No | (v24.4.16+) |
|
|
156
|
+
| Address2 | string | No | (v24.4.16+) |
|
|
157
|
+
| City | string | No | (v24.4.16+) |
|
|
158
|
+
| Zip | string | No | (v24.4.16+) |
|
|
159
|
+
| Note | string | No | General notes |
|
|
160
|
+
| Phone2 | string | No | Additional phone (v24.4.16+) |
|
|
161
|
+
| NotPerson | string | No | (v24.4.16+) |
|
|
162
|
+
| Title | string | No | Professional title |
|
|
163
|
+
| EMail | string | No | Email address (v24.4.16+) |
|
|
164
|
+
| IsDoctor | string | No | (v24.4.16+) |
|
|
165
|
+
| BusinessName | string | No | (v24.4.16+) |
|
|
166
|
+
| DisplayNote | string | No | Scheduling notes (v24.4.16+) |
|
|
167
|
+
|
|
168
|
+
**Response:** object (same fields as GET /referrals/{ReferralNum})
|
|
169
|
+
|
|
170
|
+
**Status Codes:**
|
|
171
|
+
| Code | Meaning |
|
|
172
|
+
|------|---------|
|
|
173
|
+
| 200 | OK |
|
|
174
|
+
| 400 | Bad Request |
|
|
175
|
+
| 404 | Not Found |
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Implementation Notes
|
|
180
|
+
|
|
181
|
+
- All boolean fields are represented as string values: "true" or "false".
|
|
182
|
+
- `Telephone` must be exactly 10 digits (API restriction prior to v25.4; DB stores up to 30 chars).
|
|
183
|
+
- `SSN` must contain no punctuation.
|
|
184
|
+
- Referral records linked to a patient (`isPatient=true`) have restricted update capabilities — only `Note` and `DisplayNote` can be modified.
|
|
185
|
+
- `IsDoctor=true` referrals cannot be patients.
|
|
186
|
+
- When neither `PatNum` nor `Specialty` is supplied on POST, `NotPerson` defaults to "true".
|
|
187
|
+
- Referrals cannot be deleted via the API; set `IsHidden=true` to hide inactive records.
|
|
188
|
+
- `Specialty` uses `Specialty=0` to clear/unset on PUT.
|
|
189
|
+
- `DisplayNote` is a global field that appears in the Family Module Patient Info grid as scheduling notes.
|
|
190
|
+
- `PatNum=0` on the response indicates the referral is not linked to a patient.
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Related Resources
|
|
195
|
+
| Resource | Purpose |
|
|
196
|
+
|----------|---------|
|
|
197
|
+
| RefAttaches | Link referral sources to specific patients |
|
|
198
|
+
| Definitions | Specialty values (Category=35) |
|