candidhealth 0.42.5 → 0.43.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 (382) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  8. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  10. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  11. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  21. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  22. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  23. package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  24. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  26. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  27. package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  28. package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  29. package/api/resources/commons/types/index.d.ts +1 -2
  30. package/api/resources/commons/types/index.js +1 -2
  31. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  32. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  33. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  34. package/api/resources/diagnoses/client/Client.js +3 -3
  35. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  36. package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  37. package/api/resources/encounterAttachments/client/Client.js +17 -0
  38. package/api/resources/encounterAttachments/client/index.d.ts +1 -0
  39. package/api/resources/encounterAttachments/client/index.js +2 -0
  40. package/api/resources/encounterAttachments/index.d.ts +2 -0
  41. package/api/resources/encounterAttachments/index.js +18 -0
  42. package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  43. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
  44. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  46. package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  47. package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
  48. package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  49. package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
  50. package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  51. package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  52. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  53. package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  54. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  55. package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  56. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  57. package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  58. package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  59. package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  60. package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  61. package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  62. package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  63. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  64. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  65. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  66. package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  67. package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  68. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  69. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  70. package/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  71. package/api/resources/encounters/resources/v4/client/Client.js +115 -105
  72. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  73. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  74. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  75. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  76. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  77. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  78. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  79. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  80. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  81. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  82. package/api/resources/index.d.ts +1 -0
  83. package/api/resources/index.js +3 -2
  84. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  85. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  87. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  88. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  91. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  92. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  93. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  94. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  95. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  96. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  99. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  100. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  101. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  102. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  103. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  104. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  105. package/api/resources/serviceFacility/client/Client.js +1 -1
  106. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  107. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  108. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  111. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  112. package/core/form-data-utils/FormDataWrapper.js +188 -0
  113. package/core/form-data-utils/index.d.ts +1 -0
  114. package/core/form-data-utils/index.js +17 -0
  115. package/core/index.d.ts +1 -0
  116. package/core/index.js +1 -0
  117. package/dist/Client.d.ts +3 -0
  118. package/dist/Client.js +61 -56
  119. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  120. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  121. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +238 -5
  122. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +253 -23
  123. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +118 -1
  124. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +118 -1
  125. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
  126. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
  127. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
  128. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
  129. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
  130. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
  133. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
  134. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  135. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
  136. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
  137. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
  138. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
  140. package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  145. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
  146. package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
  147. package/dist/api/resources/commons/types/index.d.ts +1 -2
  148. package/dist/api/resources/commons/types/index.js +1 -2
  149. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  150. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  151. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  152. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  153. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
  155. package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
  156. package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
  157. package/dist/api/resources/encounterAttachments/client/index.js +2 -0
  158. package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
  159. package/dist/api/resources/encounterAttachments/index.js +18 -0
  160. package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
  161. package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
  162. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
  163. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
  164. package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
  165. package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
  166. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
  167. package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
  168. package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
  169. package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
  170. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
  171. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
  172. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
  173. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
  174. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  175. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
  176. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
  177. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
  178. package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
  180. package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
  181. package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
  182. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
  183. package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
  184. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
  185. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
  186. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +7 -0
  187. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +9 -0
  188. package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  191. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  192. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +110 -100
  193. package/dist/api/resources/encounters/resources/v4/client/Client.js +115 -105
  194. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -83
  195. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +97 -1
  196. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  198. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  199. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  200. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  201. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  202. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  203. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  204. package/dist/api/resources/index.d.ts +1 -0
  205. package/dist/api/resources/index.js +3 -2
  206. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  207. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  208. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  209. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  210. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  212. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  213. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  214. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  216. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  218. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  219. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  220. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  221. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  222. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  223. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  224. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  225. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  226. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  227. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  228. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  229. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  230. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  231. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  232. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  233. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  234. package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
  235. package/dist/core/form-data-utils/index.d.ts +1 -0
  236. package/dist/core/form-data-utils/index.js +17 -0
  237. package/dist/core/index.d.ts +1 -0
  238. package/dist/core/index.js +1 -0
  239. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  240. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  241. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  242. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  243. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  244. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  245. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  246. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  247. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  248. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  249. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  250. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
  251. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  252. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  253. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  254. package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  255. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  256. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  257. package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  258. package/{serialization/resources/commons/types/ChargeCaptureBundleId.js → dist/serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  259. package/dist/serialization/resources/commons/types/index.d.ts +1 -2
  260. package/dist/serialization/resources/commons/types/index.js +1 -2
  261. package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
  262. package/dist/serialization/resources/encounterAttachments/index.js +17 -0
  263. package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
  265. package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  266. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → encounterAttachments/resources/v1/client/get.js} +3 -2
  267. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  268. package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  269. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  270. package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  271. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  272. package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  273. package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  274. package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  275. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  276. package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  277. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  278. package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  279. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  280. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  281. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  282. package/dist/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  283. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  284. package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  285. package/dist/serialization/resources/index.d.ts +1 -0
  286. package/dist/serialization/resources/index.js +3 -2
  287. package/dist/version.d.ts +1 -1
  288. package/dist/version.js +1 -1
  289. package/package.json +3 -2
  290. package/reference.md +558 -246
  291. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
  292. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
  293. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
  294. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
  295. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
  296. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
  297. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +20 -0
  298. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +6 -8
  299. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
  300. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
  301. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
  302. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
  303. package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
  304. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
  305. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
  306. package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
  307. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
  308. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
  309. package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
  310. package/{dist/serialization/resources/commons/types/ChargeCaptureBundleId.js → serialization/resources/commons/types/ChargeCaptureClaimCreationId.js} +3 -3
  311. package/serialization/resources/commons/types/index.d.ts +1 -2
  312. package/serialization/resources/commons/types/index.js +1 -2
  313. package/serialization/resources/encounterAttachments/index.d.ts +1 -0
  314. package/serialization/resources/encounterAttachments/index.js +17 -0
  315. package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
  316. package/serialization/resources/encounterAttachments/resources/index.js +37 -0
  317. package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
  318. package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
  319. package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
  320. package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
  321. package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
  322. package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
  323. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  324. package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
  325. package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
  326. package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
  327. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
  328. package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
  329. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
  330. package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
  331. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
  332. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
  333. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
  334. package/serialization/resources/{chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
  335. package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
  336. package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
  337. package/serialization/resources/index.d.ts +1 -0
  338. package/serialization/resources/index.js +3 -2
  339. package/version.d.ts +1 -1
  340. package/version.js +1 -1
  341. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  342. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  343. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  344. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  345. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  346. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  347. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  348. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  349. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
  350. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  351. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
  352. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
  353. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
  354. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
  355. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
  356. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -6
  357. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  358. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  359. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  360. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  361. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  362. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  363. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  364. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  365. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
  366. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
  367. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
  368. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
  369. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
  370. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
  371. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
  372. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
  373. /package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.js → GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  374. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +0 -0
  375. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreationPage.js} +0 -0
  376. /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationSummary.js} +0 -0
  377. /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
  378. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
  379. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
  380. /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
  381. /package/dist/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundleSummary.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
  382. /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js} +0 -0
