candidhealth 0.22.2-15e24b1 → 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 (775) hide show
  1. package/Client.d.ts +4 -1
  2. package/Client.js +5 -0
  3. package/api/resources/auth/client/Client.d.ts +1 -1
  4. package/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
  5. package/api/resources/auth/resources/v2/client/Client.js +3 -2
  6. package/api/resources/billingNotes/client/Client.d.ts +1 -1
  7. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
  8. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
  9. package/api/resources/commons/types/QualifierCode.d.ts +14 -0
  10. package/api/resources/commons/types/QualifierCode.js +12 -0
  11. package/api/resources/commons/types/index.d.ts +1 -0
  12. package/api/resources/commons/types/index.js +1 -0
  13. package/api/resources/contracts/client/Client.d.ts +1 -1
  14. package/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
  15. package/api/resources/contracts/resources/v2/client/Client.js +15 -10
  16. package/api/resources/eligibility/client/Client.d.ts +1 -1
  17. package/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
  18. package/api/resources/eligibility/resources/v2/client/Client.js +9 -6
  19. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +1 -0
  20. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +14 -0
  21. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +5 -0
  22. package/api/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +13 -0
  23. package/api/resources/encounterProviders/resources/v2/types/OrderingProvider.js +5 -0
  24. package/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +13 -0
  25. package/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +5 -0
  26. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
  27. package/api/resources/encounterProviders/resources/v2/types/index.js +3 -0
  28. package/api/resources/encounters/client/Client.d.ts +1 -1
  29. package/api/resources/encounters/resources/v4/client/Client.d.ts +109 -2
  30. package/api/resources/encounters/resources/v4/client/Client.js +120 -9
  31. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +128 -4
  32. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  33. package/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
  34. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
  37. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
  38. package/api/resources/exports/client/Client.d.ts +1 -1
  39. package/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
  40. package/api/resources/exports/resources/v3/client/Client.js +3 -2
  41. package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
  42. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
  43. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
  44. package/api/resources/feeSchedules/client/Client.d.ts +1 -1
  45. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  46. package/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
  47. package/api/resources/guarantor/client/Client.d.ts +1 -1
  48. package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
  49. package/api/resources/guarantor/resources/v1/client/Client.js +9 -6
  50. package/api/resources/importInvoice/client/Client.d.ts +1 -1
  51. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
  52. package/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
  53. package/api/resources/index.d.ts +1 -0
  54. package/api/resources/index.js +2 -1
  55. package/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
  56. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
  57. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
  58. package/api/resources/insurancePayments/client/Client.d.ts +1 -1
  59. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
  60. package/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
  61. package/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
  62. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
  63. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
  64. package/api/resources/organizationProviders/client/Client.d.ts +1 -1
  65. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
  66. package/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
  67. package/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
  68. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  69. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
  70. package/api/resources/patientPayments/client/Client.d.ts +1 -1
  71. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
  72. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
  73. package/api/resources/patientRefunds/client/Client.d.ts +1 -1
  74. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
  75. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
  76. package/api/resources/payers/client/Client.d.ts +1 -1
  77. package/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
  78. package/api/resources/payers/resources/v3/client/Client.js +6 -4
  79. package/api/resources/preEncounter/client/Client.d.ts +26 -0
  80. package/api/resources/preEncounter/client/Client.js +22 -0
  81. package/api/resources/preEncounter/client/index.d.ts +1 -0
  82. package/api/resources/preEncounter/client/index.js +2 -0
  83. package/api/resources/preEncounter/index.d.ts +2 -0
  84. package/api/resources/preEncounter/index.js +18 -0
  85. package/api/resources/preEncounter/resources/common/index.d.ts +1 -0
  86. package/api/resources/preEncounter/resources/common/index.js +17 -0
  87. package/api/resources/preEncounter/resources/common/types/Address.d.ts +13 -0
  88. package/api/resources/preEncounter/resources/common/types/Address.js +5 -0
  89. package/api/resources/preEncounter/resources/common/types/AddressUse.d.ts +11 -0
  90. package/api/resources/preEncounter/resources/common/types/AddressUse.js +13 -0
  91. package/api/resources/preEncounter/resources/common/types/ContactPoint.d.ts +9 -0
  92. package/api/resources/preEncounter/resources/common/types/ContactPoint.js +5 -0
  93. package/api/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +11 -0
  94. package/api/resources/preEncounter/resources/common/types/ContactPointUse.js +13 -0
  95. package/api/resources/preEncounter/resources/common/types/ErrorBase.d.ts +6 -0
  96. package/api/resources/preEncounter/resources/common/types/ErrorBase.js +5 -0
  97. package/api/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
  98. package/api/resources/preEncounter/resources/common/types/Gender.js +12 -0
  99. package/api/resources/preEncounter/resources/common/types/HumanName.d.ts +10 -0
  100. package/api/resources/preEncounter/resources/common/types/HumanName.js +5 -0
  101. package/api/resources/preEncounter/resources/common/types/NameUse.d.ts +13 -0
  102. package/api/resources/preEncounter/resources/common/types/NameUse.js +15 -0
  103. package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +7 -0
  104. package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +5 -0
  105. package/api/resources/preEncounter/resources/common/types/OrganizationId.d.ts +11 -0
  106. package/api/resources/preEncounter/resources/common/types/OrganizationId.js +10 -0
  107. package/api/resources/preEncounter/resources/common/types/PayerId.d.ts +11 -0
  108. package/api/resources/preEncounter/resources/common/types/PayerId.js +10 -0
  109. package/api/resources/preEncounter/resources/common/types/Period.d.ts +7 -0
  110. package/api/resources/preEncounter/resources/common/types/Period.js +5 -0
  111. package/api/resources/preEncounter/resources/common/types/Relationship.d.ts +11 -0
  112. package/api/resources/preEncounter/resources/common/types/Relationship.js +13 -0
  113. package/api/resources/preEncounter/resources/common/types/UserId.d.ts +11 -0
  114. package/api/resources/preEncounter/resources/common/types/UserId.js +10 -0
  115. package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +8 -0
  116. package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +5 -0
  117. package/api/resources/preEncounter/resources/common/types/index.d.ts +15 -0
  118. package/api/resources/preEncounter/resources/common/types/index.js +31 -0
  119. package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +23 -0
  120. package/api/resources/preEncounter/resources/coverages/client/Client.js +17 -0
  121. package/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -0
  122. package/api/resources/preEncounter/resources/coverages/client/index.js +2 -0
  123. package/api/resources/preEncounter/resources/coverages/index.d.ts +2 -0
  124. package/api/resources/preEncounter/resources/coverages/index.js +18 -0
  125. package/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  126. package/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  127. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
  128. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
  129. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  130. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
  131. package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
  132. package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
  133. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
  134. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
  135. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +22 -0
  136. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +47 -0
  137. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.d.ts +22 -0
  138. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.js +47 -0
  139. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +28 -0
  140. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +58 -0
  141. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +22 -0
  142. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +47 -0
  143. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
  144. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
  145. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.d.ts +12 -0
  146. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js +5 -0
  147. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.d.ts +12 -0
  148. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js +5 -0
  149. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.d.ts +2 -0
  150. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
  151. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +22 -0
  152. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +47 -0
  153. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +34 -0
  154. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +69 -0
  155. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  156. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  157. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +19 -0
  158. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +5 -0
  159. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +11 -0
  160. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +10 -0
  161. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +13 -0
  162. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +12 -0
  163. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +8 -0
  164. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +10 -0
  165. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +14 -0
  166. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +5 -0
  167. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +17 -0
  168. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +5 -0
  169. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +9 -0
  170. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +5 -0
  171. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
  172. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
  173. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
  174. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
  175. package/api/resources/preEncounter/resources/index.d.ts +4 -0
  176. package/api/resources/preEncounter/resources/index.js +33 -0
  177. package/api/resources/preEncounter/resources/patients/client/Client.d.ts +23 -0
  178. package/api/resources/preEncounter/resources/patients/client/Client.js +17 -0
  179. package/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -0
  180. package/api/resources/preEncounter/resources/patients/client/index.js +2 -0
  181. package/api/resources/preEncounter/resources/patients/index.d.ts +2 -0
  182. package/api/resources/preEncounter/resources/patients/index.js +18 -0
  183. package/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  184. package/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
  185. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
  186. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
  187. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  188. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
  189. package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
  190. package/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
  191. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
  192. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
  193. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
  194. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
  195. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +28 -0
  196. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +58 -0
  197. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +34 -0
  198. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +69 -0
  199. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +28 -0
  200. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +58 -0
  201. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +28 -0
  202. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +58 -0
  203. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
  204. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
  205. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.d.ts +12 -0
  206. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js +5 -0
  207. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.d.ts +12 -0
  208. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js +5 -0
  209. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.d.ts +2 -0
  210. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
  211. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +22 -0
  212. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +47 -0
  213. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +22 -0
  214. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +47 -0
  215. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +34 -0
  216. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +69 -0
  217. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  218. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  219. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +12 -0
  220. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +5 -0
  221. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +10 -0
  222. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +5 -0
  223. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +10 -0
  224. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +5 -0
  225. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +18 -0
  226. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +20 -0
  227. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +34 -0
  228. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +5 -0
  229. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +19 -0
  230. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +5 -0
  231. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +11 -0
  232. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +10 -0
  233. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
  234. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
  235. package/api/resources/serviceFacility/client/Client.d.ts +1 -1
  236. package/api/resources/serviceFacility/client/Client.js +3 -2
  237. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  238. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +22 -0
  239. package/api/resources/tasks/client/Client.d.ts +1 -1
  240. package/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
  241. package/api/resources/tasks/resources/v3/client/Client.js +15 -10
  242. package/api/resources/writeOffs/client/Client.d.ts +1 -1
  243. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
  244. package/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
  245. package/dist/Client.d.ts +4 -1
  246. package/dist/Client.js +5 -0
  247. package/dist/api/resources/auth/client/Client.d.ts +1 -1
  248. package/dist/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
  249. package/dist/api/resources/auth/resources/v2/client/Client.js +3 -2
  250. package/dist/api/resources/billingNotes/client/Client.d.ts +1 -1
  251. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
  252. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
  253. package/dist/api/resources/commons/types/QualifierCode.d.ts +14 -0
  254. package/dist/api/resources/commons/types/QualifierCode.js +12 -0
  255. package/dist/api/resources/commons/types/index.d.ts +1 -0
  256. package/dist/api/resources/commons/types/index.js +1 -0
  257. package/dist/api/resources/contracts/client/Client.d.ts +1 -1
  258. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
  259. package/dist/api/resources/contracts/resources/v2/client/Client.js +15 -10
  260. package/dist/api/resources/eligibility/client/Client.d.ts +1 -1
  261. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
  262. package/dist/api/resources/eligibility/resources/v2/client/Client.js +9 -6
  263. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +1 -0
  264. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +14 -0
  265. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +5 -0
  266. package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +13 -0
  267. package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProvider.js +5 -0
  268. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +13 -0
  269. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +5 -0
  270. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
  271. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +3 -0
  272. package/dist/api/resources/encounters/client/Client.d.ts +1 -1
  273. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +109 -2
  274. package/dist/api/resources/encounters/resources/v4/client/Client.js +120 -9
  275. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +128 -4
  276. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  277. package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
  278. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
  279. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
  280. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
  281. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
  282. package/dist/api/resources/exports/client/Client.d.ts +1 -1
  283. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
  284. package/dist/api/resources/exports/resources/v3/client/Client.js +3 -2
  285. package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
  286. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
  287. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
  288. package/dist/api/resources/feeSchedules/client/Client.d.ts +1 -1
  289. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  290. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
  291. package/dist/api/resources/guarantor/client/Client.d.ts +1 -1
  292. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
  293. package/dist/api/resources/guarantor/resources/v1/client/Client.js +9 -6
  294. package/dist/api/resources/importInvoice/client/Client.d.ts +1 -1
  295. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
  296. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
  297. package/dist/api/resources/index.d.ts +1 -0
  298. package/dist/api/resources/index.js +2 -1
  299. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
  300. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
  301. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
  302. package/dist/api/resources/insurancePayments/client/Client.d.ts +1 -1
  303. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
  304. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
  305. package/dist/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
  306. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
  307. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
  308. package/dist/api/resources/organizationProviders/client/Client.d.ts +1 -1
  309. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
  310. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
  311. package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
  312. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  313. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
  314. package/dist/api/resources/patientPayments/client/Client.d.ts +1 -1
  315. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
  316. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
  317. package/dist/api/resources/patientRefunds/client/Client.d.ts +1 -1
  318. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
  319. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
  320. package/dist/api/resources/payers/client/Client.d.ts +1 -1
  321. package/dist/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
  322. package/dist/api/resources/payers/resources/v3/client/Client.js +6 -4
  323. package/dist/api/resources/preEncounter/client/Client.d.ts +26 -0
  324. package/dist/api/resources/preEncounter/client/Client.js +22 -0
  325. package/dist/api/resources/preEncounter/client/index.d.ts +1 -0
  326. package/dist/api/resources/preEncounter/client/index.js +2 -0
  327. package/dist/api/resources/preEncounter/index.d.ts +2 -0
  328. package/dist/api/resources/preEncounter/index.js +18 -0
  329. package/dist/api/resources/preEncounter/resources/common/index.d.ts +1 -0
  330. package/dist/api/resources/preEncounter/resources/common/index.js +17 -0
  331. package/dist/api/resources/preEncounter/resources/common/types/Address.d.ts +13 -0
  332. package/dist/api/resources/preEncounter/resources/common/types/Address.js +5 -0
  333. package/dist/api/resources/preEncounter/resources/common/types/AddressUse.d.ts +11 -0
  334. package/dist/api/resources/preEncounter/resources/common/types/AddressUse.js +13 -0
  335. package/dist/api/resources/preEncounter/resources/common/types/ContactPoint.d.ts +9 -0
  336. package/dist/api/resources/preEncounter/resources/common/types/ContactPoint.js +5 -0
  337. package/dist/api/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +11 -0
  338. package/dist/api/resources/preEncounter/resources/common/types/ContactPointUse.js +13 -0
  339. package/dist/api/resources/preEncounter/resources/common/types/ErrorBase.d.ts +6 -0
  340. package/dist/api/resources/preEncounter/resources/common/types/ErrorBase.js +5 -0
  341. package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
  342. package/dist/api/resources/preEncounter/resources/common/types/Gender.js +12 -0
  343. package/dist/api/resources/preEncounter/resources/common/types/HumanName.d.ts +10 -0
  344. package/dist/api/resources/preEncounter/resources/common/types/HumanName.js +5 -0
  345. package/dist/api/resources/preEncounter/resources/common/types/NameUse.d.ts +13 -0
  346. package/dist/api/resources/preEncounter/resources/common/types/NameUse.js +15 -0
  347. package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +7 -0
  348. package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +5 -0
  349. package/dist/api/resources/preEncounter/resources/common/types/OrganizationId.d.ts +11 -0
  350. package/dist/api/resources/preEncounter/resources/common/types/OrganizationId.js +10 -0
  351. package/dist/api/resources/preEncounter/resources/common/types/PayerId.d.ts +11 -0
  352. package/dist/api/resources/preEncounter/resources/common/types/PayerId.js +10 -0
  353. package/dist/api/resources/preEncounter/resources/common/types/Period.d.ts +7 -0
  354. package/dist/api/resources/preEncounter/resources/common/types/Period.js +5 -0
  355. package/dist/api/resources/preEncounter/resources/common/types/Relationship.d.ts +11 -0
  356. package/dist/api/resources/preEncounter/resources/common/types/Relationship.js +13 -0
  357. package/dist/api/resources/preEncounter/resources/common/types/UserId.d.ts +11 -0
  358. package/dist/api/resources/preEncounter/resources/common/types/UserId.js +10 -0
  359. package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +8 -0
  360. package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +5 -0
  361. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +15 -0
  362. package/dist/api/resources/preEncounter/resources/common/types/index.js +31 -0
  363. package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +23 -0
  364. package/dist/api/resources/preEncounter/resources/coverages/client/Client.js +17 -0
  365. package/dist/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -0
  366. package/dist/api/resources/preEncounter/resources/coverages/client/index.js +2 -0
  367. package/dist/api/resources/preEncounter/resources/coverages/index.d.ts +2 -0
  368. package/dist/api/resources/preEncounter/resources/coverages/index.js +18 -0
  369. package/dist/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  370. package/dist/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  371. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
  372. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
  373. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  374. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
  375. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
  376. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
  377. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
  378. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
  379. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +22 -0
  380. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +47 -0
  381. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.d.ts +22 -0
  382. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.js +47 -0
  383. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +28 -0
  384. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +58 -0
  385. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +22 -0
  386. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +47 -0
  387. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
  388. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
  389. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.d.ts +12 -0
  390. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js +5 -0
  391. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.d.ts +12 -0
  392. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js +5 -0
  393. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.d.ts +2 -0
  394. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
  395. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +22 -0
  396. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +47 -0
  397. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +34 -0
  398. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +69 -0
  399. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  400. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  401. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +19 -0
  402. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +5 -0
  403. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +11 -0
  404. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +10 -0
  405. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +13 -0
  406. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +12 -0
  407. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +8 -0
  408. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +10 -0
  409. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +14 -0
  410. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +5 -0
  411. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +17 -0
  412. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +5 -0
  413. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +9 -0
  414. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +5 -0
  415. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
  416. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
  417. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
  418. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
  419. package/dist/api/resources/preEncounter/resources/index.d.ts +4 -0
  420. package/dist/api/resources/preEncounter/resources/index.js +33 -0
  421. package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +23 -0
  422. package/dist/api/resources/preEncounter/resources/patients/client/Client.js +17 -0
  423. package/dist/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -0
  424. package/dist/api/resources/preEncounter/resources/patients/client/index.js +2 -0
  425. package/dist/api/resources/preEncounter/resources/patients/index.d.ts +2 -0
  426. package/dist/api/resources/preEncounter/resources/patients/index.js +18 -0
  427. package/dist/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  428. package/dist/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
  429. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
  430. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
  431. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  432. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
  433. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
  434. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
  435. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
  436. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
  437. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
  438. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
  439. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +28 -0
  440. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +58 -0
  441. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +34 -0
  442. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +69 -0
  443. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +28 -0
  444. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +58 -0
  445. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +28 -0
  446. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +58 -0
  447. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
  448. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
  449. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.d.ts +12 -0
  450. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js +5 -0
  451. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.d.ts +12 -0
  452. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js +5 -0
  453. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.d.ts +2 -0
  454. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
  455. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +22 -0
  456. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +47 -0
  457. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +22 -0
  458. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +47 -0
  459. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +34 -0
  460. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +69 -0
  461. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  462. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  463. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +12 -0
  464. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +5 -0
  465. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +10 -0
  466. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +5 -0
  467. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +10 -0
  468. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +5 -0
  469. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +18 -0
  470. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +20 -0
  471. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +34 -0
  472. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +5 -0
  473. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +19 -0
  474. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +5 -0
  475. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +11 -0
  476. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +10 -0
  477. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
  478. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
  479. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -1
  480. package/dist/api/resources/serviceFacility/client/Client.js +3 -2
  481. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  482. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +22 -0
  483. package/dist/api/resources/tasks/client/Client.d.ts +1 -1
  484. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
  485. package/dist/api/resources/tasks/resources/v3/client/Client.js +15 -10
  486. package/dist/api/resources/writeOffs/client/Client.d.ts +1 -1
  487. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
  488. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
  489. package/dist/environments.d.ts +12 -2
  490. package/dist/environments.js +8 -2
  491. package/dist/index.d.ts +1 -1
  492. package/dist/serialization/resources/commons/types/QualifierCode.d.ts +10 -0
  493. package/dist/serialization/resources/commons/types/QualifierCode.js +31 -0
  494. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  495. package/dist/serialization/resources/commons/types/index.js +1 -0
  496. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  497. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  498. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +18 -0
  499. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +41 -0
  500. package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +16 -0
  501. package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.js +39 -0
  502. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +16 -0
  503. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +39 -0
  504. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
  505. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +3 -0
  506. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  507. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +6 -0
  508. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  509. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
  510. package/dist/serialization/resources/index.d.ts +1 -0
  511. package/dist/serialization/resources/index.js +2 -1
  512. package/dist/serialization/resources/preEncounter/index.d.ts +1 -0
  513. package/dist/serialization/resources/preEncounter/index.js +17 -0
  514. package/dist/serialization/resources/preEncounter/resources/common/index.d.ts +1 -0
  515. package/dist/serialization/resources/preEncounter/resources/common/index.js +17 -0
  516. package/dist/serialization/resources/preEncounter/resources/common/types/Address.d.ts +20 -0
  517. package/dist/serialization/resources/preEncounter/resources/common/types/Address.js +41 -0
  518. package/dist/serialization/resources/preEncounter/resources/common/types/AddressUse.d.ts +10 -0
  519. package/dist/serialization/resources/preEncounter/resources/common/types/AddressUse.js +31 -0
  520. package/dist/serialization/resources/preEncounter/resources/common/types/ContactPoint.d.ts +16 -0
  521. package/dist/serialization/resources/preEncounter/resources/common/types/ContactPoint.js +37 -0
  522. package/dist/serialization/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +10 -0
  523. package/dist/serialization/resources/preEncounter/resources/common/types/ContactPointUse.js +31 -0
  524. package/dist/serialization/resources/preEncounter/resources/common/types/ErrorBase.d.ts +12 -0
  525. package/dist/serialization/resources/preEncounter/resources/common/types/ErrorBase.js +33 -0
  526. package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
  527. package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +31 -0
  528. package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +17 -0
  529. package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.js +38 -0
  530. package/dist/serialization/resources/preEncounter/resources/common/types/NameUse.d.ts +10 -0
  531. package/dist/serialization/resources/preEncounter/resources/common/types/NameUse.js +31 -0
  532. package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +13 -0
  533. package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +36 -0
  534. package/dist/serialization/resources/preEncounter/resources/common/types/OrganizationId.d.ts +10 -0
  535. package/dist/serialization/resources/preEncounter/resources/common/types/OrganizationId.js +35 -0
  536. package/dist/serialization/resources/preEncounter/resources/common/types/PayerId.d.ts +10 -0
  537. package/dist/serialization/resources/preEncounter/resources/common/types/PayerId.js +35 -0
  538. package/dist/serialization/resources/preEncounter/resources/common/types/Period.d.ts +13 -0
  539. package/dist/serialization/resources/preEncounter/resources/common/types/Period.js +34 -0
  540. package/dist/serialization/resources/preEncounter/resources/common/types/Relationship.d.ts +10 -0
  541. package/dist/serialization/resources/preEncounter/resources/common/types/Relationship.js +31 -0
  542. package/dist/serialization/resources/preEncounter/resources/common/types/UserId.d.ts +10 -0
  543. package/dist/serialization/resources/preEncounter/resources/common/types/UserId.js +35 -0
  544. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +14 -0
  545. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +37 -0
  546. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +15 -0
  547. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +31 -0
  548. package/dist/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -0
  549. package/dist/serialization/resources/preEncounter/resources/coverages/index.js +17 -0
  550. package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  551. package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  552. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
  553. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
  554. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
  555. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +63 -0
  556. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
  557. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +32 -0
  558. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +4 -0
  559. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +30 -0
  560. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
  561. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +32 -0
  562. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
  563. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +67 -0
  564. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  565. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  566. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
  567. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +44 -0
  568. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
  569. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +35 -0
  570. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
  571. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +31 -0
  572. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
  573. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +31 -0
  574. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
  575. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +43 -0
  576. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
  577. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +43 -0
  578. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
  579. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +37 -0
  580. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
  581. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
  582. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
  583. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
  584. package/dist/serialization/resources/preEncounter/resources/index.d.ts +4 -0
  585. package/dist/serialization/resources/preEncounter/resources/index.js +33 -0
  586. package/dist/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -0
  587. package/dist/serialization/resources/preEncounter/resources/patients/index.js +17 -0
  588. package/dist/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  589. package/dist/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
  590. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
  591. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
  592. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
  593. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
  594. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
  595. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +61 -0
  596. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
  597. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +67 -0
  598. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
  599. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +61 -0
  600. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
  601. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +63 -0
  602. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +7 -0
  603. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +33 -0
  604. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
  605. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +32 -0
  606. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
  607. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +32 -0
  608. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
  609. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +67 -0
  610. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  611. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  612. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
  613. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +44 -0
  614. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
  615. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +34 -0
  616. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
  617. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +40 -0
  618. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +10 -0
  619. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +44 -0
  620. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
  621. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +56 -0
  622. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
  623. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +44 -0
  624. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
  625. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +35 -0
  626. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
  627. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
  628. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  629. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +5 -0
  630. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +8 -0
  631. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +8 -0
  632. package/environments.d.ts +12 -2
  633. package/environments.js +8 -2
  634. package/index.d.ts +1 -1
  635. package/package.json +1 -1
  636. package/serialization/resources/commons/types/QualifierCode.d.ts +10 -0
  637. package/serialization/resources/commons/types/QualifierCode.js +31 -0
  638. package/serialization/resources/commons/types/index.d.ts +1 -0
  639. package/serialization/resources/commons/types/index.js +1 -0
  640. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  641. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  642. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +18 -0
  643. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +41 -0
  644. package/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +16 -0
  645. package/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.js +39 -0
  646. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +16 -0
  647. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +39 -0
  648. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
  649. package/serialization/resources/encounterProviders/resources/v2/types/index.js +3 -0
  650. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  651. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +6 -0
  652. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  653. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
  654. package/serialization/resources/index.d.ts +1 -0
  655. package/serialization/resources/index.js +2 -1
  656. package/serialization/resources/preEncounter/index.d.ts +1 -0
  657. package/serialization/resources/preEncounter/index.js +17 -0
  658. package/serialization/resources/preEncounter/resources/common/index.d.ts +1 -0
  659. package/serialization/resources/preEncounter/resources/common/index.js +17 -0
  660. package/serialization/resources/preEncounter/resources/common/types/Address.d.ts +20 -0
  661. package/serialization/resources/preEncounter/resources/common/types/Address.js +41 -0
  662. package/serialization/resources/preEncounter/resources/common/types/AddressUse.d.ts +10 -0
  663. package/serialization/resources/preEncounter/resources/common/types/AddressUse.js +31 -0
  664. package/serialization/resources/preEncounter/resources/common/types/ContactPoint.d.ts +16 -0
  665. package/serialization/resources/preEncounter/resources/common/types/ContactPoint.js +37 -0
  666. package/serialization/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +10 -0
  667. package/serialization/resources/preEncounter/resources/common/types/ContactPointUse.js +31 -0
  668. package/serialization/resources/preEncounter/resources/common/types/ErrorBase.d.ts +12 -0
  669. package/serialization/resources/preEncounter/resources/common/types/ErrorBase.js +33 -0
  670. package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
  671. package/serialization/resources/preEncounter/resources/common/types/Gender.js +31 -0
  672. package/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +17 -0
  673. package/serialization/resources/preEncounter/resources/common/types/HumanName.js +38 -0
  674. package/serialization/resources/preEncounter/resources/common/types/NameUse.d.ts +10 -0
  675. package/serialization/resources/preEncounter/resources/common/types/NameUse.js +31 -0
  676. package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +13 -0
  677. package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +36 -0
  678. package/serialization/resources/preEncounter/resources/common/types/OrganizationId.d.ts +10 -0
  679. package/serialization/resources/preEncounter/resources/common/types/OrganizationId.js +35 -0
  680. package/serialization/resources/preEncounter/resources/common/types/PayerId.d.ts +10 -0
  681. package/serialization/resources/preEncounter/resources/common/types/PayerId.js +35 -0
  682. package/serialization/resources/preEncounter/resources/common/types/Period.d.ts +13 -0
  683. package/serialization/resources/preEncounter/resources/common/types/Period.js +34 -0
  684. package/serialization/resources/preEncounter/resources/common/types/Relationship.d.ts +10 -0
  685. package/serialization/resources/preEncounter/resources/common/types/Relationship.js +31 -0
  686. package/serialization/resources/preEncounter/resources/common/types/UserId.d.ts +10 -0
  687. package/serialization/resources/preEncounter/resources/common/types/UserId.js +35 -0
  688. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +14 -0
  689. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +37 -0
  690. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +15 -0
  691. package/serialization/resources/preEncounter/resources/common/types/index.js +31 -0
  692. package/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -0
  693. package/serialization/resources/preEncounter/resources/coverages/index.js +17 -0
  694. package/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
  695. package/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
  696. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
  697. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
  698. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
  699. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +63 -0
  700. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
  701. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +32 -0
  702. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +4 -0
  703. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +30 -0
  704. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
  705. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +32 -0
  706. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
  707. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +67 -0
  708. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
  709. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
  710. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
  711. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +44 -0
  712. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
  713. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +35 -0
  714. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
  715. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +31 -0
  716. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
  717. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +31 -0
  718. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
  719. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +43 -0
  720. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
  721. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +43 -0
  722. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
  723. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +37 -0
  724. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
  725. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
  726. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
  727. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
  728. package/serialization/resources/preEncounter/resources/index.d.ts +4 -0
  729. package/serialization/resources/preEncounter/resources/index.js +33 -0
  730. package/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -0
  731. package/serialization/resources/preEncounter/resources/patients/index.js +17 -0
  732. package/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
  733. package/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
  734. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
  735. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
  736. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
  737. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
  738. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
  739. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +61 -0
  740. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
  741. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +67 -0
  742. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
  743. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +61 -0
  744. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
  745. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +63 -0
  746. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +7 -0
  747. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +33 -0
  748. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
  749. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +32 -0
  750. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
  751. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +32 -0
  752. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
  753. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +67 -0
  754. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
  755. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
  756. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
  757. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +44 -0
  758. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
  759. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +34 -0
  760. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
  761. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +40 -0
  762. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +10 -0
  763. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +44 -0
  764. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
  765. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +56 -0
  766. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
  767. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +44 -0
  768. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
  769. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +35 -0
  770. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
  771. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
  772. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  773. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +5 -0
  774. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +8 -0
  775. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +8 -0
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
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");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ NotFoundError: core.serialization.object({
48
+ content: NotFoundErrorBody_1.NotFoundErrorBody,
49
+ }),
50
+ VersionConflictError: core.serialization.object({
51
+ content: VersionConflictErrorBody_1.VersionConflictErrorBody,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "NotFoundError":
58
+ return CandidApi.preEncounter.coverages.v1.coverages.update.Error.notFoundError(value.content);
59
+ case "VersionConflictError":
60
+ return CandidApi.preEncounter.coverages.v1.coverages.update.Error.versionConflictError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -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,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 { 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.coverages.v1.Coverage.Raw, CandidApi.preEncounter.coverages.v1.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
+ updated_at: string;
19
+ updating_user_id: UserId.Raw;
20
+ }
21
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Coverage = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const CoverageId_1 = require("./CoverageId");
32
+ const OrganizationId_1 = require("../../../../../../common/types/OrganizationId");
33
+ const UserId_1 = require("../../../../../../common/types/UserId");
34
+ const MutableCoverage_1 = require("./MutableCoverage");
35
+ exports.Coverage = core.serialization
36
+ .object({
37
+ id: CoverageId_1.CoverageId,
38
+ organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
39
+ deactivated: core.serialization.boolean(),
40
+ version: core.serialization.number(),
41
+ updatedAt: core.serialization.property("updated_at", core.serialization.date()),
42
+ updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
43
+ })
44
+ .extend(MutableCoverage_1.MutableCoverage);
@@ -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 CoverageId: core.serialization.Schema<serializers.preEncounter.coverages.v1.CoverageId.Raw, CandidApi.preEncounter.coverages.v1.CoverageId>;
8
+ export declare namespace CoverageId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CoverageId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
31
+ const core = __importStar(require("../../../../../../../../../../core"));
32
+ exports.CoverageId = core.serialization.string().transform({
33
+ transform: CandidApi.preEncounter.coverages.v1.CoverageId,
34
+ untransform: (value) => value,
35
+ });
@@ -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 CoverageStatus: core.serialization.Schema<serializers.preEncounter.coverages.v1.CoverageStatus.Raw, CandidApi.preEncounter.coverages.v1.CoverageStatus>;
8
+ export declare namespace CoverageStatus {
9
+ type Raw = "ACTIVE" | "CANCELLED" | "DRAFT" | "ENTERED_IN_ERROR";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CoverageStatus = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.CoverageStatus = core.serialization.enum_(["ACTIVE", "CANCELLED", "DRAFT", "ENTERED_IN_ERROR"]);
@@ -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 CoverageType: core.serialization.Schema<serializers.preEncounter.coverages.v1.CoverageType.Raw, CandidApi.preEncounter.coverages.v1.CoverageType>;
8
+ export declare namespace CoverageType {
9
+ type Raw = "PPO" | "HMO";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CoverageType = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.CoverageType = core.serialization.enum_(["PPO", "HMO"]);
@@ -0,0 +1,22 @@
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.coverages.v1.InsurancePlan.Raw, CandidApi.preEncounter.coverages.v1.InsurancePlan>;
11
+ export declare namespace InsurancePlan {
12
+ interface Raw {
13
+ member_id: string;
14
+ payer_id: PayerId.Raw;
15
+ payer_name: string;
16
+ group_number?: string | null;
17
+ name?: string | null;
18
+ type?: CoverageType.Raw | null;
19
+ period?: Period.Raw | null;
20
+ insurance_card_image_locator?: string | null;
21
+ }
22
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.InsurancePlan = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const PayerId_1 = require("../../../../../../common/types/PayerId");
32
+ const CoverageType_1 = require("./CoverageType");
33
+ const Period_1 = require("../../../../../../common/types/Period");
34
+ exports.InsurancePlan = core.serialization.object({
35
+ memberId: core.serialization.property("member_id", core.serialization.string()),
36
+ payerId: core.serialization.property("payer_id", PayerId_1.PayerId),
37
+ payerName: core.serialization.property("payer_name", core.serialization.string()),
38
+ groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
39
+ name: core.serialization.string().optional(),
40
+ type: CoverageType_1.CoverageType.optional(),
41
+ period: Period_1.Period.optional(),
42
+ insuranceCardImageLocator: core.serialization.property("insurance_card_image_locator", core.serialization.string().optional()),
43
+ });
@@ -0,0 +1,22 @@
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/resources/v1/resources/patients/types/PatientId";
11
+ import { InsurancePlan } from "./InsurancePlan";
12
+ export declare const MutableCoverage: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.MutableCoverage.Raw, CandidApi.preEncounter.coverages.v1.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
+ insurance_plan: InsurancePlan.Raw;
20
+ verified: boolean;
21
+ }
22
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MutableCoverage = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const CoverageStatus_1 = require("./CoverageStatus");
32
+ const Subscriber_1 = require("./Subscriber");
33
+ const Relationship_1 = require("../../../../../../common/types/Relationship");
34
+ const PatientId_1 = require("../../../../../../patients/resources/v1/resources/patients/types/PatientId");
35
+ const InsurancePlan_1 = require("./InsurancePlan");
36
+ exports.MutableCoverage = core.serialization.object({
37
+ status: CoverageStatus_1.CoverageStatus,
38
+ subscriber: Subscriber_1.Subscriber,
39
+ relationship: Relationship_1.Relationship,
40
+ patient: PatientId_1.PatientId,
41
+ insurancePlan: core.serialization.property("insurance_plan", InsurancePlan_1.InsurancePlan),
42
+ verified: core.serialization.boolean(),
43
+ });
@@ -0,0 +1,16 @@
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
+ export declare const Subscriber: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Subscriber.Raw, CandidApi.preEncounter.coverages.v1.Subscriber>;
10
+ export declare namespace Subscriber {
11
+ interface Raw {
12
+ name: HumanName.Raw;
13
+ date_of_birth: string;
14
+ gender: Gender.Raw;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Subscriber = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const HumanName_1 = require("../../../../../../common/types/HumanName");
32
+ const Gender_1 = require("../../../../../../common/types/Gender");
33
+ exports.Subscriber = core.serialization.object({
34
+ name: HumanName_1.HumanName,
35
+ dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
36
+ gender: Gender_1.Gender,
37
+ });
@@ -0,0 +1,7 @@
1
+ export * from "./CoverageId";
2
+ export * from "./Subscriber";
3
+ export * from "./CoverageStatus";
4
+ export * from "./CoverageType";
5
+ export * from "./InsurancePlan";
6
+ export * from "./MutableCoverage";
7
+ export * from "./Coverage";
@@ -0,0 +1,23 @@
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("./CoverageId"), exports);
18
+ __exportStar(require("./Subscriber"), exports);
19
+ __exportStar(require("./CoverageStatus"), exports);
20
+ __exportStar(require("./CoverageType"), exports);
21
+ __exportStar(require("./InsurancePlan"), exports);
22
+ __exportStar(require("./MutableCoverage"), exports);
23
+ __exportStar(require("./Coverage"), exports);
@@ -0,0 +1,2 @@
1
+ export * as coverages from "./coverages";
2
+ export * from "./coverages/types";
@@ -0,0 +1,31 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.coverages = void 0;
30
+ exports.coverages = __importStar(require("./coverages"));
31
+ __exportStar(require("./coverages/types"), exports);
@@ -0,0 +1,4 @@
1
+ export * as common from "./common";
2
+ export * from "./common/types";
3
+ export * as coverages from "./coverages";
4
+ export * as patients from "./patients";
@@ -0,0 +1,33 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.patients = exports.coverages = exports.common = void 0;
30
+ exports.common = __importStar(require("./common"));
31
+ __exportStar(require("./common/types"), exports);
32
+ exports.coverages = __importStar(require("./coverages"));
33
+ exports.patients = __importStar(require("./patients"));
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
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("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";