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
package/reference.md CHANGED
@@ -469,6 +469,300 @@ await client.contracts.v2.update(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7
469
469
  </dl>
470
470
  </details>
471
471
 
472
+ ## Credentialing V2
473
+
474
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.create.Error></code></summary>
475
+ <dl>
476
+ <dd>
477
+
478
+ #### 🔌 Usage
479
+
480
+ <dl>
481
+ <dd>
482
+
483
+ <dl>
484
+ <dd>
485
+
486
+ ```typescript
487
+ await client.credentialing.v2.create({
488
+ renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
489
+ contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
490
+ payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
491
+ startDate: "2023-01-15",
492
+ endDate: "2023-01-15",
493
+ regions: {
494
+ type: "states",
495
+ states: [CandidApi.State.Aa],
496
+ },
497
+ submittedDate: "2023-01-15",
498
+ payerLoadedDate: "2023-01-15",
499
+ });
500
+ ```
501
+
502
+ </dd>
503
+ </dl>
504
+ </dd>
505
+ </dl>
506
+
507
+ #### ⚙️ Parameters
508
+
509
+ <dl>
510
+ <dd>
511
+
512
+ <dl>
513
+ <dd>
514
+
515
+ **request:** `CandidApi.credentialing.v2.ProviderCredentialingSpanCreate`
516
+
517
+ </dd>
518
+ </dl>
519
+
520
+ <dl>
521
+ <dd>
522
+
523
+ **requestOptions:** `V2.RequestOptions`
524
+
525
+ </dd>
526
+ </dl>
527
+ </dd>
528
+ </dl>
529
+
530
+ </dd>
531
+ </dl>
532
+ </details>
533
+
534
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">get</a>(providerCredentialingId) -> core.APIResponse<CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.get.Error></code></summary>
535
+ <dl>
536
+ <dd>
537
+
538
+ #### 🔌 Usage
539
+
540
+ <dl>
541
+ <dd>
542
+
543
+ <dl>
544
+ <dd>
545
+
546
+ ```typescript
547
+ await client.credentialing.v2.get(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
548
+ ```
549
+
550
+ </dd>
551
+ </dl>
552
+ </dd>
553
+ </dl>
554
+
555
+ #### ⚙️ Parameters
556
+
557
+ <dl>
558
+ <dd>
559
+
560
+ <dl>
561
+ <dd>
562
+
563
+ **providerCredentialingId:** `CandidApi.ProviderCredentialingSpanId`
564
+
565
+ </dd>
566
+ </dl>
567
+
568
+ <dl>
569
+ <dd>
570
+
571
+ **requestOptions:** `V2.RequestOptions`
572
+
573
+ </dd>
574
+ </dl>
575
+ </dd>
576
+ </dl>
577
+
578
+ </dd>
579
+ </dl>
580
+ </details>
581
+
582
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.ProviderCredentialingSpanPage, CandidApi.credentialing.v2.getAll.Error></code></summary>
583
+ <dl>
584
+ <dd>
585
+
586
+ #### 🔌 Usage
587
+
588
+ <dl>
589
+ <dd>
590
+
591
+ <dl>
592
+ <dd>
593
+
594
+ ```typescript
595
+ await client.credentialing.v2.getAll({
596
+ limit: 1,
597
+ pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
598
+ payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
599
+ asRenderingProvider: true,
600
+ asContractingProvider: true,
601
+ });
602
+ ```
603
+
604
+ </dd>
605
+ </dl>
606
+ </dd>
607
+ </dl>
608
+
609
+ #### ⚙️ Parameters
610
+
611
+ <dl>
612
+ <dd>
613
+
614
+ <dl>
615
+ <dd>
616
+
617
+ **request:** `CandidApi.credentialing.v2.GetAllProviderCredentialingSpansRequest`
618
+
619
+ </dd>
620
+ </dl>
621
+
622
+ <dl>
623
+ <dd>
624
+
625
+ **requestOptions:** `V2.RequestOptions`
626
+
627
+ </dd>
628
+ </dl>
629
+ </dd>
630
+ </dl>
631
+
632
+ </dd>
633
+ </dl>
634
+ </details>
635
+
636
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">delete</a>(providerCredentialingId) -> core.APIResponse<void, CandidApi.credentialing.v2.delete.Error></code></summary>
637
+ <dl>
638
+ <dd>
639
+
640
+ #### 📝 Description
641
+
642
+ <dl>
643
+ <dd>
644
+
645
+ <dl>
646
+ <dd>
647
+
648
+ Soft deletes a credentialing span rate from the system.
649
+
650
+ </dd>
651
+ </dl>
652
+ </dd>
653
+ </dl>
654
+
655
+ #### 🔌 Usage
656
+
657
+ <dl>
658
+ <dd>
659
+
660
+ <dl>
661
+ <dd>
662
+
663
+ ```typescript
664
+ await client.credentialing.v2.delete(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
665
+ ```
666
+
667
+ </dd>
668
+ </dl>
669
+ </dd>
670
+ </dl>
671
+
672
+ #### ⚙️ Parameters
673
+
674
+ <dl>
675
+ <dd>
676
+
677
+ <dl>
678
+ <dd>
679
+
680
+ **providerCredentialingId:** `CandidApi.ProviderCredentialingSpanId`
681
+
682
+ </dd>
683
+ </dl>
684
+
685
+ <dl>
686
+ <dd>
687
+
688
+ **requestOptions:** `V2.RequestOptions`
689
+
690
+ </dd>
691
+ </dl>
692
+ </dd>
693
+ </dl>
694
+
695
+ </dd>
696
+ </dl>
697
+ </details>
698
+
699
+ <details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">update</a>(providerCredentialingId, { ...params }) -> core.APIResponse<CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.update.Error></code></summary>
700
+ <dl>
701
+ <dd>
702
+
703
+ #### 🔌 Usage
704
+
705
+ <dl>
706
+ <dd>
707
+
708
+ <dl>
709
+ <dd>
710
+
711
+ ```typescript
712
+ await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
713
+ contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
714
+ payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
715
+ startDate: "2023-01-15",
716
+ endDate: "2023-01-15",
717
+ regions: {
718
+ type: "states",
719
+ states: [CandidApi.State.Aa],
720
+ },
721
+ submittedDate: "2023-01-15",
722
+ payerLoadedDate: "2023-01-15",
723
+ });
724
+ ```
725
+
726
+ </dd>
727
+ </dl>
728
+ </dd>
729
+ </dl>
730
+
731
+ #### ⚙️ Parameters
732
+
733
+ <dl>
734
+ <dd>
735
+
736
+ <dl>
737
+ <dd>
738
+
739
+ **providerCredentialingId:** `CandidApi.ProviderCredentialingSpanId`
740
+
741
+ </dd>
742
+ </dl>
743
+
744
+ <dl>
745
+ <dd>
746
+
747
+ **request:** `CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate`
748
+
749
+ </dd>
750
+ </dl>
751
+
752
+ <dl>
753
+ <dd>
754
+
755
+ **requestOptions:** `V2.RequestOptions`
756
+
757
+ </dd>
758
+ </dl>
759
+ </dd>
760
+ </dl>
761
+
762
+ </dd>
763
+ </dl>
764
+ </details>
765
+
472
766
  ## CustomSchemas V1
473
767
 
474
768
  <details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">getMulti</a>() -> core.APIResponse<CandidApi.SchemaGetMultiResponse, CandidApi.customSchemas.v1.getMulti.Error></code></summary>
@@ -2220,6 +2514,7 @@ await client.encounters.v4.create({
2220
2514
  },
2221
2515
  },
2222
2516
  ],
