candidhealth 0.34.9 → 0.35.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 (334) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  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/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  6. package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/credentialing/client/Client.d.ts +26 -0
  11. package/api/resources/credentialing/client/Client.js +17 -0
  12. package/api/resources/credentialing/client/index.d.ts +1 -0
  13. package/api/resources/credentialing/client/index.js +2 -0
  14. package/api/resources/credentialing/index.d.ts +2 -0
  15. package/api/resources/credentialing/index.js +18 -0
  16. package/api/resources/credentialing/resources/index.d.ts +1 -0
  17. package/api/resources/credentialing/resources/index.js +27 -0
  18. package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  19. package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  20. package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  21. package/api/resources/credentialing/resources/v2/client/create.js +69 -0
  22. package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  23. package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  24. package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  25. package/api/resources/credentialing/resources/v2/client/get.js +69 -0
  26. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  27. package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  28. package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  29. package/api/resources/credentialing/resources/v2/client/index.js +35 -0
  30. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  32. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  33. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  34. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  35. package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  36. package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  37. package/api/resources/credentialing/resources/v2/client/update.js +91 -0
  38. package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  39. package/api/resources/credentialing/resources/v2/index.js +18 -0
  40. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  41. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  42. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  43. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  44. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  45. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  46. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  47. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  49. package/api/resources/credentialing/resources/v2/types/index.js +20 -0
  50. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  51. package/api/resources/diagnoses/client/Client.js +3 -3
  52. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  53. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  54. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  55. package/api/resources/encounters/resources/v4/client/Client.js +9 -11
  56. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  57. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  58. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  61. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  62. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  63. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  64. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  65. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  66. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  67. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  68. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  69. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  70. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  71. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  72. package/api/resources/index.d.ts +1 -0
  73. package/api/resources/index.js +2 -1
  74. package/api/resources/individual/types/Patient.d.ts +14 -2
  75. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  76. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  77. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  78. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  79. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  80. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  81. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  82. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  84. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  85. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  86. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  87. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  88. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  89. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  90. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  91. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  92. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  93. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  94. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  95. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  96. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +48 -316
  97. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +56 -324
  98. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +24 -158
  99. package/api/resources/serviceFacility/client/Client.js +1 -1
  100. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  101. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  102. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  103. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  104. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  105. package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  106. package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  107. package/dist/Client.d.ts +3 -0
  108. package/dist/Client.js +61 -56
  109. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  110. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  111. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  112. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  113. package/dist/api/resources/commons/types/index.d.ts +1 -0
  114. package/dist/api/resources/commons/types/index.js +1 -0
  115. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  116. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  117. package/dist/api/resources/credentialing/client/Client.js +17 -0
  118. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  119. package/dist/api/resources/credentialing/client/index.js +2 -0
  120. package/dist/api/resources/credentialing/index.d.ts +2 -0
  121. package/dist/api/resources/credentialing/index.js +18 -0
  122. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  123. package/dist/api/resources/credentialing/resources/index.js +27 -0
  124. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  125. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  126. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  127. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  128. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  129. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  130. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  131. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  132. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  133. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  134. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  135. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  136. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  137. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  138. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  139. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  140. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  141. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  142. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  143. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  144. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  145. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  146. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  147. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  148. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  149. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  150. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  151. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  152. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  153. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  154. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  155. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  156. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  157. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  158. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  159. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  160. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  161. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  162. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  163. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
  164. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  165. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  166. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  167. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  168. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  169. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  170. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  171. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  172. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  173. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  174. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  175. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  176. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  177. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  178. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  179. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  180. package/dist/api/resources/index.d.ts +1 -0
  181. package/dist/api/resources/index.js +2 -1
  182. package/dist/api/resources/individual/types/Patient.d.ts +14 -2
  183. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  184. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  185. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  186. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  187. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  188. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  189. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  190. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  191. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  192. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  193. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  194. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  195. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  196. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  197. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  198. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  199. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  200. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  201. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  202. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  203. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  204. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +48 -316
  205. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +56 -324
  206. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +24 -158
  207. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  208. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  209. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  210. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  211. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  212. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  213. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  214. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  215. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  216. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  217. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  218. package/dist/serialization/resources/commons/types/index.js +1 -0
  219. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  220. package/dist/serialization/resources/credentialing/index.js +17 -0
  221. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  222. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  223. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  224. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  225. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  226. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  227. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  228. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  229. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  230. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  231. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  232. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  233. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  234. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  235. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  236. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  237. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  238. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  239. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  240. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  241. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  242. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  243. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  244. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  245. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  246. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  247. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  248. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  249. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  250. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  251. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  252. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  253. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  254. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  255. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  256. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  257. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  258. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  259. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  260. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  261. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  262. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  263. package/dist/serialization/resources/index.d.ts +1 -0
  264. package/dist/serialization/resources/index.js +2 -1
  265. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  266. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  267. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  268. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  269. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  270. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  271. package/package.json +1 -1
  272. package/reference.md +357 -446
  273. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  274. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  275. package/serialization/resources/commons/types/index.d.ts +1 -0
  276. package/serialization/resources/commons/types/index.js +1 -0
  277. package/serialization/resources/credentialing/index.d.ts +1 -0
  278. package/serialization/resources/credentialing/index.js +17 -0
  279. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  280. package/serialization/resources/credentialing/resources/index.js +27 -0
  281. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  282. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  283. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  284. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  285. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  286. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  287. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  288. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  289. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  290. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  291. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  292. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  293. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  294. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  295. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  296. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  297. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  298. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  299. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  300. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  301. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  302. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  303. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  304. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  305. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  306. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  307. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  308. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  309. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  310. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  311. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  312. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  313. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  314. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  315. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  316. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  317. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  318. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  319. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  320. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  321. package/serialization/resources/index.d.ts +1 -0
  322. package/serialization/resources/index.js +2 -1
  323. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  324. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  325. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  326. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  327. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  328. package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  329. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  330. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  331. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  332. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  333. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  334. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
