candidhealth 0.6.3 → 0.7.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 (883) hide show
  1. package/Client.d.ts +15 -0
  2. package/Client.js +29 -4
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/auth/resources/v2/types/AuthGetTokenRequest.d.ts +7 -0
  5. package/api/resources/auth/resources/v2/types/AuthGetTokenResponse.d.ts +8 -0
  6. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  7. package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +11 -0
  8. package/api/resources/claimSubmission/index.d.ts +1 -0
  9. package/api/resources/claimSubmission/index.js +17 -0
  10. package/api/resources/claimSubmission/resources/index.d.ts +1 -0
  11. package/api/resources/claimSubmission/resources/index.js +27 -0
  12. package/api/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  13. package/api/resources/claimSubmission/resources/v1/index.js +17 -0
  14. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  15. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +12 -0
  16. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +27 -0
  17. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +5 -0
  18. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +32 -0
  19. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +5 -0
  20. package/api/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  21. package/api/resources/claimSubmission/resources/v1/types/index.js +19 -0
  22. package/api/resources/claims/types/Claim.d.ts +76 -0
  23. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +15 -0
  24. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +17 -0
  25. package/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +8 -0
  26. package/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +10 -0
  27. package/api/resources/commons/types/Email.d.ts +4 -0
  28. package/api/resources/commons/types/PageToken.d.ts +4 -0
  29. package/api/resources/commons/types/PhoneNumber.d.ts +7 -0
  30. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  31. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  32. package/api/resources/commons/types/ProviderId.d.ts +8 -0
  33. package/api/resources/commons/types/ProviderId.js +10 -0
  34. package/api/resources/commons/types/StreetAddressLongZip.d.ts +11 -0
  35. package/api/resources/commons/types/StreetAddressShortZip.d.ts +11 -0
  36. package/api/resources/commons/types/index.d.ts +4 -0
  37. package/api/resources/commons/types/index.js +4 -0
  38. package/api/resources/diagnoses/types/Diagnosis.d.ts +12 -0
  39. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  40. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +20 -0
  41. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  42. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -0
  43. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  44. package/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +13 -0
  45. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +368 -0
  46. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +6 -0
  47. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +370 -0
  48. package/api/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +8 -0
  49. package/api/resources/encounters/resources/v4/types/IntakeQuestion.d.ts +15 -0
  50. package/api/resources/encounters/resources/v4/types/IntakeResponseAndFollowUps.d.ts +11 -0
  51. package/api/resources/encounters/resources/v4/types/Intervention.d.ts +21 -0
  52. package/api/resources/encounters/resources/v4/types/Lab.d.ts +8 -0
  53. package/api/resources/encounters/resources/v4/types/Medication.d.ts +11 -0
  54. package/api/resources/encounters/resources/v4/types/PatientHistoryCategory.d.ts +18 -0
  55. package/api/resources/encounters/resources/v4/types/Vitals.d.ts +10 -0
  56. package/api/resources/era/types/Era.d.ts +8 -0
  57. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  58. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  59. package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +9 -0
  60. package/api/resources/financials/index.d.ts +1 -0
  61. package/api/resources/financials/index.js +17 -0
  62. package/api/resources/financials/types/Allocation.d.ts +8 -0
  63. package/api/resources/financials/types/Allocation.js +5 -0
  64. package/api/resources/financials/types/AllocationCreate.d.ts +8 -0
  65. package/api/resources/financials/types/AllocationCreate.js +5 -0
  66. package/api/resources/financials/types/AllocationRecipient.d.ts +19 -0
  67. package/api/resources/financials/types/AllocationRecipient.js +5 -0
  68. package/api/resources/financials/types/AllocationRecipientCreate.d.ts +19 -0
  69. package/api/resources/financials/types/AllocationRecipientCreate.js +5 -0
  70. package/api/resources/financials/types/RefundAllocation.d.ts +8 -0
  71. package/api/resources/financials/types/RefundAllocation.js +5 -0
  72. package/api/resources/financials/types/RefundAllocationCreate.d.ts +8 -0
  73. package/api/resources/financials/types/RefundAllocationCreate.js +5 -0
  74. package/api/resources/financials/types/RefundReason.d.ts +7 -0
  75. package/api/resources/financials/types/RefundReason.js +9 -0
  76. package/api/resources/financials/types/index.d.ts +7 -0
  77. package/api/resources/financials/types/index.js +23 -0
  78. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  79. package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +25 -0
  80. package/api/resources/identifiers/types/Identifier.d.ts +12 -0
  81. package/api/resources/index.d.ts +8 -0
  82. package/api/resources/index.js +9 -1
  83. package/api/resources/individual/types/Patient.d.ts +26 -0
  84. package/api/resources/individual/types/Subscriber.d.ts +33 -0
  85. package/api/resources/insuranceAdjudication/client/Client.d.ts +18 -0
  86. package/api/resources/insuranceAdjudication/client/Client.js +18 -0
  87. package/api/resources/insuranceAdjudication/client/index.d.ts +1 -0
  88. package/api/resources/insuranceAdjudication/client/index.js +2 -0
  89. package/api/resources/insuranceAdjudication/index.d.ts +2 -0
  90. package/api/resources/insuranceAdjudication/index.js +18 -0
  91. package/api/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  92. package/api/resources/insuranceAdjudication/resources/index.js +27 -0
  93. package/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +32 -0
  94. package/api/resources/insuranceAdjudication/resources/v1/client/Client.js +148 -0
  95. package/api/resources/insuranceAdjudication/resources/v1/client/create.d.ts +22 -0
  96. package/api/resources/insuranceAdjudication/resources/v1/client/create.js +47 -0
  97. package/api/resources/insuranceAdjudication/resources/v1/client/delete.d.ts +22 -0
  98. package/api/resources/insuranceAdjudication/resources/v1/client/delete.js +47 -0
  99. package/api/resources/insuranceAdjudication/resources/v1/client/get.d.ts +22 -0
  100. package/api/resources/insuranceAdjudication/resources/v1/client/get.js +47 -0
  101. package/api/resources/insuranceAdjudication/resources/v1/client/index.d.ts +3 -0
  102. package/api/resources/insuranceAdjudication/resources/v1/client/index.js +29 -0
  103. package/api/resources/insuranceAdjudication/resources/v1/index.d.ts +2 -0
  104. package/api/resources/insuranceAdjudication/resources/v1/index.js +18 -0
  105. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  106. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +5 -0
  107. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +10 -0
  108. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  109. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +9 -0
  110. package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  111. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +14 -0
  112. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +5 -0
  113. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +13 -0
  114. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  115. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +8 -0
  116. package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +10 -0
  117. package/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +7 -0
  118. package/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  119. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +16 -0
  120. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +5 -0
  121. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +15 -0
  122. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  123. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +8 -0
  124. package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +10 -0
  125. package/api/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  126. package/api/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  127. package/api/resources/insuranceCard/types/InsuranceCard.d.ts +17 -0
  128. package/api/resources/insuranceRefunds/client/Client.d.ts +18 -0
  129. package/api/resources/insuranceRefunds/client/Client.js +18 -0
  130. package/api/resources/insuranceRefunds/client/index.d.ts +1 -0
  131. package/api/resources/insuranceRefunds/client/index.js +2 -0
  132. package/api/resources/insuranceRefunds/index.d.ts +2 -0
  133. package/api/resources/insuranceRefunds/index.js +18 -0
  134. package/api/resources/insuranceRefunds/resources/index.d.ts +1 -0
  135. package/api/resources/insuranceRefunds/resources/index.js +27 -0
  136. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +37 -0
  137. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +153 -0
  138. package/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
  139. package/api/resources/insuranceRefunds/resources/v1/client/create.js +47 -0
  140. package/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
  141. package/api/resources/insuranceRefunds/resources/v1/client/delete.js +47 -0
  142. package/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +22 -0
  143. package/api/resources/insuranceRefunds/resources/v1/client/get.js +47 -0
  144. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +3 -0
  145. package/api/resources/insuranceRefunds/resources/v1/client/index.js +29 -0
  146. package/api/resources/insuranceRefunds/resources/v1/index.d.ts +2 -0
  147. package/api/resources/insuranceRefunds/resources/v1/index.js +18 -0
  148. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +11 -0
  149. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +5 -0
  150. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +10 -0
  151. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +5 -0
  152. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +8 -0
  153. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +10 -0
  154. package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  155. package/api/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  156. package/api/resources/invoices/types/index.d.ts +0 -1
  157. package/api/resources/invoices/types/index.js +0 -1
  158. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  159. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +29 -0
  160. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +27 -0
  161. package/api/resources/patientPayments/client/Client.d.ts +18 -0
  162. package/api/resources/patientPayments/client/Client.js +18 -0
  163. package/api/resources/patientPayments/client/index.d.ts +1 -0
  164. package/api/resources/patientPayments/client/index.js +2 -0
  165. package/api/resources/patientPayments/index.d.ts +1 -0
  166. package/api/resources/patientPayments/index.js +1 -0
  167. package/api/resources/patientPayments/resources/index.d.ts +1 -0
  168. package/api/resources/patientPayments/resources/index.js +2 -1
  169. package/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +17 -0
  170. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +34 -0
  171. package/api/resources/patientPayments/resources/v4/client/Client.js +150 -0
  172. package/api/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
  173. package/api/resources/patientPayments/resources/v4/client/create.js +47 -0
  174. package/api/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
  175. package/api/resources/patientPayments/resources/v4/client/delete.js +47 -0
  176. package/api/resources/patientPayments/resources/v4/client/get.d.ts +22 -0
  177. package/api/resources/patientPayments/resources/v4/client/get.js +47 -0
  178. package/api/resources/patientPayments/resources/v4/client/index.d.ts +4 -0
  179. package/api/resources/patientPayments/resources/v4/client/index.js +33 -0
  180. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +12 -0
  181. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +5 -0
  182. package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  183. package/api/resources/patientPayments/resources/v4/client/requests/index.js +2 -0
  184. package/api/resources/patientPayments/resources/v4/index.d.ts +2 -0
  185. package/api/resources/patientPayments/resources/v4/index.js +18 -0
  186. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +14 -0
  187. package/api/resources/patientPayments/resources/v4/types/PatientPayment.js +5 -0
  188. package/api/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +8 -0
  189. package/api/resources/patientPayments/resources/v4/types/PatientPaymentId.js +10 -0
  190. package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  191. package/api/resources/patientPayments/resources/v4/types/index.js +18 -0
  192. package/api/resources/patientRefunds/client/Client.d.ts +18 -0
  193. package/api/resources/patientRefunds/client/Client.js +18 -0
  194. package/api/resources/patientRefunds/client/index.d.ts +1 -0
  195. package/api/resources/patientRefunds/client/index.js +2 -0
  196. package/api/resources/patientRefunds/index.d.ts +2 -0
  197. package/api/resources/patientRefunds/index.js +18 -0
  198. package/api/resources/patientRefunds/resources/index.d.ts +1 -0
  199. package/api/resources/patientRefunds/resources/index.js +27 -0
  200. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +34 -0
  201. package/api/resources/patientRefunds/resources/v1/client/Client.js +150 -0
  202. package/api/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
  203. package/api/resources/patientRefunds/resources/v1/client/create.js +47 -0
  204. package/api/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
  205. package/api/resources/patientRefunds/resources/v1/client/delete.js +47 -0
  206. package/api/resources/patientRefunds/resources/v1/client/get.d.ts +22 -0
  207. package/api/resources/patientRefunds/resources/v1/client/get.js +47 -0
  208. package/api/resources/patientRefunds/resources/v1/client/index.d.ts +4 -0
  209. package/api/resources/patientRefunds/resources/v1/client/index.js +33 -0
  210. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +12 -0
  211. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +5 -0
  212. package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  213. package/api/resources/patientRefunds/resources/v1/client/requests/index.js +2 -0
  214. package/api/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  215. package/api/resources/patientRefunds/resources/v1/index.js +18 -0
  216. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +14 -0
  217. package/api/resources/patientRefunds/resources/v1/types/PatientRefund.js +5 -0
  218. package/api/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +8 -0
  219. package/api/resources/patientRefunds/resources/v1/types/PatientRefundId.js +10 -0
  220. package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  221. package/api/resources/patientRefunds/resources/v1/types/index.js +18 -0
  222. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  223. package/api/resources/payers/resources/v3/types/Payer.d.ts +8 -0
  224. package/api/resources/payers/resources/v3/types/PayerPage.d.ts +10 -0
  225. package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +15 -0
  226. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +64 -0
  227. package/api/resources/tags/types/Tag.d.ts +9 -0
  228. package/api/resources/writeOffs/client/Client.d.ts +18 -0
  229. package/api/resources/writeOffs/client/Client.js +18 -0
  230. package/api/resources/writeOffs/client/index.d.ts +1 -0
  231. package/api/resources/writeOffs/client/index.js +2 -0
  232. package/api/resources/writeOffs/index.d.ts +2 -0
  233. package/api/resources/writeOffs/index.js +18 -0
  234. package/api/resources/writeOffs/resources/index.d.ts +1 -0
  235. package/api/resources/writeOffs/resources/index.js +27 -0
  236. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +34 -0
  237. package/api/resources/writeOffs/resources/v1/client/Client.js +155 -0
  238. package/api/resources/writeOffs/resources/v1/client/create.d.ts +22 -0
  239. package/api/resources/writeOffs/resources/v1/client/create.js +47 -0
  240. package/api/resources/writeOffs/resources/v1/client/get.d.ts +22 -0
  241. package/api/resources/writeOffs/resources/v1/client/get.js +47 -0
  242. package/api/resources/writeOffs/resources/v1/client/index.d.ts +4 -0
  243. package/api/resources/writeOffs/resources/v1/client/index.js +33 -0
  244. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +7 -0
  245. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +5 -0
  246. package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  247. package/api/resources/writeOffs/resources/v1/client/requests/index.js +2 -0
  248. package/api/resources/writeOffs/resources/v1/client/revert.d.ts +22 -0
  249. package/api/resources/writeOffs/resources/v1/client/revert.js +47 -0
  250. package/api/resources/writeOffs/resources/v1/index.d.ts +2 -0
  251. package/api/resources/writeOffs/resources/v1/index.js +18 -0
  252. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +11 -0
  253. package/api/resources/writeOffs/resources/v1/types/WriteOff.js +5 -0
  254. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +10 -0
  255. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.js +5 -0
  256. package/api/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +8 -0
  257. package/api/resources/writeOffs/resources/v1/types/WriteOffId.js +10 -0
  258. package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  259. package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +12 -0
  260. package/api/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  261. package/api/resources/writeOffs/resources/v1/types/index.js +20 -0
  262. package/api/resources/x12/index.d.ts +1 -0
  263. package/api/resources/x12/index.js +17 -0
  264. package/api/resources/x12/resources/index.d.ts +1 -0
  265. package/api/resources/x12/resources/index.js +27 -0
  266. package/api/resources/x12/resources/v1/index.d.ts +1 -0
  267. package/api/resources/x12/resources/v1/index.js +17 -0
  268. package/api/resources/x12/resources/v1/types/Carc.d.ts +272 -0
  269. package/api/resources/x12/resources/v1/types/Carc.js +274 -0
  270. package/api/resources/x12/resources/v1/types/Rarc.d.ts +1066 -0
  271. package/api/resources/x12/resources/v1/types/Rarc.js +1068 -0
  272. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  273. package/api/resources/x12/resources/v1/types/index.js +18 -0
  274. package/dist/Client.d.ts +15 -0
  275. package/dist/Client.js +29 -4
  276. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  277. package/dist/api/resources/auth/resources/v2/types/AuthGetTokenRequest.d.ts +7 -0
  278. package/dist/api/resources/auth/resources/v2/types/AuthGetTokenResponse.d.ts +8 -0
  279. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  280. package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +11 -0
  281. package/dist/api/resources/claimSubmission/index.d.ts +1 -0
  282. package/dist/api/resources/claimSubmission/index.js +17 -0
  283. package/dist/api/resources/claimSubmission/resources/index.d.ts +1 -0
  284. package/dist/api/resources/claimSubmission/resources/index.js +27 -0
  285. package/dist/api/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  286. package/dist/api/resources/claimSubmission/resources/v1/index.js +17 -0
  287. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  288. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +12 -0
  289. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +27 -0
  290. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +5 -0
  291. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +32 -0
  292. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +5 -0
  293. package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  294. package/dist/api/resources/claimSubmission/resources/v1/types/index.js +19 -0
  295. package/dist/api/resources/claims/types/Claim.d.ts +76 -0
  296. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +15 -0
  297. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +17 -0
  298. package/dist/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +8 -0
  299. package/dist/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +10 -0
  300. package/dist/api/resources/commons/types/Email.d.ts +4 -0
  301. package/dist/api/resources/commons/types/PageToken.d.ts +4 -0
  302. package/dist/api/resources/commons/types/PhoneNumber.d.ts +7 -0
  303. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  304. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  305. package/dist/api/resources/commons/types/ProviderId.d.ts +8 -0
  306. package/dist/api/resources/commons/types/ProviderId.js +10 -0
  307. package/dist/api/resources/commons/types/StreetAddressLongZip.d.ts +11 -0
  308. package/dist/api/resources/commons/types/StreetAddressShortZip.d.ts +11 -0
  309. package/dist/api/resources/commons/types/index.d.ts +4 -0
  310. package/dist/api/resources/commons/types/index.js +4 -0
  311. package/dist/api/resources/diagnoses/types/Diagnosis.d.ts +12 -0
  312. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  313. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +20 -0
  314. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  315. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -0
  316. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  317. package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +13 -0
  318. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +368 -0
  319. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +6 -0
  320. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +370 -0
  321. package/dist/api/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +8 -0
  322. package/dist/api/resources/encounters/resources/v4/types/IntakeQuestion.d.ts +15 -0
  323. package/dist/api/resources/encounters/resources/v4/types/IntakeResponseAndFollowUps.d.ts +11 -0
  324. package/dist/api/resources/encounters/resources/v4/types/Intervention.d.ts +21 -0
  325. package/dist/api/resources/encounters/resources/v4/types/Lab.d.ts +8 -0
  326. package/dist/api/resources/encounters/resources/v4/types/Medication.d.ts +11 -0
  327. package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategory.d.ts +18 -0
  328. package/dist/api/resources/encounters/resources/v4/types/Vitals.d.ts +10 -0
  329. package/dist/api/resources/era/types/Era.d.ts +8 -0
  330. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  331. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  332. package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +9 -0
  333. package/dist/api/resources/financials/index.d.ts +1 -0
  334. package/dist/api/resources/financials/index.js +17 -0
  335. package/dist/api/resources/financials/types/Allocation.d.ts +8 -0
  336. package/dist/api/resources/financials/types/Allocation.js +5 -0
  337. package/dist/api/resources/financials/types/AllocationCreate.d.ts +8 -0
  338. package/dist/api/resources/financials/types/AllocationCreate.js +5 -0
  339. package/dist/api/resources/financials/types/AllocationRecipient.d.ts +19 -0
  340. package/dist/api/resources/financials/types/AllocationRecipient.js +5 -0
  341. package/dist/api/resources/financials/types/AllocationRecipientCreate.d.ts +19 -0
  342. package/dist/api/resources/financials/types/AllocationRecipientCreate.js +5 -0
  343. package/dist/api/resources/financials/types/RefundAllocation.d.ts +8 -0
  344. package/dist/api/resources/financials/types/RefundAllocation.js +5 -0
  345. package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +8 -0
  346. package/dist/api/resources/financials/types/RefundAllocationCreate.js +5 -0
  347. package/dist/api/resources/financials/types/RefundReason.d.ts +7 -0
  348. package/dist/api/resources/financials/types/RefundReason.js +9 -0
  349. package/dist/api/resources/financials/types/index.d.ts +7 -0
  350. package/dist/api/resources/financials/types/index.js +23 -0
  351. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  352. package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +25 -0
  353. package/dist/api/resources/identifiers/types/Identifier.d.ts +12 -0
  354. package/dist/api/resources/index.d.ts +8 -0
  355. package/dist/api/resources/index.js +9 -1
  356. package/dist/api/resources/individual/types/Patient.d.ts +26 -0
  357. package/dist/api/resources/individual/types/Subscriber.d.ts +33 -0
  358. package/dist/api/resources/insuranceAdjudication/client/Client.d.ts +18 -0
  359. package/dist/api/resources/insuranceAdjudication/client/Client.js +18 -0
  360. package/dist/api/resources/insuranceAdjudication/client/index.d.ts +1 -0
  361. package/dist/api/resources/insuranceAdjudication/client/index.js +2 -0
  362. package/dist/api/resources/insuranceAdjudication/index.d.ts +2 -0
  363. package/dist/api/resources/insuranceAdjudication/index.js +18 -0
  364. package/dist/api/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  365. package/dist/api/resources/insuranceAdjudication/resources/index.js +27 -0
  366. package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +32 -0
  367. package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.js +148 -0
  368. package/dist/api/resources/insuranceAdjudication/resources/v1/client/create.d.ts +22 -0
  369. package/dist/api/resources/insuranceAdjudication/resources/v1/client/create.js +47 -0
  370. package/dist/api/resources/insuranceAdjudication/resources/v1/client/delete.d.ts +22 -0
  371. package/dist/api/resources/insuranceAdjudication/resources/v1/client/delete.js +47 -0
  372. package/dist/api/resources/insuranceAdjudication/resources/v1/client/get.d.ts +22 -0
  373. package/dist/api/resources/insuranceAdjudication/resources/v1/client/get.js +47 -0
  374. package/dist/api/resources/insuranceAdjudication/resources/v1/client/index.d.ts +3 -0
  375. package/dist/api/resources/insuranceAdjudication/resources/v1/client/index.js +29 -0
  376. package/dist/api/resources/insuranceAdjudication/resources/v1/index.d.ts +2 -0
  377. package/dist/api/resources/insuranceAdjudication/resources/v1/index.js +18 -0
  378. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  379. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +5 -0
  380. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +10 -0
  381. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
  382. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +9 -0
  383. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  384. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +14 -0
  385. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +5 -0
  386. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +13 -0
  387. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
  388. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +8 -0
  389. package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +10 -0
  390. package/dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +7 -0
  391. package/dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  392. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +16 -0
  393. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +5 -0
  394. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +15 -0
  395. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
  396. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +8 -0
  397. package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +10 -0
  398. package/dist/api/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  399. package/dist/api/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  400. package/dist/api/resources/insuranceCard/types/InsuranceCard.d.ts +17 -0
  401. package/dist/api/resources/insuranceRefunds/client/Client.d.ts +18 -0
  402. package/dist/api/resources/insuranceRefunds/client/Client.js +18 -0
  403. package/dist/api/resources/insuranceRefunds/client/index.d.ts +1 -0
  404. package/dist/api/resources/insuranceRefunds/client/index.js +2 -0
  405. package/dist/api/resources/insuranceRefunds/index.d.ts +2 -0
  406. package/dist/api/resources/insuranceRefunds/index.js +18 -0
  407. package/dist/api/resources/insuranceRefunds/resources/index.d.ts +1 -0
  408. package/dist/api/resources/insuranceRefunds/resources/index.js +27 -0
  409. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +37 -0
  410. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +153 -0
  411. package/dist/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
  412. package/dist/api/resources/insuranceRefunds/resources/v1/client/create.js +47 -0
  413. package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
  414. package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.js +47 -0
  415. package/dist/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +22 -0
  416. package/dist/api/resources/insuranceRefunds/resources/v1/client/get.js +47 -0
  417. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +3 -0
  418. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +29 -0
  419. package/dist/api/resources/insuranceRefunds/resources/v1/index.d.ts +2 -0
  420. package/dist/api/resources/insuranceRefunds/resources/v1/index.js +18 -0
  421. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +11 -0
  422. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +5 -0
  423. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +10 -0
  424. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +5 -0
  425. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +8 -0
  426. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +10 -0
  427. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  428. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  429. package/dist/api/resources/invoices/types/index.d.ts +0 -1
  430. package/dist/api/resources/invoices/types/index.js +0 -1
  431. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  432. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +29 -0
  433. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +27 -0
  434. package/dist/api/resources/patientPayments/client/Client.d.ts +18 -0
  435. package/dist/api/resources/patientPayments/client/Client.js +18 -0
  436. package/dist/api/resources/patientPayments/client/index.d.ts +1 -0
  437. package/dist/api/resources/patientPayments/client/index.js +2 -0
  438. package/dist/api/resources/patientPayments/index.d.ts +1 -0
  439. package/dist/api/resources/patientPayments/index.js +1 -0
  440. package/dist/api/resources/patientPayments/resources/index.d.ts +1 -0
  441. package/dist/api/resources/patientPayments/resources/index.js +2 -1
  442. package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +17 -0
  443. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +34 -0
  444. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +150 -0
  445. package/dist/api/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
  446. package/dist/api/resources/patientPayments/resources/v4/client/create.js +47 -0
  447. package/dist/api/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
  448. package/dist/api/resources/patientPayments/resources/v4/client/delete.js +47 -0
  449. package/dist/api/resources/patientPayments/resources/v4/client/get.d.ts +22 -0
  450. package/dist/api/resources/patientPayments/resources/v4/client/get.js +47 -0
  451. package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +4 -0
  452. package/dist/api/resources/patientPayments/resources/v4/client/index.js +33 -0
  453. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +12 -0
  454. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +5 -0
  455. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  456. package/dist/api/resources/patientPayments/resources/v4/client/requests/index.js +2 -0
  457. package/dist/api/resources/patientPayments/resources/v4/index.d.ts +2 -0
  458. package/dist/api/resources/patientPayments/resources/v4/index.js +18 -0
  459. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +14 -0
  460. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.js +5 -0
  461. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +8 -0
  462. package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentId.js +10 -0
  463. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  464. package/dist/api/resources/patientPayments/resources/v4/types/index.js +18 -0
  465. package/dist/api/resources/patientRefunds/client/Client.d.ts +18 -0
  466. package/dist/api/resources/patientRefunds/client/Client.js +18 -0
  467. package/dist/api/resources/patientRefunds/client/index.d.ts +1 -0
  468. package/dist/api/resources/patientRefunds/client/index.js +2 -0
  469. package/dist/api/resources/patientRefunds/index.d.ts +2 -0
  470. package/dist/api/resources/patientRefunds/index.js +18 -0
  471. package/dist/api/resources/patientRefunds/resources/index.d.ts +1 -0
  472. package/dist/api/resources/patientRefunds/resources/index.js +27 -0
  473. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +34 -0
  474. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +150 -0
  475. package/dist/api/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
  476. package/dist/api/resources/patientRefunds/resources/v1/client/create.js +47 -0
  477. package/dist/api/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
  478. package/dist/api/resources/patientRefunds/resources/v1/client/delete.js +47 -0
  479. package/dist/api/resources/patientRefunds/resources/v1/client/get.d.ts +22 -0
  480. package/dist/api/resources/patientRefunds/resources/v1/client/get.js +47 -0
  481. package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +4 -0
  482. package/dist/api/resources/patientRefunds/resources/v1/client/index.js +33 -0
  483. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +12 -0
  484. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +5 -0
  485. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  486. package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.js +2 -0
  487. package/dist/api/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  488. package/dist/api/resources/patientRefunds/resources/v1/index.js +18 -0
  489. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +14 -0
  490. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.js +5 -0
  491. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +8 -0
  492. package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundId.js +10 -0
  493. package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  494. package/dist/api/resources/patientRefunds/resources/v1/types/index.js +18 -0
  495. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  496. package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +8 -0
  497. package/dist/api/resources/payers/resources/v3/types/PayerPage.d.ts +10 -0
  498. package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +15 -0
  499. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +64 -0
  500. package/dist/api/resources/tags/types/Tag.d.ts +9 -0
  501. package/dist/api/resources/writeOffs/client/Client.d.ts +18 -0
  502. package/dist/api/resources/writeOffs/client/Client.js +18 -0
  503. package/dist/api/resources/writeOffs/client/index.d.ts +1 -0
  504. package/dist/api/resources/writeOffs/client/index.js +2 -0
  505. package/dist/api/resources/writeOffs/index.d.ts +2 -0
  506. package/dist/api/resources/writeOffs/index.js +18 -0
  507. package/dist/api/resources/writeOffs/resources/index.d.ts +1 -0
  508. package/dist/api/resources/writeOffs/resources/index.js +27 -0
  509. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +34 -0
  510. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +155 -0
  511. package/dist/api/resources/writeOffs/resources/v1/client/create.d.ts +22 -0
  512. package/dist/api/resources/writeOffs/resources/v1/client/create.js +47 -0
  513. package/dist/api/resources/writeOffs/resources/v1/client/get.d.ts +22 -0
  514. package/dist/api/resources/writeOffs/resources/v1/client/get.js +47 -0
  515. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +4 -0
  516. package/dist/api/resources/writeOffs/resources/v1/client/index.js +33 -0
  517. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +7 -0
  518. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +5 -0
  519. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  520. package/dist/api/resources/writeOffs/resources/v1/client/requests/index.js +2 -0
  521. package/dist/api/resources/writeOffs/resources/v1/client/revert.d.ts +22 -0
  522. package/dist/api/resources/writeOffs/resources/v1/client/revert.js +47 -0
  523. package/dist/api/resources/writeOffs/resources/v1/index.d.ts +2 -0
  524. package/dist/api/resources/writeOffs/resources/v1/index.js +18 -0
  525. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +11 -0
  526. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.js +5 -0
  527. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +10 -0
  528. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.js +5 -0
  529. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +8 -0
  530. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffId.js +10 -0
  531. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  532. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +12 -0
  533. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  534. package/dist/api/resources/writeOffs/resources/v1/types/index.js +20 -0
  535. package/dist/api/resources/x12/index.d.ts +1 -0
  536. package/dist/api/resources/x12/index.js +17 -0
  537. package/dist/api/resources/x12/resources/index.d.ts +1 -0
  538. package/dist/api/resources/x12/resources/index.js +27 -0
  539. package/dist/api/resources/x12/resources/v1/index.d.ts +1 -0
  540. package/dist/api/resources/x12/resources/v1/index.js +17 -0
  541. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +272 -0
  542. package/dist/api/resources/x12/resources/v1/types/Carc.js +274 -0
  543. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1066 -0
  544. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1068 -0
  545. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  546. package/dist/api/resources/x12/resources/v1/types/index.js +18 -0
  547. package/dist/serialization/resources/claimSubmission/index.d.ts +1 -0
  548. package/dist/serialization/resources/claimSubmission/index.js +17 -0
  549. package/dist/serialization/resources/claimSubmission/resources/index.d.ts +1 -0
  550. package/dist/serialization/resources/claimSubmission/resources/index.js +27 -0
  551. package/dist/serialization/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  552. package/dist/serialization/resources/claimSubmission/resources/v1/index.js +17 -0
  553. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  554. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +31 -0
  555. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +14 -0
  556. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +35 -0
  557. package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +14 -0
  558. package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +35 -0
  559. package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  560. package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +19 -0
  561. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +10 -0
  562. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +31 -0
  563. package/dist/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +10 -0
  564. package/dist/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +31 -0
  565. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  566. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  567. package/dist/serialization/resources/commons/types/ProviderId.d.ts +10 -0
  568. package/dist/serialization/resources/commons/types/ProviderId.js +35 -0
  569. package/dist/serialization/resources/commons/types/index.d.ts +4 -0
  570. package/dist/serialization/resources/commons/types/index.js +4 -0
  571. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  572. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -0
  573. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  574. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  575. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  576. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  577. package/dist/serialization/resources/financials/index.d.ts +1 -0
  578. package/dist/serialization/resources/financials/index.js +17 -0
  579. package/dist/serialization/resources/financials/types/Allocation.d.ts +13 -0
  580. package/dist/serialization/resources/financials/types/Allocation.js +34 -0
  581. package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +13 -0
  582. package/dist/serialization/resources/financials/types/AllocationCreate.js +34 -0
  583. package/dist/serialization/resources/financials/types/AllocationRecipient.d.ts +22 -0
  584. package/dist/serialization/resources/financials/types/AllocationRecipient.js +46 -0
  585. package/dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts +22 -0
  586. package/dist/serialization/resources/financials/types/AllocationRecipientCreate.js +46 -0
  587. package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +13 -0
  588. package/dist/serialization/resources/financials/types/RefundAllocation.js +34 -0
  589. package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +13 -0
  590. package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +34 -0
  591. package/dist/serialization/resources/financials/types/RefundReason.d.ts +10 -0
  592. package/dist/serialization/resources/financials/types/RefundReason.js +31 -0
  593. package/dist/serialization/resources/financials/types/index.d.ts +7 -0
  594. package/dist/serialization/resources/financials/types/index.js +23 -0
  595. package/dist/serialization/resources/index.d.ts +8 -0
  596. package/dist/serialization/resources/index.js +9 -1
  597. package/dist/serialization/resources/insuranceAdjudication/index.d.ts +1 -0
  598. package/dist/serialization/resources/insuranceAdjudication/index.js +17 -0
  599. package/dist/serialization/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  600. package/dist/serialization/resources/insuranceAdjudication/resources/index.js +27 -0
  601. package/dist/serialization/resources/insuranceAdjudication/resources/v1/index.d.ts +1 -0
  602. package/dist/serialization/resources/insuranceAdjudication/resources/v1/index.js +17 -0
  603. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +15 -0
  604. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +36 -0
  605. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +15 -0
  606. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +36 -0
  607. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +14 -0
  608. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +35 -0
  609. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  610. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +40 -0
  611. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +18 -0
  612. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +39 -0
  613. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +10 -0
  614. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +35 -0
  615. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +12 -0
  616. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +33 -0
  617. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +20 -0
  618. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +43 -0
  619. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +19 -0
  620. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +42 -0
  621. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +10 -0
  622. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +35 -0
  623. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  624. package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  625. package/dist/serialization/resources/insuranceRefunds/index.d.ts +1 -0
  626. package/dist/serialization/resources/insuranceRefunds/index.js +17 -0
  627. package/dist/serialization/resources/insuranceRefunds/resources/index.d.ts +1 -0
  628. package/dist/serialization/resources/insuranceRefunds/resources/index.js +27 -0
  629. package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
  630. package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +17 -0
  631. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +16 -0
  632. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +37 -0
  633. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +15 -0
  634. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +36 -0
  635. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +10 -0
  636. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +35 -0
  637. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  638. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  639. package/dist/serialization/resources/invoices/types/index.d.ts +0 -1
  640. package/dist/serialization/resources/invoices/types/index.js +0 -1
  641. package/dist/serialization/resources/patientPayments/resources/index.d.ts +1 -0
  642. package/dist/serialization/resources/patientPayments/resources/index.js +2 -1
  643. package/dist/serialization/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  644. package/dist/serialization/resources/patientPayments/resources/v4/client/index.js +17 -0
  645. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +17 -0
  646. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +38 -0
  647. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  648. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.js +5 -0
  649. package/dist/serialization/resources/patientPayments/resources/v4/index.d.ts +2 -0
  650. package/dist/serialization/resources/patientPayments/resources/v4/index.js +18 -0
  651. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +19 -0
  652. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +40 -0
  653. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +10 -0
  654. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.js +35 -0
  655. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  656. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +18 -0
  657. package/dist/serialization/resources/patientRefunds/index.d.ts +1 -0
  658. package/dist/serialization/resources/patientRefunds/index.js +17 -0
  659. package/dist/serialization/resources/patientRefunds/resources/index.d.ts +1 -0
  660. package/dist/serialization/resources/patientRefunds/resources/index.js +27 -0
  661. package/dist/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  662. package/dist/serialization/resources/patientRefunds/resources/v1/client/index.js +17 -0
  663. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +17 -0
  664. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +38 -0
  665. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  666. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +5 -0
  667. package/dist/serialization/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  668. package/dist/serialization/resources/patientRefunds/resources/v1/index.js +18 -0
  669. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +19 -0
  670. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +40 -0
  671. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +10 -0
  672. package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.js +35 -0
  673. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  674. package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +18 -0
  675. package/dist/serialization/resources/writeOffs/index.d.ts +1 -0
  676. package/dist/serialization/resources/writeOffs/index.js +17 -0
  677. package/dist/serialization/resources/writeOffs/resources/index.d.ts +1 -0
  678. package/dist/serialization/resources/writeOffs/resources/index.js +27 -0
  679. package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +10 -0
  680. package/dist/serialization/resources/writeOffs/resources/v1/client/create.js +31 -0
  681. package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  682. package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +31 -0
  683. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +12 -0
  684. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +33 -0
  685. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  686. package/dist/serialization/resources/writeOffs/resources/v1/client/requests/index.js +5 -0
  687. package/dist/serialization/resources/writeOffs/resources/v1/index.d.ts +2 -0
  688. package/dist/serialization/resources/writeOffs/resources/v1/index.js +18 -0
  689. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +16 -0
  690. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +37 -0
  691. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +15 -0
  692. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +36 -0
  693. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +10 -0
  694. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffId.js +35 -0
  695. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  696. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js +31 -0
  697. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  698. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +20 -0
  699. package/dist/serialization/resources/x12/index.d.ts +1 -0
  700. package/dist/serialization/resources/x12/index.js +17 -0
  701. package/dist/serialization/resources/x12/resources/index.d.ts +1 -0
  702. package/dist/serialization/resources/x12/resources/index.js +27 -0
  703. package/dist/serialization/resources/x12/resources/v1/index.d.ts +1 -0
  704. package/dist/serialization/resources/x12/resources/v1/index.js +17 -0
  705. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +10 -0
  706. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +298 -0
  707. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +10 -0
  708. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1092 -0
  709. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  710. package/dist/serialization/resources/x12/resources/v1/types/index.js +18 -0
  711. package/package.json +1 -1
  712. package/serialization/resources/claimSubmission/index.d.ts +1 -0
  713. package/serialization/resources/claimSubmission/index.js +17 -0
  714. package/serialization/resources/claimSubmission/resources/index.d.ts +1 -0
  715. package/serialization/resources/claimSubmission/resources/index.js +27 -0
  716. package/serialization/resources/claimSubmission/resources/v1/index.d.ts +1 -0
  717. package/serialization/resources/claimSubmission/resources/v1/index.js +17 -0
  718. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
  719. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +31 -0
  720. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +14 -0
  721. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +35 -0
  722. package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +14 -0
  723. package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +35 -0
  724. package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
  725. package/serialization/resources/claimSubmission/resources/v1/types/index.js +19 -0
  726. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +10 -0
  727. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +31 -0
  728. package/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +10 -0
  729. package/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +31 -0
  730. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  731. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  732. package/serialization/resources/commons/types/ProviderId.d.ts +10 -0
  733. package/serialization/resources/commons/types/ProviderId.js +35 -0
  734. package/serialization/resources/commons/types/index.d.ts +4 -0
  735. package/serialization/resources/commons/types/index.js +4 -0
  736. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  737. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -0
  738. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  739. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  740. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  741. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  742. package/serialization/resources/financials/index.d.ts +1 -0
  743. package/serialization/resources/financials/index.js +17 -0
  744. package/serialization/resources/financials/types/Allocation.d.ts +13 -0
  745. package/serialization/resources/financials/types/Allocation.js +34 -0
  746. package/serialization/resources/financials/types/AllocationCreate.d.ts +13 -0
  747. package/serialization/resources/financials/types/AllocationCreate.js +34 -0
  748. package/serialization/resources/financials/types/AllocationRecipient.d.ts +22 -0
  749. package/serialization/resources/financials/types/AllocationRecipient.js +46 -0
  750. package/serialization/resources/financials/types/AllocationRecipientCreate.d.ts +22 -0
  751. package/serialization/resources/financials/types/AllocationRecipientCreate.js +46 -0
  752. package/serialization/resources/financials/types/RefundAllocation.d.ts +13 -0
  753. package/serialization/resources/financials/types/RefundAllocation.js +34 -0
  754. package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +13 -0
  755. package/serialization/resources/financials/types/RefundAllocationCreate.js +34 -0
  756. package/serialization/resources/financials/types/RefundReason.d.ts +10 -0
  757. package/serialization/resources/financials/types/RefundReason.js +31 -0
  758. package/serialization/resources/financials/types/index.d.ts +7 -0
  759. package/serialization/resources/financials/types/index.js +23 -0
  760. package/serialization/resources/index.d.ts +8 -0
  761. package/serialization/resources/index.js +9 -1
  762. package/serialization/resources/insuranceAdjudication/index.d.ts +1 -0
  763. package/serialization/resources/insuranceAdjudication/index.js +17 -0
  764. package/serialization/resources/insuranceAdjudication/resources/index.d.ts +1 -0
  765. package/serialization/resources/insuranceAdjudication/resources/index.js +27 -0
  766. package/serialization/resources/insuranceAdjudication/resources/v1/index.d.ts +1 -0
  767. package/serialization/resources/insuranceAdjudication/resources/v1/index.js +17 -0
  768. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +15 -0
  769. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +36 -0
  770. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +15 -0
  771. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +36 -0
  772. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +14 -0
  773. package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +35 -0
  774. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  775. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +40 -0
  776. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +18 -0
  777. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +39 -0
  778. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +10 -0
  779. package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +35 -0
  780. package/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +12 -0
  781. package/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +33 -0
  782. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +20 -0
  783. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +43 -0
  784. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +19 -0
  785. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +42 -0
  786. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +10 -0
  787. package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +35 -0
  788. package/serialization/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
  789. package/serialization/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
  790. package/serialization/resources/insuranceRefunds/index.d.ts +1 -0
  791. package/serialization/resources/insuranceRefunds/index.js +17 -0
  792. package/serialization/resources/insuranceRefunds/resources/index.d.ts +1 -0
  793. package/serialization/resources/insuranceRefunds/resources/index.js +27 -0
  794. package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
  795. package/serialization/resources/insuranceRefunds/resources/v1/index.js +17 -0
  796. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +16 -0
  797. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +37 -0
  798. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +15 -0
  799. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +36 -0
  800. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +10 -0
  801. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +35 -0
  802. package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
  803. package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
  804. package/serialization/resources/invoices/types/index.d.ts +0 -1
  805. package/serialization/resources/invoices/types/index.js +0 -1
  806. package/serialization/resources/patientPayments/resources/index.d.ts +1 -0
  807. package/serialization/resources/patientPayments/resources/index.js +2 -1
  808. package/serialization/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
  809. package/serialization/resources/patientPayments/resources/v4/client/index.js +17 -0
  810. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +17 -0
  811. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +38 -0
  812. package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
  813. package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +5 -0
  814. package/serialization/resources/patientPayments/resources/v4/index.d.ts +2 -0
  815. package/serialization/resources/patientPayments/resources/v4/index.js +18 -0
  816. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +19 -0
  817. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +40 -0
  818. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +10 -0
  819. package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.js +35 -0
  820. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
  821. package/serialization/resources/patientPayments/resources/v4/types/index.js +18 -0
  822. package/serialization/resources/patientRefunds/index.d.ts +1 -0
  823. package/serialization/resources/patientRefunds/index.js +17 -0
  824. package/serialization/resources/patientRefunds/resources/index.d.ts +1 -0
  825. package/serialization/resources/patientRefunds/resources/index.js +27 -0
  826. package/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
  827. package/serialization/resources/patientRefunds/resources/v1/client/index.js +17 -0
  828. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +17 -0
  829. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +38 -0
  830. package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
  831. package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +5 -0
  832. package/serialization/resources/patientRefunds/resources/v1/index.d.ts +2 -0
  833. package/serialization/resources/patientRefunds/resources/v1/index.js +18 -0
  834. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +19 -0
  835. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +40 -0
  836. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +10 -0
  837. package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.js +35 -0
  838. package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
  839. package/serialization/resources/patientRefunds/resources/v1/types/index.js +18 -0
  840. package/serialization/resources/writeOffs/index.d.ts +1 -0
  841. package/serialization/resources/writeOffs/index.js +17 -0
  842. package/serialization/resources/writeOffs/resources/index.d.ts +1 -0
  843. package/serialization/resources/writeOffs/resources/index.js +27 -0
  844. package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +10 -0
  845. package/serialization/resources/writeOffs/resources/v1/client/create.js +31 -0
  846. package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  847. package/serialization/resources/writeOffs/resources/v1/client/index.js +31 -0
  848. package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +12 -0
  849. package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +33 -0
  850. package/serialization/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
  851. package/serialization/resources/writeOffs/resources/v1/client/requests/index.js +5 -0
  852. package/serialization/resources/writeOffs/resources/v1/index.d.ts +2 -0
  853. package/serialization/resources/writeOffs/resources/v1/index.js +18 -0
  854. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +16 -0
  855. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +37 -0
  856. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +15 -0
  857. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +36 -0
  858. package/serialization/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +10 -0
  859. package/serialization/resources/writeOffs/resources/v1/types/WriteOffId.js +35 -0
  860. package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
  861. package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js +31 -0
  862. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
  863. package/serialization/resources/writeOffs/resources/v1/types/index.js +20 -0
  864. package/serialization/resources/x12/index.d.ts +1 -0
  865. package/serialization/resources/x12/index.js +17 -0
  866. package/serialization/resources/x12/resources/index.d.ts +1 -0
  867. package/serialization/resources/x12/resources/index.js +27 -0
  868. package/serialization/resources/x12/resources/v1/index.d.ts +1 -0
  869. package/serialization/resources/x12/resources/v1/index.js +17 -0
  870. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +10 -0
  871. package/serialization/resources/x12/resources/v1/types/Carc.js +298 -0
  872. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +10 -0
  873. package/serialization/resources/x12/resources/v1/types/Rarc.js +1092 -0
  874. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  875. package/serialization/resources/x12/resources/v1/types/index.js +18 -0
  876. /package/api/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  877. /package/api/resources/{invoices → commons}/types/InvoiceId.js +0 -0
  878. /package/dist/api/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  879. /package/dist/api/resources/{invoices → commons}/types/InvoiceId.js +0 -0
  880. /package/dist/serialization/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  881. /package/dist/serialization/resources/{invoices → commons}/types/InvoiceId.js +0 -0
  882. /package/serialization/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
  883. /package/serialization/resources/{invoices → commons}/types/InvoiceId.js +0 -0
