candidhealth 0.38.1 → 0.39.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 (342) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +67 -62
  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 +2 -206
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +7 -211
  7. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -103
  8. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -103
  9. package/api/resources/chargeCaptureBundles/client/Client.d.ts +26 -0
  10. package/api/resources/chargeCaptureBundles/client/Client.js +17 -0
  11. package/api/resources/chargeCaptureBundles/client/index.d.ts +1 -0
  12. package/api/resources/chargeCaptureBundles/client/index.js +2 -0
  13. package/api/resources/chargeCaptureBundles/index.d.ts +2 -0
  14. package/api/resources/chargeCaptureBundles/index.js +18 -0
  15. package/api/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
  16. package/api/resources/chargeCaptureBundles/resources/index.js +27 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +57 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +270 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +28 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/client/get.js +58 -0
  21. package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +28 -0
  22. package/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +58 -0
  23. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +4 -0
  24. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +33 -0
  25. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +46 -0
  26. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js +5 -0
  27. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
  28. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +2 -0
  29. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +28 -0
  30. package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +58 -0
  31. package/api/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
  32. package/api/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
  33. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +22 -0
  34. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +5 -0
  35. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +17 -0
  36. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +5 -0
  37. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +7 -0
  38. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +5 -0
  39. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
  40. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +12 -0
  41. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
  42. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
  43. package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +8 -0
  44. package/api/resources/commons/types/ChargeCaptureBundleId.js +10 -0
  45. package/api/resources/commons/types/NetworkType.d.ts +9 -1
  46. package/api/resources/commons/types/NetworkType.js +2 -0
  47. package/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
  48. package/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
  49. package/api/resources/commons/types/index.d.ts +2 -0
  50. package/api/resources/commons/types/index.js +2 -0
  51. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  52. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  53. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  54. package/api/resources/diagnoses/client/Client.js +3 -3
  55. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  56. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  57. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  58. package/api/resources/encounters/resources/v4/client/Client.d.ts +83 -95
  59. package/api/resources/encounters/resources/v4/client/Client.js +88 -100
  60. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +62 -8
  61. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +20 -5
  62. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -82
  63. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  69. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  70. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  71. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  72. package/api/resources/index.d.ts +1 -0
  73. package/api/resources/index.js +2 -1
  74. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  75. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  76. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  77. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  78. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  79. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  80. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  81. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  82. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  83. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  84. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  85. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  86. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  87. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -2
  88. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  89. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +4 -2
  90. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
  91. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +10 -0
  92. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +5 -0
  93. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  94. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +4 -3
  95. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +3 -2
  96. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  97. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -2
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +0 -1
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +7 -0
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +5 -0
  102. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  103. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  104. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  105. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  106. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  107. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  108. package/api/resources/serviceFacility/client/Client.js +1 -1
  109. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  110. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  111. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  112. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  113. package/api/resources/x12/resources/v1/types/Rarc.d.ts +3 -1
  114. package/api/resources/x12/resources/v1/types/Rarc.js +2 -0
  115. package/dist/Client.d.ts +3 -0
  116. package/dist/Client.js +67 -62
  117. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  118. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  119. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +2 -206
  120. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +7 -211
  121. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -103
  122. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -103
  123. package/dist/api/resources/chargeCaptureBundles/client/Client.d.ts +26 -0
  124. package/dist/api/resources/chargeCaptureBundles/client/Client.js +17 -0
  125. package/dist/api/resources/chargeCaptureBundles/client/index.d.ts +1 -0
  126. package/dist/api/resources/chargeCaptureBundles/client/index.js +2 -0
  127. package/dist/api/resources/chargeCaptureBundles/index.d.ts +2 -0
  128. package/dist/api/resources/chargeCaptureBundles/index.js +18 -0
  129. package/dist/api/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
  130. package/dist/api/resources/chargeCaptureBundles/resources/index.js +27 -0
  131. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +57 -0
  132. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +270 -0
  133. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +28 -0
  134. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/get.js +58 -0
  135. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +28 -0
  136. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getAll.js +58 -0
  137. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +4 -0
  138. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +33 -0
  139. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +46 -0
  140. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js +5 -0
  141. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
  142. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +2 -0
  143. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +28 -0
  144. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +58 -0
  145. package/dist/api/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
  146. package/dist/api/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
  147. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +22 -0
  148. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +5 -0
  149. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +17 -0
  150. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +5 -0
  151. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +7 -0
  152. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +5 -0
  153. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
  154. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +12 -0
  155. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
  156. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
  157. package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +8 -0
  158. package/dist/api/resources/commons/types/ChargeCaptureBundleId.js +10 -0
  159. package/dist/api/resources/commons/types/NetworkType.d.ts +9 -1
  160. package/dist/api/resources/commons/types/NetworkType.js +2 -0
  161. package/dist/api/resources/commons/types/NotImplementedErrorMessage.d.ts +6 -0
  162. package/dist/api/resources/commons/types/NotImplementedErrorMessage.js +5 -0
  163. package/dist/api/resources/commons/types/index.d.ts +2 -0
  164. package/dist/api/resources/commons/types/index.js +2 -0
  165. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  166. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  167. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  168. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  169. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  170. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  171. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  172. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +83 -95
  173. package/dist/api/resources/encounters/resources/v4/client/Client.js +88 -100
  174. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +62 -8
  175. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +20 -5
  176. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -82
  177. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  178. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  179. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  180. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  181. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  182. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  183. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  184. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  185. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  186. package/dist/api/resources/index.d.ts +1 -0
  187. package/dist/api/resources/index.js +2 -1
  188. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  189. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  190. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  191. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  192. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  193. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  194. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  195. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  196. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  197. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  198. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  199. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  200. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  201. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -2
  202. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  203. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +4 -2
  204. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
  205. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +10 -0
  206. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +5 -0
  207. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  208. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +4 -3
  209. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +3 -2
  210. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  211. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -2
  212. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +0 -1
  213. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
  214. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +7 -0
  215. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +5 -0
  216. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  217. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  218. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  219. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  220. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  221. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  222. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  223. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  224. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  225. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  226. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  227. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +3 -1
  228. package/dist/api/resources/x12/resources/v1/types/Rarc.js +2 -0
  229. package/dist/serialization/resources/chargeCaptureBundles/index.d.ts +1 -0
  230. package/dist/serialization/resources/chargeCaptureBundles/index.js +17 -0
  231. package/dist/serialization/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
  232. package/dist/serialization/resources/chargeCaptureBundles/resources/index.js +27 -0
  233. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +15 -0
  234. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/get.js +61 -0
  235. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +15 -0
  236. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js +61 -0
  237. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +3 -0
  238. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +29 -0
  239. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +15 -0
  240. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +61 -0
  241. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
  242. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
  243. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +18 -0
  244. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +39 -0
  245. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +21 -0
  246. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +42 -0
  247. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +14 -0
  248. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +37 -0
  249. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
  250. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +31 -0
  251. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
  252. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
  253. package/dist/serialization/resources/commons/types/ChargeCaptureBundleId.d.ts +10 -0
  254. package/dist/serialization/resources/commons/types/ChargeCaptureBundleId.js +35 -0
  255. package/dist/serialization/resources/commons/types/NetworkType.d.ts +1 -1
  256. package/dist/serialization/resources/commons/types/NetworkType.js +2 -0
  257. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
  258. package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
  259. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  260. package/dist/serialization/resources/commons/types/index.js +2 -0
  261. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  262. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  263. package/dist/serialization/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/index.js +2 -1
  265. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
  266. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
  267. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +16 -0
  268. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +37 -0
  269. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +2 -0
  270. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +2 -0
  271. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
  272. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
  273. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  274. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
  275. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
  276. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +1 -1
  277. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
  278. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +3 -1
  279. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +13 -0
  280. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +34 -0
  281. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  282. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  283. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  284. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +2 -0
  285. package/package.json +1 -1
  286. package/reference.md +314 -299
  287. package/serialization/resources/chargeCaptureBundles/index.d.ts +1 -0
  288. package/serialization/resources/chargeCaptureBundles/index.js +17 -0
  289. package/serialization/resources/chargeCaptureBundles/resources/index.d.ts +1 -0
  290. package/serialization/resources/chargeCaptureBundles/resources/index.js +27 -0
  291. package/serialization/resources/chargeCaptureBundles/resources/v1/client/get.d.ts +15 -0
  292. package/serialization/resources/chargeCaptureBundles/resources/v1/client/get.js +61 -0
  293. package/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.d.ts +15 -0
  294. package/serialization/resources/chargeCaptureBundles/resources/v1/client/getAll.js +61 -0
  295. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +3 -0
  296. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +29 -0
  297. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +15 -0
  298. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +61 -0
  299. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +2 -0
  300. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +18 -0
  301. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.d.ts +18 -0
  302. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeBundleError.js +39 -0
  303. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +21 -0
  304. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +42 -0
  305. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +14 -0
  306. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js +37 -0
  307. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +10 -0
  308. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +31 -0
  309. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +4 -0
  310. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +20 -0
  311. package/serialization/resources/commons/types/ChargeCaptureBundleId.d.ts +10 -0
  312. package/serialization/resources/commons/types/ChargeCaptureBundleId.js +35 -0
  313. package/serialization/resources/commons/types/NetworkType.d.ts +1 -1
  314. package/serialization/resources/commons/types/NetworkType.js +2 -0
  315. package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +12 -0
  316. package/serialization/resources/commons/types/NotImplementedErrorMessage.js +33 -0
  317. package/serialization/resources/commons/types/index.d.ts +2 -0
  318. package/serialization/resources/commons/types/index.js +2 -0
  319. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  320. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  321. package/serialization/resources/index.d.ts +1 -0
  322. package/serialization/resources/index.js +2 -1
  323. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
  324. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +3 -1
  325. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +16 -0
  326. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +37 -0
  327. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +2 -0
  328. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +2 -0
  329. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
  330. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
  331. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
  332. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
  333. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +1 -1
  334. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +1 -1
  335. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +3 -1
  336. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +3 -1
  337. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.d.ts +13 -0
  338. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/RelatedEntityContact.js +34 -0
  339. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
  340. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
  341. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  342. package/serialization/resources/x12/resources/v1/types/Rarc.js +2 -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.38.1",
