candidhealth 0.35.2 → 0.37.0

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 (670) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +65 -60
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  5. package/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  6. package/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  7. package/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  8. package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  9. package/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  10. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  11. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  12. package/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  13. package/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  14. package/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  15. package/api/resources/chargeCapture/client/Client.d.ts +26 -0
  16. package/api/resources/chargeCapture/client/Client.js +17 -0
  17. package/api/resources/chargeCapture/client/index.d.ts +1 -0
  18. package/api/resources/chargeCapture/client/index.js +2 -0
  19. package/api/resources/chargeCapture/index.d.ts +2 -0
  20. package/api/resources/chargeCapture/index.js +18 -0
  21. package/api/resources/chargeCapture/resources/index.d.ts +1 -0
  22. package/api/resources/chargeCapture/resources/index.js +27 -0
  23. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  24. package/api/resources/chargeCapture/resources/v1/client/Client.js +594 -0
  25. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  26. package/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  27. package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +40 -0
  28. package/api/resources/chargeCapture/resources/v1/client/delete.js +80 -0
  29. package/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  30. package/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  31. package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +28 -0
  32. package/api/resources/chargeCapture/resources/v1/client/getAll.js +58 -0
  33. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  34. package/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  35. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  36. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  37. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  38. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  39. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  40. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  41. package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  42. package/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  43. package/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  44. package/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  45. package/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  46. package/api/resources/chargeCapture/resources/v1/index.js +18 -0
  47. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  48. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  49. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  50. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  51. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  52. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  53. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  54. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  55. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  56. package/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  57. package/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  58. package/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  59. package/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  60. package/api/resources/commons/types/ChargeCaptureId.js +10 -0
  61. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
  62. package/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
  63. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  64. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  65. package/api/resources/commons/types/index.d.ts +3 -0
  66. package/api/resources/commons/types/index.js +3 -0
  67. package/api/resources/contracts/resources/v2/client/Client.js +6 -5
  68. package/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  69. package/api/resources/contracts/resources/v2/client/update.js +11 -0
  70. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  71. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  72. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  73. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  74. package/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  75. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  76. package/api/resources/diagnoses/client/Client.js +3 -3
  77. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  78. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  79. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  80. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  81. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  82. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  83. package/api/resources/encounters/resources/v4/client/Client.d.ts +29 -273
  84. package/api/resources/encounters/resources/v4/client/Client.js +34 -278
  85. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -62
  86. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -20
  87. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  88. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  89. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  90. package/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  91. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  92. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  93. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  94. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  95. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  96. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  97. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  98. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  99. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  100. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  101. package/api/resources/index.d.ts +1 -0
  102. package/api/resources/index.js +2 -1
  103. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  104. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  105. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  106. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  107. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  108. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  109. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  110. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  111. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  112. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  113. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  114. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  115. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  116. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  117. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  118. package/api/resources/preEncounter/client/Client.d.ts +6 -0
  119. package/api/resources/preEncounter/client/Client.js +12 -2
  120. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  121. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +1 -10
  122. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
  123. package/api/resources/preEncounter/resources/common/types/BaseModel.js +5 -0
  124. package/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
  125. package/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
  126. package/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
  127. package/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
  128. package/api/resources/preEncounter/resources/common/types/index.d.ts +3 -0
  129. package/api/resources/preEncounter/resources/common/types/index.js +3 -0
  130. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  131. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
  132. package/api/resources/preEncounter/resources/index.d.ts +2 -0
  133. package/api/resources/preEncounter/resources/index.js +3 -1
  134. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  135. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  136. package/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
  137. package/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
  138. package/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
  139. package/api/resources/preEncounter/resources/notes/client/index.js +2 -0
  140. package/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
  141. package/api/resources/preEncounter/resources/notes/index.js +18 -0
  142. package/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
  143. package/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
  144. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
  145. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
  146. package/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
  147. package/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
  148. package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
  149. package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
  150. package/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
  151. package/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
  152. package/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
  153. package/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
  154. package/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
  155. package/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
  156. package/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
  157. package/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
  158. package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
  159. package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
  160. package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
  161. package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
  162. package/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
  163. package/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
  164. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +9 -3
  165. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +18 -12
  166. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
  167. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
  168. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  169. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
  170. package/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
  171. package/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
  172. package/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
  173. package/api/resources/preEncounter/resources/tags/client/index.js +2 -0
  174. package/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
  175. package/api/resources/preEncounter/resources/tags/index.js +18 -0
  176. package/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
  177. package/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
  178. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
  179. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
  180. package/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
  181. package/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
  182. package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
  183. package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
  184. package/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
  185. package/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
  186. package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
  187. package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
  188. package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
  189. package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
  190. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
  191. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
  192. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
  193. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
  194. package/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
  195. package/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
  196. package/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
  197. package/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
  198. package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
  199. package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
  200. package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
  201. package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
  202. package/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +7 -0
  203. package/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
  204. package/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
  205. package/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
  206. package/api/resources/serviceFacility/client/Client.js +1 -1
  207. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  208. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  209. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  210. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  211. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  212. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  213. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  214. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  215. package/dist/Client.d.ts +3 -0
  216. package/dist/Client.js +65 -60
  217. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  218. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  219. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  220. package/dist/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  221. package/dist/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  222. package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  223. package/dist/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  224. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  225. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  226. package/dist/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  227. package/dist/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  228. package/dist/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  229. package/dist/api/resources/chargeCapture/client/Client.d.ts +26 -0
  230. package/dist/api/resources/chargeCapture/client/Client.js +17 -0
  231. package/dist/api/resources/chargeCapture/client/index.d.ts +1 -0
  232. package/dist/api/resources/chargeCapture/client/index.js +2 -0
  233. package/dist/api/resources/chargeCapture/index.d.ts +2 -0
  234. package/dist/api/resources/chargeCapture/index.js +18 -0
  235. package/dist/api/resources/chargeCapture/resources/index.d.ts +1 -0
  236. package/dist/api/resources/chargeCapture/resources/index.js +27 -0
  237. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  238. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +594 -0
  239. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  240. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  241. package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +40 -0
  242. package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +80 -0
  243. package/dist/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  244. package/dist/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  245. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +28 -0
  246. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +58 -0
  247. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  248. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  249. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  250. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  251. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  252. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  253. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  254. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  255. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  256. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  257. package/dist/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  258. package/dist/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  259. package/dist/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  260. package/dist/api/resources/chargeCapture/resources/v1/index.js +18 -0
  261. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  262. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  263. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  264. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  265. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  266. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  267. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  268. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  269. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  270. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  271. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  272. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  273. package/dist/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  274. package/dist/api/resources/commons/types/ChargeCaptureId.js +10 -0
  275. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
  276. package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
  277. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  278. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  279. package/dist/api/resources/commons/types/index.d.ts +3 -0
  280. package/dist/api/resources/commons/types/index.js +3 -0
  281. package/dist/api/resources/contracts/resources/v2/client/Client.js +6 -5
  282. package/dist/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  283. package/dist/api/resources/contracts/resources/v2/client/update.js +11 -0
  284. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  285. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  286. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  287. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  288. package/dist/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  289. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  290. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  291. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  292. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  293. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  294. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  295. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  296. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  297. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +29 -273
  298. package/dist/api/resources/encounters/resources/v4/client/Client.js +34 -278
  299. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -62
  300. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -20
  301. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  302. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  303. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  304. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  305. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  306. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  307. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  308. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  309. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  310. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  311. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  312. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  313. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  314. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  315. package/dist/api/resources/index.d.ts +1 -0
  316. package/dist/api/resources/index.js +2 -1
  317. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  318. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  319. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  320. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  321. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  322. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  323. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  324. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  325. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  326. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  327. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  328. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  329. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  330. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  331. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  332. package/dist/api/resources/preEncounter/client/Client.d.ts +6 -0
  333. package/dist/api/resources/preEncounter/client/Client.js +12 -2
  334. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  335. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +1 -10
  336. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
  337. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.js +5 -0
  338. package/dist/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
  339. package/dist/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
  340. package/dist/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
  341. package/dist/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
  342. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +3 -0
  343. package/dist/api/resources/preEncounter/resources/common/types/index.js +3 -0
  344. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  345. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
  346. package/dist/api/resources/preEncounter/resources/index.d.ts +2 -0
  347. package/dist/api/resources/preEncounter/resources/index.js +3 -1
  348. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  349. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  350. package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
  351. package/dist/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
  352. package/dist/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
  353. package/dist/api/resources/preEncounter/resources/notes/client/index.js +2 -0
  354. package/dist/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
  355. package/dist/api/resources/preEncounter/resources/notes/index.js +18 -0
  356. package/dist/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
  357. package/dist/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
  358. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
  359. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
  360. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
  361. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
  362. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
  363. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
  364. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
  365. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
  366. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
  367. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
  368. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
  369. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
  370. package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
  371. package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
  372. package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
  373. package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
  374. package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
  375. package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
  376. package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
  377. package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
  378. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +9 -3
  379. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +18 -12
  380. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
  381. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
  382. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  383. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
  384. package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
  385. package/dist/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
  386. package/dist/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
  387. package/dist/api/resources/preEncounter/resources/tags/client/index.js +2 -0
  388. package/dist/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
  389. package/dist/api/resources/preEncounter/resources/tags/index.js +18 -0
  390. package/dist/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
  391. package/dist/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
  392. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
  393. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
  394. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
  395. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
  396. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
  397. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
  398. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
  399. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
  400. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
  401. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
  402. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
  403. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
  404. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
  405. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
  406. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
  407. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
  408. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
  409. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
  410. package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
  411. package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
  412. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
  413. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
  414. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
  415. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
  416. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +7 -0
  417. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
  418. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
  419. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
  420. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  421. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  422. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  423. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  424. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  425. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  426. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  427. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  428. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  429. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  430. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  431. package/dist/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  432. package/dist/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  433. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  434. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  435. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  436. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  437. package/dist/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  438. package/dist/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  439. package/dist/serialization/resources/chargeCapture/index.d.ts +1 -0
  440. package/dist/serialization/resources/chargeCapture/index.js +17 -0
  441. package/dist/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  442. package/dist/serialization/resources/chargeCapture/resources/index.js +27 -0
  443. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  444. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  445. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +25 -0
  446. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +73 -0
  447. package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +15 -0
  448. package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.js +61 -0
  449. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +5 -0
  450. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +34 -0
  451. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  452. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  453. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  454. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  455. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  456. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  457. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  458. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  459. package/dist/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  460. package/dist/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  461. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  462. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  463. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  464. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  465. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  466. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  467. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  468. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  469. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  470. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  471. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  472. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  473. package/dist/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  474. package/dist/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  475. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
  476. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
  477. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  478. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  479. package/dist/serialization/resources/commons/types/index.d.ts +3 -0
  480. package/dist/serialization/resources/commons/types/index.js +3 -0
  481. package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  482. package/dist/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  483. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  484. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  485. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  486. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  487. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  488. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  489. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  490. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  491. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  492. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  493. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  494. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  495. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  496. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  497. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  498. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  499. package/dist/serialization/resources/index.d.ts +1 -0
  500. package/dist/serialization/resources/index.js +2 -1
  501. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  502. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  503. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  504. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  505. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
  506. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
  507. package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
  508. package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
  509. package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
  510. package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
  511. package/dist/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
  512. package/dist/serialization/resources/preEncounter/resources/common/types/TagId.js +35 -0
  513. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +3 -0
  514. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +3 -0
  515. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
  516. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
  517. package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -0
  518. package/dist/serialization/resources/preEncounter/resources/index.js +3 -1
  519. package/dist/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
  520. package/dist/serialization/resources/preEncounter/resources/notes/index.js +17 -0
  521. package/dist/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
  522. package/dist/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
  523. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
  524. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
  525. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
  526. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +35 -0
  527. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
  528. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
  529. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
  530. package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
  531. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
  532. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
  533. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
  534. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
  535. package/dist/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
  536. package/dist/serialization/resources/preEncounter/resources/tags/index.js +17 -0
  537. package/dist/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
  538. package/dist/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
  539. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
  540. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
  541. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
  542. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
  543. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
  544. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
  545. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
  546. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +37 -0
  547. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
  548. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
  549. package/package.json +1 -1
  550. package/reference.md +2340 -1456
  551. package/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  552. package/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  553. package/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  554. package/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  555. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  556. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  557. package/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  558. package/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  559. package/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  560. package/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  561. package/serialization/resources/chargeCapture/index.d.ts +1 -0
  562. package/serialization/resources/chargeCapture/index.js +17 -0
  563. package/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  564. package/serialization/resources/chargeCapture/resources/index.js +27 -0
  565. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  566. package/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  567. package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +25 -0
  568. package/serialization/resources/chargeCapture/resources/v1/client/delete.js +73 -0
  569. package/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +15 -0
  570. package/serialization/resources/chargeCapture/resources/v1/client/getAll.js +61 -0
  571. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +5 -0
  572. package/serialization/resources/chargeCapture/resources/v1/client/index.js +34 -0
  573. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  574. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  575. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  576. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  577. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  578. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  579. package/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  580. package/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  581. package/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  582. package/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  583. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  584. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  585. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  586. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  587. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  588. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  589. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  590. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  591. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  592. package/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  593. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  594. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  595. package/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  596. package/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  597. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
  598. package/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
  599. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  600. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  601. package/serialization/resources/commons/types/index.d.ts +3 -0
  602. package/serialization/resources/commons/types/index.js +3 -0
  603. package/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  604. package/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  605. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  606. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  607. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  608. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  609. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  610. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  611. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  612. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  613. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  614. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  615. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  616. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  617. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  618. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  619. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  620. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  621. package/serialization/resources/index.d.ts +1 -0
  622. package/serialization/resources/index.js +2 -1
  623. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  624. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  625. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  626. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  627. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
  628. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
  629. package/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
  630. package/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
  631. package/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
  632. package/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
  633. package/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
  634. package/serialization/resources/preEncounter/resources/common/types/TagId.js +35 -0
  635. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +3 -0
  636. package/serialization/resources/preEncounter/resources/common/types/index.js +3 -0
  637. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
  638. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
  639. package/serialization/resources/preEncounter/resources/index.d.ts +2 -0
  640. package/serialization/resources/preEncounter/resources/index.js +3 -1
  641. package/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
  642. package/serialization/resources/preEncounter/resources/notes/index.js +17 -0
  643. package/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
  644. package/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
  645. package/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
  646. package/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
  647. package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
  648. package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +35 -0
  649. package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
  650. package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
  651. package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
  652. package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
  653. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
  654. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
  655. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
  656. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
  657. package/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
  658. package/serialization/resources/preEncounter/resources/tags/index.js +17 -0
  659. package/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
  660. package/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
  661. package/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
  662. package/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
  663. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
  664. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
  665. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
  666. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
  667. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
  668. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +37 -0
  669. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
  670. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
