candidhealth 0.34.6 → 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 (434) 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 +13 -3
  55. package/api/resources/encounters/resources/v4/client/Client.js +18 -9
  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 +10 -0
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
  61. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
  62. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  63. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  69. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  70. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  71. package/api/resources/index.d.ts +1 -0
  72. package/api/resources/index.js +2 -1
  73. package/api/resources/individual/types/Patient.d.ts +24 -1
  74. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  75. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
  76. package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  77. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  78. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  79. package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  80. package/api/resources/individual/types/index.d.ts +2 -0
  81. package/api/resources/individual/types/index.js +2 -0
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  83. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  84. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  85. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  86. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  87. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  88. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  89. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  90. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  91. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  92. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  93. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  94. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  95. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  96. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  97. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  98. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  99. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  100. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  101. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  102. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  103. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  104. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  105. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  106. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  107. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  108. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  109. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  110. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
  111. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
  112. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  113. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  114. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
  115. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
  116. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
  117. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  118. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  119. package/api/resources/serviceFacility/client/Client.js +1 -1
  120. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
  121. package/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
  122. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
  123. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  124. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  125. package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  126. package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  127. package/dist/Client.d.ts +3 -0
  128. package/dist/Client.js +61 -56
  129. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  130. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  131. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  132. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  133. package/dist/api/resources/commons/types/index.d.ts +1 -0
  134. package/dist/api/resources/commons/types/index.js +1 -0
  135. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  136. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  137. package/dist/api/resources/credentialing/client/Client.js +17 -0
  138. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  139. package/dist/api/resources/credentialing/client/index.js +2 -0
  140. package/dist/api/resources/credentialing/index.d.ts +2 -0
  141. package/dist/api/resources/credentialing/index.js +18 -0
  142. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  143. package/dist/api/resources/credentialing/resources/index.js +27 -0
  144. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  145. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  146. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  147. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  148. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  149. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  150. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  151. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  152. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  153. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  154. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  155. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  156. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  157. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  158. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  159. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  160. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  161. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  162. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  163. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  164. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  165. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  166. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  167. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  168. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  169. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  170. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  171. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  172. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  173. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  174. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  175. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  176. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  177. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  178. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  179. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  180. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  181. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  182. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +13 -3
  183. package/dist/api/resources/encounters/resources/v4/client/Client.js +18 -9
  184. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  185. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  186. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +10 -0
  187. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  188. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
  189. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
  190. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  191. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  192. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  193. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  194. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  195. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  196. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  197. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  198. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  199. package/dist/api/resources/index.d.ts +1 -0
  200. package/dist/api/resources/index.js +2 -1
  201. package/dist/api/resources/individual/types/Patient.d.ts +24 -1
  202. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  203. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
  204. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  205. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  206. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  207. package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  208. package/dist/api/resources/individual/types/index.d.ts +2 -0
  209. package/dist/api/resources/individual/types/index.js +2 -0
  210. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
  211. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
  212. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  213. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  214. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  216. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  217. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  218. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  219. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  220. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  221. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  222. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  223. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  224. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  225. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  226. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  227. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  228. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  229. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  230. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  231. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  232. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  233. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  234. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  235. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  236. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  237. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  238. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
  239. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
  240. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  241. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  242. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
  243. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
  244. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
  245. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  246. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  247. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  248. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
  249. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
  250. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
  251. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  252. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
  254. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
  255. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  256. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  257. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  258. package/dist/serialization/resources/commons/types/index.js +1 -0
  259. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  260. package/dist/serialization/resources/credentialing/index.js +17 -0
  261. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  262. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  263. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  264. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  265. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  266. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  267. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  268. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  269. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  270. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  271. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  272. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  273. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  274. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  275. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  276. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  277. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  278. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  279. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  280. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  281. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  282. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  283. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  284. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  285. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  286. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  287. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  288. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  289. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  290. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  291. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  292. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  293. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  294. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  295. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  296. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  297. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  298. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  299. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  300. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  301. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  302. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  303. package/dist/serialization/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/index.js +2 -1
  305. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  306. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  307. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  308. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  309. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  310. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  311. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  312. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  313. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  314. package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
  315. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  316. package/dist/serialization/resources/individual/types/index.js +2 -0
  317. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  318. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  319. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  320. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  321. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  322. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  323. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  324. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  325. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  326. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  327. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  328. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  329. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  330. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  331. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  332. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  333. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  334. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  335. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  336. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  337. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
  338. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
  339. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  340. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  341. package/package.json +1 -1
  342. package/reference.md +6630 -1164
  343. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  344. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  345. package/serialization/resources/commons/types/index.d.ts +1 -0
  346. package/serialization/resources/commons/types/index.js +1 -0
  347. package/serialization/resources/credentialing/index.d.ts +1 -0
  348. package/serialization/resources/credentialing/index.js +17 -0
  349. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  350. package/serialization/resources/credentialing/resources/index.js +27 -0
  351. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  352. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  353. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  354. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  355. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  356. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  357. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  358. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  359. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  360. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  361. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  362. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  363. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  364. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  365. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  366. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  367. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  368. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  369. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  370. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  371. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  372. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  373. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  374. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  375. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  376. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  377. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  378. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  379. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  380. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  381. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  382. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  383. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  384. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  385. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  386. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  387. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  388. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  389. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  390. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  391. package/serialization/resources/index.d.ts +1 -0
  392. package/serialization/resources/index.js +2 -1
  393. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  394. package/serialization/resources/individual/types/Patient.js +2 -0
  395. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  396. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  397. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  398. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  399. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  400. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  401. package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  402. package/serialization/resources/individual/types/PatientUpdate.js +2 -0
  403. package/serialization/resources/individual/types/index.d.ts +2 -0
  404. package/serialization/resources/individual/types/index.js +2 -0
  405. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  406. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  407. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  408. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  409. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  410. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  411. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  412. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  413. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  414. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  415. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  416. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  417. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  418. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  419. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  420. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  421. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  422. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  423. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  424. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  425. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
  426. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
  427. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  428. package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
  429. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  430. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  431. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  432. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  433. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  434. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
