candidhealth 0.35.3 → 0.38.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 (424) 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 +579 -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 +34 -0
  28. package/api/resources/chargeCapture/resources/v1/client/delete.js +69 -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 +22 -0
  32. package/api/resources/chargeCapture/resources/v1/client/getAll.js +47 -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/ProcedureModifier.d.ts +5 -1
  62. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  63. package/api/resources/commons/types/index.d.ts +2 -0
  64. package/api/resources/commons/types/index.js +2 -0
  65. package/api/resources/contracts/resources/v2/client/Client.js +6 -5
  66. package/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  67. package/api/resources/contracts/resources/v2/client/update.js +11 -0
  68. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  69. package/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  70. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  71. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  72. package/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  73. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  74. package/api/resources/diagnoses/client/Client.js +3 -3
  75. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  76. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  77. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  78. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  79. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  80. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  81. package/api/resources/encounters/resources/v4/client/Client.d.ts +33 -275
  82. package/api/resources/encounters/resources/v4/client/Client.js +38 -280
  83. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +11 -63
  84. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -21
  85. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  86. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  87. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  88. package/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  89. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  90. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  91. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  92. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  93. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  94. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  95. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  96. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  97. package/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  98. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  99. package/api/resources/index.d.ts +1 -0
  100. package/api/resources/index.js +2 -1
  101. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  102. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  103. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  104. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  105. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  106. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  107. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  108. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  109. package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  110. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  111. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  112. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  113. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  114. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  115. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  116. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  117. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  118. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  119. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  120. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  121. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  122. package/api/resources/serviceFacility/client/Client.js +1 -1
  123. package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
  124. package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
  125. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
  126. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  127. package/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  128. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  129. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  130. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  131. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  132. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  133. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  134. package/dist/Client.d.ts +3 -0
  135. package/dist/Client.js +65 -60
  136. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  137. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +19 -0
  138. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +125 -1
  139. package/dist/api/resources/billingNotes/resources/v2/client/delete.d.ts +40 -0
  140. package/dist/api/resources/billingNotes/resources/v2/client/delete.js +80 -0
  141. package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  142. package/dist/api/resources/billingNotes/resources/v2/client/index.js +3 -1
  143. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +13 -0
  144. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +5 -0
  145. package/dist/api/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  146. package/dist/api/resources/billingNotes/resources/v2/client/update.d.ts +46 -0
  147. package/dist/api/resources/billingNotes/resources/v2/client/update.js +91 -0
  148. package/dist/api/resources/chargeCapture/client/Client.d.ts +26 -0
  149. package/dist/api/resources/chargeCapture/client/Client.js +17 -0
  150. package/dist/api/resources/chargeCapture/client/index.d.ts +1 -0
  151. package/dist/api/resources/chargeCapture/client/index.js +2 -0
  152. package/dist/api/resources/chargeCapture/index.d.ts +2 -0
  153. package/dist/api/resources/chargeCapture/index.js +18 -0
  154. package/dist/api/resources/chargeCapture/resources/index.d.ts +1 -0
  155. package/dist/api/resources/chargeCapture/resources/index.js +27 -0
  156. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +288 -0
  157. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +579 -0
  158. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +52 -0
  159. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +102 -0
  160. package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +34 -0
  161. package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +69 -0
  162. package/dist/api/resources/chargeCapture/resources/v1/client/get.d.ts +22 -0
  163. package/dist/api/resources/chargeCapture/resources/v1/client/get.js +47 -0
  164. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +22 -0
  165. package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +47 -0
  166. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +6 -0
  167. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +35 -0
  168. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +136 -0
  169. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +5 -0
  170. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +137 -0
  171. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +5 -0
  172. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +35 -0
  173. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.js +5 -0
  174. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +3 -0
  175. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.js +2 -0
  176. package/dist/api/resources/chargeCapture/resources/v1/client/update.d.ts +52 -0
  177. package/dist/api/resources/chargeCapture/resources/v1/client/update.js +102 -0
  178. package/dist/api/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  179. package/dist/api/resources/chargeCapture/resources/v1/index.js +18 -0
  180. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +12 -0
  181. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.js +5 -0
  182. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +31 -0
  183. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +5 -0
  184. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +7 -0
  185. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +5 -0
  186. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +13 -0
  187. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +15 -0
  188. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  189. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +20 -0
  190. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +16 -0
  191. package/dist/api/resources/commons/types/BillingProviderCommercialLicenseType.js +18 -0
  192. package/dist/api/resources/commons/types/ChargeCaptureId.d.ts +8 -0
  193. package/dist/api/resources/commons/types/ChargeCaptureId.js +10 -0
  194. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  195. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  196. package/dist/api/resources/commons/types/index.d.ts +2 -0
  197. package/dist/api/resources/commons/types/index.js +2 -0
  198. package/dist/api/resources/contracts/resources/v2/client/Client.js +6 -5
  199. package/dist/api/resources/contracts/resources/v2/client/update.d.ts +7 -1
  200. package/dist/api/resources/contracts/resources/v2/client/update.js +11 -0
  201. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +6 -0
  202. package/dist/api/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +5 -0
  203. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  204. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  205. package/dist/api/resources/credentialing/resources/v2/client/Client.js +6 -6
  206. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  207. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  208. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  209. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -66
  210. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -78
  211. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +5 -0
  212. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +5 -0
  213. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +5 -0
  214. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +33 -275
  215. package/dist/api/resources/encounters/resources/v4/client/Client.js +38 -280
  216. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +11 -63
  217. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -21
  218. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -391
  219. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
  220. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +146 -0
  221. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.js +5 -0
  222. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  223. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  224. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  225. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  226. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  227. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  228. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  229. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -21
  230. package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -24
  231. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  232. package/dist/api/resources/index.d.ts +1 -0
  233. package/dist/api/resources/index.js +2 -1
  234. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  235. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  236. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  237. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  238. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  239. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +1 -0
  240. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +6 -5
  241. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  242. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  243. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  244. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  245. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  246. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  247. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  248. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  249. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  250. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  251. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  252. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  254. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  255. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  256. package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
  257. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
  258. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
  259. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +1 -4
  260. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +4 -7
  261. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  262. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  263. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  264. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  265. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  266. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  267. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  268. package/dist/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  269. package/dist/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  270. package/dist/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  271. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  272. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  273. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  274. package/dist/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  275. package/dist/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  276. package/dist/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  277. package/dist/serialization/resources/chargeCapture/index.d.ts +1 -0
  278. package/dist/serialization/resources/chargeCapture/index.js +17 -0
  279. package/dist/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  280. package/dist/serialization/resources/chargeCapture/resources/index.js +27 -0
  281. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  282. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  283. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +20 -0
  284. package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +67 -0
  285. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +4 -0
  286. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +33 -0
  287. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  288. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  289. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  290. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  291. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  292. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  293. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  294. package/dist/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  295. package/dist/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  296. package/dist/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  297. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  298. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  299. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  300. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  301. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  302. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  303. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  304. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  305. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  306. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  307. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  308. package/dist/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  309. package/dist/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  310. package/dist/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  311. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  312. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  313. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  314. package/dist/serialization/resources/commons/types/index.js +2 -0
  315. package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  316. package/dist/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  317. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  318. package/dist/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  319. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  320. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  321. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  322. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  323. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  324. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  325. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  326. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  327. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  328. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  329. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  330. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  331. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  332. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  333. package/dist/serialization/resources/index.d.ts +1 -0
  334. package/dist/serialization/resources/index.js +2 -1
  335. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  336. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  337. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  338. package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  339. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
  340. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
  341. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
  342. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
  343. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
  344. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
  345. package/package.json +1 -1
  346. package/reference.md +608 -362
  347. package/serialization/resources/billingNotes/resources/v2/client/delete.d.ts +25 -0
  348. package/serialization/resources/billingNotes/resources/v2/client/delete.js +73 -0
  349. package/serialization/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
  350. package/serialization/resources/billingNotes/resources/v2/client/index.js +15 -0
  351. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +12 -0
  352. package/serialization/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.js +33 -0
  353. package/serialization/resources/billingNotes/resources/v2/client/requests/index.d.ts +1 -0
  354. package/serialization/resources/billingNotes/resources/v2/client/requests/index.js +3 -1
  355. package/serialization/resources/billingNotes/resources/v2/client/update.d.ts +30 -0
  356. package/serialization/resources/billingNotes/resources/v2/client/update.js +79 -0
  357. package/serialization/resources/chargeCapture/index.d.ts +1 -0
  358. package/serialization/resources/chargeCapture/index.js +17 -0
  359. package/serialization/resources/chargeCapture/resources/index.d.ts +1 -0
  360. package/serialization/resources/chargeCapture/resources/index.js +27 -0
  361. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +35 -0
  362. package/serialization/resources/chargeCapture/resources/v1/client/create.js +85 -0
  363. package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +20 -0
  364. package/serialization/resources/chargeCapture/resources/v1/client/delete.js +67 -0
  365. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +4 -0
  366. package/serialization/resources/chargeCapture/resources/v1/client/index.js +33 -0
  367. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +19 -0
  368. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +40 -0
  369. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +19 -0
  370. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +40 -0
  371. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +2 -0
  372. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +7 -0
  373. package/serialization/resources/chargeCapture/resources/v1/client/update.d.ts +35 -0
  374. package/serialization/resources/chargeCapture/resources/v1/client/update.js +85 -0
  375. package/serialization/resources/chargeCapture/resources/v1/index.d.ts +2 -0
  376. package/serialization/resources/chargeCapture/resources/v1/index.js +18 -0
  377. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +22 -0
  378. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +43 -0
  379. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +24 -0
  380. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +47 -0
  381. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +14 -0
  382. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +37 -0
  383. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +10 -0
  384. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +39 -0
  385. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +4 -0
  386. package/serialization/resources/chargeCapture/resources/v1/types/index.js +20 -0
  387. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.d.ts +10 -0
  388. package/serialization/resources/commons/types/BillingProviderCommercialLicenseType.js +31 -0
  389. package/serialization/resources/commons/types/ChargeCaptureId.d.ts +10 -0
  390. package/serialization/resources/commons/types/ChargeCaptureId.js +35 -0
  391. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  392. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  393. package/serialization/resources/commons/types/index.d.ts +2 -0
  394. package/serialization/resources/commons/types/index.js +2 -0
  395. package/serialization/resources/contracts/resources/v2/client/update.d.ts +6 -1
  396. package/serialization/resources/contracts/resources/v2/client/update.js +6 -0
  397. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.d.ts +12 -0
  398. package/serialization/resources/contracts/resources/v2/types/ContractInvalidExpirationDateError.js +33 -0
  399. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  400. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  401. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  402. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  403. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  404. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  405. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  406. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  407. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -59
  408. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +5 -60
  409. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +70 -0
  410. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +91 -0
  411. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  412. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  413. package/serialization/resources/index.d.ts +1 -0
  414. package/serialization/resources/index.js +2 -1
  415. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +1 -0
  416. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +1 -0
  417. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +1 -0
  418. package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +1 -0
  419. package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
  420. package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
  421. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
  422. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
  423. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
  424. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.35.3",
