@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,171 @@
1
+ # API: InsSubs
2
+
3
+ **Source:** https://www.opendental.com/site/apiinssubs.html
4
+ **DB Schema Ref:** inssub
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/inssubs`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ InsSubs links an insurance plan (InsPlan) to a subscriber (patient). Multiple subscribers can share the same insurance plan. The PatPlan table determines actual coverage for individual family members. InsSubs manages the subscriber-level relationship including subscriber ID, effective dates, and benefit assignment flags.
13
+
14
+ ---
15
+
16
+ ## Endpoints
17
+
18
+ ### GET /inssubs/{InsSubNum}
19
+
20
+ **Version:** 22.4.28
21
+ **Description:** Retrieves a single insurance subscription record by its primary key.
22
+
23
+ **Path Parameters:**
24
+ | Name | Type | Required | Description |
25
+ |------|------|----------|-------------|
26
+ | InsSubNum | integer | Yes | Insurance subscription primary key |
27
+
28
+ **Response:** Single object
29
+
30
+ | Field | Type | Description |
31
+ |-------|------|-------------|
32
+ | InsSubNum | integer | Primary key |
33
+ | PlanNum | integer | FK to insplan.PlanNum |
34
+ | Subscriber | integer | FK to patient.PatNum — the subscribing patient |
35
+ | DateEffective | string | Plan effective date (yyyy-MM-dd); "0001-01-01" if not set |
36
+ | DateTerm | string | Plan termination date (yyyy-MM-dd); "0001-01-01" if not set |
37
+ | SubscriberID | string | Number assigned by insurance company; no dashes; cannot be blank |
38
+ | BenefitNotes | string | Automated benefit notes (subscriber-specific; may show another subscriber's notes if blank) |
39
+ | ReleaseInfo | string | "true" or "false" — release of information signature on file |
40
+ | AssignBen | string | "true" or "false" — assignment of benefits signature on file |
41
+ | SubscNote | string | Additional coverage information |
42
+ | SecDateTEdit | string | Last modified timestamp (auto-updated by MySQL) |
43
+
44
+ **Status Codes:**
45
+ | Code | Meaning |
46
+ |------|---------|
47
+ | 200 | OK |
48
+ | 400 | BadRequest |
49
+ | 404 | NotFound |
50
+
51
+ ---
52
+
53
+ ### GET /inssubs
54
+
55
+ **Version:** 22.4.28
56
+ **Description:** Retrieves a list of insurance subscription records with optional filtering.
57
+
58
+ **Query Parameters:**
59
+ | Name | Type | Required | Default | Description |
60
+ |------|------|----------|---------|-------------|
61
+ | PlanNum | integer | No | — | Filter by insurance plan |
62
+ | Subscriber | integer | No | — | Filter by patient (PatNum) |
63
+ | SecDateTEdit | string | No | — | Returns records modified on or after this date |
64
+
65
+ **Response:** Array of objects with same fields as single GET
66
+
67
+ **Status Codes:**
68
+ | Code | Meaning |
69
+ |------|---------|
70
+ | 200 | OK |
71
+ | 400 | BadRequest |
72
+ | 404 | NotFound |
73
+
74
+ ---
75
+
76
+ ### POST /inssubs
77
+
78
+ **Version:** 21.1
79
+ **Description:** Creates a new insurance subscription, linking a plan to a subscriber patient.
80
+
81
+ **Body Parameters:**
82
+ | Name | Type | Required | Description |
83
+ |------|------|----------|-------------|
84
+ | PlanNum | integer | Yes | FK to insplan.PlanNum |
85
+ | Subscriber | integer | Yes | FK to patient.PatNum |
86
+ | SubscriberID | string | Yes | Insurance company-assigned number (no dashes) |
87
+ | DateEffective | string | No | Plan effective date (yyyy-MM-dd) |
88
+ | DateTerm | string | No | Plan termination date (yyyy-MM-dd) |
89
+ | BenefitNotes | string | No | Automated benefit notes (version 21.1+) |
90
+ | ReleaseInfo | string | No | "true"/"false"; default "true" (added 21.4) |
91
+ | AssignBen | string | No | "true"/"false" (added 21.4) |
92
+ | SubscNote | string | No | Additional coverage info (added 22.4.26) |
93
+
94
+ **Response:** Complete InsSub object including assigned `InsSubNum` and auto-generated `SecDateTEdit`
95
+
96
+ **Status Codes:**
97
+ | Code | Meaning |
98
+ |------|---------|
99
+ | 201 | Created |
100
+ | 400 | BadRequest |
101
+
102
+ ---
103
+
104
+ ### PUT /inssubs/{InsSubNum}
105
+
106
+ **Version:** 21.1
107
+ **Description:** Updates an existing insurance subscription. `SecDateTEdit` is updated automatically and cannot be set by developers.
108
+
109
+ **Path Parameters:**
110
+ | Name | Type | Required | Description |
111
+ |------|------|----------|-------------|
112
+ | InsSubNum | integer | Yes | Insurance subscription primary key |
113
+
114
+ **Body Parameters:**
115
+ | Name | Type | Required | Description |
116
+ |------|------|----------|-------------|
117
+ | PlanNum | integer | No | Change associated insurance plan |
118
+ | Subscriber | integer | No | Change subscriber patient (added 21.4) |
119
+ | SubscriberID | string | No | Insurance company-assigned number (added 21.4) |
120
+ | DateEffective | string | No | Plan effective date (added 21.4) |
121
+ | DateTerm | string | No | Plan termination date (added 21.4) |
122
+ | BenefitNotes | string | No | Automated benefit notes |
123
+ | ReleaseInfo | string | No | "true"/"false" |
124
+ | AssignBen | string | No | "true"/"false" |
125
+ | SubscNote | string | No | Additional coverage info (added 22.4.26) |
126
+
127
+ **Response:** 200 OK
128
+
129
+ **Status Codes:**
130
+ | Code | Meaning |
131
+ |------|---------|
132
+ | 200 | OK |
133
+ | 400 | BadRequest |
134
+ | 404 | NotFound |
135
+
136
+ ---
137
+
138
+ ### DELETE /inssubs/{InsSubNum}
139
+
140
+ **Version:** 21.1
141
+ **Description:** Deletes an insurance subscription. Will fail if any PatPlans reference this InsSub.
142
+
143
+ **Path Parameters:**
144
+ | Name | Type | Required | Description |
145
+ |------|------|----------|-------------|
146
+ | InsSubNum | integer | Yes | Insurance subscription primary key |
147
+
148
+ **Status Codes:**
149
+ | Code | Meaning |
150
+ |------|---------|
151
+ | 200 | OK |
152
+ | 400 | BadRequest |
153
+
154
+ ---
155
+
156
+ ## Implementation Notes
157
+
158
+ - DELETE will fail if any PatPlan records exist referencing this InsSub.
159
+ - `SecDateTEdit` is automatically updated by MySQL and cannot be set by developers.
160
+ - `DateEffective` and `DateTerm` are stored as "0001-01-01" when not set (sentinel value).
161
+ - `BenefitNotes` are subscriber-specific; if blank, the UI may display notes from another subscriber on the same plan.
162
+ - Updating `PlanNum` or `Subscriber` does not affect associated PatPlans or family member coverage.
163
+ - To obtain `InsSubNum` for delete/update operations, retrieve it via the FamilyModules GET Insurance endpoint.
164
+ - This API creates subscriber-to-plan links only; it does not create insurance plans or modify benefits.
165
+
166
+ ## Related Resources
167
+
168
+ | Resource | Purpose |
169
+ |----------|---------|
170
+ | /insplans | The insurance plan being subscribed to |
171
+ | /insverifies | Verification records for enrollment/benefits |
@@ -0,0 +1,123 @@
1
+ # API: InsVerifies
2
+
3
+ **Source:** https://www.opendental.com/site/apiinsverifies.html
4
+ **DB Schema Ref:** insverify
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/insverifies`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ InsVerifies tracks the most recent insurance verification for each insurance plan (benefit verification) or patient plan enrollment (eligibility verification). Each record represents the current verification state; historical entries are always retained in the `insverifyhist` table. A new row with no date is created automatically when a new plan is created.
13
+
14
+ ---
15
+
16
+ ## Endpoints
17
+
18
+ ### GET /insverifies/{InsVerifyNum}
19
+
20
+ **Version:** 23.2.23
21
+ **Description:** Retrieves a single insurance verification record by its primary key.
22
+
23
+ **Path Parameters:**
24
+ | Name | Type | Required | Description |
25
+ |------|------|----------|-------------|
26
+ | InsVerifyNum | integer | Yes | Insurance verification primary key |
27
+
28
+ **Response:** Single object
29
+
30
+ | Field | Type | Description |
31
+ |-------|------|-------------|
32
+ | InsVerifyNum | integer | Primary key |
33
+ | DateLastVerified | string | Date of last successful verification (yyyy-MM-dd); DateTime.MinVal if never verified |
34
+ | UserNum | integer | FK to userod.UserNum — assigned verifying user (typically 0) |
35
+ | VerifyType | string | "PatientEnrollment" or "InsuranceBenefit" |
36
+ | FKey | integer | FK to patplan.PatPlanNum (if PatientEnrollment) or insplan.PlanNum (if InsuranceBenefit) |
37
+ | DefNum | integer | FK to definition.DefNum where Category=38 — verification status |
38
+ | Note | string | Status note for this verification |
39
+ | DateLastAssigned | string | DateTime when a user was last assigned/unassigned (yyyy-MM-dd); DateTime.MinVal if never assigned |
40
+ | SecDateTEdit | string | Last modified timestamp (yyyy-MM-dd HH:mm:ss) |
41
+
42
+ **Status Codes:**
43
+ | Code | Meaning |
44
+ |------|---------|
45
+ | 200 | OK |
46
+ | 404 | NotFound |
47
+
48
+ ---
49
+
50
+ ### GET /insverifies
51
+
52
+ **Version:** 23.2.23
53
+ **Description:** Retrieves multiple insurance verification records with optional filtering.
54
+
55
+ **Query Parameters:**
56
+ | Name | Type | Required | Default | Description |
57
+ |------|------|----------|---------|-------------|
58
+ | VerifyType | string | No* | — | "PatientEnrollment" or "InsuranceBenefit"; required if FKey is specified |
59
+ | FKey | integer | No | — | FK to patplan.PatPlanNum or insplan.PlanNum depending on VerifyType (added 24.4.17) |
60
+ | SecDateTEdit | string | No | — | Returns records modified after this timestamp (yyyy-MM-dd HH:mm:ss) |
61
+
62
+ **Response:** Array of objects with same fields as single GET
63
+
64
+ **Status Codes:**
65
+ | Code | Meaning |
66
+ |------|---------|
67
+ | 200 | OK |
68
+ | 400 | BadRequest |
69
+
70
+ ---
71
+
72
+ ### PUT /insverifies
73
+
74
+ **Version:** 21.1
75
+ **Description:** Updates an insurance verification record. Historical entries are always retained in the insverifyhist table. There is no path parameter — the record is identified by `VerifyType` + `FKey` in the body.
76
+
77
+ **Body Parameters:**
78
+ | Name | Type | Required | Description |
79
+ |------|------|----------|-------------|
80
+ | VerifyType | string | Yes | "PatientEnrollment" or "InsuranceBenefit" |
81
+ | FKey | integer | Yes | FK to patplan.PatPlanNum (PatientEnrollment) or insplan.PlanNum (InsuranceBenefit) |
82
+ | DateLastVerified | string | No* | Date to set as last verified (yyyy-MM-dd); optional after version 24.1.17 |
83
+ | DefNum | integer | No | FK to definition.DefNum where Category=38 — verification status |
84
+ | Note | string | No | Status note (added 24.1.17) |
85
+
86
+ **Response:** Single updated InsVerify object
87
+
88
+ **Status Codes:**
89
+ | Code | Meaning |
90
+ |------|---------|
91
+ | 200 | OK |
92
+ | 400 | BadRequest |
93
+
94
+ ---
95
+
96
+ ## Field Reference
97
+
98
+ ### VerifyType (enum: VerifyTypes)
99
+
100
+ | Value | DB Int | Description |
101
+ |-------|--------|-------------|
102
+ | None | 0 | No type — FKey should be 0 |
103
+ | InsuranceBenefit | 1 | Benefits verification — FKey links to insplan.PlanNum |
104
+ | PatientEnrollment | 2 | Enrollment/eligibility verification — FKey links to patplan.PatPlanNum |
105
+
106
+ ---
107
+
108
+ ## Implementation Notes
109
+
110
+ - PUT uses `VerifyType` + `FKey` in the body to identify the record (not a path parameter with InsVerifyNum).
111
+ - Every PUT creates a historical copy in the `insverifyhist` table; the current record is updated in-place.
112
+ - `DateLastVerified` is DateTime.MinVal (displayed as "0001-01-01") when a plan is newly created and never verified.
113
+ - `DateLastAssigned` is DateTime.MinVal when no user has ever been assigned.
114
+ - `DefNum` must reference a definition where `definition.Category` = 38 (InsVerifyStatus).
115
+ - `UserNum` is typically 0; it is only populated when the optional user-assignment feature is in use.
116
+ - `FKey` is required when specifying `VerifyType` in GET query parameters.
117
+
118
+ ## Related Resources
119
+
120
+ | Resource | Purpose |
121
+ |----------|---------|
122
+ | /insplans | Insurance plans referenced by FKey when VerifyType=InsuranceBenefit |
123
+ | /inssubs | Subscriber records linked to plans being verified |
@@ -0,0 +1,174 @@
1
+ # API: LabCases
2
+
3
+ **Source:** https://www.opendental.com/site/apilabcases.html
4
+ **Extracted:** 2026-04-22
5
+ **Base Path:** `/labcases`
6
+
7
+ ---
8
+
9
+ ## Overview
10
+ The LabCases API manages dental lab case records linking patients, laboratories, and appointments. It tracks the lifecycle of lab work from creation through receipt and quality check.
11
+
12
+ ---
13
+
14
+ ## Endpoints
15
+
16
+ ### GET /labcases/{LabCaseNum}
17
+
18
+ **Version:** 24.2.28
19
+ **Description:** Retrieves a single lab case record by its unique identifier.
20
+
21
+ **Path Parameters:**
22
+ | Name | Type | Required | Description |
23
+ |------|------|----------|-------------|
24
+ | LabCaseNum | integer | Yes | Unique lab case identifier |
25
+
26
+ **Response:** object
27
+ | Field | Type | Description |
28
+ |-------|------|-------------|
29
+ | LabCaseNum | integer | Unique identifier |
30
+ | PatNum | integer | FK to patient |
31
+ | LaboratoryNum | integer | FK to laboratory |
32
+ | AptNum | integer | FK to scheduled appointment |
33
+ | PlannedAptNum | integer | FK to planned appointment |
34
+ | DateTimeDue | datetime | Due date for lab slip |
35
+ | DateTimeCreated | datetime | Creation timestamp |
36
+ | DateTimeSent | datetime | Sent to lab timestamp |
37
+ | DateTimeRecd | datetime | Received from lab timestamp |
38
+ | DateTimeChecked | datetime | Quality check timestamp |
39
+ | ProvNum | integer | FK to provider |
40
+ | Instructions | string | Lab work instructions |
41
+ | LabFee | decimal | Informational fee only; does not affect calculations |
42
+ | DateTStamp | datetime | Database timestamp (system-generated) |
43
+ | InvoiceNum | string | Optional tracking number |
44
+
45
+ **Status Codes:**
46
+ | Code | Meaning |
47
+ |------|---------|
48
+ | 200 | OK |
49
+ | 404 | NotFound |
50
+
51
+ ---
52
+
53
+ ### GET /labcases
54
+
55
+ **Version:** 24.2.28
56
+ **Description:** Retrieves multiple lab case records with optional filtering.
57
+
58
+ **Query Parameters:**
59
+ | Name | Type | Required | Default | Description |
60
+ |------|------|----------|---------|-------------|
61
+ | PatNum | integer | No | — | Filter by patient |
62
+ | LaboratoryNum | integer | No | — | Filter by laboratory |
63
+ | AptNum | integer | No | — | Filter by scheduled appointment |
64
+ | PlannedAptNum | integer | No | — | Filter by planned appointment |
65
+ | ProvNum | integer | No | — | Filter by provider |
66
+
67
+ **Response:** array of objects (same fields as GET single)
68
+
69
+ **Status Codes:**
70
+ | Code | Meaning |
71
+ |------|---------|
72
+ | 200 | OK |
73
+ | 400 | BadRequest |
74
+ | 404 | NotFound |
75
+
76
+ ---
77
+
78
+ ### POST /labcases
79
+
80
+ **Version:** 24.4.19
81
+ **Description:** Creates a new lab case record.
82
+
83
+ **Body Parameters:**
84
+ | Name | Type | Required | Description |
85
+ |------|------|----------|-------------|
86
+ | PatNum | integer | Yes | FK to patient |
87
+ | LaboratoryNum | integer | Yes | FK to laboratory |
88
+ | ProvNum | integer | Yes | FK to provider |
89
+ | AptNum | integer | No | FK to appointment; must have AptStatus=Scheduled |
90
+ | PlannedAptNum | integer | No | FK to planned appointment; must have AptStatus=Planned |
91
+ | DateTimeDue | datetime | No | Due date/time (format: "yyyy-MM-dd HH:mm:ss") |
92
+ | DateTimeCreated | datetime | No | Creation timestamp (format: "yyyy-MM-dd HH:mm:ss") |
93
+ | DateTimeSent | datetime | No | Sent to lab timestamp (format: "yyyy-MM-dd HH:mm:ss") |
94
+ | DateTimeRecd | datetime | No | Received from lab timestamp (format: "yyyy-MM-dd HH:mm:ss") |
95
+ | DateTimeChecked | datetime | No | Quality check timestamp (format: "yyyy-MM-dd HH:mm:ss") |
96
+ | Instructions | string | No | Lab work instructions |
97
+ | LabFee | decimal | No | Informational/tracking fee only |
98
+ | InvoiceNum | string | No | Optional tracking number |
99
+
100
+ **Response:** object — created lab case with all fields including generated `LabCaseNum`
101
+
102
+ **Status Codes:**
103
+ | Code | Meaning |
104
+ |------|---------|
105
+ | 201 | Created |
106
+ | 400 | BadRequest |
107
+ | 404 | NotFound |
108
+
109
+ ---
110
+
111
+ ### PUT /labcases/{LabCaseNum}
112
+
113
+ **Version:** 24.4.19
114
+ **Description:** Updates an existing lab case record. `PatNum` and `LaboratoryNum` are immutable after creation.
115
+
116
+ **Path Parameters:**
117
+ | Name | Type | Required | Description |
118
+ |------|------|----------|-------------|
119
+ | LabCaseNum | integer | Yes | Lab case identifier |
120
+
121
+ **Body Parameters:**
122
+ | Name | Type | Required | Description |
123
+ |------|------|----------|-------------|
124
+ | AptNum | integer | No | FK to scheduled appointment |
125
+ | PlannedAptNum | integer | No | FK to planned appointment |
126
+ | DateTimeDue | datetime | No | Due date/time (format: "yyyy-MM-dd HH:mm:ss") |
127
+ | DateTimeCreated | datetime | No | Creation timestamp |
128
+ | DateTimeSent | datetime | No | Sent to lab timestamp |
129
+ | DateTimeRecd | datetime | No | Received from lab timestamp |
130
+ | DateTimeChecked | datetime | No | Quality check timestamp |
131
+ | ProvNum | integer | No | FK to provider |
132
+ | Instructions | string | No | Lab work instructions |
133
+ | LabFee | decimal | No | Informational fee only |
134
+ | InvoiceNum | string | No | Tracking number |
135
+
136
+ **Response:** object — updated lab case with all fields
137
+
138
+ **Status Codes:**
139
+ | Code | Meaning |
140
+ |------|---------|
141
+ | 200 | OK |
142
+ | 400 | BadRequest |
143
+ | 404 | NotFound |
144
+
145
+ ---
146
+
147
+ ### DELETE /labcases/{LabCaseNum}
148
+
149
+ **Version:** 24.4.19
150
+ **Description:** Removes a lab case record.
151
+
152
+ **Path Parameters:**
153
+ | Name | Type | Required | Description |
154
+ |------|------|----------|-------------|
155
+ | LabCaseNum | integer | Yes | Lab case identifier |
156
+
157
+ **Response:** 200 OK (no body)
158
+
159
+ **Status Codes:**
160
+ | Code | Meaning |
161
+ |------|---------|
162
+ | 200 | OK |
163
+ | 400 | BadRequest |
164
+ | 404 | NotFound |
165
+
166
+ ---
167
+
168
+ ## Implementation Notes
169
+ - `PatNum` and `LaboratoryNum` cannot be changed after creation via PUT.
170
+ - `AptNum` must reference an appointment with AptStatus=Scheduled.
171
+ - `PlannedAptNum` must reference an appointment with AptStatus=Planned.
172
+ - `LabFee` and `InvoiceNum` are informational only and do not affect billing calculations.
173
+ - `DateTStamp` is system-generated and returned in responses; do not set it in POST/PUT.
174
+ - All datetime fields use format: `yyyy-MM-dd HH:mm:ss`.
@@ -0,0 +1,147 @@
1
+ # API: Laboratories
2
+
3
+ **Source:** https://www.opendental.com/site/apilaboratories.html
4
+ **DB Schema Ref:** laboratory
5
+ **Extracted:** 2026-04-22
6
+ **Base Path:** `/laboratories`
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ Laboratories represents dental lab partners associated with lab cases. Each laboratory record stores contact information, address details, and a reference to a custom lab slip sheet definition. Labs can be marked hidden (inactive) without being deleted.
13
+
14
+ ---
15
+
16
+ ## Endpoints
17
+
18
+ ### GET /laboratories/{LaboratoryNum}
19
+
20
+ **Version:** 24.2.33
21
+ **Description:** Retrieves a single laboratory record by primary key.
22
+
23
+ **Path Parameters:**
24
+ | Name | Type | Required | Description |
25
+ |------|------|----------|-------------|
26
+ | LaboratoryNum | integer | Yes | Primary key of the laboratory |
27
+
28
+ **Response:** object
29
+ | Field | Type | Description |
30
+ |-------|------|-------------|
31
+ | LaboratoryNum | integer | Primary key |
32
+ | Description | varchar(255) | Laboratory name/description |
33
+ | Phone | varchar(255) | Contact phone number; freeform including punctuation |
34
+ | Notes | text | Additional notes; no practical length limit |
35
+ | Slip | bigint | FK to sheetdef.SheetDefNum; 0 = use default internal lab slip |
36
+ | Address | varchar(255) | Street address |
37
+ | City | varchar(255) | City |
38
+ | State | varchar(255) | State (US) or province (Canada) |
39
+ | Zip | varchar(255) | Postal code |
40
+ | Email | varchar(255) | Email address |
41
+ | WirelessPhone | varchar(255) | Additional contact phone number |
42
+ | IsHidden | boolean (tinyint) | True if laboratory is inactive/hidden |
43
+
44
+ **Status Codes:**
45
+ | Code | Meaning |
46
+ |------|---------|
47
+ | 200 | OK |
48
+ | 404 | NotFound |
49
+
50
+ ---
51
+
52
+ ### GET /laboratories
53
+
54
+ **Version:** 24.2.33
55
+ **Description:** Retrieves all laboratory records as an array.
56
+
57
+ **Response:** array of objects (same fields as single GET)
58
+
59
+ **Status Codes:**
60
+ | Code | Meaning |
61
+ |------|---------|
62
+ | 200 | OK |
63
+
64
+ ---
65
+
66
+ ### POST /laboratories
67
+
68
+ **Version:** 24.4.22
69
+ **Description:** Creates a new laboratory record.
70
+
71
+ **Body Parameters:**
72
+ | Name | Type | Required | Description |
73
+ |------|------|----------|-------------|
74
+ | Description | string | Yes | Laboratory name |
75
+ | Phone | string | No | Contact phone number |
76
+ | Notes | string | No | Additional notes |
77
+ | Slip | integer | No | FK to sheetdef.SheetDefNum; default 0 (uses default internal lab slip) |
78
+ | Address | string | No | Street address |
79
+ | City | string | No | City |
80
+ | State | string | No | State/province code |
81
+ | Zip | string | No | Postal code; US formats: 12345, 12345-1234, 123456789; Canada: A0A 0A0 |
82
+ | Email | string | No | Email address |
83
+ | WirelessPhone | string | No | Additional phone number |
84
+ | IsHidden | string | No | "true" to mark inactive; default "false" |
85
+
86
+ **Response:** object — complete laboratory record with assigned LaboratoryNum
87
+
88
+ **Status Codes:**
89
+ | Code | Meaning |
90
+ |------|---------|
91
+ | 201 | Created |
92
+ | 400 | BadRequest |
93
+ | 404 | NotFound |
94
+
95
+ ---
96
+
97
+ ### PUT /laboratories/{LaboratoryNum}
98
+
99
+ **Version:** 24.4.23
100
+ **Description:** Updates an existing laboratory record. All body fields are optional.
101
+
102
+ **Path Parameters:**
103
+ | Name | Type | Required | Description |
104
+ |------|------|----------|-------------|
105
+ | LaboratoryNum | integer | Yes | Primary key of the laboratory to update |
106
+
107
+ **Body Parameters:**
108
+ | Name | Type | Required | Description |
109
+ |------|------|----------|-------------|
110
+ | Description | string | No | Laboratory name |
111
+ | Phone | string | No | Contact phone number |
112
+ | Notes | string | No | Overwrites existing notes entirely |
113
+ | Slip | integer | No | FK to sheetdef.SheetDefNum |
114
+ | Address | string | No | Street address |
115
+ | City | string | No | City |
116
+ | State | string | No | State/province code |
117
+ | Zip | string | No | Postal code |
118
+ | Email | string | No | Email address |
119
+ | WirelessPhone | string | No | Additional phone number |
120
+ | IsHidden | string | No | "true" to mark inactive |
121
+
122
+ **Response:** object — updated laboratory record
123
+
124
+ **Status Codes:**
125
+ | Code | Meaning |
126
+ |------|---------|
127
+ | 200 | OK |
128
+ | 400 | BadRequest |
129
+ | 404 | NotFound |
130
+
131
+ ---
132
+
133
+ ## Implementation Notes
134
+
135
+ - `Slip` = 0 means the default internal lab slip is used rather than a custom sheet definition.
136
+ - `Notes` on PUT overwrites the entire existing value; perform a GET first if appending is desired.
137
+ - `IsHidden` is stored as tinyint(4) in the DB; pass as string "true"/"false" in the API.
138
+ - Zip format validation enforces US (12345, 12345-1234, 123456789) and Canada (A0A 0A0) patterns on POST.
139
+
140
+ ---
141
+
142
+ ## Related Resources
143
+
144
+ | Resource | Purpose |
145
+ |----------|---------|
146
+ | LabTurnarounds | Turnaround time entries attached to a laboratory |
147
+ | SheetDef | Custom lab slip sheet definitions (Slip FK target) |