@@ -22,6 +22,8 @@ __exportStar(require("./PatientExternalId"), exports);
22
22
  __exportStar(require("./EncounterExternalId"), exports);
23
23
  __exportStar(require("./Npi"), exports);
24
24
  __exportStar(require("./WorkQueueId"), exports);
25
+ __exportStar(require("./ProviderId"), exports);
26
+ __exportStar(require("./InvoiceId"), exports);
25
27
  __exportStar(require("./LinkUrl"), exports);
26
28
  __exportStar(require("./PageToken"), exports);
27
29
  __exportStar(require("./Date_"), exports);
@@ -39,6 +41,8 @@ __exportStar(require("./PatientRelationshipToInsuredCodeAll"), exports);
39
41
  __exportStar(require("./ProcedureModifier"), exports);
40
42
  __exportStar(require("./ServiceLineUnits"), exports);
41
43
  __exportStar(require("./InsuranceTypeCode"), exports);
44
+ __exportStar(require("./ClaimAdjustmentGroupCodes"), exports);
45
+ __exportStar(require("./ClaimSubmissionPayerResponsibilityType"), exports);
42
46
  __exportStar(require("./EmrPayerCrosswalk"), exports);
43
47
  __exportStar(require("./ErrorMessage"), exports);
44
48
  __exportStar(require("./EntityNotFoundErrorMessage"), exports);