2517
+ referralNumber: "string",
2223
2518
  externalId: CandidApi.EncounterExternalId("string"),
2224
2519
  dateOfService: "2023-01-15",
2225
2520
  endDateOfService: "2023-01-15",
@@ -2286,7 +2581,6 @@ await client.encounters.v4.create({
2286
2581
  onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
2287
2582
  lastMenstrualPeriodDate: "2023-01-15",
2288
2583
  delayReasonCode: CandidApi.DelayReasonCode.C1,
2289
- referralNumber: "string",
2290
2584
  });
2291
2585
  ```
2292
2586
 
@@ -2345,7 +2639,7 @@ where applicable. In particular, the following fields are populated from the pat
2345
2639
  - Referring Provider
2346
2640
  - Subscriber Primary
2347
2641
  - Subscriber Secondary
2348
- - Prior Authorization Number
2642
+ - Referral Number
2349
2643
  - Responsible Party
2350
2644
  - Guarantor
2351
2645
 
@@ -2633,7 +2927,6 @@ await client.encounters.v4.createFromPreEncounterPatient({
2633
2927
  onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
2634
2928
  lastMenstrualPeriodDate: "2023-01-15",
2635
2929
  delayReasonCode: CandidApi.DelayReasonCode.C1,
2636
- referralNumber: "string",
2637
2930
  });
2638
2931
  ```
2639
2932
 
@@ -3293,8 +3586,9 @@ of Candid Health's export files be resilient to the addition of new columns at t
3293
3586
 
3294
3587
  **SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
3295
3588
  available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
3296
- caller will receive a 422 response. If the file has already been generated, it will be served. Please email
3297
- our [Support team](mailto:support@joincandidhealth.com) with any data requests outside of these stated guarantees.
3589
+ caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
3590
+ up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
3591
+ outside of these stated guarantees.
3298
3592
 
3299
3593
  </dd>
3300
3594
  </dl>
@@ -4780,28 +5074,12 @@ await client.insuranceAdjudications.v1.create({
4780
5074
  "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [
4781
5075
  {
4782
5076
  claimStatusCode: CandidApi.ClaimStatusCodeCreate.ProcessedAsPrimary,
4783
- insurancePaidAmountCents: {
4784
- key: "value",
4785
- },
4786
- chargeAmountCents: {
4787
- key: "value",
4788
- },
4789
- serviceLines: {
4790
- string: {
4791
- key: "value",
4792
- },
4793
- },
4794
- payerClaimNumber: {
4795
- key: "value",
4796
- },
4797
- carcs: [
4798
- {
4799
- key: "value",
4800
- },
4801
- ],
5077
+ serviceLines: {},
5078
+ carcs: [],
4802
5079
  },
4803
5080
  ],
4804
5081
  },
5082
+ remitDraftId: CandidApi.RemitDraftId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4805
5083
  });