@@ -62,27 +62,13 @@ class V1 {
62
62
  * family: "string",
63
63
  * given: ["string"],
64
64
  * use: CandidApi.preEncounter.NameUse.Usual,
65
- * period: {
66
- * start: {
67
- * "key": "value"
68
- * },
69
- * end: {
70
- * "key": "value"
71
- * }
72
- * }
65
+ * period: {}
73
66
  * },
74
67
  * otherNames: [{
75
68
  * family: "string",
76
69
  * given: ["string"],
77
70
  * use: CandidApi.preEncounter.NameUse.Usual,
78
- * period: {
79
- * start: {
80
- * "key": "value"
81
- * },
82
- * end: {
83
- * "key": "value"
84
- * }
85
- * }
71
+ * period: {}
86
72
  * }],
87
73
  * gender: CandidApi.preEncounter.Gender.Man,
88
74
  * birthDate: "2023-01-15",
@@ -102,14 +88,7 @@ class V1 {
102
88
  * state: "string",
103
89
  * postalCode: "string",
104
90
  * country: "string",
105
- * period: {
106
- * start: {
107
- * "key": "value"
108
- * },
109
- * end: {
110
- * "key": "value"
111
- * }
112
- * }
91
+ * period: {}
113
92
  * },
114
93
  * otherAddresses: [{
115
94
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -118,28 +97,15 @@ class V1 {
118
97
  * state: "string",
119
98
  * postalCode: "string",
120
99
  * country: "string",
121
- * period: {
122
- * start: {
123
- * "key": "value"
124
- * },
125
- * end: {
126
- * "key": "value"
127
- * }
128
- * }
100
+ * period: {}
129
101
  * }],
130
102
  * primaryTelecom: {
131
103
  * value: "string",
132
- * use: CandidApi.preEncounter.ContactPointUse.Home,
133
- * period: {
134
- * "key": "value"
135
- * }
104
+ * use: CandidApi.preEncounter.ContactPointUse.Home
136
105
  * },
137
106
  * otherTelecoms: [{
138
107
  * value: "string",
139
- * use: CandidApi.preEncounter.ContactPointUse.Home,
140
- * period: {
141
- * "key": "value"
142
- * }
108
+ * use: CandidApi.preEncounter.ContactPointUse.Home
143
109
  * }],
144
110
  * email: "string",
145
111
  * electronicCommunicationOptIn: true,
@@ -155,21 +121,11 @@ class V1 {
155
121
  * family: "string",
156
122
  * given: ["string"],
157
123
  * use: CandidApi.preEncounter.NameUse.Usual,
158
- * period: {
159
- * start: {
160
- * "key": "value"
161
- * },
162
- * end: {
163
- * "key": "value"
164
- * }
165
- * }
124
+ * period: {}
166
125
  * },
167
126
  * telecoms: [{
168
127
  * value: "string",
169
- * use: CandidApi.preEncounter.ContactPointUse.Home,
170
- * period: {
171
- * "key": "value"
172
- * }
128
+ * use: CandidApi.preEncounter.ContactPointUse.Home
173
129
  * }],
174
130
  * addresses: [{
175
131
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -178,23 +134,9 @@ class V1 {
178
134
  * state: "string",
179
135
  * postalCode: "string",
180
136
  * country: "string",
181
- * period: {
182
- * start: {
183
- * "key": "value"
184
- * },
185
- * end: {
186
- * "key": "value"
187
- * }
188
- * }
137
+ * period: {}
189
138
  * }],
190
- * period: {
191
- * start: {
192
- * "key": "value"
193
- * },
194
- * end: {
195
- * "key": "value"
196
- * }
197
- * },
139
+ * period: {},
198
140
  * hipaaAuthorization: true
199
141
  * }],
