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
@@ -35,27 +35,13 @@ export declare class V1 {
35
35
  * family: "string",
36
36
  * given: ["string"],
37
37
  * use: CandidApi.preEncounter.NameUse.Usual,
38
- * period: {
39
- * start: {
40
- * "key": "value"
41
- * },
42
- * end: {
43
- * "key": "value"
44
- * }
45
- * }
38
+ * period: {}
46
39
  * },
47
40
  * otherNames: [{
48
41
  * family: "string",
49
42
  * given: ["string"],
50
43
  * use: CandidApi.preEncounter.NameUse.Usual,
51
- * period: {
52
- * start: {
53
- * "key": "value"
54
- * },
55
- * end: {
56
- * "key": "value"
57
- * }
58
- * }
44
+ * period: {}
59
45
  * }],
60
46
  * gender: CandidApi.preEncounter.Gender.Man,
61
47
  * birthDate: "2023-01-15",
@@ -75,14 +61,7 @@ export declare class V1 {
75
61
  * state: "string",
76
62
  * postalCode: "string",
77
63
  * country: "string",
78
- * period: {
79
- * start: {
80
- * "key": "value"
81
- * },
82
- * end: {
83
- * "key": "value"
84
- * }
85
- * }
64
+ * period: {}
86
65
  * },
87
66
  * otherAddresses: [{
88
67
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -91,28 +70,15 @@ export declare class V1 {
91
70
  * state: "string",
92
71
  * postalCode: "string",
93
72
  * country: "string",
94
- * period: {
95
- * start: {
96
- * "key": "value"
97
- * },
98
- * end: {
99
- * "key": "value"
100
- * }
101
- * }
73
+ * period: {}
102
74
  * }],
103
75
  * primaryTelecom: {
104
76
  * value: "string",
105
- * use: CandidApi.preEncounter.ContactPointUse.Home,
106
- * period: {
107
- * "key": "value"
108
- * }
77
+ * use: CandidApi.preEncounter.ContactPointUse.Home
109
78
  * },
110
79
  * otherTelecoms: [{
111
80
  * value: "string",
112
- * use: CandidApi.preEncounter.ContactPointUse.Home,
113
- * period: {
114
- * "key": "value"
115
- * }
81
+ * use: CandidApi.preEncounter.ContactPointUse.Home
116
82
  * }],
117
83
  * email: "string",
118
84
  * electronicCommunicationOptIn: true,
@@ -128,21 +94,11 @@ export declare class V1 {
128
94
  * family: "string",
129
95
  * given: ["string"],
130
96
  * use: CandidApi.preEncounter.NameUse.Usual,
131
- * period: {
132
- * start: {
133
- * "key": "value"
134
- * },
135
- * end: {
136
- * "key": "value"
137
- * }
138
- * }
97
+ * period: {}
139
98
  * },
140
99
  * telecoms: [{
141
100
  * value: "string",
142
- * use: CandidApi.preEncounter.ContactPointUse.Home,
143
- * period: {
144
- * "key": "value"
145
- * }
101
+ * use: CandidApi.preEncounter.ContactPointUse.Home
146
102
  * }],
147
103
  * addresses: [{
148
104
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -151,23 +107,9 @@ export declare class V1 {
151
107
  * state: "string",
152
108
  * postalCode: "string",
153
109
  * country: "string",
154
- * period: {
155
- * start: {
156
- * "key": "value"
157
- * },
158
- * end: {
159
- * "key": "value"
160
- * }
161
- * }
110
+ * period: {}
162
111
  * }],
163
- * period: {
164
- * start: {
165
- * "key": "value"
166
- * },
167
- * end: {
168
- * "key": "value"
169
- * }
170
- * },
112
+ * period: {},
171
113
  * hipaaAuthorization: true
172
114
  * }],
