@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.
Files changed (770) hide show
  1. package/README.md +388 -16
  2. package/dist/api/accountModules.d.ts +23 -3
  3. package/dist/api/accountModules.d.ts.map +1 -1
  4. package/dist/api/accountModules.js +17 -6
  5. package/dist/api/adjustments.d.ts +5 -2
  6. package/dist/api/adjustments.d.ts.map +1 -1
  7. package/dist/api/adjustments.js +11 -5
  8. package/dist/api/allergies.d.ts +5 -2
  9. package/dist/api/allergies.d.ts.map +1 -1
  10. package/dist/api/allergies.js +11 -5
  11. package/dist/api/allergydefs.d.ts +27 -0
  12. package/dist/api/allergydefs.d.ts.map +1 -0
  13. package/dist/api/allergydefs.js +40 -0
  14. package/dist/api/appointmentTypes.d.ts +12 -2
  15. package/dist/api/appointmentTypes.d.ts.map +1 -1
  16. package/dist/api/appointmentTypes.js +12 -2
  17. package/dist/api/appointments.d.ts +5 -2
  18. package/dist/api/appointments.d.ts.map +1 -1
  19. package/dist/api/appointments.js +19 -13
  20. package/dist/api/apptFieldDefs.d.ts +54 -0
  21. package/dist/api/apptFieldDefs.d.ts.map +1 -0
  22. package/dist/api/apptFieldDefs.js +79 -0
  23. package/dist/api/apptFields.d.ts +60 -0
  24. package/dist/api/apptFields.d.ts.map +1 -0
  25. package/dist/api/apptFields.js +102 -0
  26. package/dist/api/asapComms.d.ts +44 -0
  27. package/dist/api/asapComms.d.ts.map +1 -0
  28. package/dist/api/asapComms.js +64 -0
  29. package/dist/api/autoNoteControls.d.ts +48 -0
  30. package/dist/api/autoNoteControls.d.ts.map +1 -0
  31. package/dist/api/autoNoteControls.js +74 -0
  32. package/dist/api/autoNotes.d.ts +42 -0
  33. package/dist/api/autoNotes.d.ts.map +1 -0
  34. package/dist/api/autoNotes.js +70 -0
  35. package/dist/api/benefits.d.ts +14 -3
  36. package/dist/api/benefits.d.ts.map +1 -1
  37. package/dist/api/benefits.js +24 -5
  38. package/dist/api/carriers.d.ts +68 -0
  39. package/dist/api/carriers.d.ts.map +1 -0
  40. package/dist/api/carriers.js +107 -0
  41. package/dist/api/chartModules.d.ts +1 -1
  42. package/dist/api/chartModules.d.ts.map +1 -1
  43. package/dist/api/chartModules.js +4 -4
  44. package/dist/api/claimPayments.d.ts +93 -0
  45. package/dist/api/claimPayments.d.ts.map +1 -0
  46. package/dist/api/claimPayments.js +163 -0
  47. package/dist/api/claimProcs.d.ts +42 -2
  48. package/dist/api/claimProcs.d.ts.map +1 -1
  49. package/dist/api/claimProcs.js +65 -2
  50. package/dist/api/claimTrackings.d.ts +44 -0
  51. package/dist/api/claimTrackings.d.ts.map +1 -0
  52. package/dist/api/claimTrackings.js +70 -0
  53. package/dist/api/claims.d.ts +33 -0
  54. package/dist/api/claims.d.ts.map +1 -1
  55. package/dist/api/claims.js +60 -6
  56. package/dist/api/clinics.d.ts +47 -0
  57. package/dist/api/clinics.d.ts.map +1 -0
  58. package/dist/api/clinics.js +70 -0
  59. package/dist/api/clockEvents.d.ts +33 -0
  60. package/dist/api/clockEvents.d.ts.map +1 -0
  61. package/dist/api/clockEvents.js +42 -0
  62. package/dist/api/codeGroups.d.ts +64 -0
  63. package/dist/api/codeGroups.d.ts.map +1 -0
  64. package/dist/api/codeGroups.js +84 -0
  65. package/dist/api/commlogs.d.ts +14 -2
  66. package/dist/api/commlogs.d.ts.map +1 -1
  67. package/dist/api/commlogs.js +11 -4
  68. package/dist/api/computers.d.ts +25 -0
  69. package/dist/api/computers.d.ts.map +1 -0
  70. package/dist/api/computers.js +29 -0
  71. package/dist/api/covCats.d.ts +58 -0
  72. package/dist/api/covCats.d.ts.map +1 -0
  73. package/dist/api/covCats.js +78 -0
  74. package/dist/api/covSpans.d.ts +60 -0
  75. package/dist/api/covSpans.d.ts.map +1 -0
  76. package/dist/api/covSpans.js +91 -0
  77. package/dist/api/definitions.d.ts +19 -3
  78. package/dist/api/definitions.d.ts.map +1 -1
  79. package/dist/api/definitions.js +26 -2
  80. package/dist/api/discountPlanSubs.js +3 -3
  81. package/dist/api/discountPlans.d.ts +4 -1
  82. package/dist/api/discountPlans.d.ts.map +1 -1
  83. package/dist/api/discountPlans.js +9 -3
  84. package/dist/api/diseaseDefs.d.ts +35 -0
  85. package/dist/api/diseaseDefs.d.ts.map +1 -0
  86. package/dist/api/diseaseDefs.js +49 -0
  87. package/dist/api/diseases.d.ts +4 -1
  88. package/dist/api/diseases.d.ts.map +1 -1
  89. package/dist/api/diseases.js +6 -3
  90. package/dist/api/documents.d.ts +137 -0
  91. package/dist/api/documents.d.ts.map +1 -0
  92. package/dist/api/documents.js +235 -0
  93. package/dist/api/eTrans.d.ts +20 -0
  94. package/dist/api/eTrans.d.ts.map +1 -0
  95. package/dist/api/eTrans.js +36 -0
  96. package/dist/api/eTransMessageTexts.d.ts +15 -0
  97. package/dist/api/eTransMessageTexts.d.ts.map +1 -0
  98. package/dist/api/eTransMessageTexts.js +22 -0
  99. package/dist/api/eTranss.d.ts +22 -0
  100. package/dist/api/eTranss.d.ts.map +1 -0
  101. package/dist/api/eTranss.js +29 -0
  102. package/dist/api/ehrPatients.d.ts +29 -0
  103. package/dist/api/ehrPatients.d.ts.map +1 -0
  104. package/dist/api/ehrPatients.js +42 -0
  105. package/dist/api/employees.d.ts +66 -0
  106. package/dist/api/employees.d.ts.map +1 -0
  107. package/dist/api/employees.js +86 -0
  108. package/dist/api/employers.d.ts +53 -0
  109. package/dist/api/employers.d.ts.map +1 -0
  110. package/dist/api/employers.js +81 -0
  111. package/dist/api/eobAttaches.d.ts +56 -0
  112. package/dist/api/eobAttaches.d.ts.map +1 -0
  113. package/dist/api/eobAttaches.js +96 -0
  114. package/dist/api/events.d.ts +26 -0
  115. package/dist/api/events.d.ts.map +1 -0
  116. package/dist/api/events.js +26 -0
  117. package/dist/api/familyModules.d.ts +12 -2
  118. package/dist/api/familyModules.d.ts.map +1 -1
  119. package/dist/api/familyModules.js +9 -4
  120. package/dist/api/feeScheds.d.ts +8 -2
  121. package/dist/api/feeScheds.d.ts.map +1 -1
  122. package/dist/api/feeScheds.js +14 -2
  123. package/dist/api/fees.d.ts +41 -3
  124. package/dist/api/fees.d.ts.map +1 -1
  125. package/dist/api/fees.js +58 -2
  126. package/dist/api/histAppointments.d.ts +29 -0
  127. package/dist/api/histAppointments.d.ts.map +1 -0
  128. package/dist/api/histAppointments.js +33 -0
  129. package/dist/api/index.d.ts +89 -13
  130. package/dist/api/index.d.ts.map +1 -1
  131. package/dist/api/index.js +180 -28
  132. package/dist/api/insPlans.d.ts +11 -4
  133. package/dist/api/insPlans.d.ts.map +1 -1
  134. package/dist/api/insPlans.js +17 -7
  135. package/dist/api/insSubs.d.ts +13 -5
  136. package/dist/api/insSubs.d.ts.map +1 -1
  137. package/dist/api/insSubs.js +19 -8
  138. package/dist/api/insVerifies.d.ts +9 -6
  139. package/dist/api/insVerifies.d.ts.map +1 -1
  140. package/dist/api/insVerifies.js +15 -9
  141. package/dist/api/labCases.d.ts +22 -7
  142. package/dist/api/labCases.d.ts.map +1 -1
  143. package/dist/api/labCases.js +34 -11
  144. package/dist/api/labTurnarounds.d.ts +52 -0
  145. package/dist/api/labTurnarounds.d.ts.map +1 -0
  146. package/dist/api/labTurnarounds.js +78 -0
  147. package/dist/api/laboratories.d.ts +71 -0
  148. package/dist/api/laboratories.d.ts.map +1 -0
  149. package/dist/api/laboratories.js +91 -0
  150. package/dist/api/medicationPats.d.ts +5 -2
  151. package/dist/api/medicationPats.d.ts.map +1 -1
  152. package/dist/api/medicationPats.js +11 -5
  153. package/dist/api/medications.d.ts +37 -0
  154. package/dist/api/medications.d.ts.map +1 -0
  155. package/dist/api/medications.js +46 -0
  156. package/dist/api/operatories.d.ts +4 -3
  157. package/dist/api/operatories.d.ts.map +1 -1
  158. package/dist/api/operatories.js +8 -4
  159. package/dist/api/patFieldDefs.d.ts +57 -0
  160. package/dist/api/patFieldDefs.d.ts.map +1 -0
  161. package/dist/api/patFieldDefs.js +83 -0
  162. package/dist/api/patFields.d.ts +11 -6
  163. package/dist/api/patFields.d.ts.map +1 -1
  164. package/dist/api/patFields.js +23 -14
  165. package/dist/api/patPlans.d.ts +13 -6
  166. package/dist/api/patPlans.d.ts.map +1 -1
  167. package/dist/api/patPlans.js +18 -8
  168. package/dist/api/patientNotes.d.ts +48 -0
  169. package/dist/api/patientNotes.d.ts.map +1 -0
  170. package/dist/api/patientNotes.js +70 -0
  171. package/dist/api/patientRaces.d.ts +21 -0
  172. package/dist/api/patientRaces.d.ts.map +1 -0
  173. package/dist/api/patientRaces.js +28 -0
  174. package/dist/api/patients.d.ts +6 -3
  175. package/dist/api/patients.d.ts.map +1 -1
  176. package/dist/api/patients.js +15 -6
  177. package/dist/api/payPlanCharges.d.ts +4 -0
  178. package/dist/api/payPlanCharges.d.ts.map +1 -1
  179. package/dist/api/payPlanCharges.js +4 -0
  180. package/dist/api/payPlans.d.ts +10 -1
  181. package/dist/api/payPlans.d.ts.map +1 -1
  182. package/dist/api/payPlans.js +17 -18
  183. package/dist/api/paySplits.d.ts +12 -7
  184. package/dist/api/paySplits.d.ts.map +1 -1
  185. package/dist/api/paySplits.js +14 -6
  186. package/dist/api/payments.d.ts +18 -3
  187. package/dist/api/payments.d.ts.map +1 -1
  188. package/dist/api/payments.js +30 -4
  189. package/dist/api/perioExams.d.ts +67 -0
  190. package/dist/api/perioExams.d.ts.map +1 -0
  191. package/dist/api/perioExams.js +104 -0
  192. package/dist/api/perioMeasures.d.ts +74 -0
  193. package/dist/api/perioMeasures.d.ts.map +1 -0
  194. package/dist/api/perioMeasures.js +118 -0
  195. package/dist/api/pharmacies.d.ts +29 -0
  196. package/dist/api/pharmacies.d.ts.map +1 -0
  197. package/dist/api/pharmacies.js +38 -0
  198. package/dist/api/popups.d.ts +42 -0
  199. package/dist/api/popups.d.ts.map +1 -0
  200. package/dist/api/popups.js +71 -0
  201. package/dist/api/preferences.d.ts +31 -0
  202. package/dist/api/preferences.d.ts.map +1 -0
  203. package/dist/api/preferences.js +46 -0
  204. package/dist/api/procNotes.d.ts +5 -2
  205. package/dist/api/procNotes.d.ts.map +1 -1
  206. package/dist/api/procNotes.js +9 -3
  207. package/dist/api/procTPs.d.ts +6 -3
  208. package/dist/api/procTPs.d.ts.map +1 -1
  209. package/dist/api/procTPs.js +10 -4
  210. package/dist/api/procedureCodes.d.ts +9 -7
  211. package/dist/api/procedureCodes.d.ts.map +1 -1
  212. package/dist/api/procedureCodes.js +13 -8
  213. package/dist/api/procedureLog.d.ts +5 -2
  214. package/dist/api/procedureLog.d.ts.map +1 -1
  215. package/dist/api/procedureLog.js +15 -6
  216. package/dist/api/providers.d.ts +4 -1
  217. package/dist/api/providers.d.ts.map +1 -1
  218. package/dist/api/providers.js +10 -4
  219. package/dist/api/queries.d.ts +24 -1
  220. package/dist/api/queries.d.ts.map +1 -1
  221. package/dist/api/queries.js +35 -0
  222. package/dist/api/quickPasteCats.d.ts +24 -0
  223. package/dist/api/quickPasteCats.d.ts.map +1 -0
  224. package/dist/api/quickPasteCats.js +33 -0
  225. package/dist/api/quickPasteNotes.d.ts +27 -0
  226. package/dist/api/quickPasteNotes.d.ts.map +1 -0
  227. package/dist/api/quickPasteNotes.js +36 -0
  228. package/dist/api/recallTypes.d.ts +31 -0
  229. package/dist/api/recallTypes.d.ts.map +1 -0
  230. package/dist/api/recallTypes.js +40 -0
  231. package/dist/api/recalls.d.ts +20 -4
  232. package/dist/api/recalls.d.ts.map +1 -1
  233. package/dist/api/recalls.js +26 -14
  234. package/dist/api/refAttaches.d.ts +6 -3
  235. package/dist/api/refAttaches.d.ts.map +1 -1
  236. package/dist/api/refAttaches.js +11 -5
  237. package/dist/api/referrals.d.ts +4 -1
  238. package/dist/api/referrals.d.ts.map +1 -1
  239. package/dist/api/referrals.js +10 -4
  240. package/dist/api/reports.d.ts +34 -0
  241. package/dist/api/reports.d.ts.map +1 -0
  242. package/dist/api/reports.js +40 -0
  243. package/dist/api/rxPats.d.ts +27 -0
  244. package/dist/api/rxPats.d.ts.map +1 -0
  245. package/dist/api/rxPats.js +41 -0
  246. package/dist/api/scheduleOps.d.ts +20 -0
  247. package/dist/api/scheduleOps.d.ts.map +1 -0
  248. package/dist/api/scheduleOps.js +30 -0
  249. package/dist/api/schedules.d.ts +23 -2
  250. package/dist/api/schedules.d.ts.map +1 -1
  251. package/dist/api/schedules.js +31 -2
  252. package/dist/api/security.d.ts +25 -0
  253. package/dist/api/security.d.ts.map +1 -0
  254. package/dist/api/security.js +29 -0
  255. package/dist/api/securityLogs.d.ts +5 -2
  256. package/dist/api/securityLogs.d.ts.map +1 -1
  257. package/dist/api/securityLogs.js +8 -2
  258. package/dist/api/sheetDefs.d.ts +27 -0
  259. package/dist/api/sheetDefs.d.ts.map +1 -0
  260. package/dist/api/sheetDefs.js +36 -0
  261. package/dist/api/sheetFields.d.ts +38 -0
  262. package/dist/api/sheetFields.d.ts.map +1 -0
  263. package/dist/api/sheetFields.js +53 -0
  264. package/dist/api/sheets.d.ts +47 -0
  265. package/dist/api/sheets.d.ts.map +1 -0
  266. package/dist/api/sheets.js +64 -0
  267. package/dist/api/signalODs.d.ts +23 -0
  268. package/dist/api/signalODs.d.ts.map +1 -0
  269. package/dist/api/signalODs.js +30 -0
  270. package/dist/api/statements.d.ts +48 -0
  271. package/dist/api/statements.d.ts.map +1 -0
  272. package/dist/api/statements.js +72 -0
  273. package/dist/api/subscriptions.d.ts +67 -0
  274. package/dist/api/subscriptions.d.ts.map +1 -0
  275. package/dist/api/subscriptions.js +93 -0
  276. package/dist/api/substitutionLinks.d.ts +51 -0
  277. package/dist/api/substitutionLinks.d.ts.map +1 -0
  278. package/dist/api/substitutionLinks.js +74 -0
  279. package/dist/api/taskLists.d.ts +20 -0
  280. package/dist/api/taskLists.d.ts.map +1 -0
  281. package/dist/api/taskLists.js +24 -0
  282. package/dist/api/taskNotes.d.ts +50 -0
  283. package/dist/api/taskNotes.d.ts.map +1 -0
  284. package/dist/api/taskNotes.js +81 -0
  285. package/dist/api/tasks.d.ts +69 -0
  286. package/dist/api/tasks.d.ts.map +1 -0
  287. package/dist/api/tasks.js +89 -0
  288. package/dist/api/toothInitials.d.ts +39 -0
  289. package/dist/api/toothInitials.d.ts.map +1 -0
  290. package/dist/api/toothInitials.js +64 -0
  291. package/dist/api/treatplanattaches.d.ts +5 -2
  292. package/dist/api/treatplanattaches.d.ts.map +1 -1
  293. package/dist/api/treatplanattaches.js +10 -4
  294. package/dist/api/treatplans.d.ts +15 -1
  295. package/dist/api/treatplans.d.ts.map +1 -1
  296. package/dist/api/treatplans.js +26 -4
  297. package/dist/api/userGroupAttaches.d.ts +20 -0
  298. package/dist/api/userGroupAttaches.d.ts.map +1 -0
  299. package/dist/api/userGroupAttaches.js +30 -0
  300. package/dist/api/userGroups.d.ts +20 -0
  301. package/dist/api/userGroups.d.ts.map +1 -0
  302. package/dist/api/userGroups.js +29 -0
  303. package/dist/api/userODs.d.ts +49 -0
  304. package/dist/api/userODs.d.ts.map +1 -0
  305. package/dist/api/userODs.js +64 -0
  306. package/dist/openDental.d.ts +624 -115
  307. package/dist/openDental.d.ts.map +1 -1
  308. package/dist/openDental.js +800 -291
  309. package/dist/types/DiscountPlanTypes.d.ts +3 -0
  310. package/dist/types/DiscountPlanTypes.d.ts.map +1 -1
  311. package/dist/types/adjustmentTypes.d.ts +3 -0
  312. package/dist/types/adjustmentTypes.d.ts.map +1 -1
  313. package/dist/types/allergyDefTypes.d.ts +25 -0
  314. package/dist/types/allergyDefTypes.d.ts.map +1 -0
  315. package/dist/types/allergyTypes.d.ts +3 -0
  316. package/dist/types/allergyTypes.d.ts.map +1 -1
  317. package/dist/types/{appoinmentTypesType.d.ts → appointmentTypeTypes.d.ts} +1 -1
  318. package/dist/types/appointmentTypeTypes.d.ts.map +1 -0
  319. package/dist/types/appointmentTypeTypes.js +2 -0
  320. package/dist/types/appointmentTypes.d.ts +19 -0
  321. package/dist/types/appointmentTypes.d.ts.map +1 -1
  322. package/dist/types/apptFieldDefTypes.d.ts +25 -0
  323. package/dist/types/apptFieldDefTypes.d.ts.map +1 -0
  324. package/dist/types/apptFieldDefTypes.js +2 -0
  325. package/dist/types/apptFieldTypes.d.ts +34 -0
  326. package/dist/types/apptFieldTypes.d.ts.map +1 -0
  327. package/dist/types/apptFieldTypes.js +2 -0
  328. package/dist/types/asapCommTypes.d.ts +63 -0
  329. package/dist/types/asapCommTypes.d.ts.map +1 -0
  330. package/dist/types/asapCommTypes.js +2 -0
  331. package/dist/types/autoNoteControlTypes.d.ts +27 -0
  332. package/dist/types/autoNoteControlTypes.d.ts.map +1 -0
  333. package/dist/types/autoNoteControlTypes.js +2 -0
  334. package/dist/types/autoNoteTypes.d.ts +33 -0
  335. package/dist/types/autoNoteTypes.d.ts.map +1 -0
  336. package/dist/types/autoNoteTypes.js +2 -0
  337. package/dist/types/benefitTypes.d.ts +6 -0
  338. package/dist/types/benefitTypes.d.ts.map +1 -1
  339. package/dist/types/carrierTypes.d.ts +45 -0
  340. package/dist/types/carrierTypes.d.ts.map +1 -0
  341. package/dist/types/carrierTypes.js +2 -0
  342. package/dist/types/claimPaymentTypes.d.ts +72 -0
  343. package/dist/types/claimPaymentTypes.d.ts.map +1 -0
  344. package/dist/types/claimPaymentTypes.js +2 -0
  345. package/dist/types/claimProcTypes.d.ts +3 -0
  346. package/dist/types/claimProcTypes.d.ts.map +1 -1
  347. package/dist/types/claimTrackingTypes.d.ts +37 -0
  348. package/dist/types/claimTrackingTypes.d.ts.map +1 -0
  349. package/dist/types/claimTrackingTypes.js +2 -0
  350. package/dist/types/claimTypes.d.ts +3 -0
  351. package/dist/types/claimTypes.d.ts.map +1 -1
  352. package/dist/types/clinicTypes.d.ts +45 -0
  353. package/dist/types/clinicTypes.d.ts.map +1 -0
  354. package/dist/types/clinicTypes.js +2 -0
  355. package/dist/types/clockEventTypes.d.ts +52 -0
  356. package/dist/types/clockEventTypes.d.ts.map +1 -0
  357. package/dist/types/clockEventTypes.js +2 -0
  358. package/dist/types/codeGroupTypes.d.ts +67 -0
  359. package/dist/types/codeGroupTypes.d.ts.map +1 -0
  360. package/dist/types/codeGroupTypes.js +2 -0
  361. package/dist/types/computerTypes.d.ts +10 -0
  362. package/dist/types/computerTypes.d.ts.map +1 -0
  363. package/dist/types/computerTypes.js +2 -0
  364. package/dist/types/covCatTypes.d.ts +53 -0
  365. package/dist/types/covCatTypes.d.ts.map +1 -0
  366. package/dist/types/covCatTypes.js +2 -0
  367. package/dist/types/covSpanTypes.d.ts +52 -0
  368. package/dist/types/covSpanTypes.d.ts.map +1 -0
  369. package/dist/types/covSpanTypes.js +2 -0
  370. package/dist/types/definitionTypes.d.ts +12 -0
  371. package/dist/types/definitionTypes.d.ts.map +1 -1
  372. package/dist/types/discountPlanSubTypes.d.ts +5 -1
  373. package/dist/types/discountPlanSubTypes.d.ts.map +1 -1
  374. package/dist/types/diseaseDefTypes.d.ts +33 -0
  375. package/dist/types/diseaseDefTypes.d.ts.map +1 -0
  376. package/dist/types/diseaseDefTypes.js +2 -0
  377. package/dist/types/diseaseTypes.d.ts +3 -0
  378. package/dist/types/diseaseTypes.d.ts.map +1 -1
  379. package/dist/types/documentTypes.d.ts +191 -0
  380. package/dist/types/documentTypes.d.ts.map +1 -0
  381. package/dist/types/documentTypes.js +2 -0
  382. package/dist/types/eTransMessageTextTypes.d.ts +9 -0
  383. package/dist/types/eTransMessageTextTypes.d.ts.map +1 -0
  384. package/dist/types/eTransMessageTextTypes.js +2 -0
  385. package/dist/types/eTransTypes.d.ts +15 -0
  386. package/dist/types/eTransTypes.d.ts.map +1 -0
  387. package/dist/types/eTransTypes.js +2 -0
  388. package/dist/types/eTranssTypes.d.ts +46 -0
  389. package/dist/types/eTranssTypes.d.ts.map +1 -0
  390. package/dist/types/eTranssTypes.js +2 -0
  391. package/dist/types/ehrPatientTypes.d.ts +34 -0
  392. package/dist/types/ehrPatientTypes.d.ts.map +1 -0
  393. package/dist/types/ehrPatientTypes.js +2 -0
  394. package/dist/types/employeeTypes.d.ts +88 -0
  395. package/dist/types/employeeTypes.d.ts.map +1 -0
  396. package/dist/types/employeeTypes.js +2 -0
  397. package/dist/types/employerTypes.d.ts +38 -0
  398. package/dist/types/employerTypes.d.ts.map +1 -0
  399. package/dist/types/employerTypes.js +2 -0
  400. package/dist/types/eobAttachTypes.d.ts +62 -0
  401. package/dist/types/eobAttachTypes.d.ts.map +1 -0
  402. package/dist/types/eobAttachTypes.js +2 -0
  403. package/dist/types/eventTypes.d.ts +52 -0
  404. package/dist/types/eventTypes.d.ts.map +1 -0
  405. package/dist/types/eventTypes.js +2 -0
  406. package/dist/types/feeTypes.d.ts +3 -0
  407. package/dist/types/feeTypes.d.ts.map +1 -1
  408. package/dist/types/histAppointmentTypes.d.ts +77 -0
  409. package/dist/types/histAppointmentTypes.d.ts.map +1 -0
  410. package/dist/types/histAppointmentTypes.js +2 -0
  411. package/dist/types/insPlanTypes.d.ts +4 -1
  412. package/dist/types/insPlanTypes.d.ts.map +1 -1
  413. package/dist/types/insSubTypes.d.ts +4 -1
  414. package/dist/types/insSubTypes.d.ts.map +1 -1
  415. package/dist/types/insVerifiesTypes.d.ts +3 -0
  416. package/dist/types/insVerifiesTypes.d.ts.map +1 -1
  417. package/dist/types/labCaseTypes.d.ts +4 -0
  418. package/dist/types/labCaseTypes.d.ts.map +1 -1
  419. package/dist/types/labTurnaroundTypes.d.ts +55 -0
  420. package/dist/types/labTurnaroundTypes.d.ts.map +1 -0
  421. package/dist/types/labTurnaroundTypes.js +2 -0
  422. package/dist/types/laboratoryTypes.d.ts +80 -0
  423. package/dist/types/laboratoryTypes.d.ts.map +1 -0
  424. package/dist/types/laboratoryTypes.js +2 -0
  425. package/dist/types/medicationPatTypes.d.ts +3 -0
  426. package/dist/types/medicationPatTypes.d.ts.map +1 -1
  427. package/dist/types/medicationTypes.d.ts +28 -0
  428. package/dist/types/medicationTypes.d.ts.map +1 -0
  429. package/dist/types/medicationTypes.js +2 -0
  430. package/dist/types/operatoryTypes.d.ts +5 -2
  431. package/dist/types/operatoryTypes.d.ts.map +1 -1
  432. package/dist/types/patFieldDefTypes.d.ts +64 -0
  433. package/dist/types/patFieldDefTypes.d.ts.map +1 -0
  434. package/dist/types/patFieldDefTypes.js +2 -0
  435. package/dist/types/patFieldTypes.d.ts +4 -0
  436. package/dist/types/patFieldTypes.d.ts.map +1 -1
  437. package/dist/types/patPlanTypes.d.ts +3 -0
  438. package/dist/types/patPlanTypes.d.ts.map +1 -1
  439. package/dist/types/patientNoteTypes.d.ts +32 -0
  440. package/dist/types/patientNoteTypes.d.ts.map +1 -0
  441. package/dist/types/patientNoteTypes.js +2 -0
  442. package/dist/types/patientRaceTypes.d.ts +25 -0
  443. package/dist/types/patientRaceTypes.d.ts.map +1 -0
  444. package/dist/types/patientRaceTypes.js +2 -0
  445. package/dist/types/patientTypes.d.ts +7 -1
  446. package/dist/types/patientTypes.d.ts.map +1 -1
  447. package/dist/types/payPlanChargeTypes.d.ts +4 -0
  448. package/dist/types/payPlanChargeTypes.d.ts.map +1 -1
  449. package/dist/types/paySplitTypes.d.ts +3 -0
  450. package/dist/types/paySplitTypes.d.ts.map +1 -1
  451. package/dist/types/paymentTypes.d.ts +11 -0
  452. package/dist/types/paymentTypes.d.ts.map +1 -1
  453. package/dist/types/perioExamTypes.d.ts +54 -0
  454. package/dist/types/perioExamTypes.d.ts.map +1 -0
  455. package/dist/types/perioExamTypes.js +2 -0
  456. package/dist/types/perioMeasureTypes.d.ts +80 -0
  457. package/dist/types/perioMeasureTypes.d.ts.map +1 -0
  458. package/dist/types/perioMeasureTypes.js +2 -0
  459. package/dist/types/pharmacyTypes.d.ts +18 -0
  460. package/dist/types/pharmacyTypes.d.ts.map +1 -0
  461. package/dist/types/pharmacyTypes.js +2 -0
  462. package/dist/types/popupTypes.d.ts +55 -0
  463. package/dist/types/popupTypes.d.ts.map +1 -0
  464. package/dist/types/popupTypes.js +2 -0
  465. package/dist/types/preferenceTypes.d.ts +32 -0
  466. package/dist/types/preferenceTypes.d.ts.map +1 -0
  467. package/dist/types/preferenceTypes.js +2 -0
  468. package/dist/types/procNoteTypes.d.ts +3 -0
  469. package/dist/types/procNoteTypes.d.ts.map +1 -1
  470. package/dist/types/procTPTypes.d.ts +3 -0
  471. package/dist/types/procTPTypes.d.ts.map +1 -1
  472. package/dist/types/procedureCodeTypes.d.ts +3 -0
  473. package/dist/types/procedureCodeTypes.d.ts.map +1 -1
  474. package/dist/types/procedurelogTypes.d.ts +7 -0
  475. package/dist/types/procedurelogTypes.d.ts.map +1 -1
  476. package/dist/types/providerTypes.d.ts +3 -0
  477. package/dist/types/providerTypes.d.ts.map +1 -1
  478. package/dist/types/queryTypes.d.ts +10 -0
  479. package/dist/types/queryTypes.d.ts.map +1 -1
  480. package/dist/types/quickPasteCatTypes.d.ts +23 -0
  481. package/dist/types/quickPasteCatTypes.d.ts.map +1 -0
  482. package/dist/types/quickPasteCatTypes.js +2 -0
  483. package/dist/types/quickPasteNoteTypes.d.ts +26 -0
  484. package/dist/types/quickPasteNoteTypes.d.ts.map +1 -0
  485. package/dist/types/quickPasteNoteTypes.js +2 -0
  486. package/dist/types/recallTypeTypes.d.ts +13 -0
  487. package/dist/types/recallTypeTypes.d.ts.map +1 -0
  488. package/dist/types/recallTypeTypes.js +2 -0
  489. package/dist/types/recallTypes.d.ts +6 -3
  490. package/dist/types/recallTypes.d.ts.map +1 -1
  491. package/dist/types/refAttachTypes.d.ts +3 -0
  492. package/dist/types/refAttachTypes.d.ts.map +1 -1
  493. package/dist/types/referralTypes.d.ts +7 -4
  494. package/dist/types/referralTypes.d.ts.map +1 -1
  495. package/dist/types/reportTypes.d.ts +56 -0
  496. package/dist/types/reportTypes.d.ts.map +1 -0
  497. package/dist/types/reportTypes.js +2 -0
  498. package/dist/types/rxPatTypes.d.ts +43 -0
  499. package/dist/types/rxPatTypes.d.ts.map +1 -0
  500. package/dist/types/rxPatTypes.js +2 -0
  501. package/dist/types/scheduleOpTypes.d.ts +22 -0
  502. package/dist/types/scheduleOpTypes.d.ts.map +1 -0
  503. package/dist/types/scheduleOpTypes.js +2 -0
  504. package/dist/types/scheduleTypes.d.ts +17 -0
  505. package/dist/types/scheduleTypes.d.ts.map +1 -1
  506. package/dist/types/securityLogTypes.d.ts +3 -0
  507. package/dist/types/securityLogTypes.d.ts.map +1 -1
  508. package/dist/types/securityTypes.d.ts +13 -0
  509. package/dist/types/securityTypes.d.ts.map +1 -0
  510. package/dist/types/securityTypes.js +2 -0
  511. package/dist/types/sheetDefTypes.d.ts +22 -0
  512. package/dist/types/sheetDefTypes.d.ts.map +1 -0
  513. package/dist/types/sheetDefTypes.js +2 -0
  514. package/dist/types/sheetFieldTypes.d.ts +48 -0
  515. package/dist/types/sheetFieldTypes.d.ts.map +1 -0
  516. package/dist/types/sheetFieldTypes.js +2 -0
  517. package/dist/types/sheetTypes.d.ts +62 -0
  518. package/dist/types/sheetTypes.d.ts.map +1 -0
  519. package/dist/types/sheetTypes.js +2 -0
  520. package/dist/types/signalODTypes.d.ts +48 -0
  521. package/dist/types/signalODTypes.d.ts.map +1 -0
  522. package/dist/types/signalODTypes.js +2 -0
  523. package/dist/types/statementTypes.d.ts +60 -0
  524. package/dist/types/statementTypes.d.ts.map +1 -0
  525. package/dist/types/statementTypes.js +2 -0
  526. package/dist/types/subscriptionTypes.d.ts +99 -0
  527. package/dist/types/subscriptionTypes.d.ts.map +1 -0
  528. package/dist/types/subscriptionTypes.js +2 -0
  529. package/dist/types/substitutionLinkTypes.d.ts +46 -0
  530. package/dist/types/substitutionLinkTypes.d.ts.map +1 -0
  531. package/dist/types/substitutionLinkTypes.js +2 -0
  532. package/dist/types/taskListTypes.d.ts +67 -0
  533. package/dist/types/taskListTypes.d.ts.map +1 -0
  534. package/dist/types/taskListTypes.js +2 -0
  535. package/dist/types/taskNoteTypes.d.ts +42 -0
  536. package/dist/types/taskNoteTypes.d.ts.map +1 -0
  537. package/dist/types/taskNoteTypes.js +2 -0
  538. package/dist/types/taskTypes.d.ts +153 -0
  539. package/dist/types/taskTypes.d.ts.map +1 -0
  540. package/dist/types/taskTypes.js +2 -0
  541. package/dist/types/toothInitialTypes.d.ts +44 -0
  542. package/dist/types/toothInitialTypes.d.ts.map +1 -0
  543. package/dist/types/toothInitialTypes.js +2 -0
  544. package/dist/types/treatPlanAttachTypes.d.ts +3 -0
  545. package/dist/types/treatPlanAttachTypes.d.ts.map +1 -1
  546. package/dist/types/treatPlanTypes.d.ts +4 -0
  547. package/dist/types/treatPlanTypes.d.ts.map +1 -1
  548. package/dist/types/userGroupAttachTypes.d.ts +22 -0
  549. package/dist/types/userGroupAttachTypes.d.ts.map +1 -0
  550. package/dist/types/userGroupAttachTypes.js +2 -0
  551. package/dist/types/userGroupTypes.d.ts +21 -0
  552. package/dist/types/userGroupTypes.d.ts.map +1 -0
  553. package/dist/types/userGroupTypes.js +2 -0
  554. package/dist/types/userODTypes.d.ts +97 -0
  555. package/dist/types/userODTypes.d.ts.map +1 -0
  556. package/dist/types/userODTypes.js +2 -0
  557. package/dist/utils/errorHandler.d.ts +5 -0
  558. package/dist/utils/errorHandler.d.ts.map +1 -1
  559. package/dist/utils/errorHandler.js +11 -0
  560. package/dist/utils/httpClient.d.ts +24 -6
  561. package/dist/utils/httpClient.d.ts.map +1 -1
  562. package/dist/utils/httpClient.js +28 -24
  563. package/docs/Open Dental 2026-04-22/api-url-list.md +110 -0
  564. package/docs/Open Dental 2026-04-22/apiaccountmodules.md +116 -0
  565. package/docs/Open Dental 2026-04-22/apiadjustments.md +133 -0
  566. package/docs/Open Dental 2026-04-22/apiallergies.md +132 -0
  567. package/docs/Open Dental 2026-04-22/apiallergydefs.md +74 -0
  568. package/docs/Open Dental 2026-04-22/apiappointments.md +510 -0
  569. package/docs/Open Dental 2026-04-22/apiappointmenttypes.md +86 -0
  570. package/docs/Open Dental 2026-04-22/apiapptfielddefs.md +130 -0
  571. package/docs/Open Dental 2026-04-22/apiapptfields.md +147 -0
  572. package/docs/Open Dental 2026-04-22/apiasapcomms.md +141 -0
  573. package/docs/Open Dental 2026-04-22/apiautonotecontrols.md +111 -0
  574. package/docs/Open Dental 2026-04-22/apiautonotes.md +103 -0
  575. package/docs/Open Dental 2026-04-22/apibenefits.md +515 -0
  576. package/docs/Open Dental 2026-04-22/apicarriers.md +150 -0
  577. package/docs/Open Dental 2026-04-22/apichartmodules.md +135 -0
  578. package/docs/Open Dental 2026-04-22/apiclaimpayments.md +206 -0
  579. package/docs/Open Dental 2026-04-22/apiclaimprocs.md +256 -0
  580. package/docs/Open Dental 2026-04-22/apiclaims.md +339 -0
  581. package/docs/Open Dental 2026-04-22/apiclaimtrackings.md +110 -0
  582. package/docs/Open Dental 2026-04-22/apiclinics.md +95 -0
  583. package/docs/Open Dental 2026-04-22/apiclockevents.md +98 -0
  584. package/docs/Open Dental 2026-04-22/apicodegroups.md +140 -0
  585. package/docs/Open Dental 2026-04-22/apicommlogs.md +161 -0
  586. package/docs/Open Dental 2026-04-22/apicomputers.md +39 -0
  587. package/docs/Open Dental 2026-04-22/apicovcats.md +139 -0
  588. package/docs/Open Dental 2026-04-22/apicovspans.md +140 -0
  589. package/docs/Open Dental 2026-04-22/apidefinitions.md +90 -0
  590. package/docs/Open Dental 2026-04-22/apidiscountplans.md +154 -0
  591. package/docs/Open Dental 2026-04-22/apidiscountplansubs.md +125 -0
  592. package/docs/Open Dental 2026-04-22/apidiseasedefs.md +88 -0
  593. package/docs/Open Dental 2026-04-22/apidiseases.md +168 -0
  594. package/docs/Open Dental 2026-04-22/apidocuments.md +319 -0
  595. package/docs/Open Dental 2026-04-22/apiehrpatients.md +87 -0
  596. package/docs/Open Dental 2026-04-22/apiemployees.md +145 -0
  597. package/docs/Open Dental 2026-04-22/apiemployers.md +129 -0
  598. package/docs/Open Dental 2026-04-22/apieobattaches.md +132 -0
  599. package/docs/Open Dental 2026-04-22/apietrans.md +44 -0
  600. package/docs/Open Dental 2026-04-22/apietransmessagetexts.md +56 -0
  601. package/docs/Open Dental 2026-04-22/apietranss.md +79 -0
  602. package/docs/Open Dental 2026-04-22/apievents.md +96 -0
  603. package/docs/Open Dental 2026-04-22/apifamilymodules.md +108 -0
  604. package/docs/Open Dental 2026-04-22/apifees.md +146 -0
  605. package/docs/Open Dental 2026-04-22/apifeescheds.md +116 -0
  606. package/docs/Open Dental 2026-04-22/apihistappointments.md +121 -0
  607. package/docs/Open Dental 2026-04-22/apiimplementation.md +128 -0
  608. package/docs/Open Dental 2026-04-22/apiinsplans.md +236 -0
  609. package/docs/Open Dental 2026-04-22/apiinssubs.md +171 -0
  610. package/docs/Open Dental 2026-04-22/apiinsverifies.md +123 -0
  611. package/docs/Open Dental 2026-04-22/apilabcases.md +174 -0
  612. package/docs/Open Dental 2026-04-22/apilaboratories.md +147 -0
  613. package/docs/Open Dental 2026-04-22/apilabturnarounds.md +128 -0
  614. package/docs/Open Dental 2026-04-22/apimedicationpats.md +170 -0
  615. package/docs/Open Dental 2026-04-22/apimedications.md +74 -0
  616. package/docs/Open Dental 2026-04-22/apioperatories.md +78 -0
  617. package/docs/Open Dental 2026-04-22/apipatfielddefs.md +139 -0
  618. package/docs/Open Dental 2026-04-22/apipatfields.md +166 -0
  619. package/docs/Open Dental 2026-04-22/apipatientnotes.md +102 -0
  620. package/docs/Open Dental 2026-04-22/apipatientraces.md +51 -0
  621. package/docs/Open Dental 2026-04-22/apipatients.md +346 -0
  622. package/docs/Open Dental 2026-04-22/apipatplans.md +147 -0
  623. package/docs/Open Dental 2026-04-22/apipayments.md +236 -0
  624. package/docs/Open Dental 2026-04-22/apipayplancharges.md +59 -0
  625. package/docs/Open Dental 2026-04-22/apipayplans.md +256 -0
  626. package/docs/Open Dental 2026-04-22/apipaysplits.md +112 -0
  627. package/docs/Open Dental 2026-04-22/apiperioexams.md +155 -0
  628. package/docs/Open Dental 2026-04-22/apiperiomeasures.md +162 -0
  629. package/docs/Open Dental 2026-04-22/apipharmacies.md +78 -0
  630. package/docs/Open Dental 2026-04-22/apipopups.md +127 -0
  631. package/docs/Open Dental 2026-04-22/apipreferences.md +47 -0
  632. package/docs/Open Dental 2026-04-22/apiprocedurecodes.md +260 -0
  633. package/docs/Open Dental 2026-04-22/apiprocedurelogs.md +477 -0
  634. package/docs/Open Dental 2026-04-22/apiprocnotes.md +86 -0
  635. package/docs/Open Dental 2026-04-22/apiproctps.md +141 -0
  636. package/docs/Open Dental 2026-04-22/apiproviders.md +189 -0
  637. package/docs/Open Dental 2026-04-22/apiqueries.md +74 -0
  638. package/docs/Open Dental 2026-04-22/apiquickpastecats.md +130 -0
  639. package/docs/Open Dental 2026-04-22/apiquickpastenotes.md +75 -0
  640. package/docs/Open Dental 2026-04-22/apirecalls.md +239 -0
  641. package/docs/Open Dental 2026-04-22/apirecalltypes.md +65 -0
  642. package/docs/Open Dental 2026-04-22/apirefattaches.md +179 -0
  643. package/docs/Open Dental 2026-04-22/apireferrals.md +198 -0
  644. package/docs/Open Dental 2026-04-22/apireports.md +85 -0
  645. package/docs/Open Dental 2026-04-22/apirxpats.md +113 -0
  646. package/docs/Open Dental 2026-04-22/apischeduleops.md +58 -0
  647. package/docs/Open Dental 2026-04-22/apischedules.md +106 -0
  648. package/docs/Open Dental 2026-04-22/apisecurity.md +53 -0
  649. package/docs/Open Dental 2026-04-22/apisecuritylogs.md +59 -0
  650. package/docs/Open Dental 2026-04-22/apisheetdefs.md +118 -0
  651. package/docs/Open Dental 2026-04-22/apisheetfields.md +140 -0
  652. package/docs/Open Dental 2026-04-22/apisheets.md +156 -0
  653. package/docs/Open Dental 2026-04-22/apisignalods.md +118 -0
  654. package/docs/Open Dental 2026-04-22/apispecification.md +47 -0
  655. package/docs/Open Dental 2026-04-22/apistatements.md +160 -0
  656. package/docs/Open Dental 2026-04-22/apisubscriptions.md +133 -0
  657. package/docs/Open Dental 2026-04-22/apisubstitutionlinks.md +143 -0
  658. package/docs/Open Dental 2026-04-22/apitasklists.md +89 -0
  659. package/docs/Open Dental 2026-04-22/apitasknotes.md +130 -0
  660. package/docs/Open Dental 2026-04-22/apitasks.md +192 -0
  661. package/docs/Open Dental 2026-04-22/apitoothinitials.md +119 -0
  662. package/docs/Open Dental 2026-04-22/apitreatplanattaches.md +111 -0
  663. package/docs/Open Dental 2026-04-22/apitreatplans.md +201 -0
  664. package/docs/Open Dental 2026-04-22/apiusergroupattaches.md +57 -0
  665. package/docs/Open Dental 2026-04-22/apiusergroups.md +56 -0
  666. package/docs/Open Dental 2026-04-22/apiuserods.md +128 -0
  667. package/docs/Open Dental 2026-04-22/context/Open Dental _ Benefits Guide.md +294 -0
  668. package/docs/Open Dental 2026-04-22/context/OpenDental_DB_Documentation_v26-1.xml +20118 -0
  669. package/docs/Open Dental 2026-04-22/context/sitemap.xml +4617 -0
  670. package/package.json +8 -7
  671. package/release.sh +3 -5
  672. package/tsconfig.test.json +8 -0
  673. package/__tests__/example.test.ts +0 -6
  674. package/dist/types/appoinmentTypesType.d.ts.map +0 -1
  675. package/src/api/accountModules.ts +0 -61
  676. package/src/api/adjustments.ts +0 -126
  677. package/src/api/allergies.ts +0 -114
  678. package/src/api/appointmentTypes.ts +0 -21
  679. package/src/api/appointments.ts +0 -343
  680. package/src/api/benefits.ts +0 -155
  681. package/src/api/chartModules.ts +0 -53
  682. package/src/api/claimProcs.ts +0 -117
  683. package/src/api/claims.ts +0 -173
  684. package/src/api/commlogs.ts +0 -63
  685. package/src/api/definitions.ts +0 -35
  686. package/src/api/discountPlanSubs.ts +0 -106
  687. package/src/api/discountPlans.ts +0 -159
  688. package/src/api/diseases.ts +0 -130
  689. package/src/api/familyModules.ts +0 -29
  690. package/src/api/feeScheds.ts +0 -30
  691. package/src/api/fees.ts +0 -43
  692. package/src/api/index.ts +0 -25
  693. package/src/api/insPlans.ts +0 -158
  694. package/src/api/insSubs.ts +0 -155
  695. package/src/api/insVerifies.ts +0 -85
  696. package/src/api/labCases.ts +0 -183
  697. package/src/api/medicationPats.ts +0 -120
  698. package/src/api/operatories.ts +0 -46
  699. package/src/api/patFields.ts +0 -112
  700. package/src/api/patPlans.ts +0 -113
  701. package/src/api/patients.ts +0 -254
  702. package/src/api/payPlanCharges.ts +0 -49
  703. package/src/api/payPlans.ts +0 -274
  704. package/src/api/paySplits.ts +0 -56
  705. package/src/api/payments.ts +0 -86
  706. package/src/api/procNotes.ts +0 -67
  707. package/src/api/procTPs.ts +0 -112
  708. package/src/api/procedureCodes.ts +0 -45
  709. package/src/api/procedureLog.ts +0 -377
  710. package/src/api/providers.ts +0 -175
  711. package/src/api/queries.ts +0 -43
  712. package/src/api/recalls.ts +0 -148
  713. package/src/api/refAttaches.ts +0 -142
  714. package/src/api/referrals.ts +0 -222
  715. package/src/api/schedules.ts +0 -64
  716. package/src/api/securityLogs.ts +0 -32
  717. package/src/api/treatplanattaches.ts +0 -67
  718. package/src/api/treatplans.ts +0 -96
  719. package/src/index.ts +0 -2
  720. package/src/openDental.ts +0 -506
  721. package/src/transformerTypes/visitTypes.ts +0 -87
  722. package/src/transformers/index.ts +0 -4
  723. package/src/transformers/visit.ts +0 -83
  724. package/src/types/DiscountPlanTypes.ts +0 -70
  725. package/src/types/accountModuleTypes.ts +0 -46
  726. package/src/types/adjustmentTypes.ts +0 -63
  727. package/src/types/allergyTypes.ts +0 -48
  728. package/src/types/appoinmentTypesType.ts +0 -16
  729. package/src/types/appointmentTypes.ts +0 -256
  730. package/src/types/benefitTypes.ts +0 -70
  731. package/src/types/chartModuleTypes.ts +0 -65
  732. package/src/types/claimProcTypes.ts +0 -99
  733. package/src/types/claimTypes.ts +0 -227
  734. package/src/types/commlogTypes.ts +0 -28
  735. package/src/types/definitionTypes.ts +0 -24
  736. package/src/types/discountPlanSubTypes.ts +0 -45
  737. package/src/types/diseaseTypes.ts +0 -50
  738. package/src/types/familyModuleTypes.ts +0 -33
  739. package/src/types/feeSchedsTypes.ts +0 -38
  740. package/src/types/feeTypes.ts +0 -49
  741. package/src/types/insPlanTypes.ts +0 -72
  742. package/src/types/insSubTypes.ts +0 -65
  743. package/src/types/insVerifiesTypes.ts +0 -38
  744. package/src/types/labCaseTypes.ts +0 -71
  745. package/src/types/medicationPatTypes.ts +0 -50
  746. package/src/types/operatoryTypes.ts +0 -24
  747. package/src/types/patFieldTypes.ts +0 -24
  748. package/src/types/patPlanTypes.ts +0 -55
  749. package/src/types/patientTypes.ts +0 -236
  750. package/src/types/payPlanChargeTypes.ts +0 -77
  751. package/src/types/payPlanTypes.ts +0 -171
  752. package/src/types/paySplitTypes.ts +0 -44
  753. package/src/types/paymentTypes.ts +0 -69
  754. package/src/types/procNoteTypes.ts +0 -38
  755. package/src/types/procTPTypes.ts +0 -79
  756. package/src/types/procedureCodeTypes.ts +0 -48
  757. package/src/types/procedurelogTypes.ts +0 -184
  758. package/src/types/providerTypes.ts +0 -73
  759. package/src/types/queryTypes.ts +0 -17
  760. package/src/types/recallTypes.ts +0 -102
  761. package/src/types/refAttachTypes.ts +0 -63
  762. package/src/types/referralTypes.ts +0 -102
  763. package/src/types/scheduleTypes.ts +0 -32
  764. package/src/types/securityLogTypes.ts +0 -24
  765. package/src/types/treatPlanAttachTypes.ts +0 -39
  766. package/src/types/treatPlanTypes.ts +0 -75
  767. package/src/utils/errorHandler.ts +0 -0
  768. package/src/utils/httpClient.ts +0 -111
  769. package/tsconfig.json +0 -16
  770. /package/dist/types/{appoinmentTypesType.js → allergyDefTypes.js} +0 -0