package/reference.md CHANGED
@@ -469,6 +469,300 @@ await client.contracts.v2.update(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7
469
469
  </dl>
470
470
  </details>
471
471
 
472
+ ## Credentialing V2
473
+
474
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.create.Error></code></summary>
475
+ <dl>
476
+ <dd>
477
+
478
+ #### 🔌 Usage
479
+
480
+ <dl>
481
+ <dd>
482
+
483
+ <dl>
484
+ <dd>
485
+
486
+ ```typescript
487
+ await client.credentialing.v2.create({
488
+ renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
489
+ contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
490
+ payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
491
+ startDate: "2023-01-15",
492
+ endDate: "2023-01-15",
493
+ regions: {
494
+ type: "states",
495
+ states: [CandidApi.State.Aa],
496
+ },
497
+ submittedDate: "2023-01-15",
498
+ payerLoadedDate: "2023-01-15",
499
+ });
500
+ ```
501
+
502
+ </dd>
503
+ </dl>
504
+ </dd>
505
+ </dl>
506
+
507
+ #### ⚙️ Parameters
508
+
509
+ <dl>
510
+ <dd>
511
+
512
+ <dl>
513
+ <dd>
514
+
515
+ **request:** `CandidApi.credentialing.v2.ProviderCredentialingSpanCreate`
516
+
517
+ </dd>
518
+ </dl>
519
+
520
+ <dl>
521
+ <dd>
522
+
523
+ **requestOptions:** `V2.RequestOptions`
524
+
525
+ </dd>
526
+ </dl>
527
+ </dd>
528
+ </dl>
529
+
530
+ </dd>
531
+ </dl>
532
+ </details>
533
+
534
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">get</a>(providerCredentialingId) -> core.APIResponse<CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.get.Error></code></summary>
535
+ <dl>
536
+ <dd>
537
+
538
+ #### 🔌 Usage
539
+
540
+ <dl>
541
+ <dd>
542
+
543
+ <dl>
544
+ <dd>
545
+
546
+ ```typescript
547
+ await client.credentialing.v2.get(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
548
+ ```
549
+
550
+ </dd>
551
+ </dl>
552
+ </dd>
553
+ </dl>
554
+
555
+ #### ⚙️ Parameters
556
+
557
+ <dl>
558
+ <dd>
559
+
560
+ <dl>
561
+ <dd>
562
+
563
+ **providerCredentialingId:** `CandidApi.ProviderCredentialingSpanId`
564
+
565
+ </dd>
566
+ </dl>
567
+
568
+ <dl>
569
+ <dd>
570
+
571
+ **requestOptions:** `V2.RequestOptions`
572
+
573
+ </dd>
574
+ </dl>
575
+ </dd>
576
+ </dl>
577
+
578
+ </dd>
579
+ </dl>
580
+ </details>
581
+
582
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.ProviderCredentialingSpanPage, CandidApi.credentialing.v2.getAll.Error></code></summary>
583
+ <dl>
584
+ <dd>
585
+
586
+ #### 🔌 Usage
587
+
588
+ <dl>
589
+ <dd>
590
+
591
+ <dl>
592
+ <dd>
593
+
594
+ ```typescript
595
+ await client.credentialing.v2.getAll({
596
+ limit: 1,
597
+ pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
598
+ payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
599
+ asRenderingProvider: true,
600
+ asContractingProvider: true,
601
+ });
602
+ ```
603
+
604
+ </dd>
605
+ </dl>
606
+ </dd>
607
+ </dl>
608
+
609
+ #### ⚙️ Parameters
610
+
611
+ <dl>
612
+ <dd>
613
+
614
+ <dl>
615
+ <dd>
616
+
617
+ **request:** `CandidApi.credentialing.v2.GetAllProviderCredentialingSpansRequest`
618
+
619
+ </dd>
620
+ </dl>
621
+
622
+ <dl>
623
+ <dd>
624
+
625
+ **requestOptions:** `V2.RequestOptions`
626
+
627
+ </dd>
628
+ </dl>
629
+ </dd>
630
+ </dl>
631
+
632
+ </dd>
633
+ </dl>
634
+ </details>
635
+
636
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">delete</a>(providerCredentialingId) -> core.APIResponse<void, CandidApi.credentialing.v2.delete.Error></code></summary>
637
+ <dl>
638
+ <dd>
639
+
640
+ #### 📝 Description
641
+
642
+ <dl>
643
+ <dd>
644
+
645
+ <dl>
646
+ <dd>
647
+
648
+ Soft deletes a credentialing span rate from the system.
649
+
650
+ </dd>
651
+ </dl>
652
+ </dd>
653
+ </dl>
654
+
655
+ #### 🔌 Usage
656
+
657
+ <dl>
658
+ <dd>
659
+
660
+ <dl>
661
+ <dd>
662
+
663
+ ```typescript
664
+ await client.credentialing.v2.delete(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
665
+ ```
666
+
667
+ </dd>
668
+ </dl>
669
+ </dd>
670
+ </dl>
671
+
672
+ #### ⚙️ Parameters
673
+
674
+ <dl>
675
+ <dd>
676
+
677
+ <dl>
678
+ <dd>
679
+
680
+ **providerCredentialingId:** `CandidApi.ProviderCredentialingSpanId`
681
+
682
+ </dd>
683
+ </dl>
684
+
685
+ <dl>
686
+ <dd>
687
+
688
+ **requestOptions:** `V2.RequestOptions`
689
+
690
+ </dd>
691
+ </dl>
692
+ </dd>
693
+ </dl>
694
+
695
+ </dd>
696
+ </dl>
697
+ </details>
698
+
699
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">update</a>(providerCredentialingId, { ...params }) -> core.APIResponse<CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.update.Error></code></summary>
700
+ <dl>
701
+ <dd>
702
+
703
+ #### 🔌 Usage
704
+
705
+ <dl>
706
+ <dd>
707
+
708
+ <dl>
709
+ <dd>
710
+
711
+ ```typescript
712
+ await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
713
+ contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
714
+ payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
715
+ startDate: "2023-01-15",
716
+ endDate: "2023-01-15",
717
+ regions: {
718
+ type: "states",
719
+ states: [CandidApi.State.Aa],
720
+ },
721
+ submittedDate: "2023-01-15",
722
+ payerLoadedDate: "2023-01-15",
723
+ });
724
+ ```
725
+
726
+ </dd>
727
+ </dl>
728
+ </dd>
729
+ </dl>
730
+
731
+ #### ⚙️ Parameters
732
+
733
+ <dl>
734
+ <dd>
735
+
736
+ <dl>
737
+ <dd>
738
+
739
+ **providerCredentialingId:** `CandidApi.ProviderCredentialingSpanId`
740
+
741
+ </dd>
742
+ </dl>
743
+
744
+ <dl>
745
+ <dd>
746
+
747
+ **request:** `CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate`
748
+
749
+ </dd>
750
+ </dl>
751
+
752
+ <dl>
753
+ <dd>
754
+
755
+ **requestOptions:** `V2.RequestOptions`
756
+
757
+ </dd>
758
+ </dl>
759
+ </dd>
760
+ </dl>
761
+
762
+ </dd>
763
+ </dl>
764
+ </details>
765
+
472
766
  ## CustomSchemas V1
473
767
 
474
768
  <details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">getMulti</a>() -> core.APIResponse<CandidApi.SchemaGetMultiResponse, CandidApi.customSchemas.v1.getMulti.Error></code></summary>
@@ -2220,6 +2514,7 @@ await client.encounters.v4.create({
2220
2514
  },
2221
2515
  },
2222
2516
  ],
