candidhealth 0.34.9 → 0.35.1

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 (492) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  6. package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/credentialing/client/Client.d.ts +26 -0
  11. package/api/resources/credentialing/client/Client.js +17 -0
  12. package/api/resources/credentialing/client/index.d.ts +1 -0
  13. package/api/resources/credentialing/client/index.js +2 -0
  14. package/api/resources/credentialing/index.d.ts +2 -0
  15. package/api/resources/credentialing/index.js +18 -0
  16. package/api/resources/credentialing/resources/index.d.ts +1 -0
  17. package/api/resources/credentialing/resources/index.js +27 -0
  18. package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  19. package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  20. package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  21. package/api/resources/credentialing/resources/v2/client/create.js +69 -0
  22. package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  23. package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  24. package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  25. package/api/resources/credentialing/resources/v2/client/get.js +69 -0
  26. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  27. package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  28. package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  29. package/api/resources/credentialing/resources/v2/client/index.js +35 -0
  30. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  32. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  33. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  34. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  35. package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  36. package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  37. package/api/resources/credentialing/resources/v2/client/update.js +91 -0
  38. package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  39. package/api/resources/credentialing/resources/v2/index.js +18 -0
  40. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  41. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  42. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  43. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  44. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  45. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  46. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  47. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  49. package/api/resources/credentialing/resources/v2/types/index.js +20 -0
  50. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  51. package/api/resources/diagnoses/client/Client.js +3 -3
  52. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  53. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  54. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  55. package/api/resources/encounters/resources/v4/client/Client.js +9 -11
  56. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  57. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  58. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  61. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  62. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  63. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  64. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  65. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  66. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  67. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
  68. package/api/resources/exports/resources/v3/client/Client.js +4 -3
  69. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  70. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  71. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  72. package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  73. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  74. package/api/resources/index.d.ts +2 -0
  75. package/api/resources/index.js +3 -1
  76. package/api/resources/individual/types/Patient.d.ts +14 -2
  77. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  78. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
  79. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
  80. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  81. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  82. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  84. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  85. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  86. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  87. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  88. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  89. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  90. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  91. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  92. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  93. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  94. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  95. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  96. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  98. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  102. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  103. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  104. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  105. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  106. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  107. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  108. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  109. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  110. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  111. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
  112. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
  113. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
  114. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
  115. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  116. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  117. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
  118. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  119. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
  120. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  121. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  122. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  123. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
  124. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
  125. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  126. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  127. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
  128. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  129. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  130. package/api/resources/remitDrafts/index.d.ts +1 -0
  131. package/api/resources/remitDrafts/index.js +17 -0
  132. package/api/resources/remitDrafts/resources/index.d.ts +1 -0
  133. package/api/resources/remitDrafts/resources/index.js +27 -0
  134. package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  135. package/api/resources/remitDrafts/resources/v1/index.js +17 -0
  136. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  137. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  138. package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  139. package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  140. package/api/resources/serviceFacility/client/Client.js +1 -1
  141. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  142. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  143. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  144. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  145. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  146. package/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  147. package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  148. package/dist/Client.d.ts +3 -0
  149. package/dist/Client.js +61 -56
  150. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  151. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  152. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  153. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  154. package/dist/api/resources/commons/types/index.d.ts +1 -0
  155. package/dist/api/resources/commons/types/index.js +1 -0
  156. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  157. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  158. package/dist/api/resources/credentialing/client/Client.js +17 -0
  159. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  160. package/dist/api/resources/credentialing/client/index.js +2 -0
  161. package/dist/api/resources/credentialing/index.d.ts +2 -0
  162. package/dist/api/resources/credentialing/index.js +18 -0
  163. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  164. package/dist/api/resources/credentialing/resources/index.js +27 -0
  165. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  166. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  167. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  168. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  169. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  170. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  171. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  172. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  173. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  174. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  175. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  176. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  177. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  178. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  179. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  180. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  181. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  182. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  183. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  184. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  185. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  186. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  187. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  188. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  189. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  190. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  191. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  192. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  193. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  194. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  195. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  196. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  197. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  198. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  199. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  200. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  201. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  202. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  203. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  204. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
  205. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  206. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  207. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  208. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  209. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  210. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  211. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  212. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  213. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  214. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  216. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
  217. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
  218. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  219. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  220. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  221. package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  222. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  223. package/dist/api/resources/index.d.ts +2 -0
  224. package/dist/api/resources/index.js +3 -1
  225. package/dist/api/resources/individual/types/Patient.d.ts +14 -2
  226. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  227. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
  228. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
  229. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  230. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  231. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  232. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  233. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  234. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  235. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  236. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  237. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  238. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  239. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  240. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  241. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  242. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  243. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  244. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  245. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  246. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  247. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  248. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  249. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  250. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  251. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  252. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  254. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  255. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  256. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  257. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  258. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  259. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  260. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
  261. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
  262. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
  263. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
  264. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  265. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  266. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
  267. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  268. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
  269. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  270. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  271. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  272. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
  273. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
  274. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  275. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  276. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
  277. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  278. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  279. package/dist/api/resources/remitDrafts/index.d.ts +1 -0
  280. package/dist/api/resources/remitDrafts/index.js +17 -0
  281. package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
  282. package/dist/api/resources/remitDrafts/resources/index.js +27 -0
  283. package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  284. package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
  285. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  286. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  287. package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  288. package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  289. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  290. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  291. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  292. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  293. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  294. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  295. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  296. package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  297. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  298. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  299. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  300. package/dist/serialization/resources/commons/types/index.js +1 -0
  301. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  302. package/dist/serialization/resources/credentialing/index.js +17 -0
  303. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  305. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  306. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  307. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  308. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  309. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  310. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  311. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  312. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  313. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  314. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  315. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  316. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  317. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  318. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  319. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  320. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  321. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  322. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  323. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  324. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  325. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  326. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  327. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  328. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  329. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  330. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  331. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  332. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  333. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  334. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  335. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  336. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  337. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  338. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  339. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  340. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  341. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  342. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  343. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  344. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  345. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  346. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  347. package/dist/serialization/resources/index.d.ts +2 -0
  348. package/dist/serialization/resources/index.js +3 -1
  349. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  350. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  351. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  352. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  353. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  354. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  355. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  356. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  357. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  358. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  359. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  360. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  361. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  362. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  363. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
  364. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
  365. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  366. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  367. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  368. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  369. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
  370. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
  371. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  372. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  373. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  374. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  375. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  376. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  377. package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
  378. package/dist/serialization/resources/remitDrafts/index.js +17 -0
  379. package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  380. package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
  381. package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  382. package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  383. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  384. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
  385. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  386. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  387. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  388. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  389. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  390. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  391. package/package.json +1 -1
  392. package/reference.md +622 -457
  393. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  394. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  395. package/serialization/resources/commons/types/index.d.ts +1 -0
  396. package/serialization/resources/commons/types/index.js +1 -0
  397. package/serialization/resources/credentialing/index.d.ts +1 -0
  398. package/serialization/resources/credentialing/index.js +17 -0
  399. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  400. package/serialization/resources/credentialing/resources/index.js +27 -0
  401. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  402. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  403. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  404. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  405. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  406. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  407. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  408. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  409. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  410. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  411. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  412. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  413. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  414. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  415. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  416. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  417. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  418. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  419. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  420. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  421. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  422. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  423. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  424. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  425. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  426. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  427. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  428. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  429. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  430. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  431. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  432. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  433. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  434. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  435. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  436. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  437. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  438. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  439. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  440. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  441. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  442. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  443. package/serialization/resources/index.d.ts +2 -0
  444. package/serialization/resources/index.js +3 -1
  445. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  446. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  447. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  448. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  449. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  450. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  451. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  452. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  453. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  454. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  455. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  456. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  457. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  458. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  459. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
  460. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
  461. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  462. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  463. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  464. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  465. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
  466. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
  467. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  468. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  469. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  470. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  471. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  472. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  473. package/serialization/resources/remitDrafts/index.d.ts +1 -0
  474. package/serialization/resources/remitDrafts/index.js +17 -0
  475. package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  476. package/serialization/resources/remitDrafts/resources/index.js +27 -0
  477. package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  478. package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  479. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  480. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
  481. package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  482. package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  483. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  484. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  485. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  486. package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  487. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  488. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  489. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  490. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  491. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  492. /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,35 +117,189 @@ 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