135
+ "X-Fern-SDK-Version": "0.39.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.38.1",
181
+ "X-Fern-SDK-Version": "0.39.0",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -250,7 +250,10 @@ class V4 {
250
250
  * taxId: "string",
251
251
  * npi: "string",
252
252
  * taxonomyCode: "string",
253
- * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
253
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
254
+ * firstName: "string",
255
+ * lastName: "string",
256
+ * organizationName: "string"
254
257
  * },
255
258
  * renderingProvider: {
256
259
  * npi: "string",
@@ -262,7 +265,10 @@ class V4 {
262
265
  * state: CandidApi.State.Ny,
263
266
  * zipCode: "10001",
264
267
  * zipPlusFourCode: "1234"
265
- * }
268
+ * },
269
+ * firstName: "string",
270
+ * lastName: "string",
271
+ * organizationName: "string"
266
272
  * },
267
273
  * referringProvider: {
268
274
  * npi: "string",
@@ -274,7 +280,10 @@ class V4 {
274
280
  * state: CandidApi.State.Ny,
275
281
  * zipCode: "10001",
276
282
  * zipPlusFourCode: "1234"
277
- * }
283
+ * },
284
+ * firstName: "string",
285
+ * lastName: "string",
286
+ * organizationName: "string"
278
287
  * },