135
+ "X-Fern-SDK-Version": "0.38.0",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.35.3",
181
+ "X-Fern-SDK-Version": "0.38.0",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -250,9 +250,7 @@ class V4 {
250
250
  * taxId: "string",
251
251
  * npi: "string",
252
252
  * taxonomyCode: "string",
253
- * firstName: "string",
254
- * lastName: "string",
255
- * organizationName: "string"
253
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
256
254
  * },
257
255
  * renderingProvider: {
258
256
  * npi: "string",
@@ -264,10 +262,7 @@ class V4 {
264
262
  * state: CandidApi.State.Ny,
265
263
  * zipCode: "10001",
266
264
  * zipPlusFourCode: "1234"
267
- * },
268
- * firstName: "string",
269
- * lastName: "string",
270
- * organizationName: "string"
265
+ * }
271
266
  * },
272
267
  * referringProvider: {
273
268
  * npi: "string",
@@ -279,10 +274,7 @@ class V4 {
279
274
  * state: CandidApi.State.Ny,
280
275
  * zipCode: "10001",
281
276
  * zipPlusFourCode: "1234"
282
- * },
283
- * firstName: "string",
284
- * lastName: "string",
285
- * organizationName: "string"
277
+ * }
286
278
  * },
287
279
  * initialReferringProvider: {
288
280
  * npi: "string",
@@ -295,10 +287,7 @@ class V4 {
295
287
  * zipCode: "10001",
296
288
  * zipPlusFourCode: "1234"
297
289
  * },
298
- * qualifier: CandidApi.QualifierCode.Dq,
299
- * firstName: "string",
300
- * lastName: "string",
301
- * organizationName: "string"
290
+ * qualifier: CandidApi.QualifierCode.Dq
302
291
  * },
