candidhealth 0.34.4 → 0.34.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/claims/types/Claim.d.ts +4 -4
  6. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  8. package/api/resources/diagnoses/client/Client.d.ts +65 -0
  9. package/api/resources/diagnoses/client/Client.js +237 -0
  10. package/api/resources/diagnoses/client/create.d.ts +22 -0
  11. package/api/resources/diagnoses/client/create.js +47 -0
  12. package/api/resources/diagnoses/client/delete.d.ts +28 -0
  13. package/api/resources/diagnoses/client/delete.js +58 -0
  14. package/api/resources/diagnoses/client/index.d.ts +4 -0
  15. package/api/resources/diagnoses/client/index.js +33 -0
  16. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
  17. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
  18. package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
  19. package/api/resources/diagnoses/client/requests/index.js +2 -0
  20. package/api/resources/diagnoses/client/update.d.ts +28 -0
  21. package/api/resources/diagnoses/client/update.js +58 -0
  22. package/api/resources/diagnoses/index.d.ts +1 -0
  23. package/api/resources/diagnoses/index.js +1 -0
  24. package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
  25. package/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
  26. package/api/resources/diagnoses/types/index.d.ts +1 -0
  27. package/api/resources/diagnoses/types/index.js +1 -0
  28. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  29. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
  30. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
  31. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
  32. package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
  33. package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
  34. package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
  35. package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
  36. package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
  37. package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
  38. package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
  39. package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
  40. package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
  41. package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
  42. package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
  43. package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
  44. package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
  45. package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
  46. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
  47. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
  48. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  49. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  50. package/api/resources/encounters/resources/v4/client/Client.d.ts +28 -10
  51. package/api/resources/encounters/resources/v4/client/Client.js +33 -15
  52. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
  53. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
  54. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
  55. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
  56. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
  57. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  58. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  59. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  60. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  61. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  62. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  63. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  64. package/api/resources/index.d.ts +1 -0
  65. package/api/resources/index.js +1 -0
  66. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  67. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  68. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  69. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
  70. package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
  71. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  72. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  73. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  74. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  75. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  76. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  77. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  78. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  79. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  80. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  81. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  82. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
  83. package/api/resources/serviceFacility/client/Client.js +1 -1
  84. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
  85. package/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
  86. package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  87. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
  88. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
  89. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
  90. package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
  91. package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
  92. package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
  93. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  94. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  95. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  96. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  97. package/dist/Client.d.ts +3 -0
  98. package/dist/Client.js +7 -2
  99. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  100. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  101. package/dist/api/resources/claims/types/Claim.d.ts +4 -4
  102. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  103. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  104. package/dist/api/resources/diagnoses/client/Client.d.ts +65 -0
  105. package/dist/api/resources/diagnoses/client/Client.js +237 -0
  106. package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
  107. package/dist/api/resources/diagnoses/client/create.js +47 -0
  108. package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
  109. package/dist/api/resources/diagnoses/client/delete.js +58 -0
  110. package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
  111. package/dist/api/resources/diagnoses/client/index.js +33 -0
  112. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
  113. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
  114. package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
  115. package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
  116. package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
  117. package/dist/api/resources/diagnoses/client/update.js +58 -0
  118. package/dist/api/resources/diagnoses/index.d.ts +1 -0
  119. package/dist/api/resources/diagnoses/index.js +1 -0
  120. package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
  121. package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
  122. package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
  123. package/dist/api/resources/diagnoses/types/index.js +1 -0
  124. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  125. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
  126. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
  127. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
  128. package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
  129. package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
  130. package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
  131. package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
  132. package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
  133. package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
  134. package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
  135. package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
  136. package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
  137. package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
  138. package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
  139. package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
  140. package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
  141. package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
  142. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
  143. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
  144. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  145. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  146. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +28 -10
  147. package/dist/api/resources/encounters/resources/v4/client/Client.js +33 -15
  148. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
  149. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
  150. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
  151. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
  152. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
  153. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  154. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  155. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  156. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  157. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  158. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  159. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  160. package/dist/api/resources/index.d.ts +1 -0
  161. package/dist/api/resources/index.js +1 -0
  162. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  163. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  164. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  165. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
  166. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
  167. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  168. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  169. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  170. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  171. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  172. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  173. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  174. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  175. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  176. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  177. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  178. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
  179. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  180. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
  181. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
  182. package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  183. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
  184. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
  185. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
  186. package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
  187. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
  188. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
  189. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  190. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  191. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  192. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  193. package/dist/serialization/resources/diagnoses/client/delete.d.ts +15 -0
  194. package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
  195. package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
  196. package/dist/serialization/resources/diagnoses/client/index.js +32 -0
  197. package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
  198. package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
  199. package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
  200. package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
  201. package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
  202. package/dist/serialization/resources/diagnoses/client/update.js +61 -0
  203. package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
  204. package/dist/serialization/resources/diagnoses/index.js +1 -0
  205. package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
  206. package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
  207. package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
  208. package/dist/serialization/resources/diagnoses/types/index.js +1 -0
  209. package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
  210. package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
  211. package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
  212. package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
  213. package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
  214. package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
  215. package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
  216. package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
  217. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
  218. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
  219. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
  220. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
  221. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
  222. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
  223. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
  224. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
  225. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
  226. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
  227. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  228. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  229. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  230. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  231. package/dist/serialization/resources/index.d.ts +1 -0
  232. package/dist/serialization/resources/index.js +1 -0
  233. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  234. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
  235. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
  236. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
  237. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  238. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
  239. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
  240. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
  241. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
  242. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
  243. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
  244. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
  245. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  246. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  247. package/package.json +1 -1
  248. package/reference.md +31 -5260
  249. package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
  250. package/serialization/resources/diagnoses/client/delete.js +61 -0
  251. package/serialization/resources/diagnoses/client/index.d.ts +3 -0
  252. package/serialization/resources/diagnoses/client/index.js +32 -0
  253. package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
  254. package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
  255. package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
  256. package/serialization/resources/diagnoses/client/requests/index.js +5 -0
  257. package/serialization/resources/diagnoses/client/update.d.ts +15 -0
  258. package/serialization/resources/diagnoses/client/update.js +61 -0
  259. package/serialization/resources/diagnoses/index.d.ts +1 -0
  260. package/serialization/resources/diagnoses/index.js +1 -0
  261. package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
  262. package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
  263. package/serialization/resources/diagnoses/types/index.d.ts +1 -0
  264. package/serialization/resources/diagnoses/types/index.js +1 -0
  265. package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
  266. package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
  267. package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
  268. package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
  269. package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
  270. package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
  271. package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
  272. package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
  273. package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
  274. package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
  275. package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
  276. package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
  277. package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
  278. package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
  279. package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
  280. package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
  281. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
  282. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
  283. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  284. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  285. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  286. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  287. package/serialization/resources/index.d.ts +1 -0
  288. package/serialization/resources/index.js +1 -0
  289. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  290. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
  291. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
  292. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
  293. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  294. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
  295. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
  296. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
  297. package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
  298. package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
  299. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
  300. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
  301. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  302. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