279
288
  * initialReferringProvider: {
280
289
  * npi: "string",
@@ -287,7 +296,10 @@ class V4 {
287
296
  * zipCode: "10001",
288
297
  * zipPlusFourCode: "1234"
289
298
  * },
290
- * qualifier: CandidApi.QualifierCode.Dq
299
+ * qualifier: CandidApi.QualifierCode.Dq,
300
+ * firstName: "string",
301
+ * lastName: "string",
302
+ * organizationName: "string"
291
303
  * },
292
304
  * supervisingProvider: {
293
305
  * npi: "string",
@@ -299,7 +311,10 @@ class V4 {
299
311
  * state: CandidApi.State.Ny,
300
312
  * zipCode: "10001",
301
313
  * zipPlusFourCode: "1234"
302
- * }
314
+ * },
315
+ * firstName: "string",
316
+ * lastName: "string",
317
+ * organizationName: "string"
303
318
  * },
304
319
  * serviceFacility: {
305
320
  * organizationName: "string",
@@ -318,9 +333,27 @@ class V4 {
318
333
  * insuranceCard: {
319
334
  * memberId: "string",
320
335
  * payerName: "string",
321
- * payerId: "string"
336
+ * payerId: "string",
337
+ * rxBin: "string",
338
+ * rxPcn: "string",
339
+ * imageUrlFront: "string",
340
+ * imageUrlBack: "string",
341
+ * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
342
+ * groupNumber: "string",
343
+ * planName: "string",
344
+ * planType: CandidApi.SourceOfPaymentCode.SelfPay,
345
+ * insuranceType: CandidApi.InsuranceTypeCode.C01
322
346
  * },
323
347
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
348
+ * dateOfBirth: "2023-01-15",
349
+ * address: {
350
+ * address1: "123 Main St",
351
+ * address2: "Apt 1",
352
+ * city: "New York",
353
+ * state: CandidApi.State.Ny,
354
+ * zipCode: "10001",
355
+ * zipPlusFourCode: "1234"
356
+ * },
324
357
  * firstName: "string",
325
358
  * lastName: "string",
326
359
  * gender: CandidApi.Gender.Male
@@ -329,9 +362,27 @@ class V4 {
329
362
  * insuranceCard: {
330
363
  * memberId: "string",
331
364
  * payerName: "string",
332
- * payerId: "string"
365
+ * payerId: "string",
366
+ * rxBin: "string",
367
+ * rxPcn: "string",
368
+ * imageUrlFront: "string",
369
+ * imageUrlBack: "string",
370
+ * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
371
+ * groupNumber: "string",
372
+ * planName: "string",
373
+ * planType: CandidApi.SourceOfPaymentCode.SelfPay,
374
+ * insuranceType: CandidApi.InsuranceTypeCode.C01
333
375
  * },
334
376
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
377
+ * dateOfBirth: "2023-01-15",
378
+ * address: {
379
+ * address1: "123 Main St",
380
+ * address2: "Apt 1",
381
+ * city: "New York",
382
+ * state: CandidApi.State.Ny,
383
+ * zipCode: "10001",
384
+ * zipPlusFourCode: "1234"
385
+ * },
335
386
  * firstName: "string",
336
387
  * lastName: "string",
337
388
  * gender: CandidApi.Gender.Male
@@ -402,7 +453,10 @@ class V4 {
402
453
  * state: CandidApi.State.Ny,
403
454
  * zipCode: "10001",
404
455
  * zipPlusFourCode: "1234"
405
- * }
456
+ * },
457
+ * firstName: "string",
458
+ * lastName: "string",
459
+ * organizationName: "string"
406
460
  * },
407
461
  * testResults: [{
408
462
  * value: 1.1,
@@ -528,7 +582,7 @@ class V4 {
528
582
  Authorization: yield this._getAuthorizationHeader(),
529
583
  "X-Fern-Language": "JavaScript",
530
584
  "X-Fern-SDK-Name": "candidhealth",
531
- "X-Fern-SDK-Version": "0.38.1",
585
+ "X-Fern-SDK-Version": "0.39.0",
532
586
  "X-Fern-Runtime": core.RUNTIME.type,
533
587
  "X-Fern-Runtime-Version": core.RUNTIME.version,
534
588
  },
@@ -615,7 +669,10 @@ class V4 {
615
669
  * taxId: "string",
616
670
  * npi: "string",
617
671
  * taxonomyCode: "string",
618
- * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
672
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
673
+ * firstName: "string",
674
+ * lastName: "string",
675
+ * organizationName: "string"
619
676
  * },
620
677
  * renderingProvider: {
621
678
  * npi: "string",
@@ -627,7 +684,10 @@ class V4 {
627
684
  * state: CandidApi.State.Ny,
628
685
  * zipCode: "10001",
629
686
  * zipPlusFourCode: "1234"
630
- * }
687
+ * },
688
+ * firstName: "string",
689
+ * lastName: "string",
690
+ * organizationName: "string"
631
691
  * },
632
692
  * initialReferringProvider: {
633
693
  * npi: "string",
@@ -640,7 +700,10 @@ class V4 {
640
700
  * zipCode: "10001",
641
701
  * zipPlusFourCode: "1234"
642
702
  * },
643
- * qualifier: CandidApi.QualifierCode.Dq
703
+ * qualifier: CandidApi.QualifierCode.Dq,
704
+ * firstName: "string",
705
+ * lastName: "string",
706
+ * organizationName: "string"
644
707
  * },
645
708
  * supervisingProvider: {
646
709
  * npi: "string",
@@ -652,7 +715,10 @@ class V4 {
652
715
  * state: CandidApi.State.Ny,
653
716
  * zipCode: "10001",
654
717
  * zipPlusFourCode: "1234"
655
- * }
718
+ * },
719
+ * firstName: "string",
720
+ * lastName: "string",
721
+ * organizationName: "string"
656
722
  * },
657
723
  * serviceFacility: {
658
724
  * organizationName: "string",
@@ -731,7 +797,10 @@ class V4 {
731
797
  * state: CandidApi.State.Ny,
732
798
  * zipCode: "10001",
733
799
  * zipPlusFourCode: "1234"
734
- * }
800
+ * },
801
+ * firstName: "string",
802
+ * lastName: "string",
803
+ * organizationName: "string"
735
804
  * },