- * }
126
+ * use: CandidApi.preEncounter.ContactPointUse.Home
127
+ * }],
128
+ * addresses: [],
129
+ * period: {},
130
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
131
+ * }],
132
+ * filingOrder: {
133
+ * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
134
+ * },
135
+ * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
136
+ * nonInsurancePayerAssociations: [{
137
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
138
+ * }],
139
+ * guarantor: {
140
+ * name: {
141
+ * family: "string",
142
+ * given: ["string"],
143
+ * use: CandidApi.preEncounter.NameUse.Usual,
144
+ * period: {}
145
+ * },
146
+ * telecom: {
147
+ * value: "string",
148
+ * use: CandidApi.preEncounter.ContactPointUse.Home
149
+ * },
150
+ * email: "string",
151
+ * birthDate: "2023-01-15",
152
+ * address: {
153
+ * use: CandidApi.preEncounter.AddressUse.Home,
154
+ * line: ["string"],
155
+ * city: "string",
156
+ * state: "string",
157
+ * postalCode: "string",
158
+ * country: "string",
159
+ * period: {}
160
+ * }
161
+ * },
162
+ * selfPay: true,
163
+ * authorizations: [{
164
+ * payerId: CandidApi.preEncounter.PayerId("string"),
165
+ * payerName: "string",
166
+ * authorizationNumber: "string",
167
+ * cptCode: "string",
168
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
169
+ * }],
170
+ * referrals: [{
171
+ * provider: {
172
+ * name: {
173
+ * family: "string",
174
+ * given: ["string"],
175
+ * use: CandidApi.preEncounter.NameUse.Usual,
176
+ * period: {}
177
+ * },
178
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
179
+ * npi: "string",
180
+ * telecoms: [{
181
+ * value: "string",
182
+ * use: CandidApi.preEncounter.ContactPointUse.Home
183
+ * }],
184
+ * addresses: [],
185
+ * period: {},
186
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
187
+ * },
188
+ * referralNumber: "string"
189
+ * }],
190
+ * primaryServiceFacilityId: "string",
191
+ * doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
192
+ * }
193
+ * })
194
+ */
195
+ create(request: CandidApi.preEncounter.patients.v1.CreatePatientRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.create.Error>>;
196
+ /**
197
+ * Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. InvalidMRNError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
198
+ *
199
+ * @param {CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest} request
200
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
201
+ *
202
+ * @example
203
+ * await client.preEncounter.patients.v1.createWithMrn({
204
+ * skipDuplicateCheck: true,
205
+ * body: {
206
+ * mrn: "string",
207
+ * name: {
208
+ * family: "string",
209
+ * given: ["string"],
210
+ * use: CandidApi.preEncounter.NameUse.Usual,
211
+ * period: {}
212
+ * },
213
+ * otherNames: [{
214
+ * family: "string",
215
+ * given: ["string"],
216
+ * use: CandidApi.preEncounter.NameUse.Usual,
217
+ * period: {}
218
+ * }],
219
+ * gender: CandidApi.preEncounter.Gender.Man,
220
+ * birthDate: "2023-01-15",
221
+ * socialSecurityNumber: "string",
222
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
223
+ * sexualOrientation: CandidApi.preEncounter.SexualOrientation.Heterosexual,
224
+ * race: CandidApi.preEncounter.Race.AmericanIndianOrAlaskaNative,
225
+ * ethnicity: CandidApi.preEncounter.Ethnicity.HispanicOrLatino,
226
+ * disabilityStatus: CandidApi.preEncounter.DisabilityStatus.Disabled,
227
+ * maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
228
+ * deceased: new Date("2024-01-15T09:30:00.000Z"),
229
+ * multipleBirth: 1,
230
+ * primaryAddress: {
231
+ * use: CandidApi.preEncounter.AddressUse.Home,
232
+ * line: ["string"],
233
+ * city: "string",
234
+ * state: "string",
235
+ * postalCode: "string",
236
+ * country: "string",
237
+ * period: {}
238
+ * },
239
+ * otherAddresses: [{
240
+ * use: CandidApi.preEncounter.AddressUse.Home,
241
+ * line: ["string"],
242
+ * city: "string",
243
+ * state: "string",
244
+ * postalCode: "string",
245
+ * country: "string",
246
+ * period: {}
247
+ * }],
248
+ * primaryTelecom: {
249
+ * value: "string",
250
+ * use: CandidApi.preEncounter.ContactPointUse.Home
251
+ * },
252
+ * otherTelecoms: [{
253
+ * value: "string",
254
+ * use: CandidApi.preEncounter.ContactPointUse.Home
255
+ * }],
256
+ * email: "string",
257
+ * electronicCommunicationOptIn: true,
258
+ * photo: "string",
259
+ * language: "string",
260
+ * externalProvenance: {
261
+ * externalId: "string",
262
+ * systemName: "string"
263
+ * },
264
+ * contacts: [{
265
+ * relationship: [CandidApi.preEncounter.Relationship.Self],
266
+ * name: {
267
+ * family: "string",
268
+ * given: ["string"],
269
+ * use: CandidApi.preEncounter.NameUse.Usual,
270
+ * period: {}
271
+ * },
272
+ * telecoms: [{
273
+ * value: "string",
274
+ * use: CandidApi.preEncounter.ContactPointUse.Home
195
275
  * }],
196
276
  * addresses: [{
197
- * "key": "value"
277
+ * use: CandidApi.preEncounter.AddressUse.Home,
278
+ * line: ["string"],
279
+ * city: "string",
280
+ * state: "string",
281
+ * postalCode: "string",
282
+ * country: "string",
283
+ * period: {}
198
284
  * }],
199
- * period: {
200
- * start: {
201
- * "key": "value"
202
- * },
203
- * end: {
204
- * "key": "value"
205
- * }
285
+ * period: {},
286
+ * hipaaAuthorization: true
287
+ * }],
288
+ * generalPractitioners: [{
289
+ * name: {
290
+ * family: "string",
291
+ * given: ["string"],
292
+ * use: CandidApi.preEncounter.NameUse.Usual,
293
+ * period: {}
206
294
  * },
295
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
296
+ * npi: "string",
297
+ * telecoms: [{
298
+ * value: "string",
299
+ * use: CandidApi.preEncounter.ContactPointUse.Home
300
+ * }],
301
+ * addresses: [],
302
+ * period: {},
207
303
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
208
304
  * }],
209
305
  * filingOrder: {
@@ -211,31 +307,18 @@ export declare class V1 {
211
307
  * },
212
308
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
213
309
  * nonInsurancePayerAssociations: [{
214
- * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
215
- * memberId: {
216
- * "key": "value"
217
- * }
310
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
218
311
  * }],
219
312
  * guarantor: {
220
313
  * name: {
221
314
  * family: "string",
222
315
  * given: ["string"],
223
316
  * use: CandidApi.preEncounter.NameUse.Usual,
224
- * period: {
225
- * start: {
226
- * "key": "value"
227
- * },
228
- * end: {
229
- * "key": "value"
230
- * }
231
- * }
317
+ * period: {}
232
318
  * },
233
319
  * telecom: {
234
320
  * value: "string",
235
- * use: CandidApi.preEncounter.ContactPointUse.Home,
236
- * period: {
237
- * "key": "value"
238
- * }
321
+ * use: CandidApi.preEncounter.ContactPointUse.Home
239
322
  * },
240
323
  * email: "string",
241
324
  * birthDate: "2023-01-15",
@@ -246,35 +329,16 @@ export declare class V1 {
246
329
  * state: "string",
247
330
  * postalCode: "string",
248
331
  * country: "string",
249
- * period: {
250
- * start: {
251
- * "key": "value"
252
- * },
253
- * end: {
254
- * "key": "value"
255
- * }
256
- * }
332
+ * period: {}
257
333
  * }
258
334
  * },
259
335
  * selfPay: true,
260
336
  * authorizations: [{
261
337
  * payerId: CandidApi.preEncounter.PayerId("string"),
262
338
  * payerName: "string",
263
- * additionalPayerInformation: {
264
- * "key": "value"
265
- * },
266
339
  * authorizationNumber: "string",
267
340
  * cptCode: "string",
268
- * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
269
- * quantity: {
270
- * "key": "value"
271
- * },
272
- * period: {
273
- * "key": "value"
274
- * },
275
- * notes: {
276
- * "key": "value"
277
- * }
341
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
278
342
  * }],
279
343
  * referrals: [{
280
344
  * provider: {
@@ -282,50 +346,26 @@ export declare class V1 {
282
346
  * family: "string",
283
347
  * given: ["string"],
284
348
  * use: CandidApi.preEncounter.NameUse.Usual,
285
- * period: {
286
- * start: {
287
- * "key": "value"
288
- * },
289
- * end: {
290
- * "key": "value"
291
- * }
292
- * }
349
+ * period: {}
293
350
  * },
294
351
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
295
352
  * npi: "string",
296
353
  * telecoms: [{
297
354
  * value: "string",
298
- * use: CandidApi.preEncounter.ContactPointUse.Home,
299
- * period: {
300
- * "key": "value"
301
- * }
302
- * }],
303
- * addresses: [{
304
- * "key": "value"
355
+ * use: CandidApi.preEncounter.ContactPointUse.Home
305
356
  * }],
306
- * period: {
307
- * start: {
308
- * "key": "value"
309
- * },
310
- * end: {
311
- * "key": "value"
312
- * }
313
- * },
357
+ * addresses: [],
358
+ * period: {},
314
359
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
315
360
  * },
316
- * referralNumber: "string",
317
- * period: {
318
- * "key": "value"
319
- * },
320
- * notes: {
321
- * "key": "value"
322
- * }
361
+ * referralNumber: "string"
323
362
  * }],
324
- * primaryServiceFacilityId: "string"
363
+ * primaryServiceFacilityId: "string",
364
+ * doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
325
365
  * }
326
366
  * })
327
367
  */
328
- create(request: CandidApi.preEncounter.patients.v1.CreatePatientRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.create.Error>>;
368
+ createWithMrn(request: CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.createWithMrn.Error>>;
329
369
  /**
330
370
  * Searches for patients that match the query parameters.
331
371
  *
@@ -376,27 +416,13 @@ export declare class V1 {
376
416
  * family: "string",
377
417
  * given: ["string"],
378
418
  * use: CandidApi.preEncounter.NameUse.Usual,
379
- * period: {
380
- * start: {
381
- * "key": "value"
382
- * },
383
- * end: {
384
- * "key": "value"
385
- * }
386
- * }
419
+ * period: {}
387
420
  * },
388
421
  * otherNames: [{
389
422
  * family: "string",
390
423
  * given: ["string"],
391
424
  * use: CandidApi.preEncounter.NameUse.Usual,
392
- * period: {
393
- * start: {
394
- * "key": "value"
395
- * },
396
- * end: {
397
- * "key": "value"
398
- * }
399
- * }
425
+ * period: {}
400
426
  * }],
401
427
  * gender: CandidApi.preEncounter.Gender.Man,
402
428
  * birthDate: "2023-01-15",
@@ -416,14 +442,7 @@ export declare class V1 {
416
442
  * state: "string",
417
443
  * postalCode: "string",
418
444
  * country: "string",
419
- * period: {
420
- * start: {
421
- * "key": "value"
422
- * },
423
- * end: {
424
- * "key": "value"
425
- * }
426
- * }
445
+ * period: {}
427
446
  * },
428
447
  * otherAddresses: [{
429
448
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -432,28 +451,15 @@ export declare class V1 {
432
451
  * state: "string",
433
452
  * postalCode: "string",
434
453
  * country: "string",
435
- * period: {
436
- * start: {
437
- * "key": "value"
438
- * },
439
- * end: {
440
- * "key": "value"
441
- * }
442
- * }
454
+ * period: {}
443
455
  * }],
444
456
  * primaryTelecom: {
445
457
  * value: "string",
446
- * use: CandidApi.preEncounter.ContactPointUse.Home,
447
- * period: {
448
- * "key": "value"
449
- * }
458
+ * use: CandidApi.preEncounter.ContactPointUse.Home
450
459
  * },
451
460
  * otherTelecoms: [{
452
461
  * value: "string",
453
- * use: CandidApi.preEncounter.ContactPointUse.Home,
454
- * period: {
455
- * "key": "value"
456
- * }
462
+ * use: CandidApi.preEncounter.ContactPointUse.Home
457
463
  * }],
458
464
  * email: "string",
459
465
  * electronicCommunicationOptIn: true,
@@ -469,21 +475,11 @@ export declare class V1 {
469
475
  * family: "string",
470
476
  * given: ["string"],
471
477
  * use: CandidApi.preEncounter.NameUse.Usual,
472
- * period: {
473
- * start: {
474
- * "key": "value"
475
- * },
476
- * end: {
477
- * "key": "value"
478
- * }
479
- * }
478
+ * period: {}
480
479
  * },
481
480
  * telecoms: [{
482
481
  * value: "string",
483
- * use: CandidApi.preEncounter.ContactPointUse.Home,
484
- * period: {
485
- * "key": "value"
486
- * }
482
+ * use: CandidApi.preEncounter.ContactPointUse.Home
487
483
  * }],
488
484
  * addresses: [{
489
485
  * use: CandidApi.preEncounter.AddressUse.Home,
@@ -492,23 +488,9 @@ export declare class V1 {
492
488
  * state: "string",
493
489
  * postalCode: "string",
494
490
  * country: "string",
495
- * period: {
496
- * start: {
497
- * "key": "value"
498
- * },
499
- * end: {
500
- * "key": "value"
501
- * }
502
- * }
491
+ * period: {}
503
492
  * }],
504
- * period: {
505
- * start: {
506
- * "key": "value"
507
- * },
508
- * end: {
509
- * "key": "value"
510
- * }
511
- * },
493
+ * period: {},
512
494
  * hipaaAuthorization: true
513
495
  * }],
514
496
  * generalPractitioners: [{
@@ -516,35 +498,16 @@ export declare class V1 {
516
498
  * family: "string",
517
499
  * given: ["string"],
518
500
  * use: CandidApi.preEncounter.NameUse.Usual,
519
- * period: {
520
- * start: {
521
- * "key": "value"
522
- * },
523
- * end: {
524
- * "key": "value"
525
- * }
526
- * }
501
+ * period: {}
527
502
  * },
528
503
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
529
504
  * npi: "string",
530
505
  * telecoms: [{
531
506
  * value: "string",
532
- * use: CandidApi.preEncounter.ContactPointUse.Home,
533
- * period: {
534
- * "key": "value"
535
- * }
536
- * }],
537
- * addresses: [{
538
- * "key": "value"
507
+ * use: CandidApi.preEncounter.ContactPointUse.Home
539
508
  * }],
540
- * period: {
541
- * start: {
542
- * "key": "value"
543
- * },
544
- * end: {
545
- * "key": "value"
546
- * }
547
- * },
509
+ * addresses: [],
510
+ * period: {},
548
511
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
549
512
  * }],
550
513
  * filingOrder: {
@@ -552,31 +515,18 @@ export declare class V1 {
552
515
  * },
553
516
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
554
517
  * nonInsurancePayerAssociations: [{
555
- * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
556
- * memberId: {
557
- * "key": "value"
558
- * }
518
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
559
519
  * }],
560
520
  * guarantor: {
561
521
  * name: {
562
522
  * family: "string",
563
523
  * given: ["string"],
564
524
  * use: CandidApi.preEncounter.NameUse.Usual,
565
- * period: {
566
- * start: {
567
- * "key": "value"
568
- * },
569
- * end: {
570
- * "key": "value"
571
- * }
572
- * }
525
+ * period: {}
573
526
  * },
574
527
  * telecom: {
575
528
  * value: "string",
576
- * use: CandidApi.preEncounter.ContactPointUse.Home,
577
- * period: {
578
- * "key": "value"
579
- * }
529
+ * use: CandidApi.preEncounter.ContactPointUse.Home
580
530
  * },
581
531
  * email: "string",
582
532
  * birthDate: "2023-01-15",
@@ -587,35 +537,16 @@ export declare class V1 {
587
537
  * state: "string",
588
538
  * postalCode: "string",
589
539
  * country: "string",
590
- * period: {
591
- * start: {
592
- * "key": "value"
593
- * },
594
- * end: {
595
- * "key": "value"
596
- * }
597
- * }
540
+ * period: {}
598
541
  * }
599
542
  * },
600
543
  * selfPay: true,
601
544
  * authorizations: [{
602
545
  * payerId: CandidApi.preEncounter.PayerId("string"),
603
546
  * payerName: "string",
604
- * additionalPayerInformation: {
605
- * "key": "value"
606
- * },
607
547
  * authorizationNumber: "string",
608
548
  * cptCode: "string",
609
- * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
610
- * quantity: {
611
- * "key": "value"
612
- * },
613
- * period: {
614
- * "key": "value"
615
- * },
616
- * notes: {
617
- * "key": "value"
618
- * }
549
+ * units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
619
550
  * }],
620
551
  * referrals: [{
621
552
  * provider: {
@@ -623,46 +554,22 @@ export declare class V1 {
623
554
  * family: "string",
624
555
  * given: ["string"],
625
556
  * use: CandidApi.preEncounter.NameUse.Usual,
626
- * period: {
627
- * start: {
628
- * "key": "value"
629
- * },
630
- * end: {
631
- * "key": "value"
632
- * }
633
- * }
557
+ * period: {}
634
558
  * },
635
559
  * type: CandidApi.preEncounter.ExternalProviderType.Primary,
636
560
  * npi: "string",
637
561
  * telecoms: [{
638
562
  * value: "string",
639
- * use: CandidApi.preEncounter.ContactPointUse.Home,
640
- * period: {
641
- * "key": "value"
642
- * }
563
+ * use: CandidApi.preEncounter.ContactPointUse.Home
643
564
  * }],
644
- * addresses: [{
645
- * "key": "value"
646
- * }],
647
- * period: {
648
- * start: {
649
- * "key": "value"
650
- * },
651
- * end: {
652
- * "key": "value"
653
- * }
654
- * },
565
+ * addresses: [],
566
+ * period: {},
655
567
  * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
656
568
  * },
657
- * referralNumber: "string",
658
- * period: {
659
- * "key": "value"
660
- * },
661
- * notes: {
662
- * "key": "value"
663
- * }
569
+ * referralNumber: "string"
664
570
  * }],
665
- * primaryServiceFacilityId: "string"
571
+ * primaryServiceFacilityId: "string",
572
+ * doNotInvoiceReason: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason.Bankruptcy
666
573
  * })
667
574
  */
668
575
  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>>;