303
292
  * supervisingProvider: {
304
293
  * npi: "string",
@@ -310,10 +299,7 @@ class V4 {
310
299
  * state: CandidApi.State.Ny,
311
300
  * zipCode: "10001",
312
301
  * zipPlusFourCode: "1234"
313
- * },
314
- * firstName: "string",
315
- * lastName: "string",
316
- * organizationName: "string"
302
+ * }
317
303
  * },
318
304
  * serviceFacility: {
319
305
  * organizationName: "string",
@@ -325,33 +311,16 @@ class V4 {
325
311
  * state: CandidApi.State.Ny,
326
312
  * zipCode: "10001",
327
313
  * zipPlusFourCode: "1234"
328
- * }
314
+ * },
315
+ * secondaryIdentification: "string"
329
316
  * },
330
317
  * subscriberPrimary: {
331
318
  * insuranceCard: {
332
319
  * memberId: "string",
333
320
  * payerName: "string",
334
- * payerId: "string",
335
- * rxBin: "string",
336
- * rxPcn: "string",
337
- * imageUrlFront: "string",
338
- * imageUrlBack: "string",
339
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
340
- * groupNumber: "string",
341
- * planName: "string",
342
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
343
- * insuranceType: CandidApi.InsuranceTypeCode.C01
321
+ * payerId: "string"
344
322
  * },
345
323
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
346
- * dateOfBirth: "2023-01-15",
347
- * address: {
348
- * address1: "123 Main St",
349
- * address2: "Apt 1",
350
- * city: "New York",
351
- * state: CandidApi.State.Ny,
352
- * zipCode: "10001",
353
- * zipPlusFourCode: "1234"
354
- * },
355
324
  * firstName: "string",
356
325
  * lastName: "string",
357
326
  * gender: CandidApi.Gender.Male
@@ -360,27 +329,9 @@ class V4 {
360
329
  * insuranceCard: {
361
330
  * memberId: "string",
362
331
  * payerName: "string",
363
- * payerId: "string",
364
- * rxBin: "string",
365
- * rxPcn: "string",
366
- * imageUrlFront: "string",
367
- * imageUrlBack: "string",
368
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
369
- * groupNumber: "string",
370
- * planName: "string",
371
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
372
- * insuranceType: CandidApi.InsuranceTypeCode.C01
332
+ * payerId: "string"
373
333
  * },
374
334
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
375
- * dateOfBirth: "2023-01-15",
376
- * address: {
377
- * address1: "123 Main St",
378
- * address2: "Apt 1",
379
- * city: "New York",
380
- * state: CandidApi.State.Ny,
381
- * zipCode: "10001",
382
- * zipPlusFourCode: "1234"
383
- * },
384
335
  * firstName: "string",
385
336
  * lastName: "string",
386
337
  * gender: CandidApi.Gender.Male
@@ -451,10 +402,7 @@ class V4 {
451
402
  * state: CandidApi.State.Ny,
452
403
  * zipCode: "10001",
453
404
  * zipPlusFourCode: "1234"
454
- * },
455
- * firstName: "string",
456
- * lastName: "string",
457
- * organizationName: "string"
405
+ * }
458
406
  * },