173
115
  * generalPractitioners: [{
@@ -175,61 +117,35 @@ export declare class V1 {
175
117
  * family: "string",
176
118
  * given: ["string"],
177
119
  * use: CandidApi.preEncounter.NameUse.Usual,
178
- * period: {
179
- * start: {
180
- * "key": "value"
181
- * },
182
- * end: {
183
- * "key": "value"
184
- * }
185
- * }
120
+ * period: {}
186
121
  * },
187
122
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
188
123
  * npi: "string",
189
124
  * telecoms: [{
190
125
  * value: "string",
191
- * use: CandidApi.preEncounter.ContactPointUse.Home,
192
- * period: {
193
- * "key": "value"
194
- * }
195
- * }],
196
- * addresses: [{
197
- * "key": "value"
126
+ * use: CandidApi.preEncounter.ContactPointUse.Home
198
127
  * }],
199
- * period: {
200
- * start: {
201
- * "key": "value"
202
- * },
203
- * end: {
204
- * "key": "value"
205
- * }
206
- * },
128
+ * addresses: [],
129
+ * period: {},
207
130
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
208
131
  * }],
209
132
  * filingOrder: {
210
133
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
211
134
  * },
212
135
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
136
+ * nonInsurancePayerAssociations: [{
137
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
138
+ * }],
213
139
  * guarantor: {
214
140
  * name: {
215
141
  * family: "string",
216
142
  * given: ["string"],
217
143
  * use: CandidApi.preEncounter.NameUse.Usual,
218
- * period: {
219
- * start: {
220
- * "key": "value"
221
- * },
222
- * end: {
223
- * "key": "value"
224
- * }
225
- * }
144
+ * period: {}
226
145
  * },
227
146
  * telecom: {
228
147
  * value: "string",
229
- * use: CandidApi.preEncounter.ContactPointUse.Home,
230
- * period: {
231
- * "key": "value"
232
- * }
148
+ * use: CandidApi.preEncounter.ContactPointUse.Home
233
149
  * },
234
150
  * email: "string",
235
151
  * birthDate: "2023-01-15",
@@ -240,35 +156,16 @@ export declare class V1 {
240
156
  * state: "string",
241
157
  * postalCode: "string",
242
158
  * country: "string",
243
- * period: {
244
- * start: {
245
- * "key": "value"
246
- * },
247
- * end: {
248
- * "key": "value"
249
- * }
250
- * }
159
+ * period: {}
251
160
  * }
252
161
  * },
253
162
  * selfPay: true,
254
163
  * authorizations: [{
255
164
  * payerId: CandidApi.preEncounter.PayerId("string"),
256
165
  * payerName: "string",
257
- * additionalPayerInformation: {
258
- * "key": "value"
259
- * },
260
166
  * authorizationNumber: "string",
261
167
  * cptCode: "string",
262
- * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
263
- * quantity: {
264
- * "key": "value"
265
- * },
266
- * period: {
267
- * "key": "value"
268
- * },
269
- * notes: {
270
- * "key": "value"
271
- * }
168
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
272
169
  * }],
273
170
  * referrals: [{
274
171
  * provider: {
@@ -276,45 +173,21 @@ export declare class V1 {
276
173
  * family: "string",
277
174
  * given: ["string"],
278
175
  * use: CandidApi.preEncounter.NameUse.Usual,
279
- * period: {
280
- * start: {
281
- * "key": "value"
282
- * },
283
- * end: {
284
- * "key": "value"
285
- * }
286
- * }
176
+ * period: {}
287
177
  * },
288
178
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
289
179
  * npi: "string",
290
180
  * telecoms: [{
291
181
  * value: "string",
292
- * use: CandidApi.preEncounter.ContactPointUse.Home,
293
- * period: {
294
- * "key": "value"
295
- * }
182
+ * use: CandidApi.preEncounter.ContactPointUse.Home
296
183
  * }],
297
- * addresses: [{
298
- * "key": "value"
299
- * }],
300
- * period: {
301
- * start: {
302
- * "key": "value"
303
- * },
304
- * end: {
305
- * "key": "value"
306
- * }
307
- * },
184
+ * addresses: [],
185
+ * period: {},
308
186
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
309
187
  * },
310
- * referralNumber: "string",
311
- * period: {
312
- * "key": "value"
313
- * },
314
- * notes: {
315
- * "key": "value"
316
- * }
317
- * }]
188
+ * referralNumber: "string"
189
+ * }],
190
+ * primaryServiceFacilityId: "string"
318
191
  * }
319
192
  * })
320
193
  */