200
142
  * generalPractitioners: [{
@@ -202,61 +144,35 @@ class V1 {
202
144
  * family: "string",
203
145
  * given: ["string"],
204
146
  * use: CandidApi.preEncounter.NameUse.Usual,
205
- * period: {
206
- * start: {
207
- * "key": "value"
208
- * },
209
- * end: {
210
- * "key": "value"
211
- * }
212
- * }
147
+ * period: {}
213
148
  * },
214
149
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
215
150
  * npi: "string",
216
151
  * telecoms: [{
217
152
  * value: "string",
218
- * use: CandidApi.preEncounter.ContactPointUse.Home,
219
- * period: {
220
- * "key": "value"
221
- * }
222
- * }],
223
- * addresses: [{
224
- * "key": "value"
153
+ * use: CandidApi.preEncounter.ContactPointUse.Home
225
154
  * }],
226
- * period: {
227
- * start: {
228
- * "key": "value"
229
- * },
230
- * end: {
231
- * "key": "value"
232
- * }
233
- * },
155
+ * addresses: [],
156
+ * period: {},
234
157
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
235
158
  * }],
236
159
  * filingOrder: {
237
160
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
238
161
  * },
239
162
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
163
+ * nonInsurancePayerAssociations: [{
164
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
165
+ * }],
240
166
  * guarantor: {
241
167
  * name: {
242
168
  * family: "string",
243
169
  * given: ["string"],
244
170
  * use: CandidApi.preEncounter.NameUse.Usual,
245
- * period: {
246
- * start: {
247
- * "key": "value"
248
- * },
249
- * end: {
250
- * "key": "value"
251
- * }
252
- * }
171
+ * period: {}
253
172
  * },
254
173
  * telecom: {
255
174
  * value: "string",
256
- * use: CandidApi.preEncounter.ContactPointUse.Home,
257
- * period: {
258
- * "key": "value"
259
- * }
175
+ * use: CandidApi.preEncounter.ContactPointUse.Home
260
176
  * },
261
177
  * email: "string",
262
178
  * birthDate: "2023-01-15",
@@ -267,35 +183,16 @@ class V1 {
267
183
  * state: "string",
268
184
  * postalCode: "string",
269
185
  * country: "string",
270
- * period: {
271
- * start: {
272
- * "key": "value"
273
- * },
274
- * end: {
275
- * "key": "value"
276
- * }
277
- * }
186
+ * period: {}
278
187
  * }
279
188
  * },
280
189
  * selfPay: true,
281
190
  * authorizations: [{
282
191
  * payerId: CandidApi.preEncounter.PayerId("string"),
283
192
  * payerName: "string",
284
- * additionalPayerInformation: {
285
- * "key": "value"
286
- * },
287
193
  * authorizationNumber: "string",
288
194
  * cptCode: "string",
289
- * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
290
- * quantity: {
291
- * "key": "value"
292
- * },
293
- * period: {
294
- * "key": "value"
295
- * },
296
- * notes: {
297
- * "key": "value"
298
- * }
195
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
299
196
  * }],