2517
+ referralNumber: "string",
2223
2518
  externalId: CandidApi.EncounterExternalId("string"),
2224
2519
  dateOfService: "2023-01-15",
2225
2520
  endDateOfService: "2023-01-15",
@@ -2286,7 +2581,6 @@ await client.encounters.v4.create({
2286
2581
  onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
2287
2582
  lastMenstrualPeriodDate: "2023-01-15",
2288
2583
  delayReasonCode: CandidApi.DelayReasonCode.C1,
2289
- referralNumber: "string",
2290
2584
  });
2291
2585
  ```
2292
2586
 
@@ -2345,7 +2639,7 @@ where applicable. In particular, the following fields are populated from the pat
2345
2639
  - Referring Provider
2346
2640
  - Subscriber Primary
2347
2641
  - Subscriber Secondary
2348
- - Prior Authorization Number
2642
+ - Referral Number
2349
2643
  - Responsible Party
2350
2644
  - Guarantor
2351
2645
 
@@ -2633,7 +2927,6 @@ await client.encounters.v4.createFromPreEncounterPatient({
2633
2927
  onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
2634
2928
  lastMenstrualPeriodDate: "2023-01-15",
2635
2929
  delayReasonCode: CandidApi.DelayReasonCode.C1,
2636
- referralNumber: "string",
2637
2930
  });
2638
2931
  ```
2639
2932
 
@@ -4780,25 +5073,8 @@ await client.insuranceAdjudications.v1.create({
4780
5073
  "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [
4781
5074
  {
4782
5075
  claimStatusCode: CandidApi.ClaimStatusCodeCreate.ProcessedAsPrimary,
4783
- insurancePaidAmountCents: {
4784
- key: "value",
4785
- },
4786
- chargeAmountCents: {
4787
- key: "value",
4788
- },
4789
- serviceLines: {
4790
- string: {
4791
- key: "value",
4792
- },
4793
- },
4794
- payerClaimNumber: {
4795
- key: "value",
4796
- },
4797
- carcs: [
4798
- {
4799
- key: "value",
4800
- },
4801
- ],
5076
+ serviceLines: {},
5077
+ carcs: [],
4802
5078
  },
4803
5079
  ],
4804
5080
  },
