candidhealth 1.14.4 → 1.15.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 (271) 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/ProcedureModifier.d.ts +3 -0
  7. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  8. package/api/resources/commons/types/index.d.ts +1 -0
  9. package/api/resources/commons/types/index.js +1 -0
  10. package/api/resources/index.d.ts +1 -0
  11. package/api/resources/index.js +3 -2
  12. package/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  13. package/api/resources/insuranceAdjudications/client/Client.js +15 -0
  14. package/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  15. package/api/resources/insuranceAdjudications/client/index.js +2 -0
  16. package/api/resources/insuranceAdjudications/index.d.ts +2 -0
  17. package/api/resources/insuranceAdjudications/index.js +18 -0
  18. package/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  19. package/api/resources/insuranceAdjudications/resources/index.js +37 -0
  20. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  22. package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  23. package/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  24. package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  25. package/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  26. package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  27. package/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  28. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  29. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  30. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  31. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  32. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  33. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  34. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  35. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  36. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  37. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  38. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  39. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  40. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  41. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  42. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  43. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  44. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  45. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  46. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  47. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  48. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  49. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  50. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  51. package/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  52. package/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  53. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  55. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  56. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
  57. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  58. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  59. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  60. package/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  61. package/api/resources/x12/resources/v1/types/Carc.js +410 -0
  62. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  63. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  64. package/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  65. package/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  66. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  67. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  68. package/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  69. package/api/resources/x12/resources/v1/types/index.js +4 -0
  70. package/dist/Client.d.ts +3 -0
  71. package/dist/Client.js +43 -38
  72. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
  73. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
  74. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  75. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  76. package/dist/api/resources/commons/types/index.d.ts +1 -0
  77. package/dist/api/resources/commons/types/index.js +1 -0
  78. package/dist/api/resources/index.d.ts +1 -0
  79. package/dist/api/resources/index.js +3 -2
  80. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  81. package/dist/api/resources/insuranceAdjudications/client/Client.js +15 -0
  82. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  83. package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
  84. package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
  85. package/dist/api/resources/insuranceAdjudications/index.js +18 -0
  86. package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  87. package/dist/api/resources/insuranceAdjudications/resources/index.js +37 -0
  88. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  89. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  90. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  91. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  92. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  93. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  94. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  95. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  96. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  97. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  98. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  99. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  100. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  101. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  103. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  104. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  105. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  106. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  107. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  108. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  109. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  110. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  111. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  112. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  113. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  114. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  115. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  116. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  117. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  118. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  119. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  120. package/dist/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  121. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  122. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  123. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  124. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
  125. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  126. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  127. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  128. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  129. package/dist/api/resources/x12/resources/v1/types/Carc.js +410 -0
  130. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  131. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  132. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  133. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  134. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  135. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  136. package/dist/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  137. package/dist/api/resources/x12/resources/v1/types/index.js +4 -0
  138. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  139. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  140. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  141. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  142. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  143. package/dist/serialization/resources/commons/types/index.js +1 -0
  144. package/dist/serialization/resources/index.d.ts +1 -0
  145. package/dist/serialization/resources/index.js +3 -2
  146. package/dist/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  147. package/dist/serialization/resources/insuranceAdjudications/index.js +17 -0
  148. package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  149. package/dist/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  150. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  151. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  152. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  153. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  154. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  155. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  156. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  157. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  158. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  159. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  160. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  161. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  162. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  163. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  164. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  165. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  166. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  167. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  168. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  169. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  170. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  171. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  172. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  173. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  174. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  175. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  176. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  177. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  178. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  179. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  180. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  181. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  182. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  183. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  184. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  185. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  186. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  187. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  188. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  189. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  190. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  191. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  192. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  193. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  194. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  195. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  196. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  197. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  198. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  199. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  200. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  201. package/dist/serialization/resources/x12/resources/v1/types/index.js +4 -0
  202. package/dist/version.d.ts +1 -1
  203. package/dist/version.js +1 -1
  204. package/package.json +1 -1
  205. package/reference.md +64 -0
  206. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  207. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  208. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  209. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  210. package/serialization/resources/commons/types/index.d.ts +1 -0
  211. package/serialization/resources/commons/types/index.js +1 -0
  212. package/serialization/resources/index.d.ts +1 -0
  213. package/serialization/resources/index.js +3 -2
  214. package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  215. package/serialization/resources/insuranceAdjudications/index.js +17 -0
  216. package/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  217. package/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  218. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  219. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  220. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  221. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  222. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  223. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  224. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  225. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  226. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  227. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  228. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  229. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  230. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  231. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  232. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  233. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  234. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  235. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  236. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  237. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  238. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  239. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  240. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  241. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  242. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  243. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  244. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  245. package/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  246. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  247. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  248. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  249. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  250. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  251. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  252. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  253. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  254. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  255. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  256. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  257. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  258. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  259. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  260. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  261. package/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  262. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  263. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  264. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  265. package/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  266. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  267. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  268. package/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  269. package/serialization/resources/x12/resources/v1/types/index.js +4 -0
  270. package/version.d.ts +1 -1
  271. package/version.js +1 -1