300
197
  * referrals: [{
301
198
  * provider: {
@@ -303,45 +200,21 @@ class V1 {
303
200
  * family: "string",
304
201
  * given: ["string"],
305
202
  * use: CandidApi.preEncounter.NameUse.Usual,
306
- * period: {
307
- * start: {
308
- * "key": "value"
309
- * },
310
- * end: {
311
- * "key": "value"
312
- * }
313
- * }
203
+ * period: {}
314
204
  * },
315
205
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
316
206
  * npi: "string",
317
207
  * telecoms: [{
318
208
  * value: "string",
319
- * use: CandidApi.preEncounter.ContactPointUse.Home,
320
- * period: {
321
- * "key": "value"
322
- * }
209
+ * use: CandidApi.preEncounter.ContactPointUse.Home
323
210
  * }],
324
- * addresses: [{
325
- * "key": "value"
326
- * }],
327
- * period: {
328
- * start: {
329
- * "key": "value"
330
- * },
331
- * end: {
332
- * "key": "value"
333
- * }
334
- * },
211
+ * addresses: [],
212
+ * period: {},
335
213
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
336
214
  * },
337
- * referralNumber: "string",
338
- * period: {
339
- * "key": "value"
340
- * },
341
- * notes: {
342
- * "key": "value"
343
- * }
344
- * }]
215
+ * referralNumber: "string"
216
+ * }],
217
+ * primaryServiceFacilityId: "string"
345
218
  * }
346
219
  * })
347
220
  */
@@ -361,7 +234,7 @@ class V1 {
361
234
  Authorization: yield this._getAuthorizationHeader(),
362
235
  "X-Fern-Language": "JavaScript",
363
236
  "X-Fern-SDK-Name": "candidhealth",
364
- "X-Fern-SDK-Version": "0.34.6",
237
+ "X-Fern-SDK-Version": "0.35.0",
365
238
  "X-Fern-Runtime": core.RUNTIME.type,
366
239
  "X-Fern-Runtime-Version": core.RUNTIME.version,
367
240
  },
@@ -450,7 +323,7 @@ class V1 {
450
323
  Authorization: yield this._getAuthorizationHeader(),
451
324
  "X-Fern-Language": "JavaScript",
452
325
  "X-Fern-SDK-Name": "candidhealth",
453
- "X-Fern-SDK-Version": "0.34.6",
326
+ "X-Fern-SDK-Version": "0.35.0",
454
327
  "X-Fern-Runtime": core.RUNTIME.type,
455
328
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
329
  },
@@ -498,7 +371,7 @@ class V1 {
498
371
  Authorization: yield this._getAuthorizationHeader(),
499
372
  "X-Fern-Language": "JavaScript",
500
373
  "X-Fern-SDK-Name": "candidhealth",
501
- "X-Fern-SDK-Version": "0.34.6",
374
+ "X-Fern-SDK-Version": "0.35.0",
502
375
  "X-Fern-Runtime": core.RUNTIME.type,
503
376
  "X-Fern-Runtime-Version": core.RUNTIME.version,
504
377
  },
@@ -559,7 +432,7 @@ class V1 {
559
432
  Authorization: yield this._getAuthorizationHeader(),
560
433
  "X-Fern-Language": "JavaScript",
561
434
  "X-Fern-SDK-Name": "candidhealth",
562
- "X-Fern-SDK-Version": "0.34.6",
435
+ "X-Fern-SDK-Version": "0.35.0",
563
436
  "X-Fern-Runtime": core.RUNTIME.type,
564
437
  "X-Fern-Runtime-Version": core.RUNTIME.version,
565
438
  },
@@ -614,27 +487,13 @@ class V1 {
614
487
  * family: "string",
615
488
  * given: ["string"],
616
489
  * use: CandidApi.preEncounter.NameUse.Usual,
617
- * period: {
618
- * start: {
619
- * "key": "value"
620
- * },
621
- * end: {
622
- * "key": "value"
623
- * }
624
- * }
490
+ * period: {}
625
491
  * },
626
492
  * otherNames: [{
627
493
  * family: "string",
628
494
  * given: ["string"],
629
495
  * use: CandidApi.preEncounter.NameUse.Usual,
630
- * period: {
631
- * start: {
632
- * "key": "value"
633
- * },
634
- * end: {
635
- * "key": "value"
636
- * }
637
- * }
496
+ * period: {}
638
497
  * }],
639
498
  * gender: CandidApi.preEncounter.Gender.Man,
640
499
  * birthDate: "2023-01-15",
@@ -654,14 +513,7 @@ class V1 {
654
513
  * state: "string",
655
514
  * postalCode: "string",
656
515
  * country: "string",
657
- * period: {
658
- * start: {
659
- * "key": "value"
660
- * },
661
- * end: {
662
- * "key": "value"
663
- * }
664
- * }
516
+ * period: {}
665
517
  * },