6
6
  export declare type Error =
7
7
  /**
8
8
  * The encounter already has a supervising provider. */
9
- CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError
10
- /**
11
- * Cannot set first/last name without also unsetting organization_name. */
12
- | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.UnprocessableEntityError
9
+ CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError
13
10
  /**
14
11
  * The encounter could not be found. */
15
12
  | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
@@ -18,9 +15,9 @@ export declare namespace Error {
18
15
  errorName: "EntityConflictError";
19
16
  content: CandidApi.EntityConflictErrorMessage;
20
17
  }
21
- interface UnprocessableEntityError extends _Utils {
22
- errorName: "UnprocessableEntityError";
23
- content: CandidApi.UnprocessableEntityErrorMessage;
18
+ interface HttpRequestValidationsError extends _Utils {
19
+ errorName: "HttpRequestValidationsError";
20
+ content: CandidApi.RequestValidationError[];
24
21
  }
25
22
  interface EntityNotFoundError extends _Utils {
26
23
  errorName: "EntityNotFoundError";
@@ -35,14 +32,14 @@ export declare namespace Error {
35
32
  }
36
33
  interface _Visitor<_Result> {
37
34
  entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
38
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
35
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
39
36
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
40
37
  _other: (value: core.Fetcher.Error) => _Result;
41
38
  }
42
39
  }
43
40
  export declare const Error: {
44
41
  readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError;
45
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.UnprocessableEntityError;
42
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError;
46
43
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError;
47
44
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
48
45
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Visitor<_Result>) => _Result;
@@ -38,10 +38,10 @@ exports.Error = {
38
38
  },
39
39
  };