4806
5084
  ```
4807
5085
 
@@ -7198,9 +7476,6 @@ await client.organizationProviders.v3.create({
7198
7476
  {
7199
7477
  period: {
7200
7478
  startDate: CandidApi.Date_("string"),
7201
- endDate: {
7202
- key: "value",
7203
- },
7204
7479
  },
7205
7480
  identifierCode: CandidApi.IdentifierCode.Mcr,
7206
7481
  identifierValue: {
@@ -7287,9 +7562,6 @@ await client.organizationProviders.v3.update(CandidApi.OrganizationProviderId("d
7287
7562
  type: "add",
7288
7563
  period: {
7289
7564
  startDate: CandidApi.Date_("string"),
7290
- endDate: {
7291
- key: "value",
7292
- },
7293
7565
  },
7294
7566
  identifierCode: CandidApi.IdentifierCode.Mcr,
7295
7567
  identifierValue: {
@@ -8220,6 +8492,21 @@ await client.serviceLines.v2.create({
8220
8492
  conversionFormula: "string",
8221
8493
  drugDescription: "string",
8222
8494
  },
8495
+ orderingProvider: {
8496
+ npi: "string",
8497
+ taxonomyCode: "string",
8498
+ address: {
8499
+ address1: "123 Main St",
8500
+ address2: "Apt 1",
8501
+ city: "New York",
8502
+ state: CandidApi.State.Ny,
8503
+ zipCode: "10001",
8504
+ zipPlusFourCode: "1234",
8505
+ },
8506
+ firstName: "string",
8507
+ lastName: "string",
8508
+ organizationName: "string",
8509
+ },
8223
8510
  testResults: [
8224
8511
  {
8225
8512
  value: 1.1,
@@ -8999,14 +9286,7 @@ await client.preEncounter.appointments.v1.create({
8999
9286
  family: "string",
9000
9287
  given: ["string"],
9001
9288
  use: CandidApi.NameUse.Usual,
9002
- period: {
9003
- start: {
9004
- key: "value",
9005
- },
9006
- end: {
9007
- key: "value",
9008
- },
9009
- },
9289
+ period: {},
9010
9290
  },
9011
9291
  type: CandidApi.ExternalProviderType.Primary,
9012
9292
  npi: "string",
@@ -9014,24 +9294,10 @@ await client.preEncounter.appointments.v1.create({
9014
9294
  {
9015
9295
  value: "string",
9016
9296
  use: CandidApi.ContactPointUse.Home,
9017
- period: {
9018
- key: "value",
9019
- },
9020
9297
  },
9021
9298
  ],
9022
- addresses: [
9023
- {
9024
- key: "value",
9025
- },
9026
- ],
9027
- period: {
9028
- start: {
9029
- key: "value",
9030
- },
9031
- end: {
9032
- key: "value",
9033
- },
9034
- },
9299
+ addresses: [],
9300
+ period: {},
9035
9301
  canonicalId: CandidApi.CanonicalProviderId("string"),
9036
9302
  },
9037
9303
  estimatedCopayCents: 1,
@@ -9248,14 +9514,7 @@ await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("string
9248
9514
  family: "string",
9249
9515
  given: ["string"],
9250
9516
  use: CandidApi.NameUse.Usual,
9251
- period: {
9252
- start: {
9253
- key: "value",
9254
- },
9255
- end: {
9256
- key: "value",
9257
- },
9258
- },
9517
+ period: {},
9259
9518
  },
9260
9519
  type: CandidApi.ExternalProviderType.Primary,
9261
9520
  npi: "string",
@@ -9263,24 +9522,10 @@ await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("string
9263
9522
  {
9264
9523
  value: "string",
9265
9524
  use: CandidApi.ContactPointUse.Home,
9266
- period: {
9267
- key: "value",
9268
- },
9269
9525
  },
9270
9526
  ],
9271
- addresses: [
9272
- {
9273
- key: "value",
9274
- },
9275
- ],
9276
- period: {
9277
- start: {
9278
- key: "value",
9279
- },
9280
- end: {
9281
- key: "value",
9282
- },
9283
- },
9527
+ addresses: [],
9528
+ period: {},
9284
9529
  canonicalId: CandidApi.CanonicalProviderId("string"),
9285
9530
  },
9286
9531
  estimatedCopayCents: 1,
@@ -9515,14 +9760,7 @@ await client.preEncounter.coverages.v1.create({
9515
9760
  family: "string",
9516
9761
  given: ["string"],
9517
9762
  use: CandidApi.NameUse.Usual,
9518
- period: {
9519
- start: {
9520
- key: "value",
9521
- },
9522
- end: {
9523
- key: "value",
9524
- },
9525
- },
9763
+ period: {},
9526
9764
  },
9527
9765
  dateOfBirth: "2023-01-15",
9528
9766
  biologicalSex: CandidApi.Sex.Female,
@@ -9533,14 +9771,7 @@ await client.preEncounter.coverages.v1.create({
9533
9771
  state: "string",
9534
9772
  postalCode: "string",
9535
9773
  country: "string",
9536
- period: {
9537
- start: {
9538
- key: "value",
9539
- },
9540
- end: {
9541
- key: "value",
9542
- },
9543
- },
9774
+ period: {},
9544
9775
  },
9545
9776
  },
9546
9777
  relationship: CandidApi.Relationship.Self,
@@ -9559,14 +9790,7 @@ await client.preEncounter.coverages.v1.create({
9559
9790
  name: "string",
9560
9791
  planType: CandidApi.NetworkType.SelfPay,
9561
9792
  type: CandidApi.InsuranceTypeCode.C01,
9562
- period: {
9563
- start: {
9564
- key: "value",
9565
- },
9566
- end: {
9567
- key: "value",
9568
- },
9569
- },
9793
+ period: {},
9570
9794
  insuranceCardImageLocator: "string",
9571
9795
  },
9572
9796
  verified: true,
@@ -9584,14 +9808,7 @@ await client.preEncounter.coverages.v1.create({
9584
9808
  status: CandidApi.EligibilityStatus.Active,
9585
9809
  initiatedAt: new Date("2024-01-15T09:30:00.000Z"),
9586
9810
  },
9587
- benefits: {
9588
- planCoverage: {
9589
- key: "value",
9590
- },
9591
- serviceSpecificCoverage: {
9592
- key: "value",
9593
- },
9594
- },
9811
+ benefits: {},
9595
9812
  });
9596
9813
  ```
9597
9814
 
@@ -9662,14 +9879,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9662
9879
  family: "string",
9663
9880
  given: ["string"],
9664
9881
  use: CandidApi.NameUse.Usual,
9665
- period: {
9666
- start: {
9667
- key: "value",
9668
- },
9669
- end: {
9670
- key: "value",
9671
- },
9672
- },
9882
+ period: {},
9673
9883
  },
9674
9884
  dateOfBirth: "2023-01-15",
9675
9885
  biologicalSex: CandidApi.Sex.Female,
@@ -9680,14 +9890,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9680
9890
  state: "string",
