candidhealth 0.23.0 → 0.24.0-2a6d412

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 (597) hide show
  1. package/Client.d.ts +1 -1
  2. package/api/resources/auth/client/Client.d.ts +1 -1
  3. package/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
  4. package/api/resources/auth/resources/v2/client/Client.js +3 -2
  5. package/api/resources/billingNotes/client/Client.d.ts +1 -1
  6. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
  7. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
  8. package/api/resources/contracts/client/Client.d.ts +1 -1
  9. package/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
  10. package/api/resources/contracts/resources/v2/client/Client.js +15 -10
  11. package/api/resources/eligibility/client/Client.d.ts +1 -1
  12. package/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
  13. package/api/resources/eligibility/resources/v2/client/Client.js +9 -6
  14. package/api/resources/encounters/client/Client.d.ts +1 -1
  15. package/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
  16. package/api/resources/encounters/resources/v4/client/Client.js +12 -8
  17. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -5
  18. package/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
  19. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
  20. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
  21. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
  22. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
  23. package/api/resources/exports/client/Client.d.ts +1 -1
  24. package/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
  25. package/api/resources/exports/resources/v3/client/Client.js +3 -2
  26. package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
  27. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
  28. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
  29. package/api/resources/feeSchedules/client/Client.d.ts +1 -1
  30. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  31. package/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
  32. package/api/resources/guarantor/client/Client.d.ts +1 -1
  33. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
  34. package/api/resources/guarantor/resources/v1/client/Client.js +9 -6
  35. package/api/resources/importInvoice/client/Client.d.ts +1 -1
  36. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
  37. package/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
  38. package/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
  39. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
  40. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
  41. package/api/resources/insurancePayments/client/Client.d.ts +1 -1
  42. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
  43. package/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
  44. package/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
  45. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
  46. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
  47. package/api/resources/organizationProviders/client/Client.d.ts +1 -1
  48. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
  49. package/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
  50. package/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
  51. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  52. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
  53. package/api/resources/patientPayments/client/Client.d.ts +1 -1
  54. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
  55. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
  56. package/api/resources/patientRefunds/client/Client.d.ts +1 -1
  57. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
  58. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
  59. package/api/resources/payers/client/Client.d.ts +1 -1
  60. package/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
  61. package/api/resources/payers/resources/v3/client/Client.js +6 -4
  62. package/api/resources/preEncounter/client/Client.d.ts +1 -1
  63. package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +4 -125
  64. package/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
  65. package/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
  66. package/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
  67. package/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
  68. package/api/resources/preEncounter/resources/coverages/index.js +1 -1
  69. package/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  70. package/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  71. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
  72. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
  73. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  74. package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
  75. package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
  76. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
  77. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
  78. package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
  79. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
  80. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
  81. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
  82. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
  83. package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +3 -3
  84. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
  85. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
  86. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
  87. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
  88. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
  89. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.js +2 -2
  90. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
  91. package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
  92. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  93. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  94. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
  95. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
  96. package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
  97. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
  98. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
  101. package/api/resources/preEncounter/resources/index.d.ts +0 -4
  102. package/api/resources/preEncounter/resources/index.js +0 -4
  103. package/api/resources/preEncounter/resources/patients/client/Client.d.ts +4 -316
  104. package/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
  105. package/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
  106. package/api/resources/preEncounter/resources/patients/client/index.js +0 -35
  107. package/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
  108. package/api/resources/preEncounter/resources/patients/index.js +1 -1
  109. package/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  110. package/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
  111. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
  112. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
  113. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  114. package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
  115. package/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
  116. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
  117. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
  118. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
  119. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
  120. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
  121. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
  122. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
  123. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
  124. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
  125. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
  126. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
  127. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +3 -3
  128. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
  129. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
  130. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
  131. package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/scan.js +2 -2
  132. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
  133. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
  134. package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
  135. package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
  136. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  137. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  138. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
  139. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
  140. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
  141. package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
  142. package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
  143. package/api/resources/serviceFacility/client/Client.d.ts +1 -1
  144. package/api/resources/serviceFacility/client/Client.js +3 -2
  145. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +11 -5
  146. package/api/resources/tasks/client/Client.d.ts +1 -1
  147. package/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
  148. package/api/resources/tasks/resources/v3/client/Client.js +15 -10
  149. package/api/resources/writeOffs/client/Client.d.ts +1 -1
  150. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
  151. package/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
  152. package/dist/Client.d.ts +1 -1
  153. package/dist/api/resources/auth/client/Client.d.ts +1 -1
  154. package/dist/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
  155. package/dist/api/resources/auth/resources/v2/client/Client.js +3 -2
  156. package/dist/api/resources/billingNotes/client/Client.d.ts +1 -1
  157. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
  158. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
  159. package/dist/api/resources/contracts/client/Client.d.ts +1 -1
  160. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
  161. package/dist/api/resources/contracts/resources/v2/client/Client.js +15 -10
  162. package/dist/api/resources/eligibility/client/Client.d.ts +1 -1
  163. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
  164. package/dist/api/resources/eligibility/resources/v2/client/Client.js +9 -6
  165. package/dist/api/resources/encounters/client/Client.d.ts +1 -1
  166. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
  167. package/dist/api/resources/encounters/resources/v4/client/Client.js +12 -8
  168. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -5
  169. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
  170. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
  171. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
  172. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
  173. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
  174. package/dist/api/resources/exports/client/Client.d.ts +1 -1
  175. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
  176. package/dist/api/resources/exports/resources/v3/client/Client.js +3 -2
  177. package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
  178. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
  179. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
  180. package/dist/api/resources/feeSchedules/client/Client.d.ts +1 -1
  181. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  182. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
  183. package/dist/api/resources/guarantor/client/Client.d.ts +1 -1
  184. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
  185. package/dist/api/resources/guarantor/resources/v1/client/Client.js +9 -6
  186. package/dist/api/resources/importInvoice/client/Client.d.ts +1 -1
  187. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
  188. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
  189. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
  190. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
  191. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
  192. package/dist/api/resources/insurancePayments/client/Client.d.ts +1 -1
  193. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
  194. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
  195. package/dist/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
  196. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
  197. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
  198. package/dist/api/resources/organizationProviders/client/Client.d.ts +1 -1
  199. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
  200. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
  201. package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
  202. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  203. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
  204. package/dist/api/resources/patientPayments/client/Client.d.ts +1 -1
  205. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
  206. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
  207. package/dist/api/resources/patientRefunds/client/Client.d.ts +1 -1
  208. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
  209. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
  210. package/dist/api/resources/payers/client/Client.d.ts +1 -1
  211. package/dist/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
  212. package/dist/api/resources/payers/resources/v3/client/Client.js +6 -4
  213. package/dist/api/resources/preEncounter/client/Client.d.ts +1 -1
  214. package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +4 -125
  215. package/dist/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
  216. package/dist/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
  217. package/dist/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
  218. package/dist/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
  219. package/dist/api/resources/preEncounter/resources/coverages/index.js +1 -1
  220. package/dist/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  221. package/dist/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  222. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
  223. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
  224. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  225. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
  226. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
  227. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
  228. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
  229. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
  230. package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
  231. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
  232. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
  233. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
  234. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
  235. package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/getHistory.js +3 -3
  236. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
  237. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
  238. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
  239. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
  240. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
  241. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
  242. package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/scan.js +2 -2
  243. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
  244. package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
  245. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  246. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  247. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
  248. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
  249. package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
  250. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
  251. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
  252. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
  253. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
  254. package/dist/api/resources/preEncounter/resources/index.d.ts +0 -4
  255. package/dist/api/resources/preEncounter/resources/index.js +0 -4
  256. package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +4 -316
  257. package/dist/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
  258. package/dist/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
  259. package/dist/api/resources/preEncounter/resources/patients/client/index.js +0 -35
  260. package/dist/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
  261. package/dist/api/resources/preEncounter/resources/patients/index.js +1 -1
  262. package/dist/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  263. package/dist/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
  264. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
  265. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
  266. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  267. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
  268. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
  269. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
  270. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
  271. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
  272. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
  273. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
  274. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
  275. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
  276. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
  277. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
  278. package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
  279. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
  280. package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
  281. package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/getHistory.js +3 -3
  282. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
  283. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
  284. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
  285. package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
  286. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +2 -2
  287. package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
  288. package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
  289. package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
  290. package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
  291. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  292. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  293. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
  294. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
  295. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
  296. package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
  297. package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
  298. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -1
  299. package/dist/api/resources/serviceFacility/client/Client.js +3 -2
  300. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +11 -5
  301. package/dist/api/resources/tasks/client/Client.d.ts +1 -1
  302. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
  303. package/dist/api/resources/tasks/resources/v3/client/Client.js +15 -10
  304. package/dist/api/resources/writeOffs/client/Client.d.ts +1 -1
  305. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
  306. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
  307. package/dist/environments.d.ts +12 -2
  308. package/dist/environments.js +8 -2
  309. package/dist/index.d.ts +1 -1
  310. package/dist/serialization/resources/preEncounter/resources/common/types/Address.d.ts +1 -1
  311. package/dist/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
  312. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
  313. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
  314. package/dist/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
  315. package/dist/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
  316. package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  317. package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  318. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
  319. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
  320. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
  321. package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
  322. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
  323. package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
  324. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
  325. package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
  326. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
  327. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.js +6 -6
  328. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  329. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  330. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
  331. package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
  332. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
  333. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
  334. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
  335. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
  336. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
  337. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
  338. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
  339. package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
  340. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
  341. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
  342. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
  343. package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
  344. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
  345. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
  346. package/dist/serialization/resources/preEncounter/resources/index.d.ts +0 -2
  347. package/dist/serialization/resources/preEncounter/resources/index.js +0 -2
  348. package/dist/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
  349. package/dist/serialization/resources/preEncounter/resources/patients/index.js +1 -2
  350. package/dist/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  351. package/dist/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
  352. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
  353. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
  354. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
  355. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
  356. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
  357. package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/create.js +4 -4
  358. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
  359. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
  360. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
  361. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
  362. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
  363. package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
  364. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
  365. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
  366. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
  367. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
  368. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
  369. package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.js +6 -6
  370. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  371. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  372. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
  373. package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
  374. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
  375. package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
  376. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
  377. package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
  378. package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
  379. package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
  380. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
  381. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
  382. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
  383. package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
  384. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
  385. package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
  386. package/environments.d.ts +12 -2
  387. package/environments.js +8 -2
  388. package/index.d.ts +1 -1
  389. package/package.json +1 -1
  390. package/serialization/resources/preEncounter/resources/common/types/Address.d.ts +1 -1
  391. package/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
  392. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
  393. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
  394. package/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
  395. package/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
  396. package/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  397. package/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  398. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
  399. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
  400. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
  401. package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
  402. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
  403. package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
  404. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
  405. package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
  406. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
  407. package/serialization/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +6 -6
  408. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  409. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  410. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
  411. package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
  412. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
  413. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
  414. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
  415. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
  416. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
  417. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
  418. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
  419. package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
  420. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
  421. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
  422. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
  423. package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
  424. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
  425. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
  426. package/serialization/resources/preEncounter/resources/index.d.ts +0 -2
  427. package/serialization/resources/preEncounter/resources/index.js +0 -2
  428. package/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
  429. package/serialization/resources/preEncounter/resources/patients/index.js +1 -2
  430. package/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  431. package/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
  432. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
  433. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
  434. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
  435. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
  436. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
  437. package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/create.js +4 -4
  438. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
  439. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
  440. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
  441. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
  442. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
  443. package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
  444. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
  445. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
  446. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
  447. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
  448. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
  449. package/{dist/serialization/resources/preEncounter/resources/coverages → serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients}/client/update.js +6 -6
  450. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  451. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  452. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
  453. package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
  454. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
  455. package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
  456. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
  457. package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
  458. package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
  459. package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
  460. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
  461. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
  462. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
  463. package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
  464. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
  465. package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
  466. package/dist/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
  467. package/dist/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
  468. package/dist/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
  469. package/dist/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
  470. package/dist/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
  471. package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
  472. package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
  473. package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
  474. package/dist/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
  475. package/dist/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
  476. package/dist/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
  477. package/dist/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
  478. package/dist/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
  479. package/dist/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
  480. package/dist/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
  481. package/dist/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
  482. package/dist/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
  483. package/dist/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
  484. package/dist/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
  485. package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
  486. package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
  487. package/dist/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
  488. package/dist/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
  489. package/dist/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
  490. package/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
  491. package/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
  492. package/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
  493. package/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
  494. package/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
  495. package/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
  496. package/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
  497. package/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
  498. package/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
  499. package/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
  500. package/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
  501. package/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
  502. package/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
  503. package/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
  504. package/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
  505. package/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
  506. package/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
  507. package/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
  508. package/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
  509. package/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
  510. package/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
  511. package/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
  512. package/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
  513. package/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
  514. /package/api/resources/preEncounter/resources/coverages/{client/requests → resources/v1/client}/index.js +0 -0
  515. /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
  516. /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
  517. /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
  518. /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
  519. /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
  520. /package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/requests/index.js +0 -0
  521. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
  522. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
  523. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
  524. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
  525. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
  526. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
  527. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
  528. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
  529. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
  530. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
  531. /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
  532. /package/{dist/api/resources/preEncounter/resources/coverages/client/requests → api/resources/preEncounter/resources/patients/resources/v1/client}/index.js +0 -0
  533. /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
  534. /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
  535. /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
  536. /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
  537. /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
  538. /package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/requests/index.js +0 -0
  539. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
  540. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
  541. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
  542. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
  543. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
  544. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
  545. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
  546. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
  547. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
  548. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
  549. /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
  550. /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
  551. /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
  552. /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
  553. /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
  554. /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
  555. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
  556. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
  557. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
  558. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
  559. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
  560. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
  561. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
  562. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
  563. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
  564. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
  565. /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
  566. /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
  567. /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
  568. /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
  569. /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
  570. /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
  571. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
  572. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
  573. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
  574. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
  575. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
  576. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
  577. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
  578. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
  579. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
  580. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
  581. /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
  582. /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
  583. /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
  584. /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
  585. /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
  586. /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
  587. /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
  588. /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
  589. /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
  590. /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
  591. /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
  592. /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
  593. /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
  594. /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
  595. /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
  596. /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
  597. /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