@@ -369,27 +242,13 @@ export declare class V1 {
369
242
  * family: "string",
370
243
  * given: ["string"],
371
244
  * use: CandidApi.preEncounter.NameUse.Usual,
372
- * period: {
373
- * start: {
374
- * "key": "value"
375
- * },
376
- * end: {
377
- * "key": "value"
378
- * }
379
- * }
245
+ * period: {}
380
246
  * },
381
247
  * otherNames: [{
382
248
  * family: "string",
383
249
  * given: ["string"],
384
250
  * use: CandidApi.preEncounter.NameUse.Usual,
385
- * period: {
386
- * start: {
387
- * "key": "value"
388
- * },
389
- * end: {
390
- * "key": "value"
391
- * }
392
- * }
251
+ * period: {}
393
252
  * }],
394
253
  * gender: CandidApi.preEncounter.Gender.Man,
395
254
  * birthDate: "2023-01-15",
@@ -409,14 +268,7 @@ export declare class V1 {
409
268
  * state: "string",
410
269
  * postalCode: "string",
411
270
  * country: "string",
412
- * period: {
413
- * start: {
414
- * "key": "value"
415
- * },
416
- * end: {
417
- * "key": "value"
418
- * }
419
- * }
271
+ * period: {}
420
272
  * },
421
273
  * otherAddresses: [{
422
274
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -425,28 +277,15 @@ export declare class V1 {
425
277
  * state: "string",
426
278
  * postalCode: "string",
427
279
  * country: "string",
428
- * period: {
429
- * start: {
430
- * "key": "value"
431
- * },
432
- * end: {
433
- * "key": "value"
434
- * }
435
- * }
280
+ * period: {}
436
281
  * }],
437
282
  * primaryTelecom: {
438
283
  * value: "string",
439
- * use: CandidApi.preEncounter.ContactPointUse.Home,
440
- * period: {
441
- * "key": "value"
442
- * }
284
+ * use: CandidApi.preEncounter.ContactPointUse.Home
443
285
  * },
444
286
  * otherTelecoms: [{
445
287
  * value: "string",
446
- * use: CandidApi.preEncounter.ContactPointUse.Home,
447
- * period: {
448
- * "key": "value"
449
- * }
288
+ * use: CandidApi.preEncounter.ContactPointUse.Home
450
289
  * }],
451
290
  * email: "string",
452
291
  * electronicCommunicationOptIn: true,
@@ -462,21 +301,11 @@ export declare class V1 {
462
301
  * family: "string",
463
302
  * given: ["string"],
464
303
  * use: CandidApi.preEncounter.NameUse.Usual,
465
- * period: {
466
- * start: {
467
- * "key": "value"
468
- * },
469
- * end: {
470
- * "key": "value"
471
- * }
472
- * }
304
+ * period: {}
473
305
  * },
474
306
  * telecoms: [{
475
307
  * value: "string",
476
- * use: CandidApi.preEncounter.ContactPointUse.Home,
477
- * period: {
478
- * "key": "value"
479
- * }
308
+ * use: CandidApi.preEncounter.ContactPointUse.Home
480
309
  * }],
481
310
  * addresses: [{
482
311
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -485,23 +314,9 @@ export declare class V1 {
485
314
  * state: "string",
486
315
  * postalCode: "string",
487
316
  * country: "string",
488
- * period: {
489
- * start: {
490
- * "key": "value"
491
- * },
492
- * end: {
493
- * "key": "value"
494
- * }
495
- * }
317
+ * period: {}
496
318
  * }],
497
- * period: {
498
- * start: {
499
- * "key": "value"
500
- * },
501
- * end: {
502
- * "key": "value"
503
- * }
504
- * },
319
+ * period: {},
505
320
  * hipaaAuthorization: true
506
321
  * }],