736
805
  * testResults: [{
737
806
  * value: 1.1,
@@ -835,7 +904,7 @@ class V4 {
835
904
  Authorization: yield this._getAuthorizationHeader(),
836
905
  "X-Fern-Language": "JavaScript",
837
906
  "X-Fern-SDK-Name": "candidhealth",
838
- "X-Fern-SDK-Version": "0.38.1",
907
+ "X-Fern-SDK-Version": "0.39.0",
839
908
  "X-Fern-Runtime": core.RUNTIME.type,
840
909
  "X-Fern-Runtime-Version": core.RUNTIME.version,
841
910
  },
@@ -891,88 +960,7 @@ class V4 {
891
960
  * @example
892
961
  * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
893
962
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
894
- * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
895
- * benefitsAssignedToProvider: true,
896
- * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
897
- * externalId: CandidApi.EncounterExternalId("string"),
898
- * dateOfService: "2023-01-15",
899
- * tagIds: [],
900
- * clinicalNotes: [],
901
- * payToAddress: {
902
- * address1: "123 Main St",
903
- * address2: "Apt 1",
904
- * city: "New York",
905
- * state: CandidApi.State.Ny,
906
- * zipCode: "10001",
907
- * zipPlusFourCode: "1234"
908
- * },
909
- * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
910
- * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
911
- * providerAcceptsAssignment: true,
912
- * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
913
- * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
914
- * appointmentType: "string",
915
- * endDateOfService: "2023-01-15",
916
- * subscriberPrimary: {
917
- * insuranceCard: {
918
- * memberId: "string",
919
- * payerName: "string",
920
- * payerId: "string"
921
- * },
922
- * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
923
- * firstName: "string",
924
- * lastName: "string",
925
- * gender: CandidApi.Gender.Male
926
- * },
927
- * subscriberSecondary: {
928
- * insuranceCard: {
929
- * memberId: "string",
930
- * payerName: "string",
931
- * payerId: "string"
932
- * },
933
- * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
934
- * firstName: "string",
935
- * lastName: "string",
936
- * gender: CandidApi.Gender.Male
937
- * },
938
- * additionalInformation: "string",
939
- * serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
940
- * admissionDate: "2023-01-15",
941
- * dischargeDate: "2023-01-15",
942
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
943
- * lastMenstrualPeriodDate: "2023-01-15",
944
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
945
- * patient: {},
946
- * patientAuthorizedRelease: true,
947
- * schemaInstances: [],
948
- * vitals: {
949
- * heightIn: 70,
950
- * weightLbs: 165,
951
- * bloodPressureSystolicMmhg: 115,
952
- * bloodPressureDiastolicMmhg: 85,
953
- * bodyTemperatureF: 98,
954
- * hemoglobinGdl: 15.1,
955
- * hematocritPct: 51.2
956
- * },
957
- * existingMedications: [],
958
- * renderingProvider: {},
959
- * serviceFacility: {
960
- * organizationName: "Test Organization",
961
- * address: {
962
- * address1: "123 Main St",
963
- * address2: "Apt 1",
964
- * city: "New York",
965
- * state: CandidApi.State.Ny,
966
- * zipCode: "10001",
967
- * zipPlusFourCode: "1234"
968
- * }
969
- * },
970
- * guarantor: {},
971
- * billingProvider: {},
972
- * supervisingProvider: {},
973
- * referringProvider: {},
974
- * initialReferringProvider: {},
975
- * referralNumber: "string"
963
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy
976
964
  * })
977
965
  */
978
966
  update(encounterId, request = {}, requestOptions) {
@@ -986,7 +974,7 @@ class V4 {
986
974
  Authorization: yield this._getAuthorizationHeader(),
987
975
  "X-Fern-Language": "JavaScript",
988
976
  "X-Fern-SDK-Name": "candidhealth",
989
- "X-Fern-SDK-Version": "0.38.1",
977
+ "X-Fern-SDK-Version": "0.39.0",
990
978
  "X-Fern-Runtime": core.RUNTIME.type,
991
979
  "X-Fern-Runtime-Version": core.RUNTIME.version,
992
980
  },
@@ -44,7 +44,10 @@ import * as CandidApi from "../../../../../../index";
44
44
  * taxId: "string",
45
45
  * npi: "string",
46
46
  * taxonomyCode: "string",
47
- * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
47
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
48
+ * firstName: "string",
49
+ * lastName: "string",
50
+ * organizationName: "string"
48
51
  * },
49
52
  * renderingProvider: {
50
53
  * npi: "string",
@@ -56,7 +59,10 @@ import * as CandidApi from "../../../../../../index";
56
59
  * state: CandidApi.State.Ny,
57
60
  * zipCode: "10001",
58
61
  * zipPlusFourCode: "1234"
59
- * }
62
+ * },
63
+ * firstName: "string",
64
+ * lastName: "string",
65
+ * organizationName: "string"
60
66
  * },
