candidhealth 1.14.4 → 1.14.6

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 (257) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +43 -38
  3. package/README.md +0 -18
  4. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
  5. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
  6. package/api/resources/commons/types/index.d.ts +1 -0
  7. package/api/resources/commons/types/index.js +1 -0
  8. package/api/resources/index.d.ts +1 -0
  9. package/api/resources/index.js +3 -2
  10. package/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  11. package/api/resources/insuranceAdjudications/client/Client.js +15 -0
  12. package/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  13. package/api/resources/insuranceAdjudications/client/index.js +2 -0
  14. package/api/resources/insuranceAdjudications/index.d.ts +2 -0
  15. package/api/resources/insuranceAdjudications/index.js +18 -0
  16. package/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  17. package/api/resources/insuranceAdjudications/resources/index.js +37 -0
  18. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  19. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  20. package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  21. package/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  22. package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  23. package/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  24. package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  25. package/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  26. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  27. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  28. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  29. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  30. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  31. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  32. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  33. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  34. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  35. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  36. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  37. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  38. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  39. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  40. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  41. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  42. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  43. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  44. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  45. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  46. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  47. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  48. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  49. package/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  50. package/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  51. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  52. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  53. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  55. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  56. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  57. package/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  58. package/api/resources/x12/resources/v1/types/Carc.js +410 -0
  59. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  60. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  61. package/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  62. package/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  63. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  64. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  65. package/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  66. package/api/resources/x12/resources/v1/types/index.js +4 -0
  67. package/dist/Client.d.ts +3 -0
  68. package/dist/Client.js +43 -38
  69. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
  70. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
  71. package/dist/api/resources/commons/types/index.d.ts +1 -0
  72. package/dist/api/resources/commons/types/index.js +1 -0
  73. package/dist/api/resources/index.d.ts +1 -0
  74. package/dist/api/resources/index.js +3 -2
  75. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  76. package/dist/api/resources/insuranceAdjudications/client/Client.js +15 -0
  77. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  78. package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
  79. package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
  80. package/dist/api/resources/insuranceAdjudications/index.js +18 -0
  81. package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  82. package/dist/api/resources/insuranceAdjudications/resources/index.js +37 -0
  83. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  84. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  85. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  86. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  87. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  88. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  89. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  90. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  91. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  92. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  93. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  94. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  95. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  96. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  97. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  98. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  99. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  100. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  101. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  103. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  104. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  105. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  106. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  107. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  108. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  109. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  110. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  111. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  112. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  113. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  114. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  115. package/dist/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  116. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  117. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  118. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  119. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  120. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  121. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  122. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  123. package/dist/api/resources/x12/resources/v1/types/Carc.js +410 -0
  124. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  125. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  126. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  127. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  128. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  129. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  130. package/dist/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  131. package/dist/api/resources/x12/resources/v1/types/index.js +4 -0
  132. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  133. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  134. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  135. package/dist/serialization/resources/commons/types/index.js +1 -0
  136. package/dist/serialization/resources/index.d.ts +1 -0
  137. package/dist/serialization/resources/index.js +3 -2
  138. package/dist/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  139. package/dist/serialization/resources/insuranceAdjudications/index.js +17 -0
  140. package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  141. package/dist/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  142. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  143. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  144. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  145. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  146. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  147. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  148. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  149. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  150. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  151. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  152. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  153. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  154. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  155. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  156. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  157. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  158. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  159. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  160. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  161. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  162. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  163. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  164. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  165. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  166. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  167. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  168. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  169. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  170. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  171. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  172. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  173. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  174. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  175. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  176. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  177. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  178. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  179. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  180. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  181. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  182. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  183. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  184. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  185. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  186. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  187. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  188. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  189. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  190. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  191. package/dist/serialization/resources/x12/resources/v1/types/index.js +4 -0
  192. package/dist/version.d.ts +1 -1
  193. package/dist/version.js +1 -1
  194. package/package.json +1 -1
  195. package/reference.md +64 -0
  196. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  197. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  198. package/serialization/resources/commons/types/index.d.ts +1 -0
  199. package/serialization/resources/commons/types/index.js +1 -0
  200. package/serialization/resources/index.d.ts +1 -0
  201. package/serialization/resources/index.js +3 -2
  202. package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  203. package/serialization/resources/insuranceAdjudications/index.js +17 -0
  204. package/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  205. package/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  206. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  207. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  208. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  209. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  210. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  211. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  212. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  213. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  214. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  215. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  216. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  217. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  218. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  219. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  220. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  221. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  222. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  223. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  224. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  225. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  226. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  227. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  228. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  229. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  230. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  231. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  232. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  233. package/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  234. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  235. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  236. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  237. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  238. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  239. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  240. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  241. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  242. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  243. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  244. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  245. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  246. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  247. package/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  248. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  249. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  250. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  251. package/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  252. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  253. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  254. package/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  255. package/serialization/resources/x12/resources/v1/types/index.js +4 -0
  256. package/version.d.ts +1 -1
  257. package/version.js +1 -1
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Error = void 0;
38
+ const CandidApi = __importStar(require("../../../../../index"));
39
+ exports.Error = {
40
+ _unknown: (fetcherError) => {
41
+ return {
42
+ errorName: undefined,
43
+ content: fetcherError,
44
+ _visit: function (visitor) {
45
+ return CandidApi.insuranceAdjudications.v1.get.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ _visit: (value, visitor) => {
50
+ switch (value.errorName) {
51
+ default:
52
+ return visitor._other(value);
53
+ }
54
+ },
55
+ };
@@ -0,0 +1 @@
1
+ export * as get from "./get";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.get = void 0;
37
+ exports.get = __importStar(require("./get"));
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./types";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ClaimAdjudication {
3
+ claimId: CandidApi.ClaimId;
4
+ insuranceAllowedAmountCents?: number;
5
+ insurancePaidAmountCents?: number;
6
+ chargeAmountCents?: number;
7
+ serviceLines: Record<CandidApi.ServiceLineId, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudication[]>;
8
+ payerClaimNumber?: string;
9
+ carcs: CandidApi.x12.v1.ClaimAdjustmentReasonCode[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface InsuranceAdjudication {
3
+ insuranceAdjudicationId: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId;
4
+ payerUuid: CandidApi.payers.v3.PayerUuid;
5
+ postDate?: string;
6
+ checkNumber?: string;
7
+ checkDate: string;
8
+ note?: string;
9
+ claims: Record<CandidApi.ClaimId, CandidApi.insuranceAdjudications.v1.ClaimAdjudication[]>;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type InsuranceAdjudicationId = string & {
3
+ insuranceAdjudications_v1_InsuranceAdjudicationId: void;
4
+ };
5
+ export declare function InsuranceAdjudicationId(value: string): CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InsuranceAdjudicationId = InsuranceAdjudicationId;
5
+ function InsuranceAdjudicationId(value) {
6
+ return value;
7
+ }
@@ -0,0 +1,13 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface ServiceLineAdjudication {
3
+ serviceLineAdjudicationId: CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationId;
4
+ /** Will be treated as a denial if present */
5
+ denialReason?: CandidApi.serviceLines.v2.DenialReasonContent;
6
+ insuranceAllowedAmountCents?: number;
7
+ insurancePaidAmountCents?: number;
8
+ deductibleAmountCents?: number;
9
+ coinsuranceAmountCents?: number;
10
+ copayAmountCents?: number;
11
+ carcs: CandidApi.x12.v1.ClaimAdjustmentReasonCode[];
12
+ rarcs: CandidApi.x12.v1.RemittanceAdviceRemarkCode[];
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type ServiceLineAdjudicationId = string & {
3
+ insuranceAdjudications_v1_ServiceLineAdjudicationId: void;
4
+ };
5
+ export declare function ServiceLineAdjudicationId(value: string): CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationId;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ServiceLineAdjudicationId = ServiceLineAdjudicationId;
5
+ function ServiceLineAdjudicationId(value) {
6
+ return value;
7
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./ClaimAdjudication";
2
+ export * from "./InsuranceAdjudication";
3
+ export * from "./InsuranceAdjudicationId";
4
+ export * from "./ServiceLineAdjudication";
5
+ export * from "./ServiceLineAdjudicationId";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ClaimAdjudication"), exports);
18
+ __exportStar(require("./InsuranceAdjudication"), exports);
19
+ __exportStar(require("./InsuranceAdjudicationId"), exports);
20
+ __exportStar(require("./ServiceLineAdjudication"), exports);
21
+ __exportStar(require("./ServiceLineAdjudicationId"), exports);
@@ -0,0 +1 @@
1
+ export type CardPaymentMethod = {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type CashPaymentMethod = {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface CheckPaymentMethod {
2
+ checkNumber: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,4 +10,5 @@ export interface PatientPayment {
10
10
  paymentNote?: string;
11
11
  allocations: CandidApi.Allocation[];
12
12
  invoice?: CandidApi.InvoiceId;
13
+ paymentMethodDetail?: CandidApi.patientPayments.v4.PaymentMethodDetail;
13
14
  }
@@ -0,0 +1,13 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type PaymentMethod = CandidApi.patientPayments.v4.PaymentMethod.Cash | CandidApi.patientPayments.v4.PaymentMethod.Check | CandidApi.patientPayments.v4.PaymentMethod.Card;
3
+ export declare namespace PaymentMethod {
4
+ interface Cash extends CandidApi.patientPayments.v4.CashPaymentMethod {
5
+ type: "cash";
6
+ }
7
+ interface Check extends CandidApi.patientPayments.v4.CheckPaymentMethod {
8
+ type: "check";
9
+ }
10
+ interface Card extends CandidApi.patientPayments.v4.CardPaymentMethod {
11
+ type: "card";
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface PaymentMethodDetail {
3
+ paymentMethod: CandidApi.patientPayments.v4.PaymentMethod;
4
+ collectedAtAddress?: CandidApi.StreetAddressShortZip;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,9 @@
1
+ export * from "./CardPaymentMethod";
2
+ export * from "./CashPaymentMethod";
3
+ export * from "./CheckPaymentMethod";
1
4
  export * from "./PatientPayment";
2
5
  export * from "./PatientPaymentId";
3
6
  export * from "./PatientPaymentSortField";
4
7
  export * from "./PatientPaymentsPage";
8
+ export * from "./PaymentMethod";
9
+ export * from "./PaymentMethodDetail";
@@ -14,7 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CardPaymentMethod"), exports);
18
+ __exportStar(require("./CashPaymentMethod"), exports);
19
+ __exportStar(require("./CheckPaymentMethod"), exports);
17
20
  __exportStar(require("./PatientPayment"), exports);
18
21
  __exportStar(require("./PatientPaymentId"), exports);
19
22
  __exportStar(require("./PatientPaymentSortField"), exports);
20
23
  __exportStar(require("./PatientPaymentsPage"), exports);
24
+ __exportStar(require("./PaymentMethod"), exports);
25
+ __exportStar(require("./PaymentMethodDetail"), exports);
@@ -16,4 +16,7 @@ export interface EligibilityRequest {
16
16
  /** <Note>If a dependent has a unique member ID, include their information as subscriber and leave this field undefined.</Note> */
17
17
  dependent?: CandidApi.preEncounter.coverages.v1.MemberInfo;
18
18
  encounter?: CandidApi.preEncounter.eligibilityChecks.v1.Encounter;
19
+ /** If not provided, this endpoint will run a fresh eligibility check. If provided, it will return an existing successful eligibility check if one exists that was initiated after provided date with the same parameters (Date of Service, Payer ID, Provider, Subscriber, Dependent, and Encounter). */
20
+ getExistingCheckInitiatedAfter?: Date;
21
+ source?: string;
19
22
  }
@@ -143,4 +143,6 @@ export interface ServiceLine {
143
143
  hasFamilyPlanningIndicator?: boolean;
144
144
  /** Maps to NTE02 loop 2400 on the EDI 837. */
145
145
  note?: string;
146
+ /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
147
+ priorAuthorizationNumber?: string;
146
148
  }
@@ -41,4 +41,6 @@ export interface ServiceLineCreateBaseBase {
41
41
  testResults?: CandidApi.serviceLines.v2.TestResult[];
42
42
  /** Maps to NTE02 loop 2400 on the EDI 837. */
43
43
  note?: string;
44
+ /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
45
+ priorAuthorizationNumber?: string;
44
46
  }
@@ -4,4 +4,6 @@ export interface ServiceLineCreateStandalone extends CandidApi.serviceLines.v2.S
4
4
  diagnosisIdOne?: CandidApi.DiagnosisId;
5
5
  diagnosisIdTwo?: CandidApi.DiagnosisId;
6
6
  diagnosisIdThree?: CandidApi.DiagnosisId;
7
+ /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
8
+ priorAuthorizationNumber?: string;
7
9
  }
@@ -39,4 +39,6 @@ export interface ServiceLineUpdateBase {
39
39
  hasFamilyPlanningIndicator?: boolean;
40
40
  /** Maps to NTE02 loop 2400 on the EDI 837. */
41
41
  note?: string;
42
+ /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
43
+ priorAuthorizationNumber?: string;
42
44
  }
@@ -7,4 +7,6 @@ export interface UniversalServiceLineCreateStandalone extends CandidApi.serviceL
7
7
  /** A 4 digit code that specifies facility department or type of service arrangement for institutional service line items (837i). This code is not required for professional claim billing (837p). */
8
8
  revenueCode?: string;
9
9
  procedureCode?: string;
10
+ /** Prior authorization number for this service line. Maps to the appropriate REF segment on Loop 2400 of the EDI 837p. This is not used for institutional claims (EDI 837i). */
11
+ priorAuthorizationNumber?: string;
10
12
  }