@@ -7198,9 +7474,6 @@ await client.organizationProviders.v3.create({
7198
7474
  {
7199
7475
  period: {
7200
7476
  startDate: CandidApi.Date_("string"),
7201
- endDate: {
7202
- key: "value",
7203
- },
7204
7477
  },
7205
7478
  identifierCode: CandidApi.IdentifierCode.Mcr,
7206
7479
  identifierValue: {
@@ -7287,9 +7560,6 @@ await client.organizationProviders.v3.update(CandidApi.OrganizationProviderId("d
7287
7560
  type: "add",
7288
7561
  period: {
7289
7562
  startDate: CandidApi.Date_("string"),
7290
- endDate: {
7291
- key: "value",
7292
- },
7293
7563
  },
7294
7564
  identifierCode: CandidApi.IdentifierCode.Mcr,
7295
7565
  identifierValue: {
@@ -8220,6 +8490,21 @@ await client.serviceLines.v2.create({
8220
8490
  conversionFormula: "string",
8221
8491
  drugDescription: "string",
8222
8492
  },
8493
+ orderingProvider: {
8494
+ npi: "string",
8495
+ taxonomyCode: "string",
8496
+ address: {
8497
+ address1: "123 Main St",
8498
+ address2: "Apt 1",
8499
+ city: "New York",
8500
+ state: CandidApi.State.Ny,
8501
+ zipCode: "10001",
8502
+ zipPlusFourCode: "1234",
8503
+ },
8504
+ firstName: "string",
8505
+ lastName: "string",
8506
+ organizationName: "string",
8507
+ },
8223
8508
  testResults: [
8224
8509
  {
8225
8510
  value: 1.1,
@@ -8999,14 +9284,7 @@ await client.preEncounter.appointments.v1.create({
8999
9284
  family: "string",
9000
9285
  given: ["string"],
9001
9286
  use: CandidApi.NameUse.Usual,
9002
- period: {
9003
- start: {
9004
- key: "value",
9005
- },
9006
- end: {
9007
- key: "value",
9008
- },
9009
- },
9287
+ period: {},
9010
9288
  },
9011
9289
  type: CandidApi.ExternalProviderType.Primary,
9012
9290
  npi: "string",
@@ -9014,24 +9292,10 @@ await client.preEncounter.appointments.v1.create({
9014
9292
  {
9015
9293
  value: "string",
9016
9294
  use: CandidApi.ContactPointUse.Home,
9017
- period: {
9018
- key: "value",
9019
- },
9020
- },
9021
- ],
9022
- addresses: [
9023
- {
9024
- key: "value",
9025
9295
  },
9026
9296
  ],
9027
- period: {
9028
- start: {
9029
- key: "value",
9030
- },
9031
- end: {
9032
- key: "value",
9033
- },
9034
- },
9297
+ addresses: [],
9298
+ period: {},
9035
9299
  canonicalId: CandidApi.CanonicalProviderId("string"),
9036
9300
  },
9037
9301
  estimatedCopayCents: 1,
@@ -9248,14 +9512,7 @@ await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("string
9248
9512
  family: "string",
9249
9513
  given: ["string"],
9250
9514
  use: CandidApi.NameUse.Usual,
9251
- period: {
9252
- start: {
9253
- key: "value",
9254
- },
9255
- end: {
9256
- key: "value",
9257
- },
9258
- },
9515
+ period: {},
9259
9516
  },
9260
9517
  type: CandidApi.ExternalProviderType.Primary,
9261
9518
  npi: "string",
@@ -9263,24 +9520,10 @@ await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("string
9263
9520
  {
9264
9521
  value: "string",
9265
9522
  use: CandidApi.ContactPointUse.Home,
9266
- period: {
9267
- key: "value",
9268
- },
9269
9523
  },
9270
9524
  ],
9271
- addresses: [
9272
- {
9273
- key: "value",
9274
- },
9275
- ],
9276
- period: {
9277
- start: {
9278
- key: "value",
9279
- },
9280
- end: {
9281
- key: "value",
9282
- },
9283
- },
9525
+ addresses: [],
9526
+ period: {},
9284
9527
  canonicalId: CandidApi.CanonicalProviderId("string"),
9285
9528
  },
9286
9529
  estimatedCopayCents: 1,
@@ -9515,14 +9758,7 @@ await client.preEncounter.coverages.v1.create({
9515
9758
  family: "string",
9516
9759
  given: ["string"],
9517
9760
  use: CandidApi.NameUse.Usual,
9518
- period: {
9519
- start: {
9520
- key: "value",
9521
- },
9522
- end: {
9523
- key: "value",
9524
- },
9525
- },
9761
+ period: {},
9526
9762
  },
9527
9763
  dateOfBirth: "2023-01-15",
9528
9764
  biologicalSex: CandidApi.Sex.Female,
@@ -9533,14 +9769,7 @@ await client.preEncounter.coverages.v1.create({
9533
9769
  state: "string",
9534
9770
  postalCode: "string",
9535
9771
  country: "string",
9536
- period: {
9537
- start: {
9538
- key: "value",
9539
- },
9540
- end: {
9541
- key: "value",
9542
- },
9543
- },
9772
+ period: {},
9544
9773
  },
9545
9774
  },
9546
9775
  relationship: CandidApi.Relationship.Self,
@@ -9559,14 +9788,7 @@ await client.preEncounter.coverages.v1.create({
9559
9788
  name: "string",
9560
9789
  planType: CandidApi.NetworkType.SelfPay,
9561
9790
  type: CandidApi.InsuranceTypeCode.C01,
9562
- period: {
9563
- start: {
9564
- key: "value",
9565
- },
9566
- end: {
9567
- key: "value",
9568
- },
9569
- },
9791
+ period: {},
9570
9792
  insuranceCardImageLocator: "string",
9571
9793
  },
9572
9794
  verified: true,
@@ -9584,14 +9806,7 @@ await client.preEncounter.coverages.v1.create({
9584
9806
  status: CandidApi.EligibilityStatus.Active,
9585
9807
  initiatedAt: new Date("2024-01-15T09:30:00.000Z"),
9586
9808
  },
9587
- benefits: {
9588
- planCoverage: {
9589
- key: "value",
9590
- },
9591
- serviceSpecificCoverage: {
9592
- key: "value",
9593
- },
9594
- },
9809
+ benefits: {},
9595
9810
  });
9596
9811
  ```
9597
9812
 
@@ -9662,14 +9877,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9662
9877
  family: "string",
9663
9878
  given: ["string"],
9664
9879
  use: CandidApi.NameUse.Usual,
9665
- period: {
9666
- start: {
9667
- key: "value",
9668
- },
9669
- end: {
9670
- key: "value",
9671
- },
9672
- },
9880
+ period: {},
9673
9881
  },
9674
9882
  dateOfBirth: "2023-01-15",
9675
9883
  biologicalSex: CandidApi.Sex.Female,
@@ -9680,14 +9888,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9680
9888
  state: "string",
9681
9889
  postalCode: "string",
9682
9890
  country: "string",
9683
- period: {
9684
- start: {
9685
- key: "value",
9686
- },
9687
- end: {
9688
- key: "value",
9689
- },
9690
- },
9891
+ period: {},
9691
9892
  },
9692
9893
  },
9693
9894
  relationship: CandidApi.Relationship.Self,
@@ -9706,14 +9907,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9706
9907
  name: "string",
9707
9908
  planType: CandidApi.NetworkType.SelfPay,
9708
9909
  type: CandidApi.InsuranceTypeCode.C01,
9709
- period: {
9710
- start: {
9711
- key: "value",
9712
- },
9713
- end: {
9714
- key: "value",
9715
- },
9716
- },
9910
+ period: {},
9717
9911
  insuranceCardImageLocator: "string",
9718
9912
  },
9719
9913
  verified: true,
@@ -9731,14 +9925,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9731
9925
  status: CandidApi.EligibilityStatus.Active,
9732
9926
  initiatedAt: new Date("2024-01-15T09:30:00.000Z"),
9733
9927
  },
9734
- benefits: {
9735
- planCoverage: {
9736
- key: "value",
9737
- },
9738
- serviceSpecificCoverage: {
9739
- key: "value",
9740
- },
9741
- },
9928
+ benefits: {},
9742
9929
  });
9743
9930
  ```
9744
9931
 
@@ -10372,28 +10559,14 @@ await client.preEncounter.patients.v1.create({
10372
10559
  family: "string",
10373
10560
  given: ["string"],
10374
10561
  use: CandidApi.NameUse.Usual,
10375
- period: {
10376
- start: {
10377
- key: "value",
10378
- },
10379
- end: {
10380
- key: "value",
10381
- },
10382
- },
10562
+ period: {},
10383
10563
  },
10384
10564
  otherNames: [
10385
10565
  {
10386
10566
  family: "string",
10387
10567
  given: ["string"],
10388
10568
  use: CandidApi.NameUse.Usual,
10389
- period: {
10390
- start: {
10391
- key: "value",
10392
- },
10393
- end: {
10394
- key: "value",
10395
- },
10396
- },
10569
+ period: {},
10397
10570
  },
10398
10571
  ],
10399
10572
  gender: CandidApi.Gender.Man,
@@ -10414,14 +10587,7 @@ await client.preEncounter.patients.v1.create({
10414
10587
  state: "string",
10415
10588
  postalCode: "string",
10416
10589
  country: "string",
10417
- period: {
10418
- start: {
10419
- key: "value",
10420
- },
10421
- end: {
10422
- key: "value",
10423
- },
10424
- },
10590
+ period: {},
10425
10591
  },
10426
10592
  otherAddresses: [
10427
10593
  {
@@ -10431,30 +10597,17 @@ await client.preEncounter.patients.v1.create({
10431
10597
  state: "string",
10432
10598
  postalCode: "string",
10433
10599
  country: "string",
10434
- period: {
10435
- start: {
10436
- key: "value",
10437
- },
10438
- end: {
10439
- key: "value",
10440
- },
10441
- },
10600
+ period: {},
10442
10601
  },
10443
10602
  ],
10444
10603
  primaryTelecom: {
10445
10604
  value: "string",
10446
10605
  use: CandidApi.ContactPointUse.Home,
10447
- period: {
10448
- key: "value",
10449
- },
10450
10606
  },
10451
10607
  otherTelecoms: [
10452
10608
  {
10453
10609
  value: "string",
10454
10610
  use: CandidApi.ContactPointUse.Home,
10455
- period: {
10456
- key: "value",
10457
- },
10458
10611
  },
10459
10612
  ],
10460
10613
  email: "string",
@@ -10472,22 +10625,12 @@ await client.preEncounter.patients.v1.create({
10472
10625
  family: "string",
10473
10626
  given: ["string"],
10474
10627
  use: CandidApi.NameUse.Usual,
10475
- period: {
10476
- start: {
10477
- key: "value",
10478
- },
10479
- end: {
10480
- key: "value",
10481
- },
10482
- },
10628
+ period: {},
10483
10629
  },
10484
10630
  telecoms: [
10485
10631
  {
10486
10632
  value: "string",
10487
10633
  use: CandidApi.ContactPointUse.Home,
10488
- period: {
10489
- key: "value",
10490
- },
10491
10634
  },
10492
10635
  ],
10493
10636
  addresses: [
@@ -10498,24 +10641,10 @@ await client.preEncounter.patients.v1.create({
10498
10641
  state: "string",
10499
10642
  postalCode: "string",
10500
10643
  country: "string",
10501
- period: {
10502
- start: {
10503
- key: "value",
10504
- },
10505
- end: {
10506
- key: "value",
10507
- },
10508
- },
10644
+ period: {},
10509
10645
  },
10510
10646
  ],
10511
- period: {
10512
- start: {
10513
- key: "value",
10514
- },
10515
- end: {
10516
- key: "value",
10517
- },
10518
- },
10647
+ period: {},
10519
10648
  hipaaAuthorization: true,
10520
10649
  },
10521
10650
  ],
@@ -10525,14 +10654,7 @@ await client.preEncounter.patients.v1.create({
10525
10654
  family: "string",
10526
10655
  given: ["string"],
10527
10656
  use: CandidApi.NameUse.Usual,
10528
- period: {
10529
- start: {
10530
- key: "value",
10531
- },
10532
- end: {
10533
- key: "value",
10534
- },
10535
- },
10657
+ period: {},
10536
10658
  },
10537
10659
  type: CandidApi.ExternalProviderType.Primary,
10538
10660
  npi: "string",
@@ -10540,24 +10662,10 @@ await client.preEncounter.patients.v1.create({
10540
10662
  {
10541
10663
  value: "string",
10542
10664
  use: CandidApi.ContactPointUse.Home,
10543
- period: {
10544
- key: "value",
10545
- },
10546
- },
10547
- ],
10548
- addresses: [
10549
- {
10550
- key: "value",
10551
10665
  },
10552
10666
  ],
10553
- period: {
10554
- start: {
10555
- key: "value",
10556
- },
10557
- end: {
10558
- key: "value",
10559
- },
10560
- },
10667
+ addresses: [],
10668
+ period: {},
10561
10669
  canonicalId: CandidApi.CanonicalProviderId("string"),
10562
10670
  },
10563
10671
  ],
@@ -10568,9 +10676,6 @@ await client.preEncounter.patients.v1.create({
10568
10676
  nonInsurancePayerAssociations: [
10569
10677
  {
10570
10678
  id: CandidApi.CanonicalNonInsurancePayerId("string"),
10571
- memberId: {
10572
- key: "value",
10573
- },
10574
10679
  },
10575
10680
  ],
10576
10681
  guarantor: {
@@ -10578,21 +10683,11 @@ await client.preEncounter.patients.v1.create({
10578
10683
  family: "string",
10579
10684
  given: ["string"],
10580
10685
  use: CandidApi.NameUse.Usual,
10581
- period: {
10582
- start: {
10583
- key: "value",
10584
- },
10585
- end: {
10586
- key: "value",
10587
- },
10588
- },
10686
+ period: {},
10589
10687
  },
10590
10688
  telecom: {
10591
10689
  value: "string",
10592
10690
  use: CandidApi.ContactPointUse.Home,
10593
- period: {
10594
- key: "value",
10595
- },
10596
10691
  },
10597
10692
  email: "string",
10598
10693
  birthDate: "2023-01-15",
@@ -10603,14 +10698,7 @@ await client.preEncounter.patients.v1.create({
10603
10698
  state: "string",
10604
10699
  postalCode: "string",
10605
10700
  country: "string",
10606
- period: {
10607
- start: {
10608
- key: "value",
10609
- },
10610
- end: {
10611
- key: "value",
10612
- },
10613
- },
10701
+ period: {},
10614
10702
  },
10615
10703
  },
10616
10704
  selfPay: true,
@@ -10618,21 +10706,9 @@ await client.preEncounter.patients.v1.create({
10618
10706
  {
10619
10707
  payerId: CandidApi.PayerId("string"),
10620
10708
  payerName: "string",
10621
- additionalPayerInformation: {
10622
- key: "value",
10623
- },
10624
10709
  authorizationNumber: "string",
10625
10710
  cptCode: "string",
10626
10711
  units: CandidApi.AuthorizationUnit.Visit,
10627
- quantity: {
10628
- key: "value",
10629
- },
10630
- period: {
10631
- key: "value",
10632
- },
10633
- notes: {
10634
- key: "value",
10635
- },
10636
10712
  },
10637
10713
  ],
10638
10714
  referrals: [
@@ -10642,14 +10718,7 @@ await client.preEncounter.patients.v1.create({
10642
10718
  family: "string",
10643
10719
  given: ["string"],
10644
10720
  use: CandidApi.NameUse.Usual,
10645
- period: {
10646
- start: {
10647
- key: "value",
10648
- },
10649
- end: {
10650
- key: "value",
10651
- },
10652
- },
10721
+ period: {},
10653
10722
  },
10654
10723
  type: CandidApi.ExternalProviderType.Primary,
10655
10724
  npi: "string",
@@ -10657,33 +10726,13 @@ await client.preEncounter.patients.v1.create({
10657
10726
  {
10658
10727
  value: "string",
10659
10728
  use: CandidApi.ContactPointUse.Home,
10660
- period: {
10661
- key: "value",
10662
- },
10663
- },
10664
- ],
10665
- addresses: [
10666
- {
10667
- key: "value",
10668
10729
  },
10669
10730
  ],
10670
- period: {
10671
- start: {
10672
- key: "value",
10673
- },
10674
- end: {
10675
- key: "value",
10676
- },
10677
- },
10731
+ addresses: [],
10732
+ period: {},
10678
10733
  canonicalId: CandidApi.CanonicalProviderId("string"),
10679
10734
  },
10680
10735
  referralNumber: "string",
10681
- period: {
10682
- key: "value",
10683
- },
10684
- notes: {
10685
- key: "value",
10686
- },
10687
10736
  },
10688
10737
  ],
10689
10738
  primaryServiceFacilityId: "string",
@@ -10951,28 +11000,14 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
10951
11000
  family: "string",
10952
11001
  given: ["string"],
10953
11002
  use: CandidApi.NameUse.Usual,
10954
- period: {
10955
- start: {
10956
- key: "value",
10957
- },
10958
- end: {
10959
- key: "value",
10960
- },
10961
- },
11003
+ period: {},
10962
11004
  },
10963
11005
  otherNames: [
10964
11006
  {
10965
11007
  family: "string",
10966
11008
  given: ["string"],
10967
11009
  use: CandidApi.NameUse.Usual,
10968
- period: {
10969
- start: {
10970
- key: "value",
10971
- },
10972
- end: {
10973
- key: "value",
10974
- },
10975
- },
11010
+ period: {},
10976
11011
  },
10977
11012
  ],
10978
11013
  gender: CandidApi.Gender.Man,
@@ -10993,14 +11028,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
10993
11028
  state: "string",
10994
11029
  postalCode: "string",
10995
11030
  country: "string",
10996
- period: {
10997
- start: {
10998
- key: "value",
10999
- },
11000
- end: {
11001
- key: "value",
11002
- },
11003
- },
11031
+ period: {},
11004
11032
  },
11005
11033
  otherAddresses: [
11006
11034
  {
@@ -11010,30 +11038,17 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11010
11038
  state: "string",
11011
11039
  postalCode: "string",
11012
11040
  country: "string",
11013
- period: {
11014
- start: {
11015
- key: "value",
11016
- },
11017
- end: {
11018
- key: "value",
11019
- },
11020
- },
11041
+ period: {},
11021
11042
  },
11022
11043
  ],
11023
11044
  primaryTelecom: {
11024
11045
  value: "string",
11025
11046
  use: CandidApi.ContactPointUse.Home,
11026
- period: {
11027
- key: "value",
11028
- },
11029
11047
  },
11030
11048
  otherTelecoms: [
11031
11049
  {
11032
11050
  value: "string",
11033
11051
  use: CandidApi.ContactPointUse.Home,
11034
- period: {
11035
- key: "value",
11036
- },
11037
11052
  },
11038
11053
  ],
11039
11054
  email: "string",
@@ -11051,22 +11066,12 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11051
11066
  family: "string",
11052
11067
  given: ["string"],
11053
11068
  use: CandidApi.NameUse.Usual,
11054
- period: {
11055
- start: {
11056
- key: "value",
11057
- },
11058
- end: {
11059
- key: "value",
11060
- },
11061
- },
11069
+ period: {},
11062
11070
  },
11063
11071
  telecoms: [
11064
11072
  {
11065
11073
  value: "string",
11066
11074
  use: CandidApi.ContactPointUse.Home,
11067
- period: {
11068
- key: "value",
11069
- },
11070
11075
  },
11071
11076
  ],
11072
11077
  addresses: [
@@ -11077,24 +11082,10 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11077
11082
  state: "string",
11078
11083
  postalCode: "string",
11079
11084
  country: "string",
11080
- period: {
11081
- start: {
11082
- key: "value",
11083
- },
11084
- end: {
11085
- key: "value",
11086
- },
11087
- },
11085
+ period: {},
11088
11086
  },
11089
11087
  ],
11090
- period: {
11091
- start: {
11092
- key: "value",
11093
- },
11094
- end: {
11095
- key: "value",
11096
- },
11097
- },
11088
+ period: {},
11098
11089
  hipaaAuthorization: true,
11099
11090
  },
11100
11091
  ],
@@ -11104,14 +11095,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11104
11095
  family: "string",
11105
11096
  given: ["string"],
11106
11097
  use: CandidApi.NameUse.Usual,
11107
- period: {
11108
- start: {
11109
- key: "value",
11110
- },
11111
- end: {
11112
- key: "value",
11113
- },
11114
- },
11098
+ period: {},
11115
11099
  },
11116
11100
  type: CandidApi.ExternalProviderType.Primary,
11117
11101
  npi: "string",
@@ -11119,24 +11103,10 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11119
11103
  {
11120
11104
  value: "string",
11121
11105
  use: CandidApi.ContactPointUse.Home,
11122
- period: {
11123
- key: "value",
11124
- },
11125
- },
11126
- ],
11127
- addresses: [
11128
- {
11129
- key: "value",
11130
11106
  },
11131
11107
  ],
11132
- period: {
11133
- start: {
11134
- key: "value",
11135
- },
11136
- end: {
11137
- key: "value",
11138
- },
11139
- },
11108
+ addresses: [],
11109
+ period: {},
11140
11110
  canonicalId: CandidApi.CanonicalProviderId("string"),
11141
11111
  },
11142
11112
  ],
@@ -11147,9 +11117,6 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11147
11117
  nonInsurancePayerAssociations: [
11148
11118
  {
11149
11119
  id: CandidApi.CanonicalNonInsurancePayerId("string"),
11150
- memberId: {
11151
- key: "value",
11152
- },
11153
11120
  },
11154
11121
  ],
11155
11122
  guarantor: {
@@ -11157,21 +11124,11 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11157
11124
  family: "string",
11158
11125
  given: ["string"],
11159
11126
  use: CandidApi.NameUse.Usual,
11160
- period: {
11161
- start: {
11162
- key: "value",
11163
- },
11164
- end: {
11165
- key: "value",
11166
- },
11167
- },
11127
+ period: {},
11168
11128
  },
11169
11129
  telecom: {
11170
11130
  value: "string",
11171
11131
  use: CandidApi.ContactPointUse.Home,
11172
- period: {
11173
- key: "value",
11174
- },
11175
11132
  },
11176
11133
  email: "string",
11177
11134
  birthDate: "2023-01-15",
@@ -11182,14 +11139,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11182
11139
  state: "string",
11183
11140
  postalCode: "string",
11184
11141
  country: "string",
11185
- period: {
11186
- start: {
11187
- key: "value",
11188
- },
11189
- end: {
11190
- key: "value",
11191
- },
11192
- },
11142
+ period: {},
11193
11143
  },
11194
11144
  },
11195
11145
  selfPay: true,
@@ -11197,21 +11147,9 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11197
11147
  {
11198
11148
  payerId: CandidApi.PayerId("string"),
11199
11149
  payerName: "string",
11200
- additionalPayerInformation: {
11201
- key: "value",
11202
- },
11203
11150
  authorizationNumber: "string",
11204
11151
  cptCode: "string",
11205
11152
  units: CandidApi.AuthorizationUnit.Visit,
11206
- quantity: {
11207
- key: "value",
11208
- },
11209
- period: {
11210
- key: "value",
11211
- },
11212
- notes: {
11213
- key: "value",
11214
- },
11215
11153
  },
11216
11154
  ],
11217
11155
  referrals: [
@@ -11221,14 +11159,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11221
11159
  family: "string",
11222
11160
  given: ["string"],
11223
11161
  use: CandidApi.NameUse.Usual,
11224
- period: {
11225
- start: {
11226
- key: "value",
11227
- },
11228
- end: {
11229
- key: "value",
11230
- },
11231
- },
11162
+ period: {},
11232
11163
  },
11233
11164
  type: CandidApi.ExternalProviderType.Primary,
11234
11165
  npi: "string",
@@ -11236,33 +11167,13 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11236
11167
  {
11237
11168
  value: "string",
11238
11169
  use: CandidApi.ContactPointUse.Home,
11239
- period: {
11240
- key: "value",
11241
- },
11242
- },
11243
- ],
11244
- addresses: [
11245
- {
11246
- key: "value",
11247
11170
  },
11248
11171
  ],
11249
- period: {
11250
- start: {
11251
- key: "value",
11252
- },
11253
- end: {
11254
- key: "value",
11255
- },
11256
- },
11172
+ addresses: [],
11173
+ period: {},
11257
11174
  canonicalId: CandidApi.CanonicalProviderId("string"),
11258
11175
  },
11259
11176
  referralNumber: "string",
11260
- period: {
11261
- key: "value",
11262
- },
11263
- notes: {
11264
- key: "value",
11265
- },
11266
11177
  },
11267
11178
  ],
11268
11179
  primaryServiceFacilityId: "string",