9681
9891
  postalCode: "string",
9682
9892
  country: "string",
9683
- period: {
9684
- start: {
9685
- key: "value",
9686
- },
9687
- end: {
9688
- key: "value",
9689
- },
9690
- },
9893
+ period: {},
9691
9894
  },
9692
9895
  },
9693
9896
  relationship: CandidApi.Relationship.Self,
@@ -9706,14 +9909,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9706
9909
  name: "string",
9707
9910
  planType: CandidApi.NetworkType.SelfPay,
9708
9911
  type: CandidApi.InsuranceTypeCode.C01,
9709
- period: {
9710
- start: {
9711
- key: "value",
9712
- },
9713
- end: {
9714
- key: "value",
9715
- },
9716
- },
9912
+ period: {},
9717
9913
  insuranceCardImageLocator: "string",
9718
9914
  },
9719
9915
  verified: true,
@@ -9731,14 +9927,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
9731
9927
  status: CandidApi.EligibilityStatus.Active,
9732
9928
  initiatedAt: new Date("2024-01-15T09:30:00.000Z"),
9733
9929
  },
9734
- benefits: {
9735
- planCoverage: {
9736
- key: "value",
9737
- },
9738
- serviceSpecificCoverage: {
9739
- key: "value",
9740
- },
9741
- },
9930
+ benefits: {},
9742
9931
  });
9743
9932
  ```
9744
9933
 
@@ -10228,7 +10417,7 @@ Gets patients with dependent objects for patients that match the query parameter
10228
10417
  await client.preEncounter.lists.v1.getPatientList({
10229
10418
  pageToken: CandidApi.PageToken("string"),
10230
10419
  limit: 1,
10231
- sortField: "string",
10420
+ sortField: CandidApi.SortFieldString("string"),
10232
10421
  sortDirection: CandidApi.SortDirection.Asc,
10233
10422
  filters: CandidApi.FilterQueryString("string"),
10234
10423
  });
@@ -10295,7 +10484,7 @@ Searches for appointments that match the query parameters.
10295
10484
 
10296
10485
  ```typescript