459
407
  * testResults: [{
460
408
  * value: 1.1,
@@ -580,7 +528,7 @@ class V4 {
580
528
  Authorization: yield this._getAuthorizationHeader(),
581
529
  "X-Fern-Language": "JavaScript",
582
530
  "X-Fern-SDK-Name": "candidhealth",
583
- "X-Fern-SDK-Version": "0.35.3",
531
+ "X-Fern-SDK-Version": "0.38.0",
584
532
  "X-Fern-Runtime": core.RUNTIME.type,
585
533
  "X-Fern-Runtime-Version": core.RUNTIME.version,
586
534
  },
@@ -666,9 +614,7 @@ class V4 {
666
614
  * taxId: "string",
667
615
  * npi: "string",
668
616
  * taxonomyCode: "string",
669
- * firstName: "string",
670
- * lastName: "string",
671
- * organizationName: "string"
617
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
672
618
  * },
673
619
  * renderingProvider: {
674
620
  * npi: "string",
@@ -680,10 +626,7 @@ class V4 {
680
626
  * state: CandidApi.State.Ny,
681
627
  * zipCode: "10001",
682
628
  * zipPlusFourCode: "1234"
683
- * },
684
- * firstName: "string",
685
- * lastName: "string",
686
- * organizationName: "string"
629
+ * }
687
630
  * },
688
631
  * initialReferringProvider: {
689
632
  * npi: "string",
@@ -696,10 +639,7 @@ class V4 {
696
639
  * zipCode: "10001",
697
640
  * zipPlusFourCode: "1234"
698
641
  * },
699
- * qualifier: CandidApi.QualifierCode.Dq,
700
- * firstName: "string",
701
- * lastName: "string",
702
- * organizationName: "string"
642
+ * qualifier: CandidApi.QualifierCode.Dq
703
643
  * },
704
644
  * supervisingProvider: {
705
645
  * npi: "string",
@@ -711,10 +651,7 @@ class V4 {
711
651
  * state: CandidApi.State.Ny,
712
652
  * zipCode: "10001",
713
653
  * zipPlusFourCode: "1234"
714
- * },
715
- * firstName: "string",
716
- * lastName: "string",
717
- * organizationName: "string"
654
+ * }
718
655
  * },