@@ -19,9 +19,7 @@ import * as CandidApi from "../../../../../../index";
19
19
  * taxId: "string",
20
20
  * npi: "string",
21
21
  * taxonomyCode: "string",
22
- * firstName: "string",
23
- * lastName: "string",
24
- * organizationName: "string"
22
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
25
23
  * },
26
24
  * renderingProvider: {
27
25
  * npi: "string",
@@ -33,10 +31,7 @@ import * as CandidApi from "../../../../../../index";
33
31
  * state: CandidApi.State.Ny,
34
32
  * zipCode: "10001",
35
33
  * zipPlusFourCode: "1234"
36
- * },
37
- * firstName: "string",
38
- * lastName: "string",
39
- * organizationName: "string"
34
+ * }
40
35
  * },
41
36
  * initialReferringProvider: {
42
37
  * npi: "string",
@@ -49,10 +44,7 @@ import * as CandidApi from "../../../../../../index";
49
44
  * zipCode: "10001",
50
45
  * zipPlusFourCode: "1234"
51
46
  * },
52
- * qualifier: CandidApi.QualifierCode.Dq,
53
- * firstName: "string",
54
- * lastName: "string",
55
- * organizationName: "string"
47
+ * qualifier: CandidApi.QualifierCode.Dq
56
48
  * },