@@ -100,10 +100,7 @@ export declare class V4 {
100
100
  * taxId: "string",
101
101
  * npi: "string",
102
102
  * taxonomyCode: "string",
103
- * providerCommercialLicenseType: "0",
104
- * firstName: "string",
105
- * lastName: "string",
106
- * organizationName: "string"
103
+ * providerCommercialLicenseType: "0"
107
104
  * },
108
105
  * renderingProvider: {
109
106
  * npi: "string",
@@ -115,10 +112,7 @@ export declare class V4 {
115
112
  * state: "NY",
116
113
  * zipCode: "10001",
117
114
  * zipPlusFourCode: "1234"
118
- * },
119
- * firstName: "string",
120
- * lastName: "string",
121
- * organizationName: "string"
115
+ * }
122
116
  * },
123
117
  * referringProvider: {
124
118
  * npi: "string",
@@ -130,10 +124,7 @@ export declare class V4 {
130
124
  * state: "NY",
131
125
  * zipCode: "10001",
132
126
  * zipPlusFourCode: "1234"
133
- * },
134
- * firstName: "string",
135
- * lastName: "string",
136
- * organizationName: "string"
127
+ * }
137
128
  * },
138
129
  * initialReferringProvider: {
139
130
  * npi: "string",
@@ -146,10 +137,7 @@ export declare class V4 {
146
137
  * zipCode: "10001",
147
138
  * zipPlusFourCode: "1234"
148
139
  * },
149
- * qualifier: "DQ",
150
- * firstName: "string",
151
- * lastName: "string",
152
- * organizationName: "string"
140
+ * qualifier: "DQ"
153
141
  * },