@@ -0,0 +1,112 @@
1
+ # API: PaySplits
2
+
3
+ **Source:** https://www.opendental.com/site/apipaysplits.html
4
+ **DB Schema Ref:** paysplit
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/paysplits`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ PaySplits are the individual allocation records always attached to a payment. Each paysplit affects exactly one patient account and one provider. The sum of all paysplits for a payment must equal the payment's PayAmt. PaySplits are typically created automatically via the Payments API; this endpoint supports retrieval and limited updating.
13
+
14
+ ---
15
+
16
+ ## Endpoints
17
+
18
+ ### GET /paysplits
19
+
20
+ **Version:** 22.4.16
21
+ **Description:** Retrieves paysplit records with optional filtering.
22
+
23
+ **Query Parameters:**
24
+ | Name | Type | Required | Default | Description |
25
+ |------|------|----------|---------|-------------|
26
+ | PatNum | integer | No (optional after v24.4.24) | — | FK to patient.PatNum; retrieve all paysplits for a patient |
27
+ | PayNum | integer | No (optional after v24.4.24) | — | FK to payment.PayNum; retrieve all paysplits for a payment |
28
+ | ProcNum | integer | No | — | FK to procedurelog.ProcNum; retrieve all paysplits for a procedure (v24.4.24+) |
29
+
30
+ **Response:** array of objects
31
+ | Field | Type | Description |
32
+ |-------|------|-------------|
33
+ | SplitNum | integer | Primary key |
34
+ | SplitAmt | decimal | Amount of the split |
35
+ | PatNum | integer | FK to patient.PatNum (may be guarantor PatNum for payment plan splits) |
36
+ | PayNum | integer | FK to payment.PayNum |
37
+ | ProvNum | integer | FK to provider.ProvNum |
38
+ | PayPlanNum | integer | FK to payplan.PayPlanNum; 0 if not attached to a payment plan |
39
+ | DatePay | date | Payment date; always in sync with the parent Payment date |
40
+ | ProcNum | integer | FK to procedurelog.ProcNum; 0 if not attached to a procedure |
41
+ | DateEntry | date | Date the paysplit was created; not user-editable |
42
+ | UnearnedType | integer | FK to definition.DefNum; 0 if not unearned/prepayment |
43
+ | unearnedType | string | Text representation of UnearnedType |
44
+ | ClinicNum | integer | FK to clinic.ClinicNum; 0 if no clinic; need not match parent payment ClinicNum |
45
+ | SecDateTEdit | datetime | Last edit timestamp (auto-managed by MySQL) |
46
+ | AdjNum | integer | FK to adjustment.AdjNum; 0 if not counteracting an adjustment |
47
+ | PayPlanChargeNum | integer | FK to payplancharge.PayPlanChargeNum; 0 if not counteracting a payment plan charge |
48
+ | PayPlanDebitType | string | Enum: PayPlanDebitTypes |
49
+
50
+ **Status Codes:**
51
+ | Code | Meaning |
52
+ |------|---------|
53
+ | 200 | OK |
54
+ | 400 | BadRequest |
55
+ | 404 | NotFound |
56
+
57
+ ---
58
+
59
+ ### PUT /paysplits/{SplitNum}
60
+
61
+ **Version:** 25.2.9
62
+ **Description:** Updates an existing paysplit record. Only ProvNum and ClinicNum can be updated.
63
+
64
+ **Path Parameters:**
65
+ | Name | Type | Required | Description |
66
+ |------|------|----------|-------------|
67
+ | SplitNum | integer | Yes | Primary key of the paysplit |
68
+
69
+ **Body Parameters:**
70
+ | Name | Type | Required | Description |
71
+ |------|------|----------|-------------|
72
+ | ProvNum | integer | No | FK to provider.ProvNum. Can always be updated when AllowPrepayProvider preference is enabled. Without that preference, can only be updated for paysplits that do not have an UnearnedType |
73
+ | ClinicNum | integer | No | FK to clinic.ClinicNum |
74
+
75
+ **Response:** object (same fields as GET)
76
+
77
+ **Status Codes:**
78
+ | Code | Meaning |
79
+ |------|---------|
80
+ | 200 | OK |
81
+ | 400 | BadRequest |
82
+ | 404 | NotFound |
83
+
84
+ ---
85
+
86
+ ## Field Reference
87
+
88
+ ### PayPlanDebitType (enum: PayPlanDebitTypes)
89
+ | Value | DB Int | Description |
90
+ |-------|--------|-------------|
91
+ | Unknown | 0 | Legacy splits associated with payment plans; did not specify principal vs. interest |
92
+ | Principal | 1 | Split explicitly applied toward principal only |
93
+ | Interest | 2 | Split explicitly applied toward interest only |
94
+
95
+ ---
96
+
97
+ ## Implementation Notes
98
+
99
+ - Each paysplit affects exactly one patient account and one provider
100
+ - The sum of all SplitAmts for a given PayNum must equal the payment's PayAmt
101
+ - UnearnedType=0 means "None" (not a prepayment/unearned split); non-zero values are FKs to definition.DefNum
102
+ - ProvNum can only be updated (via PUT) for paysplits without an UnearnedType, unless the AllowPrepayProvider preference is enabled
103
+ - ClinicNum on a paysplit is independent of the parent payment's ClinicNum; payments can be split across clinics
104
+ - PayPlanNum=0 means the split is not associated with a payment plan
105
+ - ProcNum=0 means the split is not attached to a specific procedure
106
+ - AdjNum=0 means the split does not counteract an adjustment
107
+
108
+ ## Related Resources
109
+ | Resource | Purpose |
110
+ |----------|---------|
111
+ | /payments | Parent payment record for each paysplit |
112
+ | /payplans | Payment plan that a paysplit may be attached to |
@@ -0,0 +1,155 @@
1
+ # API: PerioExams
2
+
3
+ **Source:** https://www.opendental.com/site/apiperioexams.html
4
+ **Extracted:** 2026-04-22
5
+ **Base Path:** `/perioexams`
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ PerioExams represent periodontal examination sessions for a patient. Each exam contains metadata (date, provider, notes) and is associated with multiple PerioMeasure records that store individual tooth measurements. Deleting a PerioExam also deletes all associated periomeasures.
12
+
13
+ ---
14
+
15
+ ## Endpoints
16
+
17
+ ### GET /perioexams/{PerioExamNum}
18
+
19
+ **Version:** 22.4.36
20
+ **Description:** Retrieves a single periodontal exam record by primary key.
21
+
22
+ **Path Parameters:**
23
+ | Name | Type | Required | Description |
24
+ |------|------|----------|-------------|
25
+ | PerioExamNum | integer | Yes | Primary key of the perioexam |
26
+
27
+ **Response:** object
28
+ | Field | Type | Description |
29
+ |-------|------|-------------|
30
+ | PerioExamNum | integer | Primary key |
31
+ | PatNum | integer | FK to patient.PatNum |
32
+ | ExamDate | string | Exam date, format: yyyy-MM-dd |
33
+ | ProvNum | integer | FK to provider.ProvNum |
34
+ | DateTMeasureEdit | string | Last measure edit datetime |
35
+ | Note | string | Exam notes |
36
+
37
+ **Status Codes:**
38
+ | Code | Meaning |
39
+ |------|---------|
40
+ | 200 | OK |
41
+ | 400 | BadRequest |
42
+ | 404 | NotFound |
43
+
44
+ ---
45
+
46
+ ### GET /perioexams
47
+
48
+ **Version:** 22.4.36
49
+ **Description:** Retrieves multiple periodontal exam records with optional filtering.
50
+
51
+ **Query Parameters:**
52
+ | Name | Type | Required | Default | Description |
53
+ |------|------|----------|---------|-------------|
54
+ | PatNum | integer | No | — | FK to patient.PatNum |
55
+ | ExamDate | string | No | — | Format: yyyy-MM-dd; retrieves exams on or after this date |
56
+
57
+ **Response:** array of objects (same fields as single GET)
58
+
59
+ **Status Codes:**
60
+ | Code | Meaning |
61
+ |------|---------|
62
+ | 200 | OK |
63
+ | 400 | BadRequest |
64
+ | 404 | NotFound |
65
+
66
+ ---
67
+
68
+ ### POST /perioexams
69
+
70
+ **Version:** 23.1.20
71
+ **Description:** Creates a new periodontal exam, optionally including surface measurement strings.
72
+
73
+ **Body Parameters:**
74
+ | Name | Type | Required | Description |
75
+ |------|------|----------|-------------|
76
+ | PatNum | integer | Yes | FK to patient.PatNum |
77
+ | UpperFacial | string | No | Measurement string for facial surfaces of upper teeth (1–16) |
78
+ | UpperLingual | string | No | Measurement string for lingual surfaces of upper teeth (1–16) |
79
+ | LowerLingual | string | No | Measurement string for lingual surfaces of lower teeth (17–32) |
80
+ | LowerFacial | string | No | Measurement string for facial surfaces of lower teeth (17–32) |
81
+ | ExamDate | string | No | Format: yyyy-MM-dd; defaults to today (v23.3.27+) |
82
+ | ProvNum | integer | No | FK to provider.ProvNum; defaults to patient's primary provider (v23.3.27+) |
83
+ | Note | string | No | Exam notes (v23.3.27+) |
84
+
85
+ **Response:** object — created perioexam record
86
+
87
+ **Status Codes:**
88
+ | Code | Meaning |
89
+ |------|---------|
90
+ | 201 | Created |
91
+ | 400 | BadRequest |
92
+ | 404 | NotFound |
93
+
94
+ ---
95
+
96
+ ### PUT /perioexams/{PerioExamNum}
97
+
98
+ **Version:** 23.3.27
99
+ **Description:** Updates exam-level metadata for an existing perioexam. Note field overwrites existing value.
100
+
101
+ **Path Parameters:**
102
+ | Name | Type | Required | Description |
103
+ |------|------|----------|-------------|
104
+ | PerioExamNum | integer | Yes | Primary key of the perioexam |
105
+
106
+ **Body Parameters:**
107
+ | Name | Type | Required | Description |
108
+ |------|------|----------|-------------|
109
+ | ExamDate | string | No | Format: yyyy-MM-dd |
110
+ | ProvNum | integer | No | FK to provider.ProvNum |
111
+ | Note | string | No | Overwrites existing note |
112
+
113
+ **Response:** object — updated perioexam record
114
+
115
+ **Status Codes:**
116
+ | Code | Meaning |
117
+ |------|---------|
118
+ | 200 | OK |
119
+ | 400 | BadRequest |
120
+ | 404 | NotFound |
121
+
122
+ ---
123
+
124
+ ### DELETE /perioexams/{PerioExamNum}
125
+
126
+ **Version:** 23.3.27
127
+ **Description:** Deletes a periodontal exam and all of its associated periomeasure records.
128
+
129
+ **Path Parameters:**
130
+ | Name | Type | Required | Description |
131
+ |------|------|----------|-------------|
132
+ | PerioExamNum | integer | Yes | Primary key of the perioexam |
133
+
134
+ **Response:** 200 OK
135
+
136
+ **Status Codes:**
137
+ | Code | Meaning |
138
+ |------|---------|
139
+ | 200 | OK |
140
+ | 400 | BadRequest |
141
+ | 404 | NotFound |
142
+
143
+ ---
144
+
145
+ ## Implementation Notes
146
+
147
+ - Deleting a PerioExam cascades to delete all associated PerioMeasure records
148
+ - Surface measurement strings in POST (UpperFacial, UpperLingual, LowerLingual, LowerFacial): each integer (0–9) is a probing measurement; optional letter flags can follow each digit: b=bleeding, s=suppuration, p=plaque, c=calculus
149
+ - Measurement strings parse left-to-right, traversing surfaces right to left within each region
150
+ - ExamDate defaults to today when not specified; ProvNum defaults to patient's primary provider
151
+
152
+ ## Related Resources
153
+ | Resource | Purpose |
154
+ |----------|---------|
155
+ | /periomeasures | Individual tooth measurements within this exam |
@@ -0,0 +1,162 @@
1
+ # API: PerioMeasures
2
+
3
+ **Source:** https://www.opendental.com/site/apiperiomeasures.html
4
+ **Extracted:** 2026-04-22
5
+ **Base Path:** `/periomeasures`
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ PerioMeasures store individual tooth measurements within a periodontal exam. One tooth can have multiple PerioMeasures on a single exam, but only one of each SequenceType per tooth. Measurements include probing depths, gingival margins, furcation, mobility, and bleeding/plaque flags. CAL (Clinical Attachment Level) is calculated (Probing + GingMargin) and is never persisted.
12
+
13
+ ---
14
+
15
+ ## Endpoints
16
+
17
+ ### GET /periomeasures
18
+
19
+ **Version:** 22.4.32
20
+ **Description:** Retrieves periomeasure records with optional filtering by exam.
21
+
22
+ **Query Parameters:**
23
+ | Name | Type | Required | Default | Description |
24
+ |------|------|----------|---------|-------------|
25
+ | PerioExamNum | integer | No | — | FK to perioexam.PerioExamNum; filter to a specific exam |
26
+
27
+ **Response:** array of objects
28
+ | Field | Type | Description |
29
+ |-------|------|-------------|
30
+ | PerioMeasureNum | integer | Primary key |
31
+ | PerioExamNum | integer | FK to perioexam.PerioExamNum |
32
+ | SequenceType | string | Type of measurement (enum) |
33
+ | IntTooth | integer | Tooth number (1–32) |
34
+ | ToothValue | integer | Single value for the whole tooth; -1 if not applicable |
35
+ | MBvalue | integer | Mesial-buccal surface value; -1 if not applicable |
36
+ | Bvalue | integer | Buccal surface value; -1 if not applicable |
37
+ | DBvalue | integer | Distal-buccal surface value; -1 if not applicable |
38
+ | MLvalue | integer | Mesial-lingual surface value; -1 if not applicable |
39
+ | Lvalue | integer | Lingual surface value; -1 if not applicable |
40
+ | DLvalue | integer | Distal-lingual surface value; -1 if not applicable |
41
+ | SecDateTEdit | datetime | Last modification timestamp |
42
+
43
+ **Status Codes:**
44
+ | Code | Meaning |
45
+ |------|---------|
46
+ | 200 | OK |
47
+ | 400 | BadRequest |
48
+ | 404 | NotFound |
49
+
50
+ ---
51
+
52
+ ### POST /periomeasures
53
+
54
+ **Version:** 22.4.37
55
+ **Description:** Creates a new periomeasure. New records are compared against existing records for the same exam and tooth to prevent duplicate SequenceType entries.
56
+
57
+ **Body Parameters:**
58
+ | Name | Type | Required | Description |
59
+ |------|------|----------|-------------|
60
+ | PerioExamNum | integer | Yes | FK to perioexam.PerioExamNum |
61
+ | SequenceType | string | Yes | Measurement classification (enum) |
62
+ | IntTooth | integer | Yes | Tooth number 1–32 |
63
+ | ToothValue | integer | No | Whole-tooth measurement; default: -1 |
64
+ | MBvalue | integer | No | Mesial-buccal surface value; default: -1 |
65
+ | Bvalue | integer | No | Buccal surface value; default: -1 |
66
+ | DBvalue | integer | No | Distal-buccal surface value; default: -1 |
67
+ | MLvalue | integer | No | Mesial-lingual surface value; default: -1 |
68
+ | Lvalue | integer | No | Lingual surface value; default: -1 |
69
+ | DLvalue | integer | No | Distal-lingual surface value; default: -1 |
70
+
71
+ **Response:** object — created periomeasure record
72
+
73
+ **Status Codes:**
74
+ | Code | Meaning |
75
+ |------|---------|
76
+ | 201 | Created |
77
+ | 400 | BadRequest |
78
+ | 404 | NotFound |
79
+
80
+ ---
81
+
82
+ ### PUT /periomeasures/{PerioMeasureNum}
83
+
84
+ **Version:** 22.4.37
85
+ **Description:** Updates measurement values on an existing periomeasure. Only value fields can be updated.
86
+
87
+ **Path Parameters:**
88
+ | Name | Type | Required | Description |
89
+ |------|------|----------|-------------|
90
+ | PerioMeasureNum | integer | Yes | Primary key |
91
+
92
+ **Body Parameters:**
93
+ | Name | Type | Required | Description |
94
+ |------|------|----------|-------------|
95
+ | ToothValue | integer | No | Updated whole-tooth measurement |
96
+ | MBvalue | integer | No | Updated mesial-buccal surface value |
97
+ | Bvalue | integer | No | Updated buccal surface value |
98
+ | DBvalue | integer | No | Updated distal-buccal surface value |
99
+ | MLvalue | integer | No | Updated mesial-lingual surface value |
100
+ | Lvalue | integer | No | Updated lingual surface value |
101
+ | DLvalue | integer | No | Updated distal-lingual surface value |
102
+
103
+ **Response:** object — updated periomeasure record
104
+
105
+ **Status Codes:**
106
+ | Code | Meaning |
107
+ |------|---------|
108
+ | 200 | OK |
109
+ | 400 | BadRequest |
110
+ | 404 | NotFound |
111
+
112
+ ---
113
+
114
+ ### DELETE /periomeasures/{PerioMeasureNum}
115
+
116
+ **Version:** 23.3.27
117
+ **Description:** Deletes a periomeasure. Only records with SequenceType "Mobility" or "SkipTooth" can be deleted.
118
+
119
+ **Path Parameters:**
120
+ | Name | Type | Required | Description |
121
+ |------|------|----------|-------------|
122
+ | PerioMeasureNum | integer | Yes | Primary key |
123
+
124
+ **Response:** 200 OK
125
+
126
+ **Status Codes:**
127
+ | Code | Meaning |
128
+ |------|---------|
129
+ | 200 | OK |
130
+ | 400 | BadRequest |
131
+ | 404 | NotFound |
132
+
133
+ ---
134
+
135
+ ## Field Reference
136
+
137
+ ### SequenceType (enum) with valid value ranges
138
+ | Value | ToothValue | Surface Values (MB/B/DB/ML/L/DL) | Notes |
139
+ |-------|------------|-----------------------------------|-------|
140
+ | Mobility | 0–19 | Must all be -1 | Single value per tooth |
141
+ | Furcation | Must be -1 | -1 or 0–19 | Per-surface furcation scores |
142
+ | GingMargin | Must be -1 | -1, 0–19, or 101–119 | Values 101–119 represent negative (subtract 100) |
143
+ | MGJ | Must be -1 | -1 or 0–19; MLvalue, Lvalue, DLvalue must be -1 for teeth 1–16 | Mucogingival junction |
144
+ | Probing | Must be -1 | -1 or 0–19 | Standard probing depths |
145
+ | SkipTooth | Must be 1 | Must all be -1 | Marks tooth as skipped |
146
+ | BleedSupPlaqCalc | Must be -1 | 0–15 (bitfield sum) | bleeding=1, suppuration=2, plaque=4, calculus=8 |
147
+
148
+ ---
149
+
150
+ ## Implementation Notes
151
+
152
+ - Sentinel value -1 means "not applicable" for any surface or tooth value field
153
+ - Values greater than 100 represent negative values: subtract 100 to get the real value (e.g., 105 = -5mm gingival margin)
154
+ - CAL (Clinical Attachment Level) = Probing + GingMargin; calculated only, never stored
155
+ - Only one PerioMeasure per SequenceType per tooth per exam; POST checks for duplicates
156
+ - DELETE is restricted to SequenceType "Mobility" and "SkipTooth" only
157
+ - BleedSupPlaqCalc is a bitfield: values 0–15 are sums of bleeding (1), suppuration (2), plaque (4), calculus (8) flags
158
+
159
+ ## Related Resources
160
+ | Resource | Purpose |
161
+ |----------|---------|
162
+ | /perioexams | Parent exam that groups periomeasure records |
@@ -0,0 +1,78 @@
1
+ # API: Pharmacies
2
+
3
+ **Source:** https://www.opendental.com/site/apipharmacies.html
4
+ **DB Schema Ref:** pharmacy
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/pharmacies`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ Pharmacies stores individual pharmacy store records used when associating prescriptions with a dispensing location. Each record contains contact, address, and fax information. The `DateTStamp` field is system-managed and reflects the last modification time.
13
+
14
+ ---
15
+
16
+ ## Endpoints
17
+
18
+ ### GET /pharmacies/{PharmacyNum}
19
+
20
+ **Version:** 24.2.35
21
+ **Description:** Retrieves a single pharmacy record by primary key.
22
+
23
+ **Path Parameters:**
24
+ | Name | Type | Required | Description |
25
+ |------|------|----------|-------------|
26
+ | PharmacyNum | integer | Yes | Primary key of the pharmacy |
27
+
28
+ **Response:** object
29
+ | Field | Type | Description |
30
+ |-------|------|-------------|
31
+ | PharmacyNum | bigint | Primary key |
32
+ | StoreName | varchar(255) | Pharmacy store name or common description |
33
+ | Phone | varchar(255) | Phone number including all punctuation |
34
+ | Fax | varchar(255) | Fax number including all punctuation |
35
+ | Address | varchar(255) | Street address line 1 |
36
+ | Address2 | varchar(255) | Street address line 2 (optional) |
37
+ | City | varchar(255) | City |
38
+ | State | varchar(255) | State abbreviation; two characters, uppercase |
39
+ | Zip | varchar(255) | Postal code |
40
+ | Note | text | Freeform notes (e.g., hours of operation) |
41
+ | DateTStamp | datetime (timestamp) | Last modified date/time; not user-editable |
42
+
43
+ **Status Codes:**
44
+ | Code | Meaning |
45
+ |------|---------|
46
+ | 200 | OK |
47
+ | 404 | NotFound |
48
+
49
+ ---
50
+
51
+ ### GET /pharmacies
52
+
53
+ **Version:** 24.2.35
54
+ **Description:** Retrieves all pharmacy records in the system as an array.
55
+
56
+ **Response:** array of objects (same fields as single GET)
57
+
58
+ **Status Codes:**
59
+ | Code | Meaning |
60
+ |------|---------|
61
+ | 200 | OK |
62
+
63
+ ---
64
+
65
+ ## Implementation Notes
66
+
67
+ - `DateTStamp` is automatically maintained by MySQL on insert/update and is not user-editable.
68
+ - `State` is stored as a two-character uppercase abbreviation.
69
+ - Phone and Fax fields store the full formatted string including punctuation.
70
+ - The `PharmID` column (NCPDPID) exists in the DB schema but is not exposed in the API responses documented here.
71
+
72
+ ---
73
+
74
+ ## Related Resources
75
+
76
+ | Resource | Purpose |
77
+ |----------|---------|
78
+ | RxPats | Prescriptions that reference a PharmacyNum FK |
@@ -0,0 +1,127 @@
1
+ # API: Popups
2
+
3
+ **Source:** https://www.opendental.com/site/apipopups.html
4
+ **DB Schema Ref:** popup
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/popups`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+ Popups are patient-facing alert messages that display when a patient is selected in Open Dental. They support Patient, Family, and SuperFamily levels and implement self-archiving: editing a popup's description creates an archived copy of the original before saving the change.
12
+
13
+ ---
14
+
15
+ ## Endpoints
16
+
17
+ ### GET /popups
18
+
19
+ **Version:** 21.4
20
+ **Description:** Retrieves active and disabled popups for a patient and associated Family and SuperFamily.
21
+
22
+ **Query Parameters:**
23
+ | Name | Type | Required | Default | Description |
24
+ |------|------|----------|---------|-------------|
25
+ | PatNum | integer | Yes | — | Patient number to retrieve popups for |
26
+
27
+ **Response:** array of objects
28
+ | Field | Type | Description |
29
+ |-------|------|-------------|
30
+ | PopupNum | integer | Primary key |
31
+ | PatNum | integer | FK to patient.PatNum |
32
+ | Description | text | Popup message text |
33
+ | IsDisabled | boolean | Deprecated in v22.2+; use DateTimeDisabled instead |
34
+ | PopupLevel | string | "Patient", "Family", or "SuperFamily" (enum EnumPopupLevel) |
35
+ | DateTimeEntry | string | Server creation timestamp (yyyy-MM-dd HH:mm:ss); does not change when level/IsDisabled changes, only when description changes |
36
+ | IsArchived | boolean | True if this is an archived or "deleted" popup |
37
+ | PopupNumArchive | integer | 0 for current popups; for archived popups, FK to parent popup's PopupNum |
38
+ | DateTimeDisabled | string | Timestamp when popup disables (yyyy-MM-dd HH:mm:ss); "0001-01-01 00:00:00" means never disabled |
39
+
40
+ **Status Codes:**
41
+ | Code | Meaning |
42
+ |------|---------|
43
+ | 200 | OK |
44
+ | 400 | BadRequest |
45
+ | 404 | NotFound |
46
+
47
+ ---
48
+
49
+ ### POST /popups
50
+
51
+ **Version:** 21.1
52
+ **Description:** Creates a new popup.
53
+
54
+ **Body Parameters:**
55
+ | Name | Type | Required | Description |
56
+ |------|------|----------|-------------|
57
+ | PatNum | integer | Yes | FK to patient.PatNum |
58
+ | Description | string | Yes | Popup message text |
59
+ | PopupLevel | string | No | "Patient" (default), "Family", or "SuperFamily" |
60
+ | DateTimeDisabled | string | No (v25.1.12+) | Disablement timestamp (yyyy-MM-dd HH:mm:ss); defaults to "0001-01-01 00:00:00" (never) |
61
+
62
+ **Response:** object — created popup with all fields listed in GET response
63
+
64
+ **Status Codes:**
65
+ | Code | Meaning |
66
+ |------|---------|
67
+ | 201 | Created |
68
+ | 400 | BadRequest |
69
+ | 404 | NotFound |
70
+
71
+ ---
72
+
73
+ ### PUT /popups/{PopupNum}
74
+
75
+ **Version:** 25.1.12
76
+ **Description:** Updates an existing popup. Modifying Description triggers self-archiving: a copy of the original is archived before the update is applied.
77
+
78
+ **Path Parameters:**
79
+ | Name | Type | Required | Description |
80
+ |------|------|----------|-------------|
81
+ | PopupNum | integer | Yes | Primary key of the popup to update |
82
+
83
+ **Body Parameters:**
84
+ | Name | Type | Required | Description |
85
+ |------|------|----------|-------------|
86
+ | Description | string | No | New popup message text |
87
+ | PopupLevel | string | No | "Patient", "Family", or "SuperFamily" |
88
+ | DateTimeDisabled | string | No | Disablement timestamp (yyyy-MM-dd HH:mm:ss) |
89
+
90
+ **Response:** object — updated popup with all fields listed in GET response
91
+
92
+ **Status Codes:**
93
+ | Code | Meaning |
94
+ |------|---------|
95
+ | 200 | OK |
96
+ | 400 | BadRequest |
97
+ | 404 | NotFound |
98
+
99
+ ---
100
+
101
+ ## Field Reference
102
+
103
+ ### PopupLevel (enum: EnumPopupLevel)
104
+ | Value | DB Int | Description |
105
+ |-------|--------|-------------|
106
+ | Patient | 0 | Popup applies to the individual patient |
107
+ | Family | 1 | Popup applies to the entire family |
108
+ | SuperFamily | 2 | Popup applies to the entire superfamily |
109
+ | Automation | 3 | Not stored in DB; used only as a temporary display object in FormPopupsForFam |
110
+
111
+ ---
112
+
113
+ ## Implementation Notes
114
+ - Popups tend to be annoying to users and are typically reserved for important notes.
115
+ - Editing the Description field triggers automatic self-archiving: a copy of the existing popup is created as an archive before saving the update.
116
+ - Archived or "deleted" popups have `IsArchived = true`; `IsArchived = false` indicates the current active popup.
117
+ - `PopupNumArchive` is 0 for current popups; archived popups point to their parent popup.
118
+ - `IsDisabled` is deprecated as of v22.2; use `DateTimeDisabled` instead.
119
+ - `DateTimeDisabled` sentinel value "0001-01-01 00:00:00" means the popup will never be automatically disabled.
120
+ - `UserNum` (FK to userod.UserNum) is stored in the DB but is not returned in the API response.
121
+
122
+ ---
123
+
124
+ ## Related Resources
125
+ | Resource | Purpose |
126
+ |----------|---------|
127
+ | /patients | Retrieve PatNum values for popup queries |
@@ -0,0 +1,47 @@
1
+ # API: Preferences
2
+
3
+ **Source:** https://www.opendental.com/site/apipreferences.html
4
+ **DB Schema Ref:** preference
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/preferences`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+ Preferences store small configuration values for the practice across a wide variety of purposes. Each preference is a key/value pair identified by `PrefName`. There are approximately 1,000 preferences; any data too small to warrant its own table is typically stored here.
12
+
13
+ ---
14
+
15
+ ## Endpoints
16
+
17
+ ### GET /preferences
18
+
19
+ **Version:** 21.1
20
+ **Description:** Retrieves one or more preference records. When no `PrefName` is specified, returns all preferences paginated.
21
+
22
+ **Query Parameters:**
23
+ | Name | Type | Required | Default | Description |
24
+ |------|------|----------|---------|-------------|
25
+ | PrefName | string | No | — | Filter for a specific preference by name (e.g., "RecallDaysPast"). Omit to return all preferences. |
26
+ | Offset | integer | No | 0 | Pagination offset (e.g., Offset=200 to skip first 200 records) |
27
+
28
+ **Response:** array of objects
29
+ | Field | Type | Description |
30
+ |-------|------|-------------|
31
+ | PrefNum | integer | Primary key (not used for querying; all queries use PrefName) |
32
+ | PrefName | varchar(255) | The preference name (key) |
33
+ | ValueString | text | The preference value stored as a string |
34
+
35
+ **Status Codes:**
36
+ | Code | Meaning |
37
+ |------|---------|
38
+ | 200 | OK |
39
+
40
+ ---
41
+
42
+ ## Implementation Notes
43
+ - All preference values are stored and returned as strings regardless of their underlying data type; callers must parse as needed.
44
+ - Omitting `PrefName` returns all ~1,000 preferences; use `Offset` for pagination.
45
+ - `PrefNum` is a primary key in the database but is not used for queries — always reference preferences by `PrefName`.
46
+ - The `Comments` column in the DB is mostly deprecated in favor of XML code comments; it is not returned in the API response.
47
+ - Consult the Preference Database Schema for details on individual preference names and their valid values.