@@ -2,6 +2,18 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../..";
5
+ /**
6
+ * @example
7
+ * {
8
+ * diagnosisId: CandidApi.DiagnosisId("5C770E00-4BBF-42AF-A73F-99C5E91FC0DB"),
9
+ * createdAt: new Date("2023-01-01T00:00:00.000Z"),
10
+ * updatedAt: new Date("2023-01-01T00:00:00.000Z"),
11
+ * encounterId: CandidApi.EncounterId("3F63985B-51A4-4DD4-9418-7D50B2520792"),
12
+ * name: "John Doe",
13
+ * codeType: CandidApi.DiagnosisTypeCode.Abf,
14
+ * code: "I10"
15
+ * }
16
+ */
5
17
  export interface Diagnosis extends CandidApi.StandaloneDiagnosisCreate {
6
18
  diagnosisId: CandidApi.DiagnosisId;
7
19
  createdAt: Date;
@@ -65,7 +65,7 @@ class V2 {
65
65
  Authorization: await this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "candidhealth",
68
- "X-Fern-SDK-Version": "0.6.3",
68
+ "X-Fern-SDK-Version": "0.7.0",
69
69
  },
70
70
  contentType: "application/json",
71
71
  body: request,
@@ -2,6 +2,26 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../..";
5
+ /**
6
+ * @example
7
+ * {
8
+ * providerId: CandidApi.encounterProviders.v2.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9
+ * address: {
10
+ * address1: "123 Main St",
11
+ * address2: "Apt 1",
12
+ * city: "New York",
13
+ * state: CandidApi.State.Ny,
14
+ * zipCode: "10001",
15
+ * zipPlusFourCode: "1234"
16
+ * },
17
+ * taxId: "123456789",
18
+ * npi: "1234567890",
19
+ * taxonomyCode: "207Q00000X",
20
+ * firstName: "John",
21
+ * lastName: "Doe",
22
+ * organizationName: "Organization Name"
23
+ * }
24
+ */
5
25
  export interface EncounterProvider extends CandidApi.encounterProviders.v2.EncounterProviderBase {
6
26
  providerId: CandidApi.encounterProviders.v2.ProviderId;
7
27
  address: CandidApi.StreetAddressLongZip;
@@ -103,7 +103,7 @@ class V4 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.6.3",
106
+ "X-Fern-SDK-Version": "0.7.0",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V4 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.6.3",
136
+ "X-Fern-SDK-Version": "0.7.0",
137
137
  },
138
138
  contentType: "application/json",
139
139
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V4 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.6.3",
165
+ "X-Fern-SDK-Version": "0.7.0",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
@@ -212,7 +212,7 @@ class V4 {
212
212
  Authorization: await this._getAuthorizationHeader(),
213
213
  "X-Fern-Language": "JavaScript",
214
214
  "X-Fern-SDK-Name": "candidhealth",
215
- "X-Fern-SDK-Version": "0.6.3",
215
+ "X-Fern-SDK-Version": "0.7.0",
216
216
  },
217
217
  contentType: "application/json",
218
218
  body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
@@ -79,4 +79,11 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
79
79
  *
80
80
  */
81
81
  guarantor?: CandidApi.guarantor.v1.GuarantorCreate;
82
+ /**
83
+ * ***This field is incubating.***
84
+ * To be included for claims that have been submitted outside of Candid.
85
+ * Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
86
+ *
87
+ */
88
+ externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate;
82
89
  }
