candidhealth 0.43.1 → 0.45.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 (244) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  4. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  6. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  8. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  9. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  10. package/api/resources/commons/types/index.d.ts +2 -0
  11. package/api/resources/commons/types/index.js +2 -0
  12. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  13. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  14. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  15. package/api/resources/diagnoses/client/Client.js +3 -3
  16. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  17. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  18. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  19. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  20. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  21. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  22. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  23. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  24. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  25. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  26. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  27. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  28. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  29. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  30. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
  32. package/api/resources/encounters/resources/v4/client/Client.js +133 -5
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
  35. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  36. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  37. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  38. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  39. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  40. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  41. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  42. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  43. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  44. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  45. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  46. package/api/resources/individual/types/index.d.ts +1 -0
  47. package/api/resources/individual/types/index.js +1 -0
  48. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  49. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  50. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  52. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  53. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  55. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  56. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  57. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  58. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  59. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  60. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  62. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  63. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  64. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  65. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  66. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  67. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  68. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  69. package/api/resources/serviceFacility/client/Client.js +1 -1
  70. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  71. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  72. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  73. package/api/resources/serviceFacility/types/index.js +1 -0
  74. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  75. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  76. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  77. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  78. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  79. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  80. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  81. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  82. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  85. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  86. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  87. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  88. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  89. package/dist/api/resources/commons/types/index.d.ts +2 -0
  90. package/dist/api/resources/commons/types/index.js +2 -0
  91. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  92. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  93. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  94. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  95. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  96. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  97. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  98. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  99. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  100. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  101. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  102. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  103. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  104. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  105. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  106. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  107. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  108. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  109. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  110. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
  111. package/dist/api/resources/encounters/resources/v4/client/Client.js +133 -5
  112. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  113. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
  114. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  115. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  116. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  117. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  118. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  119. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  120. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  121. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  122. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  123. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  124. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  125. package/dist/api/resources/individual/types/index.d.ts +1 -0
  126. package/dist/api/resources/individual/types/index.js +1 -0
  127. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  128. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  129. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  130. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  131. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  132. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  134. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  135. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  136. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  137. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  138. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  139. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  140. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  141. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  142. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  143. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  144. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  145. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  146. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  147. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  148. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  149. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  150. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  151. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  152. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  153. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  155. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  156. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  157. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  158. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  159. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  160. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  161. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  162. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  163. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  164. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  165. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  166. package/dist/serialization/resources/commons/types/index.js +2 -0
  167. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  168. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  169. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  170. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  171. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  172. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  173. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  174. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  175. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  176. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  177. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  178. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  179. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  180. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  181. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  182. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  183. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  184. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  185. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  186. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  187. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  188. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  189. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  190. package/dist/serialization/resources/individual/types/index.js +1 -0
  191. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  192. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  193. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  194. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  195. package/dist/version.d.ts +1 -1
  196. package/dist/version.js +1 -1
  197. package/package.json +1 -1
  198. package/reference.md +134 -0
  199. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  200. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  201. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  202. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  203. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  204. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  205. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  206. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  207. package/serialization/resources/commons/types/index.d.ts +2 -0
  208. package/serialization/resources/commons/types/index.js +2 -0
  209. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  210. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  211. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  212. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  213. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  214. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  215. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  216. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  217. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  218. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  219. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  220. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  221. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  222. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  223. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  224. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  225. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  226. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  227. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  228. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  229. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  230. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  231. package/serialization/resources/individual/types/index.d.ts +1 -0
  232. package/serialization/resources/individual/types/index.js +1 -0
  233. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  234. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  235. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  236. package/serialization/resources/serviceFacility/types/index.js +1 -0
  237. package/version.d.ts +1 -1
  238. package/version.js +1 -1
  239. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  240. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  241. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  242. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  243. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
  244. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