666
518
  * otherAddresses: [{
667
519
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -670,28 +522,15 @@ class V1 {
670
522
  * state: "string",
671
523
  * postalCode: "string",
672
524
  * country: "string",
673
- * period: {
674
- * start: {
675
- * "key": "value"
676
- * },
677
- * end: {
678
- * "key": "value"
679
- * }
680
- * }
525
+ * period: {}
681
526
  * }],
682
527
  * primaryTelecom: {
683
528
  * value: "string",
684
- * use: CandidApi.preEncounter.ContactPointUse.Home,
685
- * period: {
686
- * "key": "value"
687
- * }
529
+ * use: CandidApi.preEncounter.ContactPointUse.Home
688
530
  * },
689
531
  * otherTelecoms: [{
690
532
  * value: "string",
691
- * use: CandidApi.preEncounter.ContactPointUse.Home,
692
- * period: {
693
- * "key": "value"
694
- * }
533
+ * use: CandidApi.preEncounter.ContactPointUse.Home
695
534
  * }],
696
535
  * email: "string",
697
536
  * electronicCommunicationOptIn: true,
@@ -707,21 +546,11 @@ class V1 {
707
546
  * family: "string",
708
547
  * given: ["string"],
709
548
  * use: CandidApi.preEncounter.NameUse.Usual,
710
- * period: {
711
- * start: {
712
- * "key": "value"
713
- * },
714
- * end: {
715
- * "key": "value"
716
- * }
717
- * }
549
+ * period: {}
718
550
  * },
719
551
  * telecoms: [{
720
552
  * value: "string",
721
- * use: CandidApi.preEncounter.ContactPointUse.Home,
722
- * period: {
723
- * "key": "value"
724
- * }
553
+ * use: CandidApi.preEncounter.ContactPointUse.Home
725
554
  * }],
726
555
  * addresses: [{
727
556
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -730,23 +559,9 @@ class V1 {
730
559
  * state: "string",
731
560
  * postalCode: "string",
732
561
  * country: "string",
733
- * period: {
734
- * start: {
735
- * "key": "value"
736
- * },
737
- * end: {
738
- * "key": "value"
739
- * }
740
- * }
562
+ * period: {}
741
563
  * }],
742
- * period: {
743
- * start: {
744
- * "key": "value"
745
- * },
746
- * end: {
747
- * "key": "value"
748
- * }
749
- * },
564
+ * period: {},
750
565
  * hipaaAuthorization: true
751
566
  * }],
752
567
  * generalPractitioners: [{
@@ -754,61 +569,35 @@ class V1 {
754
569
  * family: "string",
755
570
  * given: ["string"],
756
571
  * use: CandidApi.preEncounter.NameUse.Usual,
757
- * period: {
758
- * start: {
759
- * "key": "value"
760
- * },
761
- * end: {
762
- * "key": "value"
763
- * }
764
- * }
572
+ * period: {}
765
573
  * },
766
574
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
767
575
  * npi: "string",
768
576
  * telecoms: [{
769
577
  * value: "string",
770
- * use: CandidApi.preEncounter.ContactPointUse.Home,
771
- * period: {
772
- * "key": "value"
773
- * }
774
- * }],
775
- * addresses: [{
776
- * "key": "value"
578
+ * use: CandidApi.preEncounter.ContactPointUse.Home
777
579
  * }],
778
- * period: {
779
- * start: {
780
- * "key": "value"
781
- * },
782
- * end: {
783
- * "key": "value"
784
- * }
785
- * },
580
+ * addresses: [],
581
+ * period: {},
786
582
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
787
583
  * }],
788
584
  * filingOrder: {
789
585
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
790
586
  * },
791
587
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
588
+ * nonInsurancePayerAssociations: [{
589
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
590
+ * }],
792
591
  * guarantor: {
793
592
  * name: {
794
593
  * family: "string",
795
594
  * given: ["string"],
796
595
  * use: CandidApi.preEncounter.NameUse.Usual,
797
- * period: {
798
- * start: {
799
- * "key": "value"
800
- * },
801
- * end: {
802
- * "key": "value"
803
- * }
804
- * }
596
+ * period: {}
805
597
  * },
806
598
  * telecom: {
807
599
  * value: "string",
808
- * use: CandidApi.preEncounter.ContactPointUse.Home,
809
- * period: {
810
- * "key": "value"
811
- * }
600
+ * use: CandidApi.preEncounter.ContactPointUse.Home
812
601
  * },
813
602
  * email: "string",
814
603
  * birthDate: "2023-01-15",
@@ -819,35 +608,16 @@ class V1 {
819
608
  * state: "string",
820
609
  * postalCode: "string",
821
610
  * country: "string",
822
- * period: {
823
- * start: {
824
- * "key": "value"
825
- * },
826
- * end: {
827
- * "key": "value"
828
- * }
829
- * }
611
+ * period: {}
830
612
  * }
831
613
  * },