507
322
  * generalPractitioners: [{
@@ -509,61 +324,35 @@ export declare class V1 {
509
324
  * family: "string",
510
325
  * given: ["string"],
511
326
  * use: CandidApi.preEncounter.NameUse.Usual,
512
- * period: {
513
- * start: {
514
- * "key": "value"
515
- * },
516
- * end: {
517
- * "key": "value"
518
- * }
519
- * }
327
+ * period: {}
520
328
  * },
521
329
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
522
330
  * npi: "string",
523
331
  * telecoms: [{
524
332
  * value: "string",
525
- * use: CandidApi.preEncounter.ContactPointUse.Home,
526
- * period: {
527
- * "key": "value"
528
- * }
529
- * }],
530
- * addresses: [{
531
- * "key": "value"
333
+ * use: CandidApi.preEncounter.ContactPointUse.Home
532
334
  * }],
533
- * period: {
534
- * start: {
535
- * "key": "value"
536
- * },
537
- * end: {
538
- * "key": "value"
539
- * }
540
- * },
335
+ * addresses: [],
336
+ * period: {},
541
337
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
542
338
  * }],
543
339
  * filingOrder: {
544
340
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
545
341
  * },
546
342
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
343
+ * nonInsurancePayerAssociations: [{
344
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
345
+ * }],
547
346
  * guarantor: {
548
347
  * name: {
549
348
  * family: "string",
550
349
  * given: ["string"],
551
350
  * use: CandidApi.preEncounter.NameUse.Usual,
552
- * period: {
553
- * start: {
554
- * "key": "value"
555
- * },
556
- * end: {
557
- * "key": "value"
558
- * }
559
- * }
351
+ * period: {}
560
352
  * },
561
353
  * telecom: {
562
354
  * value: "string",
563
- * use: CandidApi.preEncounter.ContactPointUse.Home,
564
- * period: {
565
- * "key": "value"
566
- * }
355
+ * use: CandidApi.preEncounter.ContactPointUse.Home
567
356
  * },
568
357
  * email: "string",
569
358
  * birthDate: "2023-01-15",
@@ -574,35 +363,16 @@ export declare class V1 {
574
363
  * state: "string",
575
364
  * postalCode: "string",
576
365
  * country: "string",
577
- * period: {
578
- * start: {
579
- * "key": "value"
580
- * },
581
- * end: {
582
- * "key": "value"
583
- * }
584
- * }
366
+ * period: {}
585
367
  * }
586
368
  * },
587
369
  * selfPay: true,
588
370
  * authorizations: [{
589
371
  * payerId: CandidApi.preEncounter.PayerId("string"),
590
372
  * payerName: "string",
591
- * additionalPayerInformation: {
592
- * "key": "value"
593
- * },
594
373
  * authorizationNumber: "string",
595
374
  * cptCode: "string",
596
- * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
597
- * quantity: {
598
- * "key": "value"
599
- * },
600
- * period: {
601
- * "key": "value"
602
- * },
603
- * notes: {
604
- * "key": "value"
605
- * }
375
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
606
376
  * }],
607
377
  * referrals: [{
608
378
  * provider: {
@@ -610,45 +380,21 @@ export declare class V1 {
610
380
  * family: "string",
611
381
  * given: ["string"],
612
382
  * use: CandidApi.preEncounter.NameUse.Usual,
613
- * period: {
614
- * start: {
615
- * "key": "value"
616
- * },
617
- * end: {
618
- * "key": "value"
619
- * }
620
- * }
383
+ * period: {}
621
384
  * },
622
385
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
623
386
  * npi: "string",
624
387
  * telecoms: [{
625
388
  * value: "string",
626
- * use: CandidApi.preEncounter.ContactPointUse.Home,
627
- * period: {
628
- * "key": "value"
629
- * }
389
+ * use: CandidApi.preEncounter.ContactPointUse.Home
630
390
  * }],
631
- * addresses: [{
632
- * "key": "value"
633
- * }],
634
- * period: {
635
- * start: {
636
- * "key": "value"
637
- * },
638
- * end: {
639
- * "key": "value"
640
- * }
641
- * },
391
+ * addresses: [],
392
+ * period: {},
642
393
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
643
394
  * },
644
- * referralNumber: "string",
645
- * period: {
646
- * "key": "value"
647
- * },
648
- * notes: {
649
- * "key": "value"
650
- * }
651
- * }]
395
+ * referralNumber: "string"
396
+ * }],
397
+ * primaryServiceFacilityId: "string"
652
398
  * })
653
399
  */
654
400
  update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;