40
40
  },
41
- unprocessableEntityError: (value) => {
41
+ httpRequestValidationsError: (value) => {
42
42
  return {
43
43
  content: value,
44
- errorName: "UnprocessableEntityError",
44
+ errorName: "HttpRequestValidationsError",
45
45
  _visit: function (visitor) {
46
46
  return CandidApi.encounterProviders.v2.createSupervisingProvider.Error._visit(this, visitor);
47
47
  },
@@ -69,8 +69,8 @@ exports.Error = {
69
69
  switch (value.errorName) {
70
70
  case "EntityConflictError":
71
71
  return visitor.entityConflictError(value.content);
72
- case "UnprocessableEntityError":
73
- return visitor.unprocessableEntityError(value.content);
72
+ case "HttpRequestValidationsError":
73
+ return visitor.httpRequestValidationsError(value.content);
74
74
  case "EntityNotFoundError":
75
75
  return visitor.entityNotFoundError(value.content);
76
76
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no initial referring provider. */
12
9
  | CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateOrderingProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no ordering provider. */
12
9
  | CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateOrderingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateOrderingProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateReferringProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no referring provider. */
12
9
  | CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateReferringProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no supervising provider. */
12
9
  | CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * The billing provider is the provider or business entity submitting the claim.
7
+ * Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider.
8
+ * From a payer's perspective, this represents the person or entity being reimbursed.
9
+ * When a contract exists with the target payer, the billing provider should be the entity contracted with the payer.
10
+ * In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the
11
+ * tax ID (TIN) that the provider gave to the payer during contracting.
12
+ * In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID.
13
+ * Box 33 on the CMS-1500 claim form.
14
+ */
15
+ export interface BillingProviderUpdate extends CandidApi.encounterProviders.v2.EncounterProviderBase {
16
+ address?: CandidApi.StreetAddressLongZip;
17
+ /** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
18
+ taxId?: string;
19
+ npi?: string;
20
+ taxonomyCode?: string;
21
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,5 +10,6 @@ export * from "./SupervisingProviderUpdate";
10
10
  export * from "./OrderingProvider";
11
11
  export * from "./OrderingProviderUpdate";
12
12
  export * from "./BillingProvider";
13
+ export * from "./BillingProviderUpdate";
13
14
  export * from "./ProviderId";
14
15
  export * from "./EncounterProvider";
@@ -26,5 +26,6 @@ __exportStar(require("./SupervisingProviderUpdate"), exports);
26
26
  __exportStar(require("./OrderingProvider"), exports);
27
27
  __exportStar(require("./OrderingProviderUpdate"), exports);
28
28
  __exportStar(require("./BillingProvider"), exports);
29
+ __exportStar(require("./BillingProviderUpdate"), exports);
29
30
  __exportStar(require("./ProviderId"), exports);
30
31
  __exportStar(require("./EncounterProvider"), exports);
@@ -273,7 +273,8 @@ export declare class V4 {
273
273
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
274
274
  * linkSequenceNumber: "string",
275
275
  * pharmacyPrescriptionNumber: "string",
276
- * conversionFormula: "string"
276
+ * conversionFormula: "string",
277
+ * drugDescription: "string"
277
278
  * },
278
279
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
279
280
  * description: "string",
@@ -294,10 +295,10 @@ export declare class V4 {
294
295
  * lastName: "string",
295
296
  * organizationName: "string"
296
297
  * },
297
- * testResult: {
298
- * type: "hematocrit",
299
- * value: 1.1
300
- * }
298
+ * testResults: [{
299
+ * value: 1.1,
300
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
301
+ * }]
301
302
  * }],
302
303
  * guarantor: {
303
304
  * phoneNumbers: [{
@@ -554,7 +555,8 @@ export declare class V4 {
554
555
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
555
556
  * linkSequenceNumber: "string",
556
557
  * pharmacyPrescriptionNumber: "string",
557
- * conversionFormula: "string"
558
+ * conversionFormula: "string",
559
+ * drugDescription: "string"
558
560
  * },
559
561
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
560
562
  * description: "string",
@@ -575,10 +577,10 @@ export declare class V4 {
575
577
  * lastName: "string",
576
578
  * organizationName: "string"
577
579
  * },
578
- * testResult: {
579
- * type: "hematocrit",
580
- * value: 1.1
581
- * }
580
+ * testResults: [{
581
+ * value: 1.1,
582
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
583
+ * }]
582
584
  * }],
583
585
  * externalClaimSubmission: {
584
586
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
@@ -867,6 +869,22 @@ export declare class V4 {
867
869
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
868
870
  * emailConsent: true
869
871
  * },
872
+ * billingProvider: {
873
+ * address: {
874
+ * address1: "123 Main St",
875
+ * address2: "Apt 1",
876
+ * city: "New York",
877
+ * state: CandidApi.State.Ny,
878
+ * zipCode: "10001",
879
+ * zipPlusFourCode: "1234"
880
+ * },
881
+ * taxId: "string",
882
+ * npi: "string",
883
+ * taxonomyCode: "string",
884
+ * firstName: "string",
885
+ * lastName: "string",
886
+ * organizationName: "string"
887
+ * },
870
888
  * supervisingProvider: {
871
889
  * npi: "string",
872
890
  * taxonomyCode: "string",
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.34.4",
135
+ "X-Fern-SDK-Version": "0.34.6",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.34.4",
181
+ "X-Fern-SDK-Version": "0.34.6",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -430,7 +430,8 @@ class V4 {
430
430
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
431
431
  * linkSequenceNumber: "string",
432
432
  * pharmacyPrescriptionNumber: "string",
433
- * conversionFormula: "string"
433
+ * conversionFormula: "string",
434
+ * drugDescription: "string"
434
435
  * },
435
436
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
436
437
  * description: "string",
@@ -451,10 +452,10 @@ class V4 {
451
452
  * lastName: "string",
452
453
  * organizationName: "string"
453
454
  * },
454
- * testResult: {
455
- * type: "hematocrit",
456
- * value: 1.1
457
- * }
455
+ * testResults: [{
456
+ * value: 1.1,
457
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
458
+ * }]
458
459
  * }],
459
460
  * guarantor: {
460
461
  * phoneNumbers: [{
@@ -574,7 +575,7 @@ class V4 {
574
575
  Authorization: yield this._getAuthorizationHeader(),
575
576
  "X-Fern-Language": "JavaScript",
576
577
  "X-Fern-SDK-Name": "candidhealth",
577
- "X-Fern-SDK-Version": "0.34.4",
578
+ "X-Fern-SDK-Version": "0.34.6",
578
579
  "X-Fern-Runtime": core.RUNTIME.type,
579
580
  "X-Fern-Runtime-Version": core.RUNTIME.version,
580
581
  },
@@ -769,7 +770,8 @@ class V4 {
769
770
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
770
771
  * linkSequenceNumber: "string",
771
772
  * pharmacyPrescriptionNumber: "string",
772
- * conversionFormula: "string"
773
+ * conversionFormula: "string",
774
+ * drugDescription: "string"
773
775
  * },
774
776
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
775
777
  * description: "string",
@@ -790,10 +792,10 @@ class V4 {
790
792
  * lastName: "string",
791
793
  * organizationName: "string"
792
794
  * },
793
- * testResult: {
794
- * type: "hematocrit",
795
- * value: 1.1
796
- * }
795
+ * testResults: [{
796
+ * value: 1.1,
797
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
798
+ * }]
797
799
  * }],
798
800
  * externalClaimSubmission: {
799
801
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
@@ -892,7 +894,7 @@ class V4 {
892
894
  Authorization: yield this._getAuthorizationHeader(),
893
895
  "X-Fern-Language": "JavaScript",
894
896
  "X-Fern-SDK-Name": "candidhealth",
895
- "X-Fern-SDK-Version": "0.34.4",
897
+ "X-Fern-SDK-Version": "0.34.6",
896
898
  "X-Fern-Runtime": core.RUNTIME.type,
897
899
  "X-Fern-Runtime-Version": core.RUNTIME.version,
898
900
  },
@@ -1141,6 +1143,22 @@ class V4 {
1141
1143
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
1142
1144
  * emailConsent: true
1143
1145
  * },
1146
+ * billingProvider: {
1147
+ * address: {
1148
+ * address1: "123 Main St",
1149
+ * address2: "Apt 1",
1150
+ * city: "New York",
1151
+ * state: CandidApi.State.Ny,
1152
+ * zipCode: "10001",
1153
+ * zipPlusFourCode: "1234"
1154
+ * },
1155
+ * taxId: "string",
1156
+ * npi: "string",
1157
+ * taxonomyCode: "string",
1158
+ * firstName: "string",
1159
+ * lastName: "string",
1160
+ * organizationName: "string"
1161
+ * },
1144
1162
  * supervisingProvider: {
1145
1163
  * npi: "string",
1146
1164
  * taxonomyCode: "string",
@@ -1200,7 +1218,7 @@ class V4 {
1200
1218
  Authorization: yield this._getAuthorizationHeader(),
1201
1219
  "X-Fern-Language": "JavaScript",
1202
1220
  "X-Fern-SDK-Name": "candidhealth",
1203
- "X-Fern-SDK-Version": "0.34.4",
1221
+ "X-Fern-SDK-Version": "0.34.6",
1204
1222
  "X-Fern-Runtime": core.RUNTIME.type,
1205
1223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1206
1224
  },
@@ -224,7 +224,8 @@ import * as CandidApi from "../../../../../../index";
224
224
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
225
225
  * linkSequenceNumber: "string",
226
226
  * pharmacyPrescriptionNumber: "string",
227
- * conversionFormula: "string"
227
+ * conversionFormula: "string",
228
+ * drugDescription: "string"
228
229
  * },
229
230
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
230
231
  * description: "string",
@@ -245,10 +246,10 @@ import * as CandidApi from "../../../../../../index";
245
246
  * lastName: "string",
246
247
  * organizationName: "string"
247
248
  * },
248
- * testResult: {
249
- * type: "hematocrit",
250
- * value: 1.1
251
- * }
249
+ * testResults: [{
250
+ * value: 1.1,
251
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
252
+ * }]
252
253
  * }],
253
254
  * guarantor: {
254
255
  * phoneNumbers: [{
@@ -128,7 +128,8 @@ import * as CandidApi from "../../../../../../index";
128
128
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
129
129
  * linkSequenceNumber: "string",
130
130
  * pharmacyPrescriptionNumber: "string",
131
- * conversionFormula: "string"
131
+ * conversionFormula: "string",
132
+ * drugDescription: "string"
132
133
  * },
133
134
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
134
135
  * description: "string",
@@ -149,10 +150,10 @@ import * as CandidApi from "../../../../../../index";
149
150
  * lastName: "string",
150
151
  * organizationName: "string"
151
152
  * },
152
- * testResult: {
153
- * type: "hematocrit",
154
- * value: 1.1
155
- * }
153
+ * testResults: [{
154
+ * value: 1.1,
155
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
156
+ * }]
156
157
  * }],
157
158
  * externalClaimSubmission: {
158
159
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),