10297
10486
  await client.preEncounter.lists.v1.getAppointmentList({
10298
- sortField: "string",
10487
+ sortField: CandidApi.SortFieldString("string"),
10299
10488
  sortDirection: CandidApi.SortDirection.Asc,
10300
10489
  limit: 1,
10301
10490
  pageToken: CandidApi.PageToken("string"),
@@ -10316,7 +10505,258 @@ await client.preEncounter.lists.v1.getAppointmentList({
10316
10505
  <dl>
10317
10506
  <dd>
10318
10507
 
10319
- **request:** `CandidApi.preEncounter.lists.v1.AppointmentsGetListRequest`
10508
+ **request:** `CandidApi.preEncounter.lists.v1.AppointmentsGetListRequest`
10509
+
10510
+ </dd>
10511
+ </dl>
10512
+
10513
+ <dl>
10514
+ <dd>
10515
+
10516
+ **requestOptions:** `V1.RequestOptions`
10517
+
10518
+ </dd>
10519
+ </dl>
10520
+ </dd>
10521
+ </dl>
10522
+
10523
+ </dd>
10524
+ </dl>
10525
+ </details>
10526
+
10527
+ ## PreEncounter Patients V1
10528
+
10529
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
10530
+ <dl>
10531
+ <dd>
10532
+
10533
+ #### 📝 Description
10534
+
10535
+ <dl>
10536
+ <dd>
10537
+
10538
+ <dl>
10539
+ <dd>
10540
+
10541
+ Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
10542
+
10543
+ </dd>
10544
+ </dl>
10545
+ </dd>
10546
+ </dl>
10547
+
10548
+ #### 🔌 Usage
10549
+
10550
+ <dl>
10551
+ <dd>
10552
+
10553
+ <dl>
10554
+ <dd>
10555
+
10556
+ ```typescript
10557
+ await client.preEncounter.patients.v1.create({
10558
+ skipDuplicateCheck: true,
10559
+ body: {
10560
+ name: {
10561
+ family: "string",
10562
+ given: ["string"],
10563
+ use: CandidApi.NameUse.Usual,
10564
+ period: {},
10565
+ },
10566
+ otherNames: [
10567
+ {
10568
+ family: "string",
10569
+ given: ["string"],
10570
+ use: CandidApi.NameUse.Usual,
10571
+ period: {},
10572
+ },
10573
+ ],
10574
+ gender: CandidApi.Gender.Man,
10575
+ birthDate: "2023-01-15",
10576
+ socialSecurityNumber: "string",
10577
+ biologicalSex: CandidApi.Sex.Female,
10578
+ sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
10579
+ race: CandidApi.Race.AmericanIndianOrAlaskaNative,
10580
+ ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
10581
+ disabilityStatus: CandidApi.DisabilityStatus.Disabled,
10582
+ maritalStatus: CandidApi.MaritalStatus.Annulled,
10583
+ deceased: new Date("2024-01-15T09:30:00.000Z"),
10584
+ multipleBirth: 1,
10585
+ primaryAddress: {
10586
+ use: CandidApi.AddressUse.Home,
10587
+ line: ["string"],
10588
+ city: "string",
10589
+ state: "string",
10590
+ postalCode: "string",
10591
+ country: "string",
10592
+ period: {},
10593
+ },
10594
+ otherAddresses: [
10595
+ {
10596
+ use: CandidApi.AddressUse.Home,
10597
+ line: ["string"],
10598
+ city: "string",
10599
+ state: "string",
10600
+ postalCode: "string",
10601
+ country: "string",
10602
+ period: {},
10603
+ },
10604
+ ],
10605
+ primaryTelecom: {
10606
+ value: "string",
10607
+ use: CandidApi.ContactPointUse.Home,
10608
+ },
10609
+ otherTelecoms: [
10610
+ {
10611
+ value: "string",
10612
+ use: CandidApi.ContactPointUse.Home,
10613
+ },
10614
+ ],
10615
+ email: "string",
10616
+ electronicCommunicationOptIn: true,
10617
+ photo: "string",
10618
+ language: "string",
10619
+ externalProvenance: {
10620
+ externalId: "string",
10621
+ systemName: "string",
10622
+ },
10623
+ contacts: [
10624
+ {
10625
+ relationship: [CandidApi.Relationship.Self],
10626
+ name: {
10627
+ family: "string",
10628
+ given: ["string"],
10629
+ use: CandidApi.NameUse.Usual,
10630
+ period: {},
10631
+ },
10632
+ telecoms: [
10633
+ {
10634
+ value: "string",
10635
+ use: CandidApi.ContactPointUse.Home,
10636
+ },
10637
+ ],
10638
+ addresses: [
10639
+ {
10640
+ use: CandidApi.AddressUse.Home,
10641
+ line: ["string"],
10642
+ city: "string",
10643
+ state: "string",
10644
+ postalCode: "string",
10645
+ country: "string",
10646
+ period: {},
10647
+ },
10648
+ ],
10649
+ period: {},
10650
+ hipaaAuthorization: true,
10651
+ },
10652
+ ],
10653
+ generalPractitioners: [
10654
+ {
10655
+ name: {
10656
+ family: "string",
10657
+ given: ["string"],
10658
+ use: CandidApi.NameUse.Usual,
10659
+ period: {},
10660
+ },
10661
+ type: CandidApi.ExternalProviderType.Primary,
10662
+ npi: "string",
10663
+ telecoms: [
10664
+ {
10665
+ value: "string",
10666
+ use: CandidApi.ContactPointUse.Home,
10667
+ },
10668
+ ],
10669
+ addresses: [],
10670
+ period: {},
10671
+ canonicalId: CandidApi.CanonicalProviderId("string"),
10672
+ },
10673
+ ],
10674
+ filingOrder: {
10675
+ coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
10676
+ },
10677
+ nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
10678
+ nonInsurancePayerAssociations: [
10679
+ {
10680
+ id: CandidApi.CanonicalNonInsurancePayerId("string"),
10681
+ },
10682
+ ],
10683
+ guarantor: {
10684
+ name: {
10685
+ family: "string",
10686
+ given: ["string"],
10687
+ use: CandidApi.NameUse.Usual,
10688
+ period: {},
10689
+ },
10690
+ telecom: {
10691
+ value: "string",
10692
+ use: CandidApi.ContactPointUse.Home,
10693
+ },
10694
+ email: "string",
10695
+ birthDate: "2023-01-15",
10696
+ address: {
10697
+ use: CandidApi.AddressUse.Home,
10698
+ line: ["string"],
10699
+ city: "string",
10700
+ state: "string",
10701
+ postalCode: "string",
10702
+ country: "string",
10703
+ period: {},
10704
+ },
10705
+ },
10706
+ selfPay: true,
10707
+ authorizations: [
10708
+ {
10709
+ payerId: CandidApi.PayerId("string"),
10710
+ payerName: "string",
10711
+ authorizationNumber: "string",
10712
+ cptCode: "string",
10713
+ units: CandidApi.AuthorizationUnit.Visit,
10714
+ },
10715
+ ],
10716
+ referrals: [
10717
+ {
10718
+ provider: {
10719
+ name: {
10720
+ family: "string",
10721
+ given: ["string"],
10722
+ use: CandidApi.NameUse.Usual,
10723
+ period: {},
10724
+ },
10725
+ type: CandidApi.ExternalProviderType.Primary,
10726
+ npi: "string",
10727
+ telecoms: [
10728
+ {
10729
+ value: "string",
10730
+ use: CandidApi.ContactPointUse.Home,
10731
+ },
10732
+ ],
10733
+ addresses: [],
10734
+ period: {},
10735
+ canonicalId: CandidApi.CanonicalProviderId("string"),
10736
+ },
10737
+ referralNumber: "string",
10738
+ },
10739
+ ],
10740
+ primaryServiceFacilityId: "string",
10741
+ doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
10742
+ },
10743
+ });
10744
+ ```
10745
+
10746
+ </dd>
10747
+ </dl>
10748
+ </dd>
10749
+ </dl>
10750
+
10751
+ #### ⚙️ Parameters
10752
+
10753
+ <dl>
10754
+ <dd>
10755
+
10756
+ <dl>
10757
+ <dd>
10758
+
10759
+ **request:** `CandidApi.preEncounter.patients.v1.CreatePatientRequest`
10320
10760
 
10321
10761
  </dd>
10322
10762
  </dl>
@@ -10335,9 +10775,7 @@ await client.preEncounter.lists.v1.getAppointmentList({
10335
10775
  </dl>
10336
10776
  </details>
10337
10777
 
10338
- ## PreEncounter Patients V1
10339
-
10340
- <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
10778
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">createWithMrn</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.createWithMrn.Error></code></summary>
10341
10779
  <dl>
10342
10780
  <dd>
10343
10781
 
@@ -10349,7 +10787,7 @@ await client.preEncounter.lists.v1.getAppointmentList({
10349
10787
  <dl>
10350
10788
  <dd>
10351
10789
 
10352
- Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
10790
+ 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.
10353
10791
 
10354
10792
  </dd>
10355
10793
  </dl>
@@ -10365,35 +10803,22 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
10365
10803
  <dd>
10366
10804
 
10367
10805
  ```typescript
10368
- await client.preEncounter.patients.v1.create({
10806
+ await client.preEncounter.patients.v1.createWithMrn({
10369
10807
  skipDuplicateCheck: true,
10370
10808
  body: {
10809
+ mrn: "string",
10371
10810
  name: {
10372
10811
  family: "string",
10373
10812
  given: ["string"],
10374
10813
  use: CandidApi.NameUse.Usual,
10375
- period: {
10376
- start: {
10377
- key: "value",
10378
- },
10379
- end: {
10380
- key: "value",
10381
- },
10382
- },
10814
+ period: {},
10383
10815
  },
10384
10816
  otherNames: [
10385
10817
  {
10386
10818
  family: "string",
10387
10819
  given: ["string"],
10388
10820
  use: CandidApi.NameUse.Usual,
10389
- period: {
10390
- start: {
10391
- key: "value",
10392
- },
10393
- end: {
10394
- key: "value",
10395
- },
10396
- },
10821
+ period: {},
10397
10822
  },
10398
10823
  ],
10399
10824
  gender: CandidApi.Gender.Man,
@@ -10414,14 +10839,7 @@ await client.preEncounter.patients.v1.create({
10414
10839
  state: "string",
10415
10840
  postalCode: "string",
10416
10841
  country: "string",
10417
- period: {
10418
- start: {
10419
- key: "value",
10420
- },
10421
- end: {
10422
- key: "value",
10423
- },
10424
- },
10842
+ period: {},
10425
10843
  },
10426
10844
  otherAddresses: [
10427
10845
  {
@@ -10431,30 +10849,17 @@ await client.preEncounter.patients.v1.create({
10431
10849
  state: "string",
10432
10850
  postalCode: "string",
10433
10851
  country: "string",
10434
- period: {
10435
- start: {
10436
- key: "value",
10437
- },
10438
- end: {
10439
- key: "value",
10440
- },
10441
- },
10852
+ period: {},
10442
10853
  },
10443
10854
  ],
10444
10855
  primaryTelecom: {
10445
10856
  value: "string",
10446
10857
  use: CandidApi.ContactPointUse.Home,
10447
- period: {
10448
- key: "value",
10449
- },
10450
10858
  },
10451
10859
  otherTelecoms: [
10452
10860
  {
10453
10861
  value: "string",
10454
10862
  use: CandidApi.ContactPointUse.Home,
10455
- period: {
10456
- key: "value",
10457
- },
10458
10863
  },
10459
10864
  ],
10460
10865
  email: "string",
@@ -10472,22 +10877,12 @@ await client.preEncounter.patients.v1.create({
10472
10877
  family: "string",
10473
10878
  given: ["string"],
10474
10879
  use: CandidApi.NameUse.Usual,
10475
- period: {
10476
- start: {
10477
- key: "value",
10478
- },
10479
- end: {
10480
- key: "value",
10481
- },
10482
- },
10880
+ period: {},
10483
10881
  },
10484
10882
  telecoms: [
10485
10883
  {
10486
10884
  value: "string",
10487
10885
  use: CandidApi.ContactPointUse.Home,
10488
- period: {
10489
- key: "value",
10490
- },
10491
10886
  },
10492
10887
  ],
10493
10888
  addresses: [
@@ -10498,24 +10893,10 @@ await client.preEncounter.patients.v1.create({
10498
10893
  state: "string",
10499
10894
  postalCode: "string",
10500
10895
  country: "string",
10501
- period: {
10502
- start: {
10503
- key: "value",
10504
- },
10505
- end: {
10506
- key: "value",
10507
- },
10508
- },
10896
+ period: {},
10509
10897
  },
10510
10898
  ],
10511
- period: {
10512
- start: {
10513
- key: "value",
10514
- },
10515
- end: {
10516
- key: "value",
10517
- },
10518
- },
10899
+ period: {},
10519
10900
  hipaaAuthorization: true,
10520
10901
  },
10521
10902
  ],
@@ -10525,14 +10906,7 @@ await client.preEncounter.patients.v1.create({
10525
10906
  family: "string",
10526
10907
  given: ["string"],
10527
10908
  use: CandidApi.NameUse.Usual,
10528
- period: {
10529
- start: {
10530
- key: "value",
10531
- },
10532
- end: {
10533
- key: "value",
10534
- },
10535
- },
10909
+ period: {},
10536
10910
  },
10537
10911
  type: CandidApi.ExternalProviderType.Primary,
10538
10912
  npi: "string",
@@ -10540,24 +10914,10 @@ await client.preEncounter.patients.v1.create({
10540
10914
  {
10541
10915
  value: "string",
10542
10916
  use: CandidApi.ContactPointUse.Home,
10543
- period: {
10544
- key: "value",
10545
- },
10546
- },
10547
- ],
10548
- addresses: [
10549
- {
10550
- key: "value",
10551
10917
  },
10552
10918
  ],
10553
- period: {
10554
- start: {
10555
- key: "value",
10556
- },
10557
- end: {
10558
- key: "value",
10559
- },
10560
- },
10919
+ addresses: [],
10920
+ period: {},
10561
10921
  canonicalId: CandidApi.CanonicalProviderId("string"),
10562
10922
  },
10563
10923
  ],
@@ -10568,9 +10928,6 @@ await client.preEncounter.patients.v1.create({
10568
10928
  nonInsurancePayerAssociations: [
10569
10929
  {
10570
10930
  id: CandidApi.CanonicalNonInsurancePayerId("string"),
10571
- memberId: {
10572
- key: "value",
10573
- },
10574
10931
  },
10575
10932
  ],
10576
10933
  guarantor: {
@@ -10578,21 +10935,11 @@ await client.preEncounter.patients.v1.create({
10578
10935
  family: "string",
10579
10936
  given: ["string"],
10580
10937
  use: CandidApi.NameUse.Usual,
10581
- period: {
10582
- start: {
10583
- key: "value",
10584
- },
10585
- end: {
10586
- key: "value",
10587
- },
10588
- },
10938
+ period: {},
10589
10939
  },
10590
10940
  telecom: {
10591
10941
  value: "string",
10592
10942
  use: CandidApi.ContactPointUse.Home,
10593
- period: {
10594
- key: "value",
10595
- },
10596
10943
  },
10597
10944
  email: "string",
10598
10945
  birthDate: "2023-01-15",
@@ -10603,14 +10950,7 @@ await client.preEncounter.patients.v1.create({
10603
10950
  state: "string",
10604
10951
  postalCode: "string",
10605
10952
  country: "string",
10606
- period: {
10607
- start: {
10608
- key: "value",
10609
- },
10610
- end: {
10611
- key: "value",
10612
- },
10613
- },
10953
+ period: {},
10614
10954
  },
10615
10955
  },
10616
10956
  selfPay: true,
@@ -10618,21 +10958,9 @@ await client.preEncounter.patients.v1.create({
10618
10958
  {
10619
10959
  payerId: CandidApi.PayerId("string"),
10620
10960
  payerName: "string",
10621
- additionalPayerInformation: {
10622
- key: "value",
10623
- },
10624
10961
  authorizationNumber: "string",
10625
10962
  cptCode: "string",
10626
10963
  units: CandidApi.AuthorizationUnit.Visit,
10627
- quantity: {
10628
- key: "value",
10629
- },
10630
- period: {
10631
- key: "value",
10632
- },
10633
- notes: {
10634
- key: "value",
10635
- },
10636
10964
  },
10637
10965
  ],
10638
10966
  referrals: [
@@ -10642,14 +10970,7 @@ await client.preEncounter.patients.v1.create({
10642
10970
  family: "string",
10643
10971
  given: ["string"],
10644
10972
  use: CandidApi.NameUse.Usual,
10645
- period: {
10646
- start: {
10647
- key: "value",
10648
- },
10649
- end: {
10650
- key: "value",
10651
- },
10652
- },
10973
+ period: {},
10653
10974
  },
10654
10975
  type: CandidApi.ExternalProviderType.Primary,
10655
10976
  npi: "string",
@@ -10657,36 +10978,17 @@ await client.preEncounter.patients.v1.create({
10657
10978
  {
10658
10979
  value: "string",
10659
10980
  use: CandidApi.ContactPointUse.Home,
10660
- period: {
10661
- key: "value",
10662
- },
10663
- },
10664
- ],
10665
- addresses: [
10666
- {
10667
- key: "value",
10668
10981
  },
10669
10982
  ],
10670
- period: {
10671
- start: {
10672
- key: "value",
10673
- },
10674
- end: {
10675
- key: "value",
10676
- },
10677
- },
10983
+ addresses: [],
10984
+ period: {},
10678
10985
  canonicalId: CandidApi.CanonicalProviderId("string"),
10679
10986
  },
10680
10987
  referralNumber: "string",
10681
- period: {
10682
- key: "value",
10683
- },
10684
- notes: {
10685
- key: "value",
10686
- },
10687
10988
  },
10688
10989
  ],
10689
10990
  primaryServiceFacilityId: "string",
10991
+ doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
10690
10992
  },
10691
10993
  });
10692
10994
  ```
@@ -10704,7 +11006,7 @@ await client.preEncounter.patients.v1.create({
10704
11006
  <dl>
10705
11007
  <dd>
10706
11008
 
10707
- **request:** `CandidApi.preEncounter.patients.v1.CreatePatientRequest`
11009
+ **request:** `CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest`
10708
11010
 
10709
11011
  </dd>
10710
11012
  </dl>
@@ -10951,28 +11253,14 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
10951
11253
  family: "string",
10952
11254
  given: ["string"],
10953
11255
  use: CandidApi.NameUse.Usual,
10954
- period: {
10955
- start: {
10956
- key: "value",
10957
- },
10958
- end: {
10959
- key: "value",
10960
- },
10961
- },
11256
+ period: {},
10962
11257
  },
10963
11258
  otherNames: [
10964
11259
  {
10965
11260
  family: "string",
10966
11261
  given: ["string"],
10967
11262
  use: CandidApi.NameUse.Usual,
10968
- period: {
10969
- start: {
10970
- key: "value",
10971
- },
10972
- end: {
10973
- key: "value",
10974
- },
10975
- },
11263
+ period: {},
10976
11264
  },
10977
11265
  ],
10978
11266
  gender: CandidApi.Gender.Man,
@@ -10993,14 +11281,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
10993
11281
  state: "string",
10994
11282
  postalCode: "string",
10995
11283
  country: "string",
10996
- period: {
10997
- start: {
10998
- key: "value",
10999
- },
11000
- end: {
11001
- key: "value",
11002
- },
11003
- },
11284
+ period: {},
11004
11285
  },
11005
11286
  otherAddresses: [
11006
11287
  {
@@ -11010,30 +11291,17 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11010
11291
  state: "string",
11011
11292
  postalCode: "string",
11012
11293
  country: "string",
11013
- period: {
11014
- start: {
11015
- key: "value",
11016
- },
11017
- end: {
11018
- key: "value",
11019
- },
11020
- },
11294
+ period: {},
11021
11295
  },
11022
11296
  ],
11023
11297
  primaryTelecom: {
11024
11298
  value: "string",
11025
11299
  use: CandidApi.ContactPointUse.Home,
11026
- period: {
11027
- key: "value",
11028
- },
11029
11300
  },
11030
11301
  otherTelecoms: [
11031
11302
  {
11032
11303
  value: "string",
11033
11304
  use: CandidApi.ContactPointUse.Home,
11034
- period: {
11035
- key: "value",
11036
- },
11037
11305
  },
11038
11306
  ],
11039
11307
  email: "string",
@@ -11051,22 +11319,12 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11051
11319
  family: "string",
11052
11320
  given: ["string"],
11053
11321
  use: CandidApi.NameUse.Usual,
11054
- period: {
11055
- start: {
11056
- key: "value",
11057
- },
11058
- end: {
11059
- key: "value",
11060
- },
11061
- },
11322
+ period: {},
11062
11323
  },
11063
11324
  telecoms: [
11064
11325
  {
11065
11326
  value: "string",
11066
11327
  use: CandidApi.ContactPointUse.Home,
11067
- period: {
11068
- key: "value",
11069
- },
11070
11328
  },
11071
11329
  ],
11072
11330
  addresses: [
@@ -11077,24 +11335,10 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11077
11335
  state: "string",
11078
11336
  postalCode: "string",
11079
11337
  country: "string",
11080
- period: {
11081
- start: {
11082
- key: "value",
11083
- },
11084
- end: {
11085
- key: "value",
11086
- },
11087
- },
11338
+ period: {},
11088
11339
  },
11089
11340
  ],
11090
- period: {
11091
- start: {
11092
- key: "value",
11093
- },
11094
- end: {
11095
- key: "value",
11096
- },
11097
- },
11341
+ period: {},
11098
11342
  hipaaAuthorization: true,
11099
11343
  },
11100
11344
  ],
@@ -11104,14 +11348,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11104
11348
  family: "string",
11105
11349
  given: ["string"],
11106
11350
  use: CandidApi.NameUse.Usual,
11107
- period: {
11108
- start: {
11109
- key: "value",
11110
- },
11111
- end: {
11112
- key: "value",
11113
- },
11114
- },
11351
+ period: {},
11115
11352
  },
11116
11353
  type: CandidApi.ExternalProviderType.Primary,
11117
11354
  npi: "string",
@@ -11119,24 +11356,10 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11119
11356
  {
11120
11357
  value: "string",
11121
11358
  use: CandidApi.ContactPointUse.Home,
11122
- period: {
11123
- key: "value",
11124
- },
11125
- },
11126
- ],
11127
- addresses: [
11128
- {
11129
- key: "value",
11130
11359
  },
11131
11360
  ],
11132
- period: {
11133
- start: {
11134
- key: "value",
11135
- },
11136
- end: {
11137
- key: "value",
11138
- },
11139
- },
11361
+ addresses: [],
11362
+ period: {},
11140
11363
  canonicalId: CandidApi.CanonicalProviderId("string"),
11141
11364
  },
11142
11365
  ],