@@ -78,4 +78,10 @@ export interface EncounterUpdate {
78
78
  endDateOfService?: CandidApi.Date_;
79
79
  /** Contains details of the secondary insurance subscriber. */
80
80
  subscriberSecondary?: CandidApi.SubscriberCreate;
81
+ /**
82
+ * Defines additional information on the claim needed by the payer.
83
+ * Box 19 on the CMS-1500 claim form.
84
+ *
85
+ */
86
+ additionalInformation?: string;
81
87
  }
@@ -2,6 +2,19 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../..";
5
+ /**
6
+ * @example
7
+ * {
8
+ * category: CandidApi.encounters.v4.NoteCategory.Clinical,
9
+ * notes: ["Patient complained of mild chest pain."],
10
+ * notesStructured: [{
11
+ * text: "Mild chest pain since morning.",
12
+ * authorName: "John Doe",
13
+ * authorNpi: CandidApi.Npi("1234567890"),
14
+ * timestamp: new Date("2023-01-01T00:00:00.000Z")
15
+ * }]
16
+ * }
17
+ */
5
18
  export interface ClinicalNoteCategory {
6
19
  category: CandidApi.encounters.v4.NoteCategory;
7
20
  notes: string[];
@@ -2,6 +2,374 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../..";
5
+ /**
6
+ * @example
7
+ * {
8
+ * encounterId: CandidApi.EncounterId("B2506E84-4470-4CBA-8A68-6883367739E1"),
9
+ * claims: [{
10
+ * claimId: CandidApi.ClaimId("DD9D7F82-37B5-449D-AA63-26925398335B"),
11
+ * status: CandidApi.ClaimStatus.BillerReceived,
12
+ * clearinghouse: "Change Healthcare",
13
+ * clearinghouseClaimId: "5BA7C3AB-2BC2-496C-8B10-6CAC73D0729D",
14
+ * payerClaimId: "9BB9F259-9756-4F16-8F53-9DBB9F7EB1BB",
15
+ * serviceLines: [{
16
+ * modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
17
+ * chargeAmountCents: 10000,
18
+ * allowedAmountCents: 8000,
19
+ * insuranceBalanceCents: 0,
20
+ * patientBalanceCents: 2000,
21
+ * paidAmountCents: 8000,
22
+ * patientResponsibilityCents: 2000,
23
+ * diagnosisIdZero: CandidApi.DiagnosisId("4AC84BCD-12F5-4F86-A57B-E06749127C98"),
24
+ * diagnosisIdOne: CandidApi.DiagnosisId("EEA5CA5A-8B43-45FD-8CBD-C6CC1103E759"),
25
+ * diagnosisIdTwo: CandidApi.DiagnosisId("5C4AA029-2DB9-4202-916E-E93C708F65FF"),
26
+ * diagnosisIdThree: CandidApi.DiagnosisId("81795126-A3AC-443C-B47E-7259A16AB4A2"),
27
+ * serviceLineEraData: {
28
+ * serviceLineAdjustments: [{
29
+ * createdAt: new Date("2023-01-01T00:00:00.000Z"),
30
+ * adjustmentGroupCode: "CO",
31
+ * adjustmentReasonCode: "CO",
32
+ * adjustmentAmountCents: 1000,
33
+ * adjustmentNote: "test_note"
34
+ * }],
35
+ * remittanceAdviceRemarkCodes: ["N362"]
36
+ * },
37
+ * serviceLineManualAdjustments: [{
38
+ * createdAt: new Date("2023-01-01T00:00:00.000Z"),
39
+ * adjustmentGroupCode: "CO",
40
+ * adjustmentReasonCode: "CO",
41
+ * adjustmentAmountCents: 1000,
42
+ * adjustmentNote: "test_note"
43
+ * }],
44
+ * relatedInvoices: [{
45
+ * id: CandidApi.InvoiceId("901BE2F1-41BC-456E-9987-4FE2F84F9D75"),
46
+ * createdAt: new Date("2023-01-01T00:00:00.000Z"),
47
+ * updatedAt: new Date("2023-01-01T00:00:00.000Z"),
48
+ * organzationId: CandidApi.OrganizationId("F13F73D4-4344-46EA-9D93-33BCFFBB9F36"),
49
+ * sourceId: "9B626577-8808-4F28-9ED1-F0DFF0D49BBC",
50
+ * sourceCustomerId: "624D1972-8C69-4C2F-AEFA-10856F734DB3",
51
+ * patientExternalId: CandidApi.PatientExternalId("10FED4D6-4C5A-48DF-838A-EEF45A74788D"),
52
+ * note: "test_note",
53
+ * dueDate: CandidApi.Date_("2023-10-10"),
54
+ * status: CandidApi.InvoiceStatus.Draft,
55
+ * url: "https://example.com",
56
+ * customerInvoiceUrl: "https://example.com",
57
+ * items: [{
58
+ * serviceLineId: CandidApi.ServiceLineId("CED00F23-6E68-4678-9DBC-F5AA2969A565"),
59
+ * amountCents: 500
60
+ * }]
61
+ * }],
62
+ * denialReason: {
63
+ * reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
64
+ * },
65
+ * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
66
+ * serviceLineId: CandidApi.ServiceLineId("CED00F23-6E68-4678-9DBC-F5AA2969A565"),
67
+ * procedureCode: "99213",
68
+ * quantity: CandidApi.Decimal("1"),
69
+ * units: CandidApi.ServiceLineUnits.Mj,
70
+ * claimId: CandidApi.ClaimId("026A1FB8-748E-4859-A2D7-3EA9E07D25AE"),
71
+ * dateOfServiceRange: {
72
+ * startDate: CandidApi.Date_("2023-01-01"),
73
+ * endDate: CandidApi.Date_("2023-01-03")
74
+ * }
75
+ * }],
76
+ * eras: [{
77
+ * eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
78
+ * checkNumber: "CHK12345",
79
+ * checkDate: CandidApi.Date_("2023-10-12")
80
+ * }]
81
+ * }],
82
+ * patient: {
83
+ * individualId: CandidApi.IndividualId("93DDBEBF-4956-4482-9A6C-21499B7E4E5D"),
84
+ * phoneNumbers: [{
85
+ * number: "1234567890",
86
+ * type: CandidApi.PhoneNumberType.Home
87
+ * }],
88
+ * phoneConsent: true,
89
+ * email: CandidApi.Email("johndoe@joincandidhealth.com"),
90
+ * emailConsent: true,
91
+ * externalId: "49460F77-6456-41F1-AC6D-0AED08614D39",
92
+ * dateOfBirth: CandidApi.Date_("2000-01-01"),
93
+ * address: {
94
+ * address1: "123 Main St",
95
+ * address2: "Apt 1",
96
+ * city: "New York",
97
+ * state: CandidApi.State.Ny,
98
+ * zipCode: "10001",
99
+ * zipPlusFourCode: "1234"
100
+ * },
101
+ * firstName: "John",
102
+ * lastName: "Doe",
103
+ * gender: CandidApi.Gender.Male
104
+ * },
105
+ * guarantor: {
106
+ * guarantorId: CandidApi.guarantor.v1.GuarantorId("8BBDBE63-58D3-4D40-98C9-40403C050977"),
107
+ * phoneNumbers: [{
108
+ * number: "1234567890",
109
+ * type: CandidApi.PhoneNumberType.Home
110
+ * }],
111
+ * phoneConsent: true,
112
+ * email: CandidApi.Email("johndoe@joincandidhealth.com"),
113
+ * emailConsent: true,
114
+ * firstName: "John",
115
+ * lastName: "Doe",
116
+ * externalId: "49460F77-6456-41F1-AC6D-0AED08614D39",
117
+ * dateOfBirth: "2000-01-01",
118
+ * address: {
119
+ * address1: "123 Main St",
120
+ * address2: "Apt 1",
121
+ * city: "New York",
122
+ * state: CandidApi.State.Ny,
123
+ * zipCode: "10001",
124
+ * zipPlusFourCode: "1234"
125
+ * }
126
+ * },
127
+ * billingProvider: {
128
+ * providerId: CandidApi.encounterProviders.v2.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
129
+ * address: {
130
+ * address1: "123 Main St",
131
+ * address2: "Apt 1",
132
+ * city: "New York",
133
+ * state: CandidApi.State.Ny,
134
+ * zipCode: "10001",
135
+ * zipPlusFourCode: "1234"
136
+ * },
137
+ * taxId: "123456789",
138
+ * npi: "1234567890",
139
+ * taxonomyCode: "207Q00000X",
140
+ * firstName: "John",
141
+ * lastName: "Doe",
142
+ * organizationName: "Organization Name"
143
+ * },
144
+ * renderingProvider: {
145
+ * providerId: CandidApi.encounterProviders.v2.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
146
+ * address: {
147
+ * address1: "123 Main St",
148
+ * address2: "Apt 1",
149
+ * city: "New York",
150
+ * state: CandidApi.State.Ny,
151
+ * zipCode: "10001",
152
+ * zipPlusFourCode: "1234"
153
+ * },
154
+ * taxId: "123456789",
155
+ * npi: "1234567890",
156
+ * taxonomyCode: "207Q00000X",
157
+ * firstName: "John",
158
+ * lastName: "Doe",
159
+ * organizationName: "Organization Name"
160
+ * },
161
+ * referringProvider: {
162
+ * providerId: CandidApi.encounterProviders.v2.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
163
+ * address: {
164
+ * address1: "123 Main St",
165
+ * address2: "Apt 1",
166
+ * city: "New York",
167
+ * state: CandidApi.State.Ny,
168
+ * zipCode: "10001",
169
+ * zipPlusFourCode: "1234"
170
+ * },
171
+ * taxId: "123456789",
172
+ * npi: "1234567890",
173
+ * taxonomyCode: "207Q00000X",
174
+ * firstName: "John",
175
+ * lastName: "Doe",
176
+ * organizationName: "Organization Name"
177
+ * },
178
+ * serviceFacility: {
179
+ * serviceFacilityId: CandidApi.ServiceFacilityId("2861487B-232C-4DED-A874-616A5DB0688F"),
180
+ * organizationName: "Test Organization",
181
+ * address: {
182
+ * address1: "123 Main St",
183
+ * address2: "Apt 1",
184
+ * city: "New York",
185
+ * state: CandidApi.State.Ny,
186
+ * zipCode: "10001",
187
+ * zipPlusFourCode: "1234"
188
+ * }
189
+ * },
190
+ * subscriberPrimary: {
191
+ * individualId: CandidApi.IndividualId("797348A9-E7E8-4E59-8628-95390D079C0B"),
192
+ * insuranceCard: {
193
+ * insuranceCardId: CandidApi.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
194
+ * memberId: "E85313B4-0FFC-4119-8042-8161A4ECFF0A",
195
+ * payerName: "John Doe",
196
+ * payerId: "836DDAA6-863F-4020-ACCA-205A689F0002",
197
+ * rxBin: "610014",
198
+ * rxPcn: "MEDDPRIME",
199
+ * imageUrlFront: "https://s3.amazonaws.com/front.jpg",
200
+ * imageUrlBack: "https://s3.amazonaws.com/back.jpg",
201
+ * groupNumber: "ABC12345",
202
+ * planName: "Silver PPO Plan",
203
+ * planType: CandidApi.SourceOfPaymentCode.SelfPay,
204
+ * insuranceType: CandidApi.InsuranceTypeCode.C12
205
+ * },
206
+ * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
207
+ * dateOfBirth: CandidApi.Date_("2000-01-01"),
208
+ * address: {
209
+ * address1: "123 Main St",
210
+ * address2: "Apt 1",
211
+ * city: "New York",
212
+ * state: CandidApi.State.Ny,
213
+ * zipCode: "10001",
214
+ * zipPlusFourCode: "1234"
215
+ * },
216
+ * firstName: "John",
217
+ * lastName: "Doe",
218
+ * gender: CandidApi.Gender.Male
219
+ * },
220
+ * subscriberSecondary: {
221
+ * individualId: CandidApi.IndividualId("797348A9-E7E8-4E59-8628-95390D079C0B"),
222
+ * insuranceCard: {
223
+ * insuranceCardId: CandidApi.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
224
+ * memberId: "E85313B4-0FFC-4119-8042-8161A4ECFF0A",
225
+ * payerName: "John Doe",
226
+ * payerId: "836DDAA6-863F-4020-ACCA-205A689F0002",
227
+ * rxBin: "610014",
228
+ * rxPcn: "MEDDPRIME",
229
+ * imageUrlFront: "https://s3.amazonaws.com/front.jpg",
230
+ * imageUrlBack: "https://s3.amazonaws.com/back.jpg",
231
+ * groupNumber: "ABC12345",
232
+ * planName: "Silver PPO Plan",
233
+ * planType: CandidApi.SourceOfPaymentCode.SelfPay,
234
+ * insuranceType: CandidApi.InsuranceTypeCode.C12
235
+ * },
236
+ * patientRelationshipToSubscriberCode: CandidApi.PatientRelationshipToInsuredCodeAll.Spouse,
237
+ * dateOfBirth: CandidApi.Date_("2000-01-01"),
238
+ * address: {
239
+ * address1: "123 Main St",
240
+ * address2: "Apt 1",
241
+ * city: "New York",
242
+ * state: CandidApi.State.Ny,
243
+ * zipCode: "10001",
244
+ * zipPlusFourCode: "1234"
245
+ * },
246
+ * firstName: "John",
247
+ * lastName: "Doe",
248
+ * gender: CandidApi.Gender.Male
249
+ * },
250
+ * url: CandidApi.LinkUrl("https://example.com"),
251
+ * diagnoses: [{
252
+ * diagnosisId: CandidApi.DiagnosisId("5C770E00-4BBF-42AF-A73F-99C5E91FC0DB"),
253
+ * createdAt: new Date("2023-01-01T00:00:00.000Z"),
254
+ * updatedAt: new Date("2023-01-01T00:00:00.000Z"),
255
+ * encounterId: CandidApi.EncounterId("3F63985B-51A4-4DD4-9418-7D50B2520792"),
256
+ * name: "John Doe",
257
+ * codeType: CandidApi.DiagnosisTypeCode.Abf,
258
+ * code: "I10"
259
+ * }],
260
+ * clinicalNotes: [{
261
+ * category: CandidApi.encounters.v4.NoteCategory.Clinical,
262
+ * notes: ["Patient complained of mild chest pain."],
263
+ * notesStructured: [{
264
+ * text: "Mild chest pain since morning.",
265
+ * authorName: "John Doe",
266
+ * authorNpi: CandidApi.Npi("1234567890"),
267
+ * timestamp: new Date("2023-01-01T00:00:00.000Z")
268
+ * }]
269
+ * }],
270
+ * billingNotes: [{
271
+ * billingNoteId: CandidApi.billingNotes.v2.BillingNoteId("99882EEA-936F-4E71-BC4F-520E4D14E3E2"),
272
+ * encounterId: CandidApi.EncounterId("8BCFB6A8-2876-4111-9E3F-602B541FCF62"),
273
+ * createdAt: new Date("2023-01-01T00:00:00.000Z"),
274
+ * authorAuth0Id: "F0DE3BF9-F9A1-4FA7-BF6B-28C0B46BADD8",
275
+ * authorName: "John Doe",
276
+ * text: "Patient was billed for an MRI."
277
+ * }],
278
+ * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
279
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
280
+ * patientHistories: [{
281
+ * category: CandidApi.encounters.v4.PatientHistoryCategoryEnum.PresentIllness,
282
+ * questions: [{
283
+ * id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
284
+ * text: "Do you have any allergies?",
285
+ * responses: [{
286
+ * response: "No allergies",
287
+ * followUps: [{
288
+ * id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
289
+ * text: "Do you have any allergies?",
290
+ * response: "No allergies"
291
+ * }]
292
+ * }]
293
+ * }]
294
+ * }],
295
+ * patientPayments: [{
296
+ * patientPaymentId: CandidApi.patientPayments.v3.PatientPaymentId("CF237BE1-E793-4BBF-8958-61D5179D1D0D"),
297
+ * organizationId: CandidApi.OrganizationId("0788CA2A-B20D-4B8E-B8D4-07FA0B3B4907"),
298
+ * sourceInternalId: "D1A76039-D5C5-4323-A2FC-B7C8B6AEF6A4",
299
+ * source: CandidApi.patientPayments.v3.PatientPaymentSource.ManualEntry,
300
+ * amountCents: 2000,
301
+ * paymentTimestamp: new Date("2023-01-01T00:00:00.000Z"),
302
+ * status: CandidApi.patientPayments.v3.PatientPaymentStatus.Pending,
303
+ * paymentName: "John Doe",
304
+ * paymentNote: "test payment note",
305
+ * patientExternalId: CandidApi.PatientExternalId("B7437260-D6B4-48CF-B9D7-753C09F34E76"),
306
+ * encounterExternalId: CandidApi.EncounterExternalId("0F26B9C3-199F-4CBB-A166-B87EA7C631BB"),
307
+ * serviceLineId: CandidApi.ServiceLineId("B557DC86-C629-478C-850A-02D45AC11783")
308
+ * }],
309
+ * tags: [{
310
+ * creatorId: "00EB5A46-35C6-441B-9751-AF307AEF5888",
311
+ * tagId: CandidApi.TagId("void-claim-submitted"),
312
+ * description: "to indicate claims where a void claim has been submitted",
313
+ * color: CandidApi.TagColorEnum.Black
314
+ * }],
315
+ * codingAttribution: CandidApi.encounters.v4.CodingAttributionType.Candid,
316
+ * workQueueId: CandidApi.WorkQueueId("000856FE-1024-418F-BF96-2E7347AB4520"),
317
+ * workQueueMembershipActivatedAt: new Date("2023-01-01T00:00:00.000Z"),
318
+ * ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType.Candid,
319
+ * externalId: CandidApi.EncounterExternalId("5C21490F-A9C0-45F4-B5DB-136E3AEC617A"),
320
+ * dateOfService: CandidApi.Date_("2023-01-01"),
321
+ * endDateOfService: CandidApi.Date_("2023-01-05"),
322
+ * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("PA1234567"),
323
+ * patientAuthorizedRelease: true,
324
+ * benefitsAssignedToProvider: true,
325
+ * providerAcceptsAssignment: true,
326
+ * appointmentType: "Routine Checkup",
327
+ * existingMedications: [{
328
+ * name: "Lisinopril",
329
+ * rxCui: CandidApi.encounters.v4.RxCui("860975"),
330
+ * dosage: "10mg",
331
+ * dosageForm: "Tablet",
332
+ * frequency: "Once Daily",
333
+ * asNeeded: true
334
+ * }],
335
+ * vitals: {
336
+ * heightIn: 70,
337
+ * weightLbs: 165,
338
+ * bloodPressureSystolicMmhg: 115,
339
+ * bloodPressureDiastolicMmhg: 85,
340
+ * bodyTemperatureF: 98
341
+ * },
342
+ * interventions: [{
343
+ * name: "Physical Therapy Session",
344
+ * category: CandidApi.encounters.v4.InterventionCategory.Lifestyle,
345
+ * description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
346
+ * medication: {
347
+ * name: "Lisinopril",
348
+ * rxCui: CandidApi.encounters.v4.RxCui("860975"),
349
+ * dosage: "10mg",
350
+ * dosageForm: "Tablet",
351
+ * frequency: "Once Daily",
352
+ * asNeeded: true
353
+ * },
354
+ * labs: [{
355
+ * name: "Genetic Health Labs",
356
+ * code: "GH12345",
357
+ * codeType: CandidApi.encounters.v4.LabCodeType.Quest
358
+ * }]
359
+ * }],
360
+ * payToAddress: {
361
+ * address1: "123 Main St",
362
+ * address2: "Apt 1",
363
+ * city: "New York",
364
+ * state: CandidApi.State.Ny,
365
+ * zipCode: "10001",
366
+ * zipPlusFourCode: "1234"
367
+ * },
368
+ * synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
369
+ * billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
370
+ * responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType.InsurancePay
371
+ * }
372
+ */
5
373
  export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
6
374
  encounterId: CandidApi.EncounterId;
7
375
  claims: CandidApi.Claim[];
@@ -80,4 +80,10 @@ export interface EncounterBase {
80
80
  *
81
81
  */
82
82
  responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType;
83
+ /**
84
+ * Defines additional information on the claim needed by the payer.
85
+ * Box 19 on the CMS-1500 claim form.
86
+ *
87
+ */
88
+ additionalInformation?: string;
83
89
  }