154
142
  * supervisingProvider: {
155
143
  * npi: "string",
@@ -161,10 +149,7 @@ export declare class V4 {
161
149
  * state: "NY",
162
150
  * zipCode: "10001",
163
151
  * zipPlusFourCode: "1234"
164
- * },
165
- * firstName: "string",
166
- * lastName: "string",
167
- * organizationName: "string"
152
+ * }
168
153
  * },
169
154
  * serviceFacility: {
170
155
  * organizationName: "string",
@@ -183,28 +168,9 @@ export declare class V4 {
183
168
  * insuranceCard: {
184
169
  * memberId: "string",
185
170
  * payerName: "string",
186
- * payerId: "string",
187
- * rxBin: "string",
188
- * rxPcn: "string",
189
- * imageUrlFront: "string",
190
- * imageUrlBack: "string",
191
- * emrPayerCrosswalk: "HEALTHIE",
192
- * groupNumber: "string",
193
- * planName: "string",
194
- * planType: "09",
195
- * insuranceType: "01",
196
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
171
+ * payerId: "string"
197
172
  * },
198
173
  * patientRelationshipToSubscriberCode: "01",
199
- * dateOfBirth: "2023-01-15",
200
- * address: {
201
- * address1: "123 Main St",
202
- * address2: "Apt 1",
203
- * city: "New York",
204
- * state: "NY",
205
- * zipCode: "10001",
206
- * zipPlusFourCode: "1234"
207
- * },
208
174
  * firstName: "string",
209
175
  * lastName: "string",
210
176
  * gender: "male"
@@ -213,28 +179,9 @@ export declare class V4 {
213
179
  * insuranceCard: {
214
180
  * memberId: "string",
215
181
  * payerName: "string",
216
- * payerId: "string",
217
- * rxBin: "string",
218
- * rxPcn: "string",
219
- * imageUrlFront: "string",
220
- * imageUrlBack: "string",
221
- * emrPayerCrosswalk: "HEALTHIE",
222
- * groupNumber: "string",
223
- * planName: "string",
224
- * planType: "09",
225
- * insuranceType: "01",
226
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
182
+ * payerId: "string"
227
183
  * },
228
184
  * patientRelationshipToSubscriberCode: "01",
229
- * dateOfBirth: "2023-01-15",
230
- * address: {
231
- * address1: "123 Main St",
232
- * address2: "Apt 1",
233
- * city: "New York",
234
- * state: "NY",
235
- * zipCode: "10001",
236
- * zipPlusFourCode: "1234"
237
- * },
238
185
  * firstName: "string",
239
186
  * lastName: "string",
240
187
  * gender: "male"
@@ -243,28 +190,9 @@ export declare class V4 {
243
190
  * insuranceCard: {
244
191
  * memberId: "string",
245
192
  * payerName: "string",
246
- * payerId: "string",
247
- * rxBin: "string",
248
- * rxPcn: "string",
249
- * imageUrlFront: "string",
250
- * imageUrlBack: "string",
251
- * emrPayerCrosswalk: "HEALTHIE",
252
- * groupNumber: "string",
253
- * planName: "string",
254
- * planType: "09",
255
- * insuranceType: "01",
256
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
193
+ * payerId: "string"
257
194
  * },
258
195
  * patientRelationshipToSubscriberCode: "01",
259
- * dateOfBirth: "2023-01-15",
260
- * address: {
261
- * address1: "123 Main St",
262
- * address2: "Apt 1",
263
- * city: "New York",
264
- * state: "NY",
265
- * zipCode: "10001",
266
- * zipPlusFourCode: "1234"
267
- * },
268
196
  * firstName: "string",
269
197
  * lastName: "string",
270
198
  * gender: "male"
@@ -353,9 +281,7 @@ export declare class V4 {
353
281
  * }],
354
282
  * referralNumber: "string",
355
283
  * epsdtReferral: {
356
- * conditionIndicator1: "AV",
357
- * conditionIndicator2: "AV",
358
- * conditionIndicator3: "AV"
284
+ * conditionIndicator1: "AV"
359
285
  * },
360
286
  * claimSupplementalInformation: [{
361
287
  * attachmentReportTypeCode: "03",
@@ -461,10 +387,7 @@ export declare class V4 {
461
387
  * taxId: "string",
462
388
  * npi: "string",
463
389
  * taxonomyCode: "string",
464
- * providerCommercialLicenseType: "0",
465
- * firstName: "string",
466
- * lastName: "string",
467
- * organizationName: "string"
390
+ * providerCommercialLicenseType: "0"
468
391
  * },
469
392
  * renderingProvider: {
470
393
  * npi: "string",
@@ -476,10 +399,7 @@ export declare class V4 {
476
399
  * state: "NY",
477
400
  * zipCode: "10001",
478
401
  * zipPlusFourCode: "1234"
479
- * },
480
- * firstName: "string",
481
- * lastName: "string",
482
- * organizationName: "string"
402
+ * }
483
403
  * },
484
404
  * initialReferringProvider: {
485
405
  * npi: "string",
@@ -492,10 +412,7 @@ export declare class V4 {
492
412
  * zipCode: "10001",
493
413
  * zipPlusFourCode: "1234"
494
414
  * },
495
- * qualifier: "DQ",
496
- * firstName: "string",
497
- * lastName: "string",
498
- * organizationName: "string"
415
+ * qualifier: "DQ"
499
416
  * },
500
417
  * supervisingProvider: {
501
418
  * npi: "string",
@@ -507,10 +424,7 @@ export declare class V4 {
507
424
  * state: "NY",
508
425
  * zipCode: "10001",
509
426
  * zipPlusFourCode: "1234"
510
- * },
511
- * firstName: "string",
512
- * lastName: "string",
513
- * organizationName: "string"
427
+ * }
514
428
  * },
515
429
  * serviceFacility: {
516
430
  * organizationName: "string",
@@ -654,7 +568,103 @@ export declare class V4 {
654
568
  * @example
655
569
  * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
656
570
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
657
- * placeOfServiceCodeAsSubmitted: "01"
571
+ * placeOfServiceCodeAsSubmitted: "01",
572
+ * benefitsAssignedToProvider: true,
573
+ * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
574
+ * externalId: CandidApi.EncounterExternalId("string"),
575
+ * dateOfService: "2023-01-15",
576
+ * tagIds: [],
577
+ * clinicalNotes: [],
578
+ * payToAddress: {
579
+ * address1: "123 Main St",
580
+ * address2: "Apt 1",
581
+ * city: "New York",
582
+ * state: "NY",
583
+ * zipCode: "10001",
584
+ * zipPlusFourCode: "1234"
585
+ * },
586
+ * billableStatus: "BILLABLE",
587
+ * responsibleParty: "INSURANCE_PAY",
588
+ * providerAcceptsAssignment: true,
589
+ * synchronicity: "Synchronous",
590
+ * placeOfServiceCode: "01",
591
+ * appointmentType: "string",
592
+ * endDateOfService: "2023-01-15",
593
+ * subscriberPrimary: {
594
+ * insuranceCard: {
595
+ * memberId: "string",
596
+ * payerName: "string",
597
+ * payerId: "string"
598
+ * },
599
+ * patientRelationshipToSubscriberCode: "01",
600
+ * firstName: "string",
601
+ * lastName: "string",
602
+ * gender: "male"
603
+ * },
604
+ * subscriberSecondary: {
605
+ * insuranceCard: {
606
+ * memberId: "string",
607
+ * payerName: "string",
608
+ * payerId: "string"
609
+ * },
610
+ * patientRelationshipToSubscriberCode: "01",
611
+ * firstName: "string",
612
+ * lastName: "string",
613
+ * gender: "male"
614
+ * },
615
+ * subscriberTertiary: {
616
+ * insuranceCard: {
617
+ * memberId: "string",
618
+ * payerName: "string",
619
+ * payerId: "string"
620
+ * },
621
+ * patientRelationshipToSubscriberCode: "01",
622
+ * firstName: "string",
623
+ * lastName: "string",
624
+ * gender: "male"
625
+ * },
626
+ * additionalInformation: "string",
627
+ * serviceAuthorizationExceptionCode: "1",
628
+ * admissionDate: "2023-01-15",
629
+ * dischargeDate: "2023-01-15",
630
+ * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
631
+ * lastMenstrualPeriodDate: "2023-01-15",
632
+ * delayReasonCode: "1",
633
+ * patient: {},
634
+ * patientAuthorizedRelease: true,
635
+ * schemaInstances: [],
636
+ * vitals: {
637
+ * heightIn: 70,
638
+ * weightLbs: 165,
639
+ * bloodPressureSystolicMmhg: 115,
640
+ * bloodPressureDiastolicMmhg: 85,
641
+ * bodyTemperatureF: 98,
642
+ * hemoglobinGdl: 15.1,
643
+ * hematocritPct: 51.2
644
+ * },
645
+ * existingMedications: [],
646
+ * renderingProvider: {},
647
+ * serviceFacility: {
648
+ * organizationName: "Test Organization",
649
+ * address: {
650
+ * address1: "123 Main St",
651
+ * address2: "Apt 1",
652
+ * city: "New York",
653
+ * state: "NY",
654
+ * zipCode: "10001",
655
+ * zipPlusFourCode: "1234"
656
+ * }
657
+ * },
658
+ * guarantor: {},
659
+ * billingProvider: {},
660
+ * supervisingProvider: {},
661
+ * referringProvider: {},
662
+ * initialReferringProvider: {},
663
+ * referralNumber: "string",
664
+ * epsdtReferral: {
665
+ * conditionIndicator1: "AV"
666
+ * },
667
+ * claimSupplementalInformation: []
658
668
  * })
659
669
  */
660
670
  update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
@@ -143,7 +143,7 @@ class V4 {
143
143
  const _response = yield core.fetcher({
144
144
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
145
145
  method: "GET",
146
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  queryParameters: _queryParams,
149
149
  requestType: "json",
@@ -181,7 +181,7 @@ class V4 {
181
181
  const _response = yield core.fetcher({
182
182
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
183
183
  method: "GET",
184
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -253,10 +253,7 @@ class V4 {
253
253
  * taxId: "string",
254
254
  * npi: "string",
255
255
  * taxonomyCode: "string",
256
- * providerCommercialLicenseType: "0",
257
- * firstName: "string",
258
- * lastName: "string",
259
- * organizationName: "string"
256
+ * providerCommercialLicenseType: "0"
260
257
  * },
261
258
  * renderingProvider: {
262
259
  * npi: "string",
@@ -268,10 +265,7 @@ class V4 {
268
265
  * state: "NY",
269
266
  * zipCode: "10001",
270
267
  * zipPlusFourCode: "1234"
271
- * },
272
- * firstName: "string",
273
- * lastName: "string",
274
- * organizationName: "string"
268
+ * }
275
269
  * },
276
270
  * referringProvider: {
277
271
  * npi: "string",
@@ -283,10 +277,7 @@ class V4 {
283
277
  * state: "NY",
284
278
  * zipCode: "10001",
285
279
  * zipPlusFourCode: "1234"
286
- * },
287
- * firstName: "string",
288
- * lastName: "string",
289
- * organizationName: "string"
280
+ * }
290
281
  * },
291
282
  * initialReferringProvider: {
292
283
  * npi: "string",
@@ -299,10 +290,7 @@ class V4 {
299
290
  * zipCode: "10001",
300
291
  * zipPlusFourCode: "1234"
301
292
  * },
302
- * qualifier: "DQ",
303
- * firstName: "string",
304
- * lastName: "string",
305
- * organizationName: "string"
293
+ * qualifier: "DQ"
306
294
  * },
307
295
  * supervisingProvider: {
308
296
  * npi: "string",
@@ -314,10 +302,7 @@ class V4 {
314
302
  * state: "NY",
315
303
  * zipCode: "10001",
316
304
  * zipPlusFourCode: "1234"
317
- * },
318
- * firstName: "string",
319
- * lastName: "string",
320
- * organizationName: "string"
305
+ * }
321
306
  * },
322
307
  * serviceFacility: {
323
308
  * organizationName: "string",
@@ -336,28 +321,9 @@ class V4 {
336
321
  * insuranceCard: {
337
322
  * memberId: "string",
338
323
  * payerName: "string",
339
- * payerId: "string",
340
- * rxBin: "string",
341
- * rxPcn: "string",
342
- * imageUrlFront: "string",
343
- * imageUrlBack: "string",
344
- * emrPayerCrosswalk: "HEALTHIE",
345
- * groupNumber: "string",
346
- * planName: "string",
347
- * planType: "09",
348
- * insuranceType: "01",
349
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
324
+ * payerId: "string"
350
325
  * },
351
326
  * patientRelationshipToSubscriberCode: "01",
352
- * dateOfBirth: "2023-01-15",
353
- * address: {
354
- * address1: "123 Main St",
355
- * address2: "Apt 1",
356
- * city: "New York",
357
- * state: "NY",
358
- * zipCode: "10001",
359
- * zipPlusFourCode: "1234"
360
- * },
361
327
  * firstName: "string",
362
328
  * lastName: "string",
363
329
  * gender: "male"
@@ -366,28 +332,9 @@ class V4 {
366
332
  * insuranceCard: {
367
333
  * memberId: "string",
368
334
  * payerName: "string",
369
- * payerId: "string",
370
- * rxBin: "string",
371
- * rxPcn: "string",
372
- * imageUrlFront: "string",
373
- * imageUrlBack: "string",
374
- * emrPayerCrosswalk: "HEALTHIE",
375
- * groupNumber: "string",
376
- * planName: "string",
377
- * planType: "09",
378
- * insuranceType: "01",
379
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
335
+ * payerId: "string"
380
336
  * },
381
337
  * patientRelationshipToSubscriberCode: "01",
382
- * dateOfBirth: "2023-01-15",
383
- * address: {
384
- * address1: "123 Main St",
385
- * address2: "Apt 1",
386
- * city: "New York",
387
- * state: "NY",
388
- * zipCode: "10001",
389
- * zipPlusFourCode: "1234"
390
- * },
391
338
  * firstName: "string",
392
339
  * lastName: "string",
393
340
  * gender: "male"
@@ -396,28 +343,9 @@ class V4 {
396
343
  * insuranceCard: {
397
344
  * memberId: "string",
398
345
  * payerName: "string",
399
- * payerId: "string",
400
- * rxBin: "string",
401
- * rxPcn: "string",
402
- * imageUrlFront: "string",
403
- * imageUrlBack: "string",
404
- * emrPayerCrosswalk: "HEALTHIE",
405
- * groupNumber: "string",
406
- * planName: "string",
407
- * planType: "09",
408
- * insuranceType: "01",
409
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
346
+ * payerId: "string"
410
347
  * },
411
348
  * patientRelationshipToSubscriberCode: "01",
412
- * dateOfBirth: "2023-01-15",
413
- * address: {
414
- * address1: "123 Main St",
415
- * address2: "Apt 1",
416
- * city: "New York",
417
- * state: "NY",
418
- * zipCode: "10001",
419
- * zipPlusFourCode: "1234"
420
- * },
421
349
  * firstName: "string",
422
350
  * lastName: "string",
423
351
  * gender: "male"
@@ -506,9 +434,7 @@ class V4 {
506
434
  * }],
507
435
  * referralNumber: "string",
508
436
  * epsdtReferral: {
509
- * conditionIndicator1: "AV",
510
- * conditionIndicator2: "AV",
511
- * conditionIndicator3: "AV"
437
+ * conditionIndicator1: "AV"
512
438
  * },
513
439
  * claimSupplementalInformation: [{
514
440
  * attachmentReportTypeCode: "03",
@@ -581,7 +507,7 @@ class V4 {
581
507
  const _response = yield core.fetcher({
582
508
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
583
509
  method: "POST",
584
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
510
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
511
  contentType: "application/json",
586
512
  requestType: "json",
587
513
  body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -668,10 +594,7 @@ class V4 {
668
594
  * taxId: "string",
669
595
  * npi: "string",
670
596
  * taxonomyCode: "string",
671
- * providerCommercialLicenseType: "0",
672
- * firstName: "string",
673
- * lastName: "string",
674
- * organizationName: "string"
597
+ * providerCommercialLicenseType: "0"
675
598
  * },
676
599
  * renderingProvider: {
677
600
  * npi: "string",
@@ -683,10 +606,7 @@ class V4 {
683
606
  * state: "NY",
684
607
  * zipCode: "10001",
685
608
  * zipPlusFourCode: "1234"
686
- * },
687
- * firstName: "string",
688
- * lastName: "string",
689
- * organizationName: "string"
609
+ * }
690
610
  * },
691
611
  * initialReferringProvider: {
692
612
  * npi: "string",
@@ -699,10 +619,7 @@ class V4 {
699
619
  * zipCode: "10001",
700
620
  * zipPlusFourCode: "1234"
701
621
  * },
702
- * qualifier: "DQ",
703
- * firstName: "string",
704
- * lastName: "string",
705
- * organizationName: "string"
622
+ * qualifier: "DQ"
706
623
  * },
707
624
  * supervisingProvider: {
708
625
  * npi: "string",
@@ -714,10 +631,7 @@ class V4 {
714
631
  * state: "NY",
715
632
  * zipCode: "10001",
716
633
  * zipPlusFourCode: "1234"
717
- * },
718
- * firstName: "string",
719
- * lastName: "string",
720
- * organizationName: "string"
634
+ * }
721
635
  * },
722
636
  * serviceFacility: {
723
637
  * organizationName: "string",
@@ -858,7 +772,7 @@ class V4 {
858
772
  const _response = yield core.fetcher({
859
773
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4/create-from-pre-encounter"),
860
774
  method: "POST",
861
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
775
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
862
776
  contentType: "application/json",
863
777
  requestType: "json",
864
778
  body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
@@ -914,7 +828,103 @@ class V4 {
914
828
  * @example
915
829
  * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
916
830
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
917
- * placeOfServiceCodeAsSubmitted: "01"
831
+ * placeOfServiceCodeAsSubmitted: "01",
832
+ * benefitsAssignedToProvider: true,
833
+ * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
834
+ * externalId: CandidApi.EncounterExternalId("string"),
835
+ * dateOfService: "2023-01-15",
836
+ * tagIds: [],
837
+ * clinicalNotes: [],
838
+ * payToAddress: {
839
+ * address1: "123 Main St",
840
+ * address2: "Apt 1",
841
+ * city: "New York",
842
+ * state: "NY",
843
+ * zipCode: "10001",
844
+ * zipPlusFourCode: "1234"
845
+ * },
846
+ * billableStatus: "BILLABLE",
847
+ * responsibleParty: "INSURANCE_PAY",
848
+ * providerAcceptsAssignment: true,
849
+ * synchronicity: "Synchronous",
850
+ * placeOfServiceCode: "01",
851
+ * appointmentType: "string",
852
+ * endDateOfService: "2023-01-15",
853
+ * subscriberPrimary: {
854
+ * insuranceCard: {
855
+ * memberId: "string",
856
+ * payerName: "string",
857
+ * payerId: "string"
858
+ * },
859
+ * patientRelationshipToSubscriberCode: "01",
860
+ * firstName: "string",
861
+ * lastName: "string",
862
+ * gender: "male"
863
+ * },
864
+ * subscriberSecondary: {
865
+ * insuranceCard: {
866
+ * memberId: "string",
867
+ * payerName: "string",
868
+ * payerId: "string"
869
+ * },
870
+ * patientRelationshipToSubscriberCode: "01",
871
+ * firstName: "string",
872
+ * lastName: "string",
873
+ * gender: "male"
874
+ * },
875
+ * subscriberTertiary: {
876
+ * insuranceCard: {
877
+ * memberId: "string",
878
+ * payerName: "string",
879
+ * payerId: "string"
880
+ * },
881
+ * patientRelationshipToSubscriberCode: "01",
882
+ * firstName: "string",
883
+ * lastName: "string",
884
+ * gender: "male"
885
+ * },
886
+ * additionalInformation: "string",
887
+ * serviceAuthorizationExceptionCode: "1",
888
+ * admissionDate: "2023-01-15",
889
+ * dischargeDate: "2023-01-15",
890
+ * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
891
+ * lastMenstrualPeriodDate: "2023-01-15",
892
+ * delayReasonCode: "1",
893
+ * patient: {},
894
+ * patientAuthorizedRelease: true,
895
+ * schemaInstances: [],
896
+ * vitals: {
897
+ * heightIn: 70,
898
+ * weightLbs: 165,
899
+ * bloodPressureSystolicMmhg: 115,
900
+ * bloodPressureDiastolicMmhg: 85,
901
+ * bodyTemperatureF: 98,
902
+ * hemoglobinGdl: 15.1,
903
+ * hematocritPct: 51.2
904
+ * },
905
+ * existingMedications: [],
906
+ * renderingProvider: {},
907
+ * serviceFacility: {
908
+ * organizationName: "Test Organization",
909
+ * address: {
910
+ * address1: "123 Main St",
911
+ * address2: "Apt 1",
912
+ * city: "New York",
913
+ * state: "NY",
914
+ * zipCode: "10001",
915
+ * zipPlusFourCode: "1234"
916
+ * }
917
+ * },
918
+ * guarantor: {},
919
+ * billingProvider: {},
920
+ * supervisingProvider: {},
921
+ * referringProvider: {},
922
+ * initialReferringProvider: {},
923
+ * referralNumber: "string",
924
+ * epsdtReferral: {
925
+ * conditionIndicator1: "AV"
926
+ * },
927
+ * claimSupplementalInformation: []
918
928
  * })
919
929
  */
920
930
  update(encounterId_1) {
@@ -923,7 +933,7 @@ class V4 {
923
933
  const _response = yield core.fetcher({
924
934
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
925
935
  method: "PATCH",
926
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.5", "User-Agent": "candidhealth/0.42.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
936
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
927
937
  contentType: "application/json",
928
938
  requestType: "json",
929
939
  body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),