@@ -11147,9 +11370,6 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11147
11370
  nonInsurancePayerAssociations: [
11148
11371
  {
11149
11372
  id: CandidApi.CanonicalNonInsurancePayerId("string"),
11150
- memberId: {
11151
- key: "value",
11152
- },
11153
11373
  },
11154
11374
  ],
11155
11375
  guarantor: {
@@ -11157,21 +11377,11 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11157
11377
  family: "string",
11158
11378
  given: ["string"],
11159
11379
  use: CandidApi.NameUse.Usual,
11160
- period: {
11161
- start: {
11162
- key: "value",
11163
- },
11164
- end: {
11165
- key: "value",
11166
- },
11167
- },
11380
+ period: {},
11168
11381
  },
11169
11382
  telecom: {
11170
11383
  value: "string",
11171
11384
  use: CandidApi.ContactPointUse.Home,
11172
- period: {
11173
- key: "value",
11174
- },
11175
11385
  },
11176
11386
  email: "string",
11177
11387
  birthDate: "2023-01-15",
@@ -11182,14 +11392,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11182
11392
  state: "string",
11183
11393
  postalCode: "string",
11184
11394
  country: "string",
11185
- period: {
11186
- start: {
11187
- key: "value",
11188
- },
11189
- end: {
11190
- key: "value",
11191
- },
11192
- },
11395
+ period: {},
11193
11396
  },