719
656
  * serviceFacility: {
720
657
  * organizationName: "string",
@@ -726,7 +663,8 @@ class V4 {
726
663
  * state: CandidApi.State.Ny,
727
664
  * zipCode: "10001",
728
665
  * zipPlusFourCode: "1234"
729
- * }
666
+ * },
667
+ * secondaryIdentification: "string"
730
668
  * },
731
669
  * diagnoses: [{
732
670
  * name: "string",
@@ -792,10 +730,7 @@ class V4 {
792
730
  * state: CandidApi.State.Ny,
793
731
  * zipCode: "10001",
794
732
  * zipPlusFourCode: "1234"
795
- * },
796
- * firstName: "string",
797
- * lastName: "string",
798
- * organizationName: "string"
733
+ * }
799
734
  * },
800
735
  * testResults: [{
801
736
  * value: 1.1,
@@ -899,7 +834,7 @@ class V4 {
899
834
  Authorization: yield this._getAuthorizationHeader(),
900
835
  "X-Fern-Language": "JavaScript",
901
836
  "X-Fern-SDK-Name": "candidhealth",
902
- "X-Fern-SDK-Version": "0.35.3",
837
+ "X-Fern-SDK-Version": "0.38.0",
903
838
  "X-Fern-Runtime": core.RUNTIME.type,
904
839
  "X-Fern-Runtime-Version": core.RUNTIME.version,
905
840
  },
@@ -954,20 +889,14 @@ class V4 {
954
889
  *
955
890
  * @example
956
891
  * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
892
+ * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
893
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
894
+ * benefitsAssignedToProvider: true,
957
895
  * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
958
896
  * externalId: CandidApi.EncounterExternalId("string"),
959
897
  * dateOfService: "2023-01-15",
960
- * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
961
- * tagIds: [CandidApi.TagId("string")],
962
- * clinicalNotes: [{
963
- * category: CandidApi.encounters.v4.NoteCategory.Clinical,
964
- * notes: [{
965
- * text: "string",
966
- * authorName: "string",
967
- * authorNpi: CandidApi.Npi("string"),
968
- * timestamp: new Date("2024-01-15T09:30:00.000Z")
969
- * }]
970
- * }],
898
+ * tagIds: [],
899
+ * clinicalNotes: [],
971
900
  * payToAddress: {
972
901
  * address1: "123 Main St",
973
902
  * address2: "Apt 1",
@@ -979,37 +908,17 @@ class V4 {
979
908
  * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
980
909
  * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
981
910
  * providerAcceptsAssignment: true,
982
- * benefitsAssignedToProvider: true,
983
911
  * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
984
912
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
985
- * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
986
913
  * appointmentType: "string",
987
914
  * endDateOfService: "2023-01-15",
988
915
  * subscriberPrimary: {
989
916
  * insuranceCard: {
990
917
  * memberId: "string",
991
918
  * payerName: "string",
992
- * payerId: "string",
993
- * rxBin: "string",
994
- * rxPcn: "string",
995
- * imageUrlFront: "string",
996
- * imageUrlBack: "string",
997
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
998
- * groupNumber: "string",
999
- * planName: "string",
1000
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
1001
- * insuranceType: CandidApi.InsuranceTypeCode.C01
919
+ * payerId: "string"
1002
920
  * },
1003
921
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
1004
- * dateOfBirth: "2023-01-15",
1005
- * address: {
1006
- * address1: "123 Main St",
1007
- * address2: "Apt 1",
1008
- * city: "New York",
1009
- * state: CandidApi.State.Ny,
1010
- * zipCode: "10001",
1011
- * zipPlusFourCode: "1234"
1012
- * },
1013
922
  * firstName: "string",
1014
923
  * lastName: "string",
1015
924
  * gender: CandidApi.Gender.Male
@@ -1018,27 +927,9 @@ class V4 {
1018
927
  * insuranceCard: {
1019
928
  * memberId: "string",
1020
929
  * payerName: "string",
1021
- * payerId: "string",
1022
- * rxBin: "string",
1023
- * rxPcn: "string",
1024
- * imageUrlFront: "string",
1025
- * imageUrlBack: "string",
1026
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
1027
- * groupNumber: "string",
1028
- * planName: "string",
1029
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
1030
- * insuranceType: CandidApi.InsuranceTypeCode.C01
930
+ * payerId: "string"
1031
931
  * },
1032
932
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
1033
- * dateOfBirth: "2023-01-15",
1034
- * address: {
1035
- * address1: "123 Main St",
1036
- * address2: "Apt 1",
1037
- * city: "New York",
1038
- * state: CandidApi.State.Ny,
1039
- * zipCode: "10001",
1040
- * zipPlusFourCode: "1234"
1041
- * },
1042
933
  * firstName: "string",
1043
934
  * lastName: "string",
1044
935
  * gender: CandidApi.Gender.Male
@@ -1050,43 +941,9 @@ class V4 {
1050
941
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
1051
942
  * lastMenstrualPeriodDate: "2023-01-15",
1052
943
  * delayReasonCode: CandidApi.DelayReasonCode.C1,
1053
- * patient: {
1054
- * firstName: "string",
1055
- * lastName: "string",
1056
- * gender: CandidApi.Gender.Male,
1057
- * externalId: "string",
1058
- * dateOfBirth: "2023-01-15",
1059
- * address: {
1060
- * address1: "123 Main St",
1061
- * address2: "Apt 1",
1062
- * city: "New York",
1063
- * state: CandidApi.State.Ny,
1064
- * zipCode: "10001",
1065
- * zipPlusFourCode: "1234"
1066
- * },
1067
- * phoneNumbers: [{
1068
- * number: "1234567890",
1069
- * type: CandidApi.PhoneNumberType.Home
1070
- * }],
1071
- * phoneConsent: true,
1072
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
1073
- * emailConsent: true,
1074
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
1075
- * nonInsurancePayersInfo: [{
1076
- * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
1077
- * memberId: "string"
1078
- * }]
1079
- * },
944
+ * patient: {},
1080
945
  * patientAuthorizedRelease: true,
1081
- * schemaInstances: [{
1082
- * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
1083
- * content: {
1084
- * "provider_category": "internist",
1085
- * "is_urgent_care": true,
1086
- * "bmi": 24.2,
1087
- * "age": 38
1088
- * }
1089
- * }],
946
+ * schemaInstances: [],
1090
947
  * vitals: {
1091
948
  * heightIn: 70,
1092
949
  * weightLbs: 165,
@@ -1096,29 +953,8 @@ class V4 {
1096
953
  * hemoglobinGdl: 15.1,
1097
954
  * hematocritPct: 51.2
1098
955
  * },
1099
- * existingMedications: [{
1100
- * name: "Lisinopril",
1101
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
1102
- * dosage: "10mg",
1103
- * dosageForm: "Tablet",
1104
- * frequency: "Once Daily",
1105
- * asNeeded: true
1106
- * }],
1107
- * renderingProvider: {
1108
- * npi: "string",
1109
- * taxonomyCode: "string",
1110
- * address: {
1111
- * address1: "123 Main St",
1112
- * address2: "Apt 1",
1113
- * city: "New York",
1114
- * state: CandidApi.State.Ny,
1115
- * zipCode: "10001",
1116
- * zipPlusFourCode: "1234"
1117
- * },
1118
- * firstName: "string",
1119
- * lastName: "string",
1120
- * organizationName: "string"
1121
- * },
956
+ * existingMedications: [],
957
+ * renderingProvider: {},
1122
958
  * serviceFacility: {
1123
959
  * organizationName: "Test Organization",
1124
960
  * address: {
@@ -1130,89 +966,11 @@ class V4 {
1130
966
  * zipPlusFourCode: "1234"
1131
967
  * }
1132
968
  * },
1133
- * guarantor: {
1134
- * firstName: "string",
1135
- * lastName: "string",
1136
- * externalId: "string",
1137
- * dateOfBirth: "2023-01-15",
1138
- * address: {
1139
- * address1: "123 Main St",
1140
- * address2: "Apt 1",
1141
- * city: "New York",
1142
- * state: CandidApi.State.Ny,
1143
- * zipCode: "10001",
1144
- * zipPlusFourCode: "1234"
1145
- * },
1146
- * phoneNumbers: [{
1147
- * number: "1234567890",
1148
- * type: CandidApi.PhoneNumberType.Home
1149
- * }],
1150
- * phoneConsent: true,
1151
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
1152
- * emailConsent: true
1153
- * },
1154
- * billingProvider: {
1155
- * address: {
1156
- * address1: "123 Main St",
1157
- * address2: "Apt 1",
1158
- * city: "New York",
1159
- * state: CandidApi.State.Ny,
1160
- * zipCode: "10001",
1161
- * zipPlusFourCode: "1234"
1162
- * },
1163
- * taxId: "string",
1164
- * npi: "string",
1165
- * taxonomyCode: "string",
1166
- * firstName: "string",
1167
- * lastName: "string",
1168
- * organizationName: "string"
1169
- * },
1170
- * supervisingProvider: {
1171
- * npi: "string",
1172
- * taxonomyCode: "string",
1173
- * address: {
1174
- * address1: "123 Main St",
1175
- * address2: "Apt 1",
1176
- * city: "New York",
1177
- * state: CandidApi.State.Ny,
1178
- * zipCode: "10001",
1179
- * zipPlusFourCode: "1234"
1180
- * },
1181
- * firstName: "string",
1182
- * lastName: "string",
1183
- * organizationName: "string"
1184
- * },
1185
- * referringProvider: {
1186
- * npi: "string",
1187
- * taxonomyCode: "string",
1188
- * address: {
1189
- * address1: "123 Main St",
1190
- * address2: "Apt 1",
1191
- * city: "New York",
1192
- * state: CandidApi.State.Ny,
1193
- * zipCode: "10001",
1194
- * zipPlusFourCode: "1234"
1195
- * },
1196
- * firstName: "string",
1197
- * lastName: "string",
1198
- * organizationName: "string"
1199
- * },
1200
- * initialReferringProvider: {
1201
- * npi: "string",
1202
- * taxonomyCode: "string",
1203
- * address: {
1204
- * address1: "123 Main St",
1205
- * address2: "Apt 1",
1206
- * city: "New York",
1207
- * state: CandidApi.State.Ny,
1208
- * zipCode: "10001",
1209
- * zipPlusFourCode: "1234"
1210
- * },
1211
- * qualifier: CandidApi.QualifierCode.Dq,
1212
- * firstName: "string",
1213
- * lastName: "string",
1214
- * organizationName: "string"
1215
- * },
969
+ * guarantor: {},
970
+ * billingProvider: {},
971
+ * supervisingProvider: {},
972
+ * referringProvider: {},
973
+ * initialReferringProvider: {},
1216
974
  * referralNumber: "string"
1217
975
  * })
1218
976
  */
@@ -1227,7 +985,7 @@ class V4 {
1227
985
  Authorization: yield this._getAuthorizationHeader(),
1228
986
  "X-Fern-Language": "JavaScript",
1229
987
  "X-Fern-SDK-Name": "candidhealth",
1230
- "X-Fern-SDK-Version": "0.35.3",
988
+ "X-Fern-SDK-Version": "0.38.0",
1231
989
  "X-Fern-Runtime": core.RUNTIME.type,
1232
990
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1233
991
  },
@@ -44,9 +44,7 @@ import * as CandidApi from "../../../../../../index";
44
44
  * taxId: "string",
45
45
  * npi: "string",
46
46
  * taxonomyCode: "string",
47
- * firstName: "string",
48
- * lastName: "string",
49
- * organizationName: "string"
47
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
50
48
  * },
51
49
  * renderingProvider: {
52
50
  * npi: "string",
@@ -58,10 +56,7 @@ import * as CandidApi from "../../../../../../index";
58
56
  * state: CandidApi.State.Ny,
59
57
  * zipCode: "10001",
60
58
  * zipPlusFourCode: "1234"
61
- * },
62
- * firstName: "string",
63
- * lastName: "string",
64
- * organizationName: "string"
59
+ * }
65
60
  * },
66
61
  * referringProvider: {
67
62
  * npi: "string",
@@ -73,10 +68,7 @@ import * as CandidApi from "../../../../../../index";
73
68
  * state: CandidApi.State.Ny,
74
69
  * zipCode: "10001",
75
70
  * zipPlusFourCode: "1234"
76
- * },
77
- * firstName: "string",
78
- * lastName: "string",
79
- * organizationName: "string"
71
+ * }
80
72
  * },
81
73
  * initialReferringProvider: {
82
74
  * npi: "string",
@@ -89,10 +81,7 @@ import * as CandidApi from "../../../../../../index";
89
81
  * zipCode: "10001",
90
82
  * zipPlusFourCode: "1234"
91
83
  * },
92
- * qualifier: CandidApi.QualifierCode.Dq,
93
- * firstName: "string",
94
- * lastName: "string",
95
- * organizationName: "string"
84
+ * qualifier: CandidApi.QualifierCode.Dq
96
85
  * },
97
86
  * supervisingProvider: {
98
87
  * npi: "string",
@@ -104,10 +93,7 @@ import * as CandidApi from "../../../../../../index";
104
93
  * state: CandidApi.State.Ny,
105
94
  * zipCode: "10001",
106
95
  * zipPlusFourCode: "1234"
107
- * },
108
- * firstName: "string",
109
- * lastName: "string",
110
- * organizationName: "string"
96
+ * }
111
97
  * },
112
98
  * serviceFacility: {
113
99
  * organizationName: "string",
@@ -119,33 +105,16 @@ import * as CandidApi from "../../../../../../index";
119
105
  * state: CandidApi.State.Ny,
120
106
  * zipCode: "10001",
121
107
  * zipPlusFourCode: "1234"
122
- * }
108
+ * },
109
+ * secondaryIdentification: "string"
123
110
  * },
124
111
  * subscriberPrimary: {
125
112
  * insuranceCard: {
126
113
  * memberId: "string",
127
114
  * payerName: "string",
128
- * payerId: "string",
129
- * rxBin: "string",
130
- * rxPcn: "string",
131
- * imageUrlFront: "string",
132
- * imageUrlBack: "string",
133
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
134
- * groupNumber: "string",
135
- * planName: "string",
136
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
137
- * insuranceType: CandidApi.InsuranceTypeCode.C01
115
+ * payerId: "string"
138
116
  * },
139
117
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
140
- * dateOfBirth: "2023-01-15",
141
- * address: {
142
- * address1: "123 Main St",
143
- * address2: "Apt 1",
144
- * city: "New York",
145
- * state: CandidApi.State.Ny,
146
- * zipCode: "10001",
147
- * zipPlusFourCode: "1234"
148
- * },
149
118
  * firstName: "string",
150
119
  * lastName: "string",
151
120
  * gender: CandidApi.Gender.Male
@@ -154,27 +123,9 @@ import * as CandidApi from "../../../../../../index";
154
123
  * insuranceCard: {
155
124
  * memberId: "string",
156
125
  * payerName: "string",
157
- * payerId: "string",
158
- * rxBin: "string",
159
- * rxPcn: "string",
160
- * imageUrlFront: "string",
161
- * imageUrlBack: "string",
162
- * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
163
- * groupNumber: "string",
164
- * planName: "string",
165
- * planType: CandidApi.SourceOfPaymentCode.SelfPay,
166
- * insuranceType: CandidApi.InsuranceTypeCode.C01
126
+ * payerId: "string"
167
127
  * },
168
128
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
169
- * dateOfBirth: "2023-01-15",
170
- * address: {
171
- * address1: "123 Main St",
172
- * address2: "Apt 1",
173
- * city: "New York",
174
- * state: CandidApi.State.Ny,
175
- * zipCode: "10001",
176
- * zipPlusFourCode: "1234"
177
- * },
178
129
  * firstName: "string",
179
130
  * lastName: "string",
180
131
  * gender: CandidApi.Gender.Male
@@ -245,10 +196,7 @@ import * as CandidApi from "../../../../../../index";
245
196
  * state: CandidApi.State.Ny,
246
197
  * zipCode: "10001",
247
198
  * zipPlusFourCode: "1234"
248
- * },
249
- * firstName: "string",
250
- * lastName: "string",
251
- * organizationName: "string"
199
+ * }
252
200
  * },
253
201
  * testResults: [{
254
202
  * value: 1.1,
@@ -439,7 +387,7 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
439
387
  */
440
388
  billingNotes?: CandidApi.billingNotes.v2.BillingNoteBase[];
441
389
  /**
442
- * 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).
390
+ * 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).
443
391
  *
444
392
  */
445
393
  placeOfServiceCode: CandidApi.FacilityTypeCode;