@@ -143,7 +143,7 @@ class V4 {
143
143
  const _response = yield core.fetcher({
144
144
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
145
145
  method: "GET",
146
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  queryParameters: _queryParams,
149
149
  requestType: "json",
@@ -181,7 +181,7 @@ class V4 {
181
181
  const _response = yield core.fetcher({
182
182
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
183
183
  method: "GET",
184
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -514,6 +514,7 @@ class V4 {
514
514
  * attachmentReportTypeCode: "03",
515
515
  * attachmentTransmissionCode: "BM"
516
516
  * }],
517
+ * secondaryPayerCarrierCode: "string",
517
518
  * externalId: CandidApi.EncounterExternalId("string"),
518
519
  * dateOfService: "2023-01-15",
519
520
  * endDateOfService: "2023-01-15",
@@ -581,7 +582,7 @@ class V4 {
581
582
  const _response = yield core.fetcher({
582
583
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
583
584
  method: "POST",
584
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
585
586
  contentType: "application/json",
586
587
  requestType: "json",
587
588
  body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -858,7 +859,7 @@ class V4 {
858
859
  const _response = yield core.fetcher({
859
860
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4/create-from-pre-encounter"),
860
861
  method: "POST",
861
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
862
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
862
863
  contentType: "application/json",
863
864
  requestType: "json",
864
865
  body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
@@ -913,7 +914,134 @@ class V4 {
913
914
  *
914
915
  * @example
915
916
  * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
917
+ * payToAddress: {
918
+ * address1: "123 Main St",
919
+ * address2: "Apt 1",
920
+ * city: "New York",
921
+ * state: "NY",
922
+ * zipCode: "10001",
923
+ * zipPlusFourCode: "1234"
924
+ * },
916
925
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
926
+ * initialReferringProvider: {
927
+ * npi: "string",
928
+ * taxonomyCode: "string",
929
+ * address: {
930
+ * address1: "123 Main St",
931
+ * address2: "Apt 1",
932
+ * city: "New York",
933
+ * state: "NY",
934
+ * zipCode: "10001",
935
+ * zipPlusFourCode: "1234"
936
+ * },
937
+ * qualifier: "DQ",
938
+ * firstName: "string",
939
+ * lastName: "string",
940
+ * organizationName: "string"
941
+ * },
942
+ * referringProvider: {
943
+ * npi: "string",
944
+ * taxonomyCode: "string",
945
+ * address: {
946
+ * address1: "123 Main St",
947
+ * address2: "Apt 1",
948
+ * city: "New York",
949
+ * state: "NY",
950
+ * zipCode: "10001",
951
+ * zipPlusFourCode: "1234"
952
+ * },
953
+ * firstName: "string",
954
+ * lastName: "string",
955
+ * organizationName: "string"
956
+ * },
957
+ * patient: {
958
+ * firstName: "string",
959
+ * lastName: "string",
960
+ * gender: "male",
961
+ * externalId: "string",
962
+ * dateOfBirth: "2023-01-15",
963
+ * address: {
964
+ * address1: "123 Main St",
965
+ * address2: "Apt 1",
966
+ * city: "New York",
967
+ * state: "NY",
968
+ * zipCode: "10001",
969
+ * zipPlusFourCode: "1234"
970
+ * },
971
+ * phoneNumbers: [{
972
+ * number: "1234567890",
973
+ * type: "Home"
974
+ * }],
975
+ * phoneConsent: true,
976
+ * email: CandidApi.Email("johndoe@joincandidhealth.com"),
977
+ * emailConsent: true,
978
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
979
+ * nonInsurancePayersInfo: [{
980
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
981
+ * memberId: "string",
982
+ * clinicalTrialInfo: [{
983
+ * clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
984
+ * }]
985
+ * }]
986
+ * },
987
+ * renderingProvider: {
988
+ * npi: "string",
989
+ * taxonomyCode: "string",
990
+ * address: {
991
+ * address1: "123 Main St",
992
+ * address2: "Apt 1",
993
+ * city: "New York",
994
+ * state: "NY",
995
+ * zipCode: "10001",
996
+ * zipPlusFourCode: "1234"
997
+ * },
998
+ * firstName: "string",
999
+ * lastName: "string",
1000
+ * organizationName: "string"
1001
+ * },
1002
+ * serviceFacility: {
1003
+ * organizationName: "Test Organization",
1004
+ * address: {
1005
+ * address1: "123 Main St",
1006
+ * address2: "Apt 1",
1007
+ * city: "New York",
1008
+ * state: "NY",
1009
+ * zipCode: "10001",
1010
+ * zipPlusFourCode: "1234"
1011
+ * }
1012
+ * },
1013
+ * supervisingProvider: {
1014
+ * npi: "string",
1015
+ * taxonomyCode: "string",
1016
+ * address: {
1017
+ * address1: "123 Main St",
1018
+ * address2: "Apt 1",
1019
+ * city: "New York",
1020
+ * state: "NY",
1021
+ * zipCode: "10001",
1022
+ * zipPlusFourCode: "1234"
1023
+ * },
1024
+ * firstName: "string",
1025
+ * lastName: "string",
1026
+ * organizationName: "string"
1027
+ * },
1028
+ * billingProvider: {
1029
+ * address: {
1030
+ * address1: "123 Main St",
1031
+ * address2: "Apt 1",
1032
+ * city: "New York",
1033
+ * state: "NY",
1034
+ * zipCode: "10001",
1035
+ * zipPlusFourCode: "1234"
1036
+ * },
1037
+ * taxId: "string",
1038
+ * npi: "string",
1039
+ * taxonomyCode: "string",
1040
+ * providerCommercialLicenseType: "0",
1041
+ * firstName: "string",
1042
+ * lastName: "string",
1043
+ * organizationName: "string"
1044
+ * },
917
1045
  * placeOfServiceCodeAsSubmitted: "01"
918
1046
  * })
919
1047
  */
@@ -923,7 +1051,7 @@ class V4 {
923
1051
  const _response = yield core.fetcher({
924
1052
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
925
1053
  method: "PATCH",
926
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1054
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
927
1055
  contentType: "application/json",
928
1056
  requestType: "json",
929
1057
  body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -308,6 +308,7 @@ import * as CandidApi from "../../../../../../index";
308
308
  * attachmentReportTypeCode: "03",
309
309
  * attachmentTransmissionCode: "BM"
310
310
  * }],
311
+ * secondaryPayerCarrierCode: "string",
311
312
  * externalId: CandidApi.EncounterExternalId("string"),
312
313
  * dateOfService: "2023-01-15",
313
314
  * endDateOfService: "2023-01-15",
@@ -496,4 +497,9 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
496
497
  *
497
498
  */
498
499
  claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
500
+ /**
501
+ * When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states.
502
+ *
503
+ */
504
+ secondaryPayerCarrierCode?: string;
499
505
  }
@@ -5,11 +5,140 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * payToAddress: {
9
+ * address1: "123 Main St",
10
+ * address2: "Apt 1",
11
+ * city: "New York",
12
+ * state: "NY",
13
+ * zipCode: "10001",
14
+ * zipPlusFourCode: "1234"
15
+ * },
8
16
  * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
17
+ * initialReferringProvider: {
18
+ * npi: "string",
19
+ * taxonomyCode: "string",
20
+ * address: {
21
+ * address1: "123 Main St",
22
+ * address2: "Apt 1",
23
+ * city: "New York",
24
+ * state: "NY",
25
+ * zipCode: "10001",
26
+ * zipPlusFourCode: "1234"
27
+ * },
28
+ * qualifier: "DQ",
29
+ * firstName: "string",
30
+ * lastName: "string",
31
+ * organizationName: "string"
32
+ * },
33
+ * referringProvider: {
34
+ * npi: "string",
35
+ * taxonomyCode: "string",
36
+ * address: {
37
+ * address1: "123 Main St",
38
+ * address2: "Apt 1",
39
+ * city: "New York",
40
+ * state: "NY",
41
+ * zipCode: "10001",
42
+ * zipPlusFourCode: "1234"
43
+ * },
44
+ * firstName: "string",
45
+ * lastName: "string",
46
+ * organizationName: "string"
47
+ * },
48
+ * patient: {
49
+ * firstName: "string",
50
+ * lastName: "string",
51
+ * gender: "male",
52
+ * externalId: "string",
53
+ * dateOfBirth: "2023-01-15",
54
+ * address: {
55
+ * address1: "123 Main St",
56
+ * address2: "Apt 1",
57
+ * city: "New York",
58
+ * state: "NY",
59
+ * zipCode: "10001",
60
+ * zipPlusFourCode: "1234"
61
+ * },
62
+ * phoneNumbers: [{
63
+ * number: "1234567890",
64
+ * type: "Home"
65
+ * }],
66
+ * phoneConsent: true,
67
+ * email: CandidApi.Email("johndoe@joincandidhealth.com"),
68
+ * emailConsent: true,
69
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
70
+ * nonInsurancePayersInfo: [{
71
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
72
+ * memberId: "string",
73
+ * clinicalTrialInfo: [{
74
+ * clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
75
+ * }]
76
+ * }]
77
+ * },
78
+ * renderingProvider: {
79
+ * npi: "string",
80
+ * taxonomyCode: "string",
81
+ * address: {
82
+ * address1: "123 Main St",
83
+ * address2: "Apt 1",
84
+ * city: "New York",
85
+ * state: "NY",
86
+ * zipCode: "10001",
87
+ * zipPlusFourCode: "1234"
88
+ * },
89
+ * firstName: "string",
90
+ * lastName: "string",
91
+ * organizationName: "string"
92
+ * },
93
+ * serviceFacility: {
94
+ * organizationName: "Test Organization",
95
+ * address: {
96
+ * address1: "123 Main St",
97
+ * address2: "Apt 1",
98
+ * city: "New York",
99
+ * state: "NY",
100
+ * zipCode: "10001",
101
+ * zipPlusFourCode: "1234"
102
+ * }
103
+ * },
104
+ * supervisingProvider: {
105
+ * npi: "string",
106
+ * taxonomyCode: "string",
107
+ * address: {
108
+ * address1: "123 Main St",
109
+ * address2: "Apt 1",
110
+ * city: "New York",
111
+ * state: "NY",
112
+ * zipCode: "10001",
113
+ * zipPlusFourCode: "1234"
114
+ * },
115
+ * firstName: "string",
116
+ * lastName: "string",
117
+ * organizationName: "string"
118
+ * },
119
+ * billingProvider: {
120
+ * address: {
121
+ * address1: "123 Main St",
122
+ * address2: "Apt 1",
123
+ * city: "New York",
124
+ * state: "NY",
125
+ * zipCode: "10001",
126
+ * zipPlusFourCode: "1234"
127
+ * },
128
+ * taxId: "string",
129
+ * npi: "string",
130
+ * taxonomyCode: "string",
131
+ * providerCommercialLicenseType: "0",
132
+ * firstName: "string",
133
+ * lastName: "string",
134
+ * organizationName: "string"
135
+ * },
9
136
  * placeOfServiceCodeAsSubmitted: "01"
10
137
  * }
11
138
  */
12
139
  export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOptional {
140
+ /** Specifies the address to which payments for the claim should be sent. */
141
+ payToAddress?: CandidApi.StreetAddressLongZip;
13
142
  /**
14
143
  * Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
15
144
  * may be submitted at this time, and coders will later prioritize the 12 that will be
@@ -17,6 +146,45 @@ export interface EncounterUpdate extends CandidApi.encounters.v4.EncounterOption
17
146
  *
18
147
  */
19
148
  diagnosisIds?: CandidApi.DiagnosisId[];
149
+ /**
150
+ * The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
151
+ * indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
152
+ *
153
+ */
154
+ initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
155
+ /**
156
+ * The final provider who referred the services that were rendered.
157
+ * All physicians who order services or refer Medicare beneficiaries must
158
+ * report this data.
159
+ *
160
+ */
161
+ referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
162
+ /**
163
+ * Contains the identification information of the individual receiving medical services.
164
+ *
165
+ */
166
+ patient?: CandidApi.PatientUpdate;
167
+ /**
168
+ * The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
169
+ * For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
170
+ *
171
+ */
172
+ renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
173
+ /**
174
+ * Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
175
+ *
176
+ */
177
+ serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
178
+ /**
179
+ * Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
180
+ *
181
+ */
182
+ supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
183
+ /**
184
+ * The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
185
+ *
186
+ */
187
+ billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
20
188
  /**
21
189
  * Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
22
190
  *
@@ -509,6 +509,8 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
509
509
  epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
510
510
  /** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
511
511
  claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
512
+ /** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
513
+ secondaryPayerCarrierCode?: string;
512
514
  /** The date and time the encounter was last submitted to a payer. */
513
515
  lastSubmittedAt?: Date;
514
516
  /** The date and time the encounter was created. */
@@ -25,8 +25,6 @@ export interface EncounterOptional {
25
25
  tagIds?: CandidApi.TagId[];
26
26
  /** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
27
27
  clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
28
- /** Specifies the address to which payments for the claim should be sent. */
29
- payToAddress?: CandidApi.StreetAddressLongZip;
30
28
  /** Defines if the Encounter is to be billed by Candid to the responsible_party. Examples for when this should be set to NOT_BILLABLE include if the Encounter has not occurred yet or if there is no intention of ever billing the responsible_party. */
31
29
  billableStatus?: CandidApi.encounters.v4.BillableStatusType;
32
30
  /** Defines the party to be billed with the initial balance owed on the claim. Use SELF_PAY if you intend to bill self pay/cash pay. */
@@ -94,8 +92,6 @@ export interface EncounterOptional {
94
92
  * Code indicating the reason why a request was delayed
95
93
  */
96
94
  delayReasonCode?: CandidApi.DelayReasonCode;
97
- /** Contains the identification information of the individual receiving medical services. */
98
- patient?: CandidApi.PatientUpdate;
99
95
  /**
100
96
  * Whether this patient has authorized the release of medical information
101
97
  * for billing purpose.
@@ -119,34 +115,14 @@ export interface EncounterOptional {
119
115
  * Note all current existing medications on encounter will be overridden with this list.
120
116
  */
121
117
  existingMedications?: CandidApi.encounters.v4.Medication[];
122
- /**
123
- * The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
124
- * For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
125
- */
126
- renderingProvider?: CandidApi.encounterProviders.v2.RenderingProviderUpdate;
127
- /** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process. */
128
- serviceFacility?: CandidApi.EncounterServiceFacilityUpdate;
129
118
  /** Personal and contact info for the guarantor of the patient responsibility. */
130
119
  guarantor?: CandidApi.guarantor.v1.GuarantorUpdate;
131
- /** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form. */
132
- billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
133
- /** Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send. */
134
- supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProviderUpdate;
135
- /**
136
- * The final provider who referred the services that were rendered.
137
- * All physicians who order services or refer Medicare beneficiaries must
138
- * report this data.
139
- */
140
- referringProvider?: CandidApi.encounterProviders.v2.ReferringProviderUpdate;
141
- /**
142
- * The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
143
- * indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
144
- */
145
- initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
146
120
  /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
147
121
  referralNumber?: string;
148
122
  /** Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form */
149
123
  epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
150
124
  /** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
151
125
  claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
126
+ /** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
127
+ secondaryPayerCarrierCode?: string;
152
128
  }
@@ -84,7 +84,7 @@ class V1 {
84
84
  const _response = yield core.fetcher({
85
85
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v1"),
86
86
  method: "POST",
87
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
@@ -101,7 +101,7 @@ class V2 {
101
101
  const _response = yield core.fetcher({
102
102
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/expected-network-status/v2/compute/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId))}`),
103
103
  method: "POST",
104
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
105
105
  contentType: "application/json",
106
106
  requestType: "json",
107
107
  body: serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
@@ -186,7 +186,7 @@ class V2 {
186
186
  const _response = yield core.fetcher({
187
187
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/expected-network-status/v2/compute"),
188
188
  method: "POST",
189
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
190
  contentType: "application/json",
191
191
  requestType: "json",
192
192
  body: serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
@@ -95,7 +95,7 @@ class V3 {
95
95
  const _response = yield core.fetcher({
96
96
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/exports/v3"),
97
97
  method: "GET",
98
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -87,7 +87,7 @@ class V1 {
87
87
  const _response = yield core.fetcher({
88
88
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/external-payment-account-config/v1"),
89
89
  method: "GET",
90
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -73,7 +73,7 @@ class V3 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -128,7 +128,7 @@ class V3 {
128
128
  const _response = yield core.fetcher({
129
129
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
130
130
  method: "GET",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -280,7 +280,7 @@ class V3 {
280
280
  const _response = yield core.fetcher({
281
281
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
282
282
  method: "GET",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
284
  contentType: "application/json",
285
285
  queryParameters: _queryParams,
286
286
  requestType: "json",
@@ -418,7 +418,7 @@ class V3 {
418
418
  const _response = yield core.fetcher({
419
419
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
420
420
  method: "GET",
421
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
421
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
422
422
  contentType: "application/json",
423
423
  queryParameters: _queryParams,
424
424
  requestType: "json",
@@ -458,7 +458,7 @@ class V3 {
458
458
  const _response = yield core.fetcher({
459
459
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
460
460
  method: "GET",
461
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
462
462
  contentType: "application/json",
463
463
  requestType: "json",
464
464
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -533,7 +533,7 @@ class V3 {
533
533
  const _response = yield core.fetcher({
534
534
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
535
535
  method: "POST",
536
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
536
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
537
537
  contentType: "application/json",
538
538
  requestType: "json",
539
539
  body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
@@ -590,7 +590,7 @@ class V3 {
590
590
  const _response = yield core.fetcher({
591
591
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
592
592
  method: "DELETE",
593
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -638,7 +638,7 @@ class V3 {
638
638
  const _response = yield core.fetcher({
639
639
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
640
640
  method: "GET",
641
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
641
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
642
642
  contentType: "application/json",
643
643
  requestType: "json",
644
644
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -687,7 +687,7 @@ class V3 {
687
687
  const _response = yield core.fetcher({
688
688
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
689
689
  method: "GET",
690
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
690
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
691
691
  contentType: "application/json",
692
692
  queryParameters: _queryParams,
693
693
  requestType: "json",
@@ -732,7 +732,7 @@ class V3 {
732
732
  const _response = yield core.fetcher({
733
733
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
734
734
  method: "PUT",
735
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0", "User-Agent": "candidhealth/0.45.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
736
736
  contentType: "application/json",
737
737
  requestType: "json",
738
738
  body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),