@@ -38,10 +38,10 @@ var __rest = (this && this.__rest) || function (s, e) {
38
38
  };
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.Error = exports.Response = void 0;
41
- const CandidApi = __importStar(require("../../../../../../api/index"));
42
- const core = __importStar(require("../../../../../../core"));
41
+ const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../../../../../core"));
43
43
  const Patient_1 = require("../types/Patient");
44
- const NotFoundErrorBody_1 = require("../../common/types/NotFoundErrorBody");
44
+ const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
45
45
  exports.Response = core.serialization.list(Patient_1.Patient);
46
46
  exports.Error = core.serialization
47
47
  .union("errorName", {
@@ -53,7 +53,7 @@ exports.Error = core.serialization
53
53
  transform: (value) => {
54
54
  switch (value.errorName) {
55
55
  case "NotFoundError":
56
- return CandidApi.preEncounter.patients.getHistory.Error.notFoundError(value.content);
56
+ return CandidApi.preEncounter.patients.v1.patients.getHistory.Error.notFoundError(value.content);
57
57
  }
58
58
  },
59
59
  untransform: (_a) => {
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { Patient } from "../types/Patient";
8
+ export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.scan.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
9
+ export declare namespace Response {
10
+ type Raw = Patient.Raw[];
11
+ }
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Response = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
31
  const Patient_1 = require("../types/Patient");
32
32
  exports.Response = core.serialization.list(Patient_1.Patient);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { Patient } from "../types/Patient";
8
+ export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.search.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
9
+ export declare namespace Response {
10
+ type Raw = Patient.Raw[];
11
+ }
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Response = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
31
  const Patient_1 = require("../types/Patient");
32
32
  exports.Response = core.serialization.list(Patient_1.Patient);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { NotFoundErrorBody } from "../../../../../../common/types/NotFoundErrorBody";
8
+ import { VersionConflictErrorBody } from "../../../../../../common/types/VersionConflictErrorBody";
9
+ export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.update.Error.Raw, CandidApi.preEncounter.patients.v1.patients.update.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.NotFoundError | Error.VersionConflictError;
12
+ interface NotFoundError {
13
+ errorName: "NotFoundError";
14
+ content: NotFoundErrorBody.Raw;
15
+ }
16
+ interface VersionConflictError {
17
+ errorName: "VersionConflictError";
18
+ content: VersionConflictErrorBody.Raw;
19
+ }
20
+ }
@@ -38,10 +38,10 @@ var __rest = (this && this.__rest) || function (s, e) {
38
38
  };
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.Error = void 0;
41
- const CandidApi = __importStar(require("../../../../../../api/index"));
42
- const core = __importStar(require("../../../../../../core"));
43
- const NotFoundErrorBody_1 = require("../../common/types/NotFoundErrorBody");
44
- const VersionConflictErrorBody_1 = require("../../common/types/VersionConflictErrorBody");
41
+ const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../../../../../core"));
43
+ const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
44
+ const VersionConflictErrorBody_1 = require("../../../../../../common/types/VersionConflictErrorBody");
45
45
  exports.Error = core.serialization
46
46
  .union("errorName", {
47
47
  NotFoundError: core.serialization.object({
@@ -55,9 +55,9 @@ exports.Error = core.serialization
55
55
  transform: (value) => {
56
56
  switch (value.errorName) {
57
57
  case "NotFoundError":
58
- return CandidApi.preEncounter.coverages.update.Error.notFoundError(value.content);
58
+ return CandidApi.preEncounter.patients.v1.patients.update.Error.notFoundError(value.content);
59
59
  case "VersionConflictError":
60
- return CandidApi.preEncounter.coverages.update.Error.versionConflictError(value.content);
60
+ return CandidApi.preEncounter.patients.v1.patients.update.Error.versionConflictError(value.content);
61
61
  }
62
62
  },
63
63
  untransform: (_a) => {
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { Relationship } from "../../../../../../common/types/Relationship";
8
+ import { HumanName } from "../../../../../../common/types/HumanName";
9
+ import { Gender } from "../../../../../../common/types/Gender";
10
+ import { ContactPoint } from "../../../../../../common/types/ContactPoint";
11
+ import { Address } from "../../../../../../common/types/Address";
12
+ import { Period } from "../../../../../../common/types/Period";
13
+ export declare const Contact: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.Contact.Raw, CandidApi.preEncounter.patients.v1.Contact>;
14
+ export declare namespace Contact {
15
+ interface Raw {
16
+ relationship: Relationship.Raw[];
17
+ name: HumanName.Raw;
18
+ gender?: Gender.Raw | null;
19
+ telecoms: ContactPoint.Raw[];
20
+ addresses: Address.Raw[];
21
+ period?: Period.Raw | null;
22
+ }
23
+ }
@@ -27,13 +27,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Contact = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const Relationship_1 = require("../../common/types/Relationship");
32
- const HumanName_1 = require("../../common/types/HumanName");
33
- const Gender_1 = require("../../common/types/Gender");
34
- const ContactPoint_1 = require("../../common/types/ContactPoint");
35
- const Address_1 = require("../../common/types/Address");
36
- const Period_1 = require("../../common/types/Period");
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const Relationship_1 = require("../../../../../../common/types/Relationship");
32
+ const HumanName_1 = require("../../../../../../common/types/HumanName");
33
+ const Gender_1 = require("../../../../../../common/types/Gender");
34
+ const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
35
+ const Address_1 = require("../../../../../../common/types/Address");
36
+ const Period_1 = require("../../../../../../common/types/Period");
37
37
  exports.Contact = core.serialization.object({
38
38
  relationship: core.serialization.list(Relationship_1.Relationship),
39
39
  name: HumanName_1.HumanName,
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const ExternalProvenance: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvenance.Raw, CandidApi.preEncounter.patients.v1.ExternalProvenance>;
8
+ export declare namespace ExternalProvenance {
9
+ interface Raw {
10
+ external_id: string;
11
+ system_name: string;
12
+ }
13
+ }
@@ -27,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ExternalProvenance = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
31
  exports.ExternalProvenance = core.serialization.object({
32
- externalId: core.serialization.string(),
33
- systemName: core.serialization.string(),
32
+ externalId: core.serialization.property("external_id", core.serialization.string()),
33
+ systemName: core.serialization.property("system_name", core.serialization.string()),
34
34
  });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { HumanName } from "../../../../../../common/types/HumanName";
8
+ import { ContactPoint } from "../../../../../../common/types/ContactPoint";
9
+ import { Address } from "../../../../../../common/types/Address";
10
+ import { Period } from "../../../../../../common/types/Period";
11
+ export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvider.Raw, CandidApi.preEncounter.patients.v1.ExternalProvider>;
12
+ export declare namespace ExternalProvider {
13
+ interface Raw {
14
+ name: HumanName.Raw;
15
+ telecoms: ContactPoint.Raw[];
16
+ addresses: Address.Raw[];
17
+ period?: Period.Raw | null;
18
+ }
19
+ }
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ExternalProvider = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const HumanName_1 = require("../../common/types/HumanName");
32
- const ContactPoint_1 = require("../../common/types/ContactPoint");
33
- const Address_1 = require("../../common/types/Address");
34
- const Period_1 = require("../../common/types/Period");
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const HumanName_1 = require("../../../../../../common/types/HumanName");
32
+ const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
33
+ const Address_1 = require("../../../../../../common/types/Address");
34
+ const Period_1 = require("../../../../../../common/types/Period");
35
35
  exports.ExternalProvider = core.serialization.object({
36
36
  name: HumanName_1.HumanName,
37
37
  telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- export declare const MaritalStatus: core.serialization.Schema<serializers.preEncounter.MaritalStatus.Raw, CandidApi.preEncounter.MaritalStatus>;
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const MaritalStatus: core.serialization.Schema<serializers.preEncounter.patients.v1.MaritalStatus.Raw, CandidApi.preEncounter.patients.v1.MaritalStatus>;
8
8
  export declare namespace MaritalStatus {
9
9
  type Raw = "ANNULLED" | "DIVORCED" | "INTERLOCUTORY" | "SEPARATED" | "MARRIED" | "COMMON_LAW" | "POLYGAMOUS" | "DOMESTIC_PARTNER" | "UNMARRIED" | "NEVER_MARRIED" | "WIDOWED" | "UNKNOWN";
10
10
  }
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MaritalStatus = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
31
  exports.MaritalStatus = core.serialization.enum_([
32
32
  "ANNULLED",
33
33
  "DIVORCED",
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { HumanName } from "../../../../../../common/types/HumanName";
8
+ import { Gender } from "../../../../../../common/types/Gender";
9
+ import { MaritalStatus } from "./MaritalStatus";
10
+ import { Address } from "../../../../../../common/types/Address";
11
+ import { ContactPoint } from "../../../../../../common/types/ContactPoint";
12
+ import { ExternalProvenance } from "./ExternalProvenance";
13
+ import { Contact } from "./Contact";
14
+ import { ExternalProvider } from "./ExternalProvider";
15
+ export declare const MutablePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatient.Raw, CandidApi.preEncounter.patients.v1.MutablePatient>;
16
+ export declare namespace MutablePatient {
17
+ interface Raw {
18
+ name: HumanName.Raw;
19
+ other_names: HumanName.Raw[];
20
+ gender: Gender.Raw;
21
+ birth_date: string;
22
+ marital_status?: MaritalStatus.Raw | null;
23
+ deceased?: string | null;
24
+ multiple_birth?: number | null;
25
+ primary_address: Address.Raw;
26
+ other_addresses: Address.Raw[];
27
+ primary_telecom: ContactPoint.Raw;
28
+ other_telecoms: ContactPoint.Raw[];
29
+ photo?: string | null;
30
+ language?: string | null;
31
+ external_provenance?: ExternalProvenance.Raw | null;
32
+ contacts: Contact.Raw[];
33
+ general_practitioners: ExternalProvider.Raw[];
34
+ }
35
+ }
@@ -27,30 +27,30 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MutablePatient = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- const HumanName_1 = require("../../common/types/HumanName");
32
- const Gender_1 = require("../../common/types/Gender");
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const HumanName_1 = require("../../../../../../common/types/HumanName");
32
+ const Gender_1 = require("../../../../../../common/types/Gender");
33
33
  const MaritalStatus_1 = require("./MaritalStatus");
34
- const Address_1 = require("../../common/types/Address");
35
- const ContactPoint_1 = require("../../common/types/ContactPoint");
34
+ const Address_1 = require("../../../../../../common/types/Address");
35
+ const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
36
36
  const ExternalProvenance_1 = require("./ExternalProvenance");
37
37
  const Contact_1 = require("./Contact");
38
38
  const ExternalProvider_1 = require("./ExternalProvider");
39
39
  exports.MutablePatient = core.serialization.object({
40
40
  name: HumanName_1.HumanName,
41
- otherNames: core.serialization.list(HumanName_1.HumanName),
41
+ otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
42
42
  gender: Gender_1.Gender,
43
- birthDate: core.serialization.string(),
44
- maritalStatus: MaritalStatus_1.MaritalStatus.optional(),
43
+ birthDate: core.serialization.property("birth_date", core.serialization.string()),
44
+ maritalStatus: core.serialization.property("marital_status", MaritalStatus_1.MaritalStatus.optional()),
45
45
  deceased: core.serialization.date().optional(),
46
- multipleBirth: core.serialization.number().optional(),
47
- primaryAddress: Address_1.Address,
48
- otherAddresses: core.serialization.list(Address_1.Address),
49
- primaryTelecom: ContactPoint_1.ContactPoint,
50
- otherTelecoms: core.serialization.list(ContactPoint_1.ContactPoint),
46
+ multipleBirth: core.serialization.property("multiple_birth", core.serialization.number().optional()),
47
+ primaryAddress: core.serialization.property("primary_address", Address_1.Address),
48
+ otherAddresses: core.serialization.property("other_addresses", core.serialization.list(Address_1.Address)),
49
+ primaryTelecom: core.serialization.property("primary_telecom", ContactPoint_1.ContactPoint),
50
+ otherTelecoms: core.serialization.property("other_telecoms", core.serialization.list(ContactPoint_1.ContactPoint)),
51
51
  photo: core.serialization.string().optional(),
52
52
  language: core.serialization.string().optional(),
53
- externalProvenance: ExternalProvenance_1.ExternalProvenance.optional(),
53
+ externalProvenance: core.serialization.property("external_provenance", ExternalProvenance_1.ExternalProvenance.optional()),
54
54
  contacts: core.serialization.list(Contact_1.Contact),
55
- generalPractitioners: core.serialization.list(ExternalProvider_1.ExternalProvider),
55
+ generalPractitioners: core.serialization.property("general_practitioners", core.serialization.list(ExternalProvider_1.ExternalProvider)),
56
56
  });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { PatientId } from "./PatientId";
8
+ import { OrganizationId } from "../../../../../../common/types/OrganizationId";
9
+ import { UserId } from "../../../../../../common/types/UserId";
10
+ import { MutablePatient } from "./MutablePatient";
11
+ export declare const Patient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.Patient.Raw, CandidApi.preEncounter.patients.v1.Patient>;
12
+ export declare namespace Patient {
13
+ interface Raw extends MutablePatient.Raw {
14
+ id: PatientId.Raw;
15
+ organization_id: OrganizationId.Raw;
16
+ deactivated: boolean;
17
+ version: number;
18
+ updated_at: string;
19
+ updating_user_id: UserId.Raw;
20
+ }
21
+ }
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Patient = void 0;
30
- const core = __importStar(require("../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
31
  const PatientId_1 = require("./PatientId");
32
- const OrganizationId_1 = require("../../common/types/OrganizationId");
33
- const UserId_1 = require("../../common/types/UserId");
32
+ const OrganizationId_1 = require("../../../../../../common/types/OrganizationId");
33
+ const UserId_1 = require("../../../../../../common/types/UserId");
34
34
  const MutablePatient_1 = require("./MutablePatient");
35
35
  exports.Patient = core.serialization
36
36
  .object({
@@ -38,7 +38,7 @@ exports.Patient = core.serialization
38
38
  organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
39
39
  deactivated: core.serialization.boolean(),
40
40
  version: core.serialization.number(),
41
- updatedAt: core.serialization.date(),
42
- updatingUserId: UserId_1.UserId,
41
+ updatedAt: core.serialization.property("updated_at", core.serialization.date()),
42
+ updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
43
43
  })
44
44
  .extend(MutablePatient_1.MutablePatient);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const PatientId: core.serialization.Schema<serializers.preEncounter.patients.v1.PatientId.Raw, CandidApi.preEncounter.patients.v1.PatientId>;
8
+ export declare namespace PatientId {
9
+ type Raw = string;
10
+ }
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PatientId = void 0;
30
- const CandidApi = __importStar(require("../../../../../../api/index"));
31
- const core = __importStar(require("../../../../../../core"));
30
+ const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
31
+ const core = __importStar(require("../../../../../../../../../../core"));
32
32
  exports.PatientId = core.serialization.string().transform({
33
- transform: CandidApi.preEncounter.PatientId,
33
+ transform: CandidApi.preEncounter.patients.v1.PatientId,
34
34
  untransform: (value) => value,
35
35
  });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { Coverage } from "../types/Coverage";
8
- import { NotFoundErrorBody } from "../../common/types/NotFoundErrorBody";
9
- export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.getHistory.Response.Raw, CandidApi.preEncounter.Coverage[]>;
10
- export declare namespace Response {
11
- type Raw = Coverage.Raw[];
12
- }
13
- export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.getHistory.Error.Raw, CandidApi.preEncounter.coverages.getHistory.Error>;
14
- export declare namespace Error {
15
- type Raw = Error.NotFoundError;
16
- interface NotFoundError {
17
- errorName: "NotFoundError";
18
- content: NotFoundErrorBody.Raw;
19
- }
20
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { Coverage } from "../types/Coverage";
8
- export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.getMulti.Response.Raw, CandidApi.preEncounter.Coverage[]>;
9
- export declare namespace Response {
10
- type Raw = Coverage.Raw[];
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { Coverage } from "../types/Coverage";
8
- export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.scan.Response.Raw, CandidApi.preEncounter.Coverage[]>;
9
- export declare namespace Response {
10
- type Raw = Coverage.Raw[];
11
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { NotFoundErrorBody } from "../../common/types/NotFoundErrorBody";
8
- import { VersionConflictErrorBody } from "../../common/types/VersionConflictErrorBody";
9
- export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.update.Error.Raw, CandidApi.preEncounter.coverages.update.Error>;
10
- export declare namespace Error {
11
- type Raw = Error.NotFoundError | Error.VersionConflictError;
12
- interface NotFoundError {
13
- errorName: "NotFoundError";
14
- content: NotFoundErrorBody.Raw;
15
- }
16
- interface VersionConflictError {
17
- errorName: "VersionConflictError";
18
- content: VersionConflictErrorBody.Raw;
19
- }
20
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { CoverageId } from "./CoverageId";
8
- import { OrganizationId } from "../../common/types/OrganizationId";
9
- import { UserId } from "../../common/types/UserId";
10
- import { MutableCoverage } from "./MutableCoverage";
11
- export declare const Coverage: core.serialization.ObjectSchema<serializers.preEncounter.Coverage.Raw, CandidApi.preEncounter.Coverage>;
12
- export declare namespace Coverage {
13
- interface Raw extends MutableCoverage.Raw {
14
- id: CoverageId.Raw;
15
- organization_id: OrganizationId.Raw;
16
- deactivated: boolean;
17
- version: number;
18
- updatedAt: string;
19
- updatingUserId: UserId.Raw;
20
- }
21
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- export declare const CoverageId: core.serialization.Schema<serializers.preEncounter.CoverageId.Raw, CandidApi.preEncounter.CoverageId>;
8
- export declare namespace CoverageId {
9
- type Raw = string;
10
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- export declare const CoverageStatus: core.serialization.Schema<serializers.preEncounter.CoverageStatus.Raw, CandidApi.preEncounter.CoverageStatus>;
8
- export declare namespace CoverageStatus {
9
- type Raw = "ACTIVE" | "CANCELLED" | "DRAFT" | "ENTERED_IN_ERROR";
10
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- export declare const CoverageType: core.serialization.Schema<serializers.preEncounter.CoverageType.Raw, CandidApi.preEncounter.CoverageType>;
8
- export declare namespace CoverageType {
9
- type Raw = "PPO" | "HMO";
10
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { PayerId } from "../../common/types/PayerId";
8
- import { CoverageType } from "./CoverageType";
9
- import { Period } from "../../common/types/Period";
10
- export declare const InsurancePlan: core.serialization.ObjectSchema<serializers.preEncounter.InsurancePlan.Raw, CandidApi.preEncounter.InsurancePlan>;
11
- export declare namespace InsurancePlan {
12
- interface Raw {
13
- memberId: string;
14
- payerId: PayerId.Raw;
15
- payerName: string;
16
- groupNumber?: string | null;
17
- name?: string | null;
18
- type?: CoverageType.Raw | null;
19
- period?: Period.Raw | null;
20
- insuranceCardImageLocator?: string | null;
21
- }
22
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../index";
5
- import * as CandidApi from "../../../../../../api/index";
6
- import * as core from "../../../../../../core";
7
- import { CoverageStatus } from "./CoverageStatus";
8
- import { Subscriber } from "./Subscriber";
9
- import { Relationship } from "../../common/types/Relationship";
10
- import { PatientId } from "../../patients/types/PatientId";
11
- import { InsurancePlan } from "./InsurancePlan";
12
- export declare const MutableCoverage: core.serialization.ObjectSchema<serializers.preEncounter.MutableCoverage.Raw, CandidApi.preEncounter.MutableCoverage>;
13
- export declare namespace MutableCoverage {
14
- interface Raw {
15
- status: CoverageStatus.Raw;
16
- subscriber: Subscriber.Raw;
17
- relationship: Relationship.Raw;
18
- patient: PatientId.Raw;
19
- insurancePlan: InsurancePlan.Raw;
20
- verified: boolean;
21
- }
22
- }