57
49
  * supervisingProvider: {
58
50
  * npi: "string",
@@ -64,10 +56,7 @@ import * as CandidApi from "../../../../../../index";
64
56
  * state: CandidApi.State.Ny,
65
57
  * zipCode: "10001",
66
58
  * zipPlusFourCode: "1234"
67
- * },
68
- * firstName: "string",
69
- * lastName: "string",
70
- * organizationName: "string"
59
+ * }
71
60
  * },
72
61
  * serviceFacility: {
73
62
  * organizationName: "string",
@@ -145,10 +134,7 @@ import * as CandidApi from "../../../../../../index";
145
134
  * state: CandidApi.State.Ny,
146
135
  * zipCode: "10001",
147
136
  * zipPlusFourCode: "1234"
148
- * },
149
- * firstName: "string",
150
- * lastName: "string",
151
- * organizationName: "string"
137
+ * }
152
138
  * },
153
139
  * testResults: [{
154
140
  * value: 1.1,
@@ -287,7 +273,7 @@ export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4
287
273
  */
288
274
  billingNotes?: CandidApi.billingNotes.v2.BillingNoteBase[];
289
275
  /**
290
- * Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
276
+ * Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms .gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
291
277
  *
292
278
  */
293
279
  placeOfServiceCode: CandidApi.FacilityTypeCode;
@@ -5,20 +5,14 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
9
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
10
+ * benefitsAssignedToProvider: true,
8
11
  * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
9
12
  * externalId: CandidApi.EncounterExternalId("string"),
10
13
  * dateOfService: "2023-01-15",
11
- * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
12
- * tagIds: [CandidApi.TagId("string")],
13
- * clinicalNotes: [{
14
- * category: CandidApi.encounters.v4.NoteCategory.Clinical,
15
- * notes: [{
16
- * text: "string",
17
- * authorName: "string",
18
- * authorNpi: CandidApi.Npi("string"),
19
- * timestamp: new Date("2024-01-15T09:30:00.000Z")
20
- * }]
21
- * }],
14
+ * tagIds: [],
15
+ * clinicalNotes: [],
22
16
  * payToAddress: {
23
17
  * address1: "123 Main St",
24
18
  * address2: "Apt 1",
@@ -30,37 +24,17 @@ import * as CandidApi from "../../../../../../index";
30
24
  * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
31
25
  * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
32
26
  * providerAcceptsAssignment: true,
33
- * benefitsAssignedToProvider: true,
34
27
  * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
35
28
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
36
- * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
37
29
  * appointmentType: "string",
38
30
  * endDateOfService: "2023-01-15",
39
31
  * subscriberPrimary: {
40
32
  * insuranceCard: {
41
33
  * memberId: "string",
42
34
  * payerName: "string",
43
- * payerId: "string",
44
- * rxBin: "string",
45
- * rxPcn: "string",
46
- * imageUrlFront: "string",
47
- * imageUrlBack: "string",
48
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
49
- * groupNumber: "string",
50
- * planName: "string",
51
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
52
- * insuranceType: CandidApi.InsuranceTypeCode.C01
35
+ * payerId: "string"
53
36
  * },
54
37
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
55
- * dateOfBirth: "2023-01-15",
56
- * address: {
57
- * address1: "123 Main St",
58
- * address2: "Apt 1",
59
- * city: "New York",
60
- * state: CandidApi.State.Ny,
61
- * zipCode: "10001",
62
- * zipPlusFourCode: "1234"
63
- * },
64
38
  * firstName: "string",
65
39
  * lastName: "string",
66
40
  * gender: CandidApi.Gender.Male
@@ -69,27 +43,9 @@ import * as CandidApi from "../../../../../../index";
69
43
  * insuranceCard: {
70
44
  * memberId: "string",
71
45
  * payerName: "string",
72
- * payerId: "string",
73
- * rxBin: "string",
74
- * rxPcn: "string",
75
- * imageUrlFront: "string",
76
- * imageUrlBack: "string",
77
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
78
- * groupNumber: "string",
79
- * planName: "string",
80
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
81
- * insuranceType: CandidApi.InsuranceTypeCode.C01
46
+ * payerId: "string"
82
47
  * },
83
48
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
84
- * dateOfBirth: "2023-01-15",
85
- * address: {
86
- * address1: "123 Main St",
87
- * address2: "Apt 1",
88
- * city: "New York",
89
- * state: CandidApi.State.Ny,
90
- * zipCode: "10001",
91
- * zipPlusFourCode: "1234"
92
- * },
93
49
  * firstName: "string",
94
50
  * lastName: "string",
95
51
  * gender: CandidApi.Gender.Male
@@ -101,43 +57,9 @@ import * as CandidApi from "../../../../../../index";
101
57
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
102
58
  * lastMenstrualPeriodDate: "2023-01-15",
103
59
  * delayReasonCode: CandidApi.DelayReasonCode.C1,
104
- * patient: {
105
- * firstName: "string",
106
- * lastName: "string",
107
- * gender: CandidApi.Gender.Male,
108
- * externalId: "string",
109
- * dateOfBirth: "2023-01-15",
110
- * address: {
111
- * address1: "123 Main St",
112
- * address2: "Apt 1",
113
- * city: "New York",
114
- * state: CandidApi.State.Ny,
115
- * zipCode: "10001",
116
- * zipPlusFourCode: "1234"
117
- * },
118
- * phoneNumbers: [{
119
- * number: "1234567890",
120
- * type: CandidApi.PhoneNumberType.Home
121
- * }],
122
- * phoneConsent: true,
123
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
124
- * emailConsent: true,
125
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
126
- * nonInsurancePayersInfo: [{
127
- * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
128
- * memberId: "string"
129
- * }]
130
- * },
60
+ * patient: {},
131
61
  * patientAuthorizedRelease: true,
132
- * schemaInstances: [{
133
- * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
134
- * content: {
135
- * "provider_category": "internist",
136
- * "is_urgent_care": true,
137
- * "bmi": 24.2,
138
- * "age": 38
139
- * }
140
- * }],
62
+ * schemaInstances: [],
141
63
  * vitals: {
142
64
  * heightIn: 70,
143
65
  * weightLbs: 165,
@@ -147,29 +69,8 @@ import * as CandidApi from "../../../../../../index";
147
69
  * hemoglobinGdl: 15.1,
148
70
  * hematocritPct: 51.2
149
71
  * },
150
- * existingMedications: [{
151
- * name: "Lisinopril",
152
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
153
- * dosage: "10mg",
154
- * dosageForm: "Tablet",
155
- * frequency: "Once Daily",
156
- * asNeeded: true
157
- * }],
158
- * renderingProvider: {
159
- * npi: "string",
160
- * taxonomyCode: "string",
161
- * address: {
162
- * address1: "123 Main St",
163
- * address2: "Apt 1",
164
- * city: "New York",
165
- * state: CandidApi.State.Ny,
166
- * zipCode: "10001",
167
- * zipPlusFourCode: "1234"
168
- * },
169
- * firstName: "string",
170
- * lastName: "string",
171
- * organizationName: "string"
172
- * },
72
+ * existingMedications: [],
73
+ * renderingProvider: {},
173
74
  * serviceFacility: {
174
75
  * organizationName: "Test Organization",
175
76
  * address: {
@@ -181,111 +82,15 @@ import * as CandidApi from "../../../../../../index";
181
82
  * zipPlusFourCode: "1234"
182
83
  * }
183
84
  * },
184
- * guarantor: {
185
- * firstName: "string",
186
- * lastName: "string",
187
- * externalId: "string",
188
- * dateOfBirth: "2023-01-15",
189
- * address: {
190
- * address1: "123 Main St",
191
- * address2: "Apt 1",
192
- * city: "New York",
193
- * state: CandidApi.State.Ny,
194
- * zipCode: "10001",
195
- * zipPlusFourCode: "1234"
196
- * },
197
- * phoneNumbers: [{
198
- * number: "1234567890",
199
- * type: CandidApi.PhoneNumberType.Home
200
- * }],
201
- * phoneConsent: true,
202
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
203
- * emailConsent: true
204
- * },
205
- * billingProvider: {
206
- * address: {
207
- * address1: "123 Main St",
208
- * address2: "Apt 1",
209
- * city: "New York",
210
- * state: CandidApi.State.Ny,
211
- * zipCode: "10001",
212
- * zipPlusFourCode: "1234"
213
- * },
214
- * taxId: "string",
215
- * npi: "string",
216
- * taxonomyCode: "string",
217
- * firstName: "string",
218
- * lastName: "string",
219
- * organizationName: "string"
220
- * },
221
- * supervisingProvider: {
222
- * npi: "string",
223
- * taxonomyCode: "string",
224
- * address: {
225
- * address1: "123 Main St",
226
- * address2: "Apt 1",
227
- * city: "New York",
228
- * state: CandidApi.State.Ny,
229
- * zipCode: "10001",
230
- * zipPlusFourCode: "1234"
231
- * },
232
- * firstName: "string",
233
- * lastName: "string",
234
- * organizationName: "string"
235
- * },
236
- * referringProvider: {
237
- * npi: "string",
238
- * taxonomyCode: "string",
239
- * address: {
240
- * address1: "123 Main St",
241
- * address2: "Apt 1",
242
- * city: "New York",
243
- * state: CandidApi.State.Ny,
244
- * zipCode: "10001",
245
- * zipPlusFourCode: "1234"
246
- * },
247
- * firstName: "string",
248
- * lastName: "string",
249
- * organizationName: "string"
250
- * },
251
- * initialReferringProvider: {
252
- * npi: "string",
253
- * taxonomyCode: "string",
254
- * address: {
255
- * address1: "123 Main St",
256
- * address2: "Apt 1",
257
- * city: "New York",
258
- * state: CandidApi.State.Ny,
259
- * zipCode: "10001",
260
- * zipPlusFourCode: "1234"
261
- * },
262
- * qualifier: CandidApi.QualifierCode.Dq,
263
- * firstName: "string",
264
- * lastName: "string",
265
- * organizationName: "string"
266
- * },
85
+ * guarantor: {},
86
+ * billingProvider: {},
87
+ * supervisingProvider: {},
88
+ * referringProvider: {},
89
+ * initialReferringProvider: {},
267
90
  * referralNumber: "string"
268
91
  * }
269
92
  */
270
- export interface EncounterUpdate {
271
- /** Box 23 on the CMS-1500 claim form. */
272
- priorAuthorizationNumber?: CandidApi.encounters.v4.PriorAuthorizationNumber;
273
- /**
274
- * A client-specified unique ID to associate with this encounter;
275
- * for example, your internal encounter ID or a Dr. Chrono encounter ID.
276
- * This field should not contain PHI.
277
- *
278
- */
279
- externalId?: CandidApi.EncounterExternalId;
280
- /**
281
- * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
282
- * This date must be the local date in the timezone where the service occurred.
283
- * Box 24a on the CMS-1500 claim form.
284
- * If service occurred over a range of dates, this should be the start date.
285
- * If service lines have distinct date_of_service values, updating the encounter's date_of_service will fail. If all service line date_of_service values are the same, updating the encounter's date_of_service will update all service line date_of_service values.
286
- *
287
- */
288
- dateOfService?: string;
93
+ export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
289
94
  /**
290
95
  * Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
291
96
  * may be submitted at this time, and coders will later prioritize the 12 that will be
@@ -293,187 +98,9 @@ export interface EncounterUpdate {
293
98
  *
294
99
  */
295
100
  diagnosisIds?: CandidApi.DiagnosisId[];
296
- /** Names of tags that should be on the encounter. Note all tags on encounter will be overridden with this list. */
297
- tagIds?: CandidApi.TagId[];
298
- /** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
299
- clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
300
- /** Specifies the address to which payments for the claim should be sent. */
301
- payToAddress?: CandidApi.StreetAddressLongZip;
302
- /**
303
- * Defines if the Encounter is to be billed by Candid to the responsible_party. Examples for when this should be set to NOT_BILLABLE include if the Encounter has not occurred yet or if there is no intention of ever billing the responsible_party.
304
- *
305
- */
306
- billableStatus?: CandidApi.encounters.v4.BillableStatusType;
307
- /**
308
- * Defines the party to be billed with the initial balance owed on the claim. Use SELF_PAY if you intend to bill self pay/cash pay.
309
- *
310
- */
311
- responsibleParty?: CandidApi.encounters.v4.ResponsiblePartyType;
312
- /**
313
- * Whether you have accepted the patient's authorization for insurance payments to be made to you, not them. Box 27 on the CMS-1500 claim form.
314
- *
315
- */
316
- providerAcceptsAssignment?: boolean;
317
- /**
318
- * Whether this patient has authorized insurance payments to be made to you, not them. If false, patient may receive reimbursement. Box 13 on the CMS-1500 claim form.
319
- *
320
- */
321
- benefitsAssignedToProvider?: boolean;
322
101
  /**
323
- * Whether or not this was a synchronous or asynchronous encounter. Asynchronous encounters occur when providers and patients communicate online using forms, instant messaging, or other pre-recorded digital mediums. Synchronous encounters occur in live, real-time settings where the patient interacts directly with the provider, such as over video or a phone call.
324
- *
325
- */
326
- synchronicity?: CandidApi.encounters.v4.SynchronicityType;
327
- /**
328
- * Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
329
- *
330
- */
331
- placeOfServiceCode?: CandidApi.FacilityTypeCode;
332
- /**
333
- * Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
102
+ * Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
334
103
  *
335
104
  */
336
105
  placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
337
- /**
338
- * Human-readable description of the appointment type (ex: "Acupuncture - Headaches").
339
- *
340
- */
341
- appointmentType?: string;
342
- /**
343
- * Date formatted as YYYY-MM-DD; eg: 2019-08-25.
344
- * This date must be the local date in the timezone where the service occurred.
345
- * If omitted, the Encounter is assumed to be for a single day.
346
- * Must not be temporally before the date_of_service field.
347
- * If service lines have distinct end_date_of_service values, updating the encounter's end_date_of_service will fail. If all service line end_date_of_service values are the same, updating the encounter's end_date_of_service will update all service line date_of_service values.
348
- *
349
- */
350
- endDateOfService?: string;
351
- /** Contains details of the primary insurance subscriber. */
352
- subscriberPrimary?: CandidApi.SubscriberCreate;
353
- /** Contains details of the secondary insurance subscriber. */
354
- subscriberSecondary?: CandidApi.SubscriberCreate;
355
- /**
356
- * Defines additional information on the claim needed by the payer.
357
- * Box 19 on the CMS-1500 claim form.
358
- *
359
- */
360
- additionalInformation?: string;
361
- /**
362
- * 837p Loop2300 REF*4N
363
- * Required when mandated by government law or regulation to obtain authorization for specific service(s) but, for the
364
- * reasons listed in one of the enum values of ServiceAuthorizationExceptionCode, the service was performed without
365
- * obtaining the authorization.
366
- *
367
- */
368
- serviceAuthorizationExceptionCode?: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode;
369
- /**
370
- * 837p Loop2300 DTP*435, CMS-1500 Box 18
371
- * Required on all ambulance claims when the patient was known to be admitted to the hospital.
372
- * OR
373
- * Required on all claims involving inpatient medical visits.
374
- *
375
- */
376
- admissionDate?: string;
377
- /**
378
- * 837p Loop2300 DTP*096, CMS-1500 Box 18
379
- * Required for inpatient claims when the patient was discharged from the facility and the discharge date is known.
380
- *
381
- */
382
- dischargeDate?: string;
383
- /**
384
- * 837p Loop2300 DTP*431, CMS-1500 Box 14
385
- * Required for the initial medical service or visit performed in response to a medical emergency when the date is available and is different than the date of service.
386
- * OR
387
- * This date is the onset of acute symptoms for the current illness or condition.
388
- *
389
- */
390
- onsetOfCurrentIllnessOrSymptomDate?: string;
391
- /**
392
- * 837p Loop2300 DTP*484, CMS-1500 Box 14
393
- * Required when, in the judgment of the provider, the services on this claim are related to the patient's pregnancy.
394
- *
395
- */
396
- lastMenstrualPeriodDate?: string;
397
- /**
398
- * 837i Loop2300, CLM-1300 Box 20
399
- * Code indicating the reason why a request was delayed
400
- *
401
- */
402
- delayReasonCode?: CandidApi.DelayReasonCode;
403
- /**
404
- * Contains the identification information of the individual receiving medical services.
405
- *
406
- */
407
- patient?: CandidApi.PatientUpdate;
408
- /**
409
- * Whether this patient has authorized the release of medical information
410
- * for billing purpose.
411
- * Box 12 on the CMS-1500 claim form.
412
- *
413
- */
414
- patientAuthorizedRelease?: boolean;
415
- /**
416
- * Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
417
- * instances cannot be created for the same schema on an encounter. Updating schema instances utilizes PUT
418
- * semantics, so the schema instances on the encounter will be set to whatever inputs are provided. If null
419
- * is provided as an input, then the encounter's schema instances will be cleared.
420
- *
421
- */
422
- schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
423
- /**
424
- * If a vitals entity already exists for the encounter, then all values will be updated to the provided values.
425
- * Otherwise, a new vitals object will be created for the encounter.
426
- *
427
- */
428
- vitals?: CandidApi.encounters.v4.VitalsUpdate;
429
- /**
430
- * Existing medications that should be on the encounter.
431
- * Note all current existing medications on encounter will be overridden with this list.
432
- *
433
- */
434
- existingMedications?: CandidApi.encounters.v4.Medication[];
435
- /**
436
- * The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
437
- * For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
438
- *
439
- */
440
- renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
441
- /**
442
- * Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
443
- *
444
- */
445
- serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
446
- /**
447
- * Personal and contact info for the guarantor of the patient responsibility.
448
- *
449
- */
450
- guarantor?: CandidApi.guarantor.v1.GuarantorUpdate;
451
- /**
452
- * The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
453
- *
454
- */
455
- billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
456
- /**
457
- * Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
458
- *
459
- */
460
- supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
461
- /**
462
- * The final provider who referred the services that were rendered.
463
- * All physicians who order services or refer Medicare beneficiaries must
464
- * report this data.
465
- *
466
- */
467
- referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
468
- /**
469
- * The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
470
- * indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
471
- *
472
- */
473
- initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
474
- /**
475
- * Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
476
- *
477
- */
478
- referralNumber?: string;
479
106
  }
@@ -469,9 +469,9 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
469
469
  * used in the billing process.
470
470
  */
471
471
  billingNotes?: CandidApi.billingNotes.v2.BillingNote[];
472
- /** Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
472
+ /** Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
473
473
  placeOfServiceCode?: CandidApi.FacilityTypeCode;
474
- /** Box 24B on the CMS-1500 claim form. Line-level place of service is not currently supported. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
474
+ /** Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
475
475
  placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
476
476
  patientHistories: CandidApi.encounters.v4.PatientHistoryCategory[];
477
477
  patientPayments: CandidApi.patientPayments.v3.PatientPayment[];