@@ -0,0 +1,4 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface RemittanceAdviceRemarkCode {
3
+ reasonCode: CandidApi.x12.v1.Rarc;
4
+ }
@@ -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,5 +1,9 @@
1
+ export * from "./Carc";
2
+ export * from "./ClaimAdjustmentReasonCode";
1
3
  export * from "./PatientDischargeStatusCode";
2
4
  export * from "./PointOfOriginForAdmissionOrVisitCode";
5
+ export * from "./Rarc";
6
+ export * from "./RemittanceAdviceRemarkCode";
3
7
  export * from "./TypeOfAdmissionOrVisitCode";
4
8
  export * from "./TypeOfBillComposite";
5
9
  export * from "./TypeOfBillCompositeBase";
@@ -14,8 +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("./Carc"), exports);
18
+ __exportStar(require("./ClaimAdjustmentReasonCode"), exports);
17
19
  __exportStar(require("./PatientDischargeStatusCode"), exports);
18
20
  __exportStar(require("./PointOfOriginForAdmissionOrVisitCode"), exports);
21
+ __exportStar(require("./Rarc"), exports);
22
+ __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
19
23
  __exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
20
24
  __exportStar(require("./TypeOfBillComposite"), exports);
21
25
  __exportStar(require("./TypeOfBillCompositeBase"), exports);
package/dist/Client.d.ts CHANGED
@@ -18,6 +18,7 @@ import { FeeSchedules } from "./api/resources/feeSchedules/client/Client";
18
18
  import { Guarantor } from "./api/resources/guarantor/client/Client";
19
19
  import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
20
20
  import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
21
+ import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
21
22
  import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
22
23
  import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
23
24
  import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