11194
11397
  },
11195
11398
  selfPay: true,
@@ -11197,21 +11400,9 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11197
11400
  {
11198
11401
  payerId: CandidApi.PayerId("string"),
11199
11402
  payerName: "string",
11200
- additionalPayerInformation: {
11201
- key: "value",
11202
- },
11203
11403
  authorizationNumber: "string",
11204
11404
  cptCode: "string",
11205
11405
  units: CandidApi.AuthorizationUnit.Visit,
11206
- quantity: {
11207
- key: "value",
11208
- },
11209
- period: {
11210
- key: "value",
11211
- },
11212
- notes: {
11213
- key: "value",
11214
- },
11215
11406
  },
11216
11407
  ],
11217
11408
  referrals: [
@@ -11221,14 +11412,7 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11221
11412
  family: "string",
11222
11413
  given: ["string"],
11223
11414
  use: CandidApi.NameUse.Usual,
11224
- period: {
11225
- start: {
11226
- key: "value",
11227
- },
11228
- end: {
11229
- key: "value",
11230
- },
11231
- },
11415
+ period: {},
11232
11416
  },
11233
11417
  type: CandidApi.ExternalProviderType.Primary,
11234
11418
  npi: "string",
@@ -11236,36 +11420,17 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
11236
11420
  {
11237
11421
  value: "string",
11238
11422
  use: CandidApi.ContactPointUse.Home,
11239
- period: {
11240
- key: "value",
11241
- },
11242
- },
11243
- ],
11244
- addresses: [
11245
- {
11246
- key: "value",
11247
11423
  },
11248
11424
  ],
11249
- period: {
11250
- start: {
11251
- key: "value",
11252
- },
11253
- end: {
11254
- key: "value",
11255
- },
11256
- },
11425
+ addresses: [],
11426
+ period: {},
11257
11427
  canonicalId: CandidApi.CanonicalProviderId("string"),
11258
11428
  },
11259
11429
  referralNumber: "string",
11260
- period: {
11261
- key: "value",
11262
- },
11263
- notes: {
11264
- key: "value",
11265
- },
11266
11430
  },
11267
11431
  ],
11268
11432
  primaryServiceFacilityId: "string",
11433
+ doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
11269
11434
  });
11270
11435
  ```
11271
11436