832
614
  * selfPay: true,
833
615
  * authorizations: [{
834
616
  * payerId: CandidApi.preEncounter.PayerId("string"),
835
617
  * payerName: "string",
836
- * additionalPayerInformation: {
837
- * "key": "value"
838
- * },
839
618
  * authorizationNumber: "string",
840
619
  * cptCode: "string",
841
- * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
842
- * quantity: {
843
- * "key": "value"
844
- * },
845
- * period: {
846
- * "key": "value"
847
- * },
848
- * notes: {
849
- * "key": "value"
850
- * }
620
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
851
621
  * }],
852
622
  * referrals: [{
853
623
  * provider: {
@@ -855,45 +625,21 @@ class V1 {
855
625
  * family: "string",
856
626
  * given: ["string"],
857
627
  * use: CandidApi.preEncounter.NameUse.Usual,
858
- * period: {
859
- * start: {
860
- * "key": "value"
861
- * },
862
- * end: {
863
- * "key": "value"
864
- * }
865
- * }
628
+ * period: {}
866
629
  * },
867
630
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
868
631
  * npi: "string",
869
632
  * telecoms: [{
870
633
  * value: "string",
871
- * use: CandidApi.preEncounter.ContactPointUse.Home,
872
- * period: {
873
- * "key": "value"
874
- * }
634
+ * use: CandidApi.preEncounter.ContactPointUse.Home
875
635
  * }],
876
- * addresses: [{
877
- * "key": "value"
878
- * }],
879
- * period: {
880
- * start: {
881
- * "key": "value"
882
- * },
883
- * end: {
884
- * "key": "value"
885
- * }
886
- * },
636
+ * addresses: [],
637
+ * period: {},
887
638
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
888
639
  * },
889
- * referralNumber: "string",
890
- * period: {
891
- * "key": "value"
892
- * },
893
- * notes: {
894
- * "key": "value"
895
- * }
896
- * }]
640
+ * referralNumber: "string"
641
+ * }],
642
+ * primaryServiceFacilityId: "string"
897
643
  * })
898
644
  */
899
645
  update(id, version, request, requestOptions) {
@@ -907,7 +653,7 @@ class V1 {
907
653
  Authorization: yield this._getAuthorizationHeader(),
908
654
  "X-Fern-Language": "JavaScript",
909
655
  "X-Fern-SDK-Name": "candidhealth",
910
- "X-Fern-SDK-Version": "0.34.6",
656
+ "X-Fern-SDK-Version": "0.35.0",
911
657
  "X-Fern-Runtime": core.RUNTIME.type,
912
658
  "X-Fern-Runtime-Version": core.RUNTIME.version,
913
659
  },
@@ -973,7 +719,7 @@ class V1 {
973
719
  Authorization: yield this._getAuthorizationHeader(),
974
720
  "X-Fern-Language": "JavaScript",
975
721
  "X-Fern-SDK-Name": "candidhealth",
976
- "X-Fern-SDK-Version": "0.34.6",
722
+ "X-Fern-SDK-Version": "0.35.0",
977
723
  "X-Fern-Runtime": core.RUNTIME.type,
978
724
  "X-Fern-Runtime-Version": core.RUNTIME.version,
979
725
  },
@@ -1041,7 +787,7 @@ class V1 {
1041
787
  Authorization: yield this._getAuthorizationHeader(),
1042
788
  "X-Fern-Language": "JavaScript",
1043
789
  "X-Fern-SDK-Name": "candidhealth",
1044
- "X-Fern-SDK-Version": "0.34.6",
790
+ "X-Fern-SDK-Version": "0.35.0",
1045
791
  "X-Fern-Runtime": core.RUNTIME.type,
1046
792
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1047
793
  },
@@ -1094,7 +840,7 @@ class V1 {
1094
840
  Authorization: yield this._getAuthorizationHeader(),
1095
841
  "X-Fern-Language": "JavaScript",
1096
842
  "X-Fern-SDK-Name": "candidhealth",
1097
- "X-Fern-SDK-Version": "0.34.6",
843
+ "X-Fern-SDK-Version": "0.35.0",
1098
844
  "X-Fern-Runtime": core.RUNTIME.type,
1099
845
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1100
846
  },