@@ -68,6 +69,7 @@ export declare class CandidApiClient {
68
69
  protected _guarantor: Guarantor | undefined;
69
70
  protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
70
71
  protected _importInvoice: ImportInvoice | undefined;
72
+ protected _insuranceAdjudications: InsuranceAdjudications | undefined;
71
73
  protected _insurancePayments: InsurancePayments | undefined;
72
74
  protected _insuranceRefunds: InsuranceRefunds | undefined;
73
75
  protected _medicationDispense: MedicationDispense | undefined;
@@ -107,6 +109,7 @@ export declare class CandidApiClient {
107
109
  get guarantor(): Guarantor;
108
110
  get healthCareCodeInformation(): HealthCareCodeInformation;
109
111
  get importInvoice(): ImportInvoice;
112
+ get insuranceAdjudications(): InsuranceAdjudications;
110
113
  get insurancePayments(): InsurancePayments;
111
114
  get insuranceRefunds(): InsuranceRefunds;
112
115
  get medicationDispense(): MedicationDispense;
package/dist/Client.js CHANGED
@@ -65,24 +65,25 @@ const Client_18 = require("./api/resources/feeSchedules/client/Client");
65
65
  const Client_19 = require("./api/resources/guarantor/client/Client");
66
66
  const Client_20 = require("./api/resources/healthCareCodeInformation/client/Client");
67
67
  const Client_21 = require("./api/resources/importInvoice/client/Client");
68
- const Client_22 = require("./api/resources/insurancePayments/client/Client");
69
- const Client_23 = require("./api/resources/insuranceRefunds/client/Client");
70
- const Client_24 = require("./api/resources/medicationDispense/client/Client");
71
- const Client_25 = require("./api/resources/nonInsurancePayerPayments/client/Client");
72
- const Client_26 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
73
- const Client_27 = require("./api/resources/nonInsurancePayers/client/Client");
74
- const Client_28 = require("./api/resources/organizationProviders/client/Client");
75
- const Client_29 = require("./api/resources/organizationServiceFacilities/client/Client");
76
- const Client_30 = require("./api/resources/patientAr/client/Client");
77
- const Client_31 = require("./api/resources/patientPayments/client/Client");
78
- const Client_32 = require("./api/resources/patientRefunds/client/Client");
79
- const Client_33 = require("./api/resources/payerPlanGroups/client/Client");
80
- const Client_34 = require("./api/resources/payers/client/Client");
81
- const Client_35 = require("./api/resources/preEncounter/client/Client");
82
- const Client_36 = require("./api/resources/serviceLines/client/Client");
83
- const Client_37 = require("./api/resources/superbills/client/Client");
84
- const Client_38 = require("./api/resources/tasks/client/Client");
85
- const Client_39 = require("./api/resources/writeOffs/client/Client");
68
+ const Client_22 = require("./api/resources/insuranceAdjudications/client/Client");
69
+ const Client_23 = require("./api/resources/insurancePayments/client/Client");
70
+ const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
71
+ const Client_25 = require("./api/resources/medicationDispense/client/Client");
72
+ const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
73
+ const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
74
+ const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
75
+ const Client_29 = require("./api/resources/organizationProviders/client/Client");
76
+ const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
77
+ const Client_31 = require("./api/resources/patientAr/client/Client");
78
+ const Client_32 = require("./api/resources/patientPayments/client/Client");
79
+ const Client_33 = require("./api/resources/patientRefunds/client/Client");
80
+ const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
81
+ const Client_35 = require("./api/resources/payers/client/Client");
82
+ const Client_36 = require("./api/resources/preEncounter/client/Client");
83
+ const Client_37 = require("./api/resources/serviceLines/client/Client");
84
+ const Client_38 = require("./api/resources/superbills/client/Client");
85
+ const Client_39 = require("./api/resources/tasks/client/Client");
86
+ const Client_40 = require("./api/resources/writeOffs/client/Client");
86
87
  const core = __importStar(require("./core"));
87
88
  const headers_1 = require("./core/headers");
88
89
  class CandidApiClient {
@@ -90,8 +91,8 @@ class CandidApiClient {
90
91
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
91
92
  "X-Fern-Language": "JavaScript",
92
93
  "X-Fern-SDK-Name": "candidhealth",
93
- "X-Fern-SDK-Version": "1.14.4",
94
- "User-Agent": "candidhealth/1.14.4",
94
+ "X-Fern-SDK-Version": "1.15.0",
95
+ "User-Agent": "candidhealth/1.15.0",
95
96
  "X-Fern-Runtime": core.RUNTIME.type,
96
97
  "X-Fern-Runtime-Version": core.RUNTIME.version,
97
98
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -177,77 +178,81 @@ class CandidApiClient {
177
178
  var _a;
178
179
  return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_21.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
179
180
  }
181
+ get insuranceAdjudications() {
182
+ var _a;
183
+ return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_22.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
184
+ }
180
185
  get insurancePayments() {
181
186
  var _a;
182
- return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_22.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
187
+ return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_23.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
183
188
  }
184
189
  get insuranceRefunds() {
185
190
  var _a;
186
- return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_23.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
191
+ return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
187
192
  }
188
193
  get medicationDispense() {
189
194
  var _a;
190
- return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_24.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
195
+ return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
191
196
  }
192
197
  get nonInsurancePayerPayments() {
193
198
  var _a;
194
- return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_25.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
199
+ return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
195
200
  }
196
201
  get nonInsurancePayerRefunds() {
197
202
  var _a;
198
- return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_26.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
203
+ return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
199
204
  }
200
205
  get nonInsurancePayers() {
201
206
  var _a;
202
- return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_27.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
207
+ return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
203
208
  }
204
209
  get organizationProviders() {
205
210
  var _a;
206
- return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_28.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
211
+ return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
207
212
  }
208
213
  get organizationServiceFacilities() {
209
214
  var _a;
210
- return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_29.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
215
+ return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
211
216
  }
212
217
  get patientAr() {
213
218
  var _a;
214
- return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_30.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
219
+ return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
215
220
  }
216
221
  get patientPayments() {
217
222
  var _a;
218
- return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_31.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
223
+ return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
219
224
  }
220
225
  get patientRefunds() {
221
226
  var _a;
222
- return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_32.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
227
+ return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
223
228
  }
224
229
  get payerPlanGroups() {
225
230
  var _a;
226
- return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_33.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
231
+ return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
227
232
  }
228
233
  get payers() {
229
234
  var _a;
230
- return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_34.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
235
+ return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
231
236
  }
232
237
  get serviceLines() {
233
238
  var _a;
234
- return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_36.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
239
+ return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_37.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
235
240
  }
236
241
  get superbills() {
237
242
  var _a;
238
- return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_37.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
243
+ return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_38.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
239
244
  }
240
245
  get tasks() {
241
246
  var _a;
242
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_38.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
247
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_39.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
243
248
  }
244
249
  get writeOffs() {
245
250
  var _a;
246
- return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_39.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
251
+ return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_40.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
247
252
  }
248
253
  get preEncounter() {
249
254
  var _a;
250
- return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_35.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
255
+ return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
251
256
  }
252
257
  get diagnoses() {
253
258
  var _a;
@@ -0,0 +1,13 @@
1
+ export declare const ClaimAdjustmentGroupCodes: {
2
+ readonly Co: "CO";
3
+ readonly Cr: "CR";
4
+ readonly De: "DE";
5
+ readonly Ma: "MA";
6
+ readonly Oa: "OA";
7
+ readonly Pi: "PI";
8
+ readonly Pr: "PR";
9
+ readonly Rr: "RR";
10
+ readonly Nc: "NC";
11
+ readonly Unknown: "UNKNOWN";
12
+ };
13
+ export type ClaimAdjustmentGroupCodes = (typeof ClaimAdjustmentGroupCodes)[keyof typeof ClaimAdjustmentGroupCodes];
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ClaimAdjustmentGroupCodes = void 0;
5
+ exports.ClaimAdjustmentGroupCodes = {
6
+ Co: "CO",
7
+ Cr: "CR",
8
+ De: "DE",
9
+ Ma: "MA",
10
+ Oa: "OA",
11
+ Pi: "PI",
12
+ Pr: "PR",
13
+ Rr: "RR",
14
+ Nc: "NC",
15
+ Unknown: "UNKNOWN",
16
+ };
@@ -1210,5 +1210,8 @@ export declare const ProcedureModifier: {
1210
1210
  /**
1211
1211
  * Custom modifier */
1212
1212
  readonly Xy: "XY";
1213
+ /**
1214
+ * Custom modifier representing an invalid modifier */
1215
+ readonly Zz: "ZZ";
1213
1216
  };
1214
1217
  export type ProcedureModifier = (typeof ProcedureModifier)[keyof typeof ProcedureModifier];
@@ -1214,4 +1214,7 @@ exports.ProcedureModifier = {
1214
1214
  /**
1215
1215
  * Custom modifier */
1216
1216
  Xy: "XY",
1217
+ /**
1218
+ * Custom modifier representing an invalid modifier */
1219
+ Zz: "ZZ",
1217
1220
  };
@@ -4,6 +4,7 @@ export * from "./BillingProviderCommercialLicenseType";
4
4
  export * from "./ChargeCaptureClaimCreationId";
5
5
  export * from "./ChargeCaptureId";
6
6
  export * from "./ChargeCapturePostBilledChangeId";
7
+ export * from "./ClaimAdjustmentGroupCodes";
7
8
  export * from "./ClaimId";
8
9
  export * from "./ClaimSubmissionPayerResponsibilityType";
9
10
  export * from "./Clearinghouse";
@@ -20,6 +20,7 @@ __exportStar(require("./BillingProviderCommercialLicenseType"), exports);
20
20
  __exportStar(require("./ChargeCaptureClaimCreationId"), exports);
21
21
  __exportStar(require("./ChargeCaptureId"), exports);
22
22
  __exportStar(require("./ChargeCapturePostBilledChangeId"), exports);
23
+ __exportStar(require("./ClaimAdjustmentGroupCodes"), exports);
23
24
  __exportStar(require("./ClaimId"), exports);
24
25
  __exportStar(require("./ClaimSubmissionPayerResponsibilityType"), exports);
25
26
  __exportStar(require("./Clearinghouse"), exports);
@@ -35,6 +35,7 @@ export * from "./identifiers/types";
35
35
  export * as importInvoice from "./importInvoice";
36
36
  export * as individual from "./individual";
37
37
  export * from "./individual/types";
38
+ export * as insuranceAdjudications from "./insuranceAdjudications";
38
39
  export * as insuranceCards from "./insuranceCards";
39
40
  export * as insurancePayments from "./insurancePayments";
40
41
  export * as insuranceRefunds from "./insuranceRefunds";
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.superbills = exports.serviceLines = exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
40
- exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = void 0;
39
+ exports.serviceLines = exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
40
+ exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = void 0;
41
41
  exports.auth = __importStar(require("./auth"));
42
42
  exports.billingNotes = __importStar(require("./billingNotes"));
43
43
  exports.chargeCapture = __importStar(require("./chargeCapture"));
@@ -75,6 +75,7 @@ __exportStar(require("./identifiers/types"), exports);
75
75
  exports.importInvoice = __importStar(require("./importInvoice"));
76
76
  exports.individual = __importStar(require("./individual"));
77
77
  __exportStar(require("./individual/types"), exports);
78
+ exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
78
79
  exports.insuranceCards = __importStar(require("./insuranceCards"));
79
80
  exports.insurancePayments = __importStar(require("./insurancePayments"));
80
81
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
@@ -0,0 +1,14 @@
1
+ import type { BaseClientOptions } from "../../../../BaseClient";
2
+ import type * as core from "../../../../core";
3
+ import { V1 } from "../resources/v1/client/Client";
4
+ export declare namespace InsuranceAdjudications {
5
+ interface Options extends BaseClientOptions {
6
+ token?: core.Supplier<core.BearerToken | undefined>;
7
+ }
8
+ }
9
+ export declare class InsuranceAdjudications {
10
+ protected readonly _options: InsuranceAdjudications.Options;
11
+ protected _v1: V1 | undefined;
12
+ constructor(_options?: InsuranceAdjudications.Options);
13
+ get v1(): V1;
14
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InsuranceAdjudications = void 0;
5
+ const Client_1 = require("../resources/v1/client/Client");
6
+ class InsuranceAdjudications {
7
+ constructor(_options = {}) {
8
+ this._options = _options;
9
+ }
10
+ get v1() {
11
+ var _a;
12
+ return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
13
+ }
14
+ }
15
+ exports.InsuranceAdjudications = InsuranceAdjudications;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./resources";
@@ -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("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -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.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,26 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
2
+ import * as core from "../../../../../../core";
3
+ import * as CandidApi from "../../../../../index";
4
+ export declare namespace V1 {
5
+ interface Options extends BaseClientOptions {
6
+ token?: core.Supplier<core.BearerToken | undefined>;
7
+ }
8
+ interface RequestOptions extends BaseRequestOptions {
9
+ }
10
+ }
11
+ export declare class V1 {
12
+ protected readonly _options: V1.Options;
13
+ constructor(_options?: V1.Options);
14
+ /**
15
+ * Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
16
+ *
17
+ * @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
18
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
19
+ *
20
+ * @example
21
+ * await client.insuranceAdjudications.v1.get(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
22
+ */
23
+ get(insuranceAdjudicationId: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.insuranceAdjudications.v1.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.get.Error>>;
24
+ private __get;
25
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
26
+ }
@@ -0,0 +1,117 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.V1 = void 0;
47
+ const core = __importStar(require("../../../../../../core"));
48
+ const headers_1 = require("../../../../../../core/headers");
49
+ const environments = __importStar(require("../../../../../../environments"));
50
+ const serializers = __importStar(require("../../../../../../serialization/index"));
51
+ const CandidApi = __importStar(require("../../../../../index"));
52
+ class V1 {
53
+ constructor(_options = {}) {
54
+ this._options = _options;
55
+ }
56
+ /**
57
+ * Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
58
+ *
59
+ * @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
60
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
61
+ *
62
+ * @example
63
+ * await client.insuranceAdjudications.v1.get(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
64
+ */
65
+ get(insuranceAdjudicationId, requestOptions) {
66
+ return core.HttpResponsePromise.fromPromise(this.__get(insuranceAdjudicationId, requestOptions));
67
+ }
68
+ __get(insuranceAdjudicationId, requestOptions) {
69
+ return __awaiter(this, void 0, void 0, function* () {
70
+ var _a, _b, _c, _d, _e, _f, _g, _h;
71
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
72
+ const _response = yield core.fetcher({
73
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${core.url.encodePathParam(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
74
+ method: "GET",
75
+ headers: _headers,
76
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
77
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
78
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
79
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
80
+ });
81
+ if (_response.ok) {
82
+ return {
83
+ data: {
84
+ ok: true,
85
+ body: serializers.insuranceAdjudications.v1.InsuranceAdjudication.parseOrThrow(_response.body, {
86
+ unrecognizedObjectKeys: "passthrough",
87
+ allowUnrecognizedUnionMembers: true,
88
+ allowUnrecognizedEnumValues: true,
89
+ breadcrumbsPrefix: ["response"],
90
+ }),
91
+ headers: _response.headers,
92
+ rawResponse: _response.rawResponse,
93
+ },
94
+ rawResponse: _response.rawResponse,
95
+ };
96
+ }
97
+ return {
98
+ data: {
99
+ ok: false,
100
+ error: CandidApi.insuranceAdjudications.v1.get.Error._unknown(_response.error),
101
+ rawResponse: _response.rawResponse,
102
+ },
103
+ rawResponse: _response.rawResponse,
104
+ };
105
+ });
106
+ }
107
+ _getAuthorizationHeader() {
108
+ return __awaiter(this, void 0, void 0, function* () {
109
+ const bearer = yield core.Supplier.get(this._options.token);
110
+ if (bearer != null) {
111
+ return `Bearer ${bearer}`;
112
+ }
113
+ return undefined;
114
+ });
115
+ }
116
+ }
117
+ exports.V1 = V1;
@@ -0,0 +1,19 @@
1
+ import type * as core from "../../../../../../core";
2
+ import * as CandidApi from "../../../../../index";
3
+ export type Error = CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
4
+ export declare namespace Error {
5
+ interface _Unknown extends _Utils {
6
+ errorName: void;
7
+ content: core.Fetcher.Error;
8
+ }
9
+ interface _Utils {
10
+ _visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
11
+ }
12
+ interface _Visitor<_Result> {
13
+ _other: (value: core.Fetcher.Error) => _Result;
14
+ }
15
+ }
16
+ export declare const Error: {
17
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
18
+ readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.get.Error, visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
19
+ };