61
67
  * referringProvider: {
62
68
  * npi: "string",
@@ -68,7 +74,10 @@ import * as CandidApi from "../../../../../../index";
68
74
  * state: CandidApi.State.Ny,
69
75
  * zipCode: "10001",
70
76
  * zipPlusFourCode: "1234"
71
- * }
77
+ * },
78
+ * firstName: "string",
79
+ * lastName: "string",
80
+ * organizationName: "string"
72
81
  * },
73
82
  * initialReferringProvider: {
74
83
  * npi: "string",
@@ -81,7 +90,10 @@ import * as CandidApi from "../../../../../../index";
81
90
  * zipCode: "10001",
82
91
  * zipPlusFourCode: "1234"
83
92
  * },
84
- * qualifier: CandidApi.QualifierCode.Dq
93
+ * qualifier: CandidApi.QualifierCode.Dq,
94
+ * firstName: "string",
95
+ * lastName: "string",
96
+ * organizationName: "string"
85
97
  * },
86
98
  * supervisingProvider: {
87
99
  * npi: "string",
@@ -93,7 +105,10 @@ import * as CandidApi from "../../../../../../index";
93
105
  * state: CandidApi.State.Ny,
94
106
  * zipCode: "10001",
95
107
  * zipPlusFourCode: "1234"
96
- * }
108
+ * },
109
+ * firstName: "string",
110
+ * lastName: "string",
111
+ * organizationName: "string"
97
112
  * },
98
113
  * serviceFacility: {
99
114
  * organizationName: "string",
@@ -112,9 +127,27 @@ import * as CandidApi from "../../../../../../index";
112
127
  * insuranceCard: {
113
128
  * memberId: "string",
114
129
  * payerName: "string",
115
- * payerId: "string"
130
+ * payerId: "string",
131
+ * rxBin: "string",
132
+ * rxPcn: "string",
133
+ * imageUrlFront: "string",
134
+ * imageUrlBack: "string",
135
+ * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
136
+ * groupNumber: "string",
137
+ * planName: "string",
138
+ * planType: CandidApi.SourceOfPaymentCode.SelfPay,
139
+ * insuranceType: CandidApi.InsuranceTypeCode.C01
116
140
  * },
117
141
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
142
+ * dateOfBirth: "2023-01-15",
143
+ * address: {
144
+ * address1: "123 Main St",
145
+ * address2: "Apt 1",
146
+ * city: "New York",
147
+ * state: CandidApi.State.Ny,
148
+ * zipCode: "10001",
149
+ * zipPlusFourCode: "1234"
150
+ * },
118
151
  * firstName: "string",
119
152
  * lastName: "string",
120
153
  * gender: CandidApi.Gender.Male
@@ -123,9 +156,27 @@ import * as CandidApi from "../../../../../../index";
123
156
  * insuranceCard: {
124
157
  * memberId: "string",
125
158
  * payerName: "string",
126
- * payerId: "string"
159
+ * payerId: "string",
160
+ * rxBin: "string",
161
+ * rxPcn: "string",
162
+ * imageUrlFront: "string",
163
+ * imageUrlBack: "string",
164
+ * emrPayerCrosswalk: CandidApi.EmrPayerCrosswalk.Healthie,
165
+ * groupNumber: "string",
166
+ * planName: "string",
167
+ * planType: CandidApi.SourceOfPaymentCode.SelfPay,
168
+ * insuranceType: CandidApi.InsuranceTypeCode.C01
127
169
  * },
128
170
  * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
171
+ * dateOfBirth: "2023-01-15",
172
+ * address: {
173
+ * address1: "123 Main St",
174
+ * address2: "Apt 1",
175
+ * city: "New York",
176
+ * state: CandidApi.State.Ny,
177
+ * zipCode: "10001",
178
+ * zipPlusFourCode: "1234"
179
+ * },
129
180
  * firstName: "string",
130
181
  * lastName: "string",
131
182
  * gender: CandidApi.Gender.Male
@@ -196,7 +247,10 @@ import * as CandidApi from "../../../../../../index";
196
247
  * state: CandidApi.State.Ny,
197
248
  * zipCode: "10001",
198
249
  * zipPlusFourCode: "1234"
199
- * }
250
+ * },
251
+ * firstName: "string",
252
+ * lastName: "string",
253
+ * organizationName: "string"
200
254
  * },
201
255
  * testResults: [{
202
256
  * value: 1.1,
@@ -19,7 +19,10 @@ import * as CandidApi from "../../../../../../index";
19
19
  * taxId: "string",
20
20
  * npi: "string",
21
21
  * taxonomyCode: "string",
22
- * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker
22
+ * providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
23
+ * firstName: "string",
24
+ * lastName: "string",
25
+ * organizationName: "string"
23
26
  * },
24
27
  * renderingProvider: {
25
28
  * npi: "string",
@@ -31,7 +34,10 @@ import * as CandidApi from "../../../../../../index";
31
34
  * state: CandidApi.State.Ny,
32
35
  * zipCode: "10001",
33
36
  * zipPlusFourCode: "1234"
34
- * }
37
+ * },
38
+ * firstName: "string",
39
+ * lastName: "string",
40
+ * organizationName: "string"
35
41
  * },
36
42
  * initialReferringProvider: {
37
43
  * npi: "string",
@@ -44,7 +50,10 @@ import * as CandidApi from "../../../../../../index";
44
50
  * zipCode: "10001",
45
51
  * zipPlusFourCode: "1234"
46
52
  * },
47
- * qualifier: CandidApi.QualifierCode.Dq
53
+ * qualifier: CandidApi.QualifierCode.Dq,
54
+ * firstName: "string",
55
+ * lastName: "string",
56
+ * organizationName: "string"
48
57
  * },
49
58
  * supervisingProvider: {
50
59
  * npi: "string",
@@ -56,7 +65,10 @@ import * as CandidApi from "../../../../../../index";
56
65
  * state: CandidApi.State.Ny,
57
66
  * zipCode: "10001",
58
67
  * zipPlusFourCode: "1234"
59
- * }
68
+ * },
69
+ * firstName: "string",
70
+ * lastName: "string",
71
+ * organizationName: "string"
60
72
  * },
61
73
  * serviceFacility: {
62
74
  * organizationName: "string",
@@ -135,7 +147,10 @@ import * as CandidApi from "../../../../../../index";
135
147
  * state: CandidApi.State.Ny,
136
148
  * zipCode: "10001",
137
149
  * zipPlusFourCode: "1234"
138
- * }
150
+ * },
151
+ * firstName: "string",
152
+ * lastName: "string",
153
+ * organizationName: "string"
139
154
  * },
140
155
  * testResults: [{
141
156
  * value: 1.1,
@@ -6,88 +6,7 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
9
- * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
10
- * benefitsAssignedToProvider: true,
11
- * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
12
- * externalId: CandidApi.EncounterExternalId("string"),
13
- * dateOfService: "2023-01-15",
14
- * tagIds: [],
15
- * clinicalNotes: [],
16
- * payToAddress: {
17
- * address1: "123 Main St",
18
- * address2: "Apt 1",
19
- * city: "New York",
20
- * state: CandidApi.State.Ny,
21
- * zipCode: "10001",
22
- * zipPlusFourCode: "1234"
23
- * },
24
- * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
25
- * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay,
26
- * providerAcceptsAssignment: true,
27
- * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
28
- * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
29
- * appointmentType: "string",
30
- * endDateOfService: "2023-01-15",
31
- * subscriberPrimary: {
32
- * insuranceCard: {
33
- * memberId: "string",
34
- * payerName: "string",
35
- * payerId: "string"
36
- * },
37
- * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
38
- * firstName: "string",
39
- * lastName: "string",
40
- * gender: CandidApi.Gender.Male
41
- * },
42
- * subscriberSecondary: {
43
- * insuranceCard: {
44
- * memberId: "string",
45
- * payerName: "string",
46
- * payerId: "string"
47
- * },
48
- * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
49
- * firstName: "string",
50
- * lastName: "string",
51
- * gender: CandidApi.Gender.Male
52
- * },
53
- * additionalInformation: "string",
54
- * serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
55
- * admissionDate: "2023-01-15",
56
- * dischargeDate: "2023-01-15",
57
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
58
- * lastMenstrualPeriodDate: "2023-01-15",
59
- * delayReasonCode: CandidApi.DelayReasonCode.C1,
60
- * patient: {},
61
- * patientAuthorizedRelease: true,
62
- * schemaInstances: [],
63
- * vitals: {
64
- * heightIn: 70,
65
- * weightLbs: 165,
66
- * bloodPressureSystolicMmhg: 115,
67
- * bloodPressureDiastolicMmhg: 85,
68
- * bodyTemperatureF: 98,
69
- * hemoglobinGdl: 15.1,
70
- * hematocritPct: 51.2
71
- * },
72
- * existingMedications: [],
73
- * renderingProvider: {},
74
- * serviceFacility: {
75
- * organizationName: "Test Organization",
76
- * address: {
77
- * address1: "123 Main St",
78
- * address2: "Apt 1",
79
- * city: "New York",
80
- * state: CandidApi.State.Ny,
81
- * zipCode: "10001",
82
- * zipPlusFourCode: "1234"
83
- * }
84
- * },
85
- * guarantor: {},
86
- * billingProvider: {},
87
- * supervisingProvider: {},
88
- * referringProvider: {},
89
- * initialReferringProvider: {},
90
- * referralNumber: "string"
9
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy
91
10
  * }
92
11
  */
93
12
  export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
@@ -495,4 +495,6 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
495
495
  schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
496
496
  /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
497
497
  referralNumber?: string;
498
+ /** The date and time the encounter was last submitted to a payer. */
499
+ lastSubmittedAt?: Date;
498
500
  }
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.38.1",
82
+ "X-Fern-SDK-Version": "0.39.0",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -96,7 +96,7 @@ class V2 {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "candidhealth",
99
- "X-Fern-SDK-Version": "0.38.1",
99
+ "X-Fern-SDK-Version": "0.39.0",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -189,7 +189,7 @@ class V2 {
189
189
  Authorization: yield this._getAuthorizationHeader(),
190
190
  "X-Fern-Language": "JavaScript",
191
191
  "X-Fern-SDK-Name": "candidhealth",
192
- "X-Fern-SDK-Version": "0.38.1",
192
+ "X-Fern-SDK-Version": "0.39.0",
193
193
  "X-Fern-Runtime": core.RUNTIME.type,
194
194
  "X-Fern-Runtime-Version": core.RUNTIME.version,
195
195
  },
@@ -87,7 +87,7 @@ class V3 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.38.1",
90
+ "X-Fern-SDK-Version": "0.39.0",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -82,7 +82,7 @@ class V1 {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "candidhealth",
85
- "X-Fern-SDK-Version": "0.38.1",
85
+ "X-Fern-SDK-Version": "0.39.0",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },