candidhealth 0.26.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/claims/types/Claim.d.ts +37 -0
  4. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  5. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  6. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  7. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  8. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +37 -0
  9. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +37 -0
  10. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  11. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  12. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  13. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  14. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  15. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  16. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  17. package/api/resources/index.d.ts +1 -0
  18. package/api/resources/index.js +1 -0
  19. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  20. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  21. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  22. package/api/resources/invoices/index.d.ts +1 -0
  23. package/api/resources/invoices/index.js +1 -0
  24. package/api/resources/invoices/types/Invoice.d.ts +19 -0
  25. package/api/resources/invoices/types/InvoiceItem.d.ts +8 -0
  26. package/api/resources/invoices/types/InvoiceStatus.d.ts +12 -0
  27. package/api/resources/invoices/types/InvoiceStatus.js +14 -0
  28. package/api/resources/invoices/types/index.d.ts +3 -0
  29. package/api/resources/invoices/types/index.js +19 -0
  30. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  31. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  32. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  33. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  34. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  35. package/api/resources/preEncounter/client/Client.d.ts +3 -0
  36. package/api/resources/preEncounter/client/Client.js +9 -4
  37. package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +26 -0
  38. package/api/resources/preEncounter/resources/appointments/client/Client.js +17 -0
  39. package/api/resources/preEncounter/resources/appointments/client/index.d.ts +1 -0
  40. package/api/resources/preEncounter/resources/appointments/client/index.js +2 -0
  41. package/api/resources/preEncounter/resources/appointments/index.d.ts +2 -0
  42. package/api/resources/preEncounter/resources/appointments/index.js +18 -0
  43. package/api/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  44. package/api/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  45. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +132 -0
  46. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +493 -0
  47. package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +28 -0
  48. package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.js +58 -0
  49. package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +34 -0
  50. package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +69 -0
  51. package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +28 -0
  52. package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.js +58 -0
  53. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +28 -0
  54. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +58 -0
  55. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +22 -0
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +47 -0
  57. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +7 -0
  58. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +36 -0
  59. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.d.ts +38 -0
  60. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
  62. package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +34 -0
  63. package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.js +69 -0
  64. package/api/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  65. package/api/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  66. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +19 -0
  67. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +11 -0
  68. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +10 -0
  69. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +11 -0
  70. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +13 -0
  71. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +8 -0
  72. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +10 -0
  73. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +9 -0
  74. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +11 -0
  75. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +9 -0
  76. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +11 -0
  77. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +32 -0
  78. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +5 -0
  79. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +9 -0
  80. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +5 -0
  81. package/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  82. package/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +12 -0
  83. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  84. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  85. package/api/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +11 -0
  86. package/api/resources/preEncounter/resources/common/types/CanonicalProviderId.js +10 -0
  87. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  88. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +2 -1
  89. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -0
  90. package/api/resources/preEncounter/resources/common/types/PageToken.d.ts +11 -0
  91. package/api/resources/preEncounter/resources/common/types/PageToken.js +10 -0
  92. package/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +8 -0
  93. package/api/resources/preEncounter/resources/common/types/ResourcePage.js +5 -0
  94. package/api/resources/preEncounter/resources/common/types/SortDirection.d.ts +8 -0
  95. package/api/resources/preEncounter/resources/common/types/SortDirection.js +10 -0
  96. package/api/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  97. package/api/resources/preEncounter/resources/common/types/index.js +4 -0
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -6
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +136 -11
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.d.ts +22 -0
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.js +47 -0
  102. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.d.ts +22 -0
  103. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.js +47 -0
  104. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +2 -0
  105. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +3 -1
  106. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +17 -0
  107. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +5 -0
  108. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/{GetAllCoveragesRequest.d.ts → CoverageGetMultiRequest.d.ts} +1 -1
  109. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.js +5 -0
  110. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +2 -1
  111. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +8 -0
  112. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +5 -0
  113. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +9 -0
  114. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +5 -0
  115. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +7 -0
  116. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +5 -0
  117. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +6 -0
  118. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +5 -0
  119. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +11 -0
  120. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +5 -0
  121. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +13 -0
  122. package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +12 -0
  123. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +0 -4
  124. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  125. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  126. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +8 -0
  127. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +5 -0
  128. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +11 -0
  129. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +5 -0
  130. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +9 -0
  131. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +5 -0
  132. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +11 -0
  133. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +5 -0
  134. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +757 -0
  135. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +195 -0
  136. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  137. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  138. package/api/resources/preEncounter/resources/index.d.ts +1 -0
  139. package/api/resources/preEncounter/resources/index.js +2 -1
  140. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +26 -8
  141. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +90 -17
  142. package/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.d.ts +22 -0
  143. package/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.js +47 -0
  144. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  145. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  146. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +17 -0
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.js +5 -0
  148. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +22 -0
  149. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.js +5 -0
  150. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +2 -1
  151. package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  152. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -1
  153. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +7 -0
  154. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +5 -0
  155. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +11 -0
  156. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +10 -0
  157. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  158. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  159. package/api/resources/serviceFacility/client/Client.js +1 -1
  160. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +8 -0
  161. package/api/resources/serviceLines/resources/v2/client/Client.js +57 -2
  162. package/api/resources/serviceLines/resources/v2/client/delete.d.ts +34 -0
  163. package/api/resources/serviceLines/resources/v2/client/delete.js +69 -0
  164. package/api/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  165. package/api/resources/serviceLines/resources/v2/client/index.js +2 -1
  166. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +41 -0
  167. package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +8 -0
  168. package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +5 -0
  169. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  170. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  171. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  172. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
  173. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
  174. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  175. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  176. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  177. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  178. package/dist/api/resources/claims/types/Claim.d.ts +37 -0
  179. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  180. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  181. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  182. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  183. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +37 -0
  184. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +37 -0
  185. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  186. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  187. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  188. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  189. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  190. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  191. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  192. package/dist/api/resources/index.d.ts +1 -0
  193. package/dist/api/resources/index.js +1 -0
  194. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  195. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  196. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  197. package/dist/api/resources/invoices/index.d.ts +1 -0
  198. package/dist/api/resources/invoices/index.js +1 -0
  199. package/dist/api/resources/invoices/types/Invoice.d.ts +19 -0
  200. package/dist/api/resources/invoices/types/Invoice.js +5 -0
  201. package/dist/api/resources/invoices/types/InvoiceItem.d.ts +8 -0
  202. package/dist/api/resources/invoices/types/InvoiceItem.js +5 -0
  203. package/dist/api/resources/invoices/types/InvoiceStatus.d.ts +12 -0
  204. package/dist/api/resources/invoices/types/InvoiceStatus.js +14 -0
  205. package/dist/api/resources/invoices/types/index.d.ts +3 -0
  206. package/dist/api/resources/invoices/types/index.js +19 -0
  207. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  208. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  209. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  210. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  211. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  212. package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
  213. package/dist/api/resources/preEncounter/client/Client.js +9 -4
  214. package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +26 -0
  215. package/dist/api/resources/preEncounter/resources/appointments/client/Client.js +17 -0
  216. package/dist/api/resources/preEncounter/resources/appointments/client/index.d.ts +1 -0
  217. package/dist/api/resources/preEncounter/resources/appointments/client/index.js +2 -0
  218. package/dist/api/resources/preEncounter/resources/appointments/index.d.ts +2 -0
  219. package/dist/api/resources/preEncounter/resources/appointments/index.js +18 -0
  220. package/dist/api/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  221. package/dist/api/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  222. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +132 -0
  223. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +493 -0
  224. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +28 -0
  225. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.js +58 -0
  226. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +34 -0
  227. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +69 -0
  228. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +28 -0
  229. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.js +58 -0
  230. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +28 -0
  231. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +58 -0
  232. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +22 -0
  233. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +47 -0
  234. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +7 -0
  235. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +36 -0
  236. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.d.ts +38 -0
  237. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.js +5 -0
  238. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  239. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
  240. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +34 -0
  241. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.js +69 -0
  242. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  243. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  244. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +19 -0
  245. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +5 -0
  246. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +11 -0
  247. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +10 -0
  248. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +11 -0
  249. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +13 -0
  250. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +8 -0
  251. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +10 -0
  252. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +9 -0
  253. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +11 -0
  254. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +9 -0
  255. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +11 -0
  256. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +32 -0
  257. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +5 -0
  258. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +9 -0
  259. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +5 -0
  260. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  261. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +12 -0
  262. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  263. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  264. package/dist/api/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +11 -0
  265. package/dist/api/resources/preEncounter/resources/common/types/CanonicalProviderId.js +10 -0
  266. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  267. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +2 -1
  268. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -0
  269. package/dist/api/resources/preEncounter/resources/common/types/PageToken.d.ts +11 -0
  270. package/dist/api/resources/preEncounter/resources/common/types/PageToken.js +10 -0
  271. package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +8 -0
  272. package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.js +5 -0
  273. package/dist/api/resources/preEncounter/resources/common/types/SortDirection.d.ts +8 -0
  274. package/dist/api/resources/preEncounter/resources/common/types/SortDirection.js +10 -0
  275. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  276. package/dist/api/resources/preEncounter/resources/common/types/index.js +4 -0
  277. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -6
  278. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +136 -11
  279. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.d.ts +22 -0
  280. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/checkEligibility.js +47 -0
  281. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.d.ts +22 -0
  282. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getEligibility.js +47 -0
  283. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +2 -0
  284. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +3 -1
  285. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +17 -0
  286. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +5 -0
  287. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/{GetAllCoveragesRequest.d.ts → CoverageGetMultiRequest.d.ts} +1 -1
  288. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.js +5 -0
  289. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +2 -1
  290. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +8 -0
  291. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +5 -0
  292. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +9 -0
  293. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +5 -0
  294. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +7 -0
  295. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +5 -0
  296. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +6 -0
  297. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +5 -0
  298. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +11 -0
  299. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +5 -0
  300. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +13 -0
  301. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +12 -0
  302. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +0 -4
  303. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  304. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  305. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +8 -0
  306. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +5 -0
  307. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +11 -0
  308. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +5 -0
  309. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +9 -0
  310. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +5 -0
  311. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +11 -0
  312. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +5 -0
  313. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +757 -0
  314. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +195 -0
  315. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  316. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  317. package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
  318. package/dist/api/resources/preEncounter/resources/index.js +2 -1
  319. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +26 -8
  320. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +90 -17
  321. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.d.ts +22 -0
  322. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getMulti.js +47 -0
  323. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  324. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  325. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +17 -0
  326. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.js +5 -0
  327. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +22 -0
  328. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.js +5 -0
  329. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +2 -1
  330. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  331. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -1
  332. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +7 -0
  333. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +5 -0
  334. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +11 -0
  335. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +10 -0
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  338. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  339. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +8 -0
  340. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +57 -2
  341. package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +34 -0
  342. package/dist/api/resources/serviceLines/resources/v2/client/delete.js +69 -0
  343. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  344. package/dist/api/resources/serviceLines/resources/v2/client/index.js +2 -1
  345. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +41 -0
  346. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +8 -0
  347. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +5 -0
  348. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  349. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  350. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  351. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
  352. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
  353. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  354. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  355. package/dist/serialization/resources/index.d.ts +1 -0
  356. package/dist/serialization/resources/index.js +1 -0
  357. package/dist/serialization/resources/invoices/index.d.ts +1 -0
  358. package/dist/serialization/resources/invoices/index.js +1 -0
  359. package/dist/serialization/resources/invoices/types/Invoice.d.ts +30 -0
  360. package/dist/serialization/resources/invoices/types/Invoice.js +51 -0
  361. package/dist/serialization/resources/invoices/types/InvoiceItem.d.ts +14 -0
  362. package/dist/serialization/resources/invoices/types/InvoiceItem.js +35 -0
  363. package/dist/serialization/resources/invoices/types/InvoiceStatus.d.ts +10 -0
  364. package/dist/serialization/resources/invoices/types/InvoiceStatus.js +31 -0
  365. package/dist/serialization/resources/invoices/types/index.d.ts +3 -0
  366. package/dist/serialization/resources/invoices/types/index.js +19 -0
  367. package/dist/serialization/resources/preEncounter/resources/appointments/index.d.ts +1 -0
  368. package/dist/serialization/resources/preEncounter/resources/appointments/index.js +17 -0
  369. package/dist/serialization/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  370. package/dist/serialization/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  371. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +15 -0
  372. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +61 -0
  373. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +20 -0
  374. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +67 -0
  375. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +15 -0
  376. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +61 -0
  377. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +20 -0
  378. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +63 -0
  379. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +11 -0
  380. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +32 -0
  381. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +6 -0
  382. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +32 -0
  383. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +20 -0
  384. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +67 -0
  385. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  386. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  387. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +21 -0
  388. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +44 -0
  389. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +10 -0
  390. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +35 -0
  391. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +10 -0
  392. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +31 -0
  393. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +10 -0
  394. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +31 -0
  395. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +10 -0
  396. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +31 -0
  397. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +10 -0
  398. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +31 -0
  399. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +30 -0
  400. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +51 -0
  401. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +14 -0
  402. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +35 -0
  403. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  404. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +31 -0
  405. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  406. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  407. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +10 -0
  408. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.js +35 -0
  409. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +2 -0
  410. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +2 -0
  411. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +1 -1
  412. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -1
  413. package/dist/serialization/resources/preEncounter/resources/common/types/PageToken.d.ts +10 -0
  414. package/dist/serialization/resources/preEncounter/resources/common/types/PageToken.js +35 -0
  415. package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +14 -0
  416. package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +35 -0
  417. package/dist/serialization/resources/preEncounter/resources/common/types/SortDirection.d.ts +10 -0
  418. package/dist/serialization/resources/preEncounter/resources/common/types/SortDirection.js +31 -0
  419. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  420. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +4 -0
  421. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  422. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -0
  423. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +15 -0
  424. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +36 -0
  425. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  426. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +5 -0
  427. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +15 -0
  428. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +36 -0
  429. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +16 -0
  430. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +37 -0
  431. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +13 -0
  432. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +34 -0
  433. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +12 -0
  434. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +33 -0
  435. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +19 -0
  436. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +40 -0
  437. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +10 -0
  438. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +31 -0
  439. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  440. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  441. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  442. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +4 -0
  443. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +14 -0
  444. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +35 -0
  445. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +17 -0
  446. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +38 -0
  447. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +16 -0
  448. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +37 -0
  449. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +17 -0
  450. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +38 -0
  451. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +10 -0
  452. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +219 -0
  453. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  454. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  455. package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  456. package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
  457. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  458. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +1 -0
  459. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +14 -0
  460. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +37 -0
  461. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +10 -0
  462. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +35 -0
  463. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  464. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  465. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +20 -0
  466. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +67 -0
  467. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  468. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +2 -1
  469. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -0
  470. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +6 -0
  471. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +14 -0
  472. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +35 -0
  473. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  474. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  475. package/package.json +1 -1
  476. package/reference.md +879 -133
  477. package/serialization/resources/index.d.ts +1 -0
  478. package/serialization/resources/index.js +1 -0
  479. package/serialization/resources/invoices/index.d.ts +1 -0
  480. package/serialization/resources/invoices/index.js +1 -0
  481. package/serialization/resources/invoices/types/Invoice.d.ts +30 -0
  482. package/serialization/resources/invoices/types/Invoice.js +51 -0
  483. package/serialization/resources/invoices/types/InvoiceItem.d.ts +14 -0
  484. package/serialization/resources/invoices/types/InvoiceItem.js +35 -0
  485. package/serialization/resources/invoices/types/InvoiceStatus.d.ts +10 -0
  486. package/serialization/resources/invoices/types/InvoiceStatus.js +31 -0
  487. package/serialization/resources/invoices/types/index.d.ts +3 -0
  488. package/serialization/resources/invoices/types/index.js +19 -0
  489. package/serialization/resources/preEncounter/resources/appointments/index.d.ts +1 -0
  490. package/serialization/resources/preEncounter/resources/appointments/index.js +17 -0
  491. package/serialization/resources/preEncounter/resources/appointments/resources/index.d.ts +1 -0
  492. package/serialization/resources/preEncounter/resources/appointments/resources/index.js +27 -0
  493. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +15 -0
  494. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +61 -0
  495. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +20 -0
  496. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +67 -0
  497. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +15 -0
  498. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +61 -0
  499. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +20 -0
  500. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +63 -0
  501. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.d.ts +11 -0
  502. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getMulti.js +32 -0
  503. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +6 -0
  504. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +32 -0
  505. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +20 -0
  506. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +67 -0
  507. package/serialization/resources/preEncounter/resources/appointments/resources/v1/index.d.ts +2 -0
  508. package/serialization/resources/preEncounter/resources/appointments/resources/v1/index.js +18 -0
  509. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +21 -0
  510. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +44 -0
  511. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.d.ts +10 -0
  512. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentId.js +35 -0
  513. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.d.ts +10 -0
  514. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentReason.js +31 -0
  515. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.d.ts +10 -0
  516. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentSortField.js +31 -0
  517. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.d.ts +10 -0
  518. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentType.js +31 -0
  519. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +10 -0
  520. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +31 -0
  521. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +30 -0
  522. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +51 -0
  523. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.d.ts +14 -0
  524. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Service.js +35 -0
  525. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.d.ts +10 -0
  526. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/UniversalServiceIdentifier.js +31 -0
  527. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +9 -0
  528. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +25 -0
  529. package/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.d.ts +10 -0
  530. package/serialization/resources/preEncounter/resources/common/types/CanonicalProviderId.js +35 -0
  531. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +2 -0
  532. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +2 -0
  533. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +1 -1
  534. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +1 -1
  535. package/serialization/resources/preEncounter/resources/common/types/PageToken.d.ts +10 -0
  536. package/serialization/resources/preEncounter/resources/common/types/PageToken.js +35 -0
  537. package/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +14 -0
  538. package/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +35 -0
  539. package/serialization/resources/preEncounter/resources/common/types/SortDirection.d.ts +10 -0
  540. package/serialization/resources/preEncounter/resources/common/types/SortDirection.js +31 -0
  541. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -0
  542. package/serialization/resources/preEncounter/resources/common/types/index.js +4 -0
  543. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  544. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -0
  545. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +15 -0
  546. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.js +36 -0
  547. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  548. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +5 -0
  549. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +15 -0
  550. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +36 -0
  551. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +16 -0
  552. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +37 -0
  553. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +13 -0
  554. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +34 -0
  555. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +12 -0
  556. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +33 -0
  557. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.d.ts +19 -0
  558. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckMetadata.js +40 -0
  559. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.d.ts +10 -0
  560. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheckStatus.js +31 -0
  561. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  562. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +0 -1
  563. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +4 -0
  564. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +4 -0
  565. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +14 -0
  566. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +35 -0
  567. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +17 -0
  568. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +38 -0
  569. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +16 -0
  570. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +37 -0
  571. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.d.ts +17 -0
  572. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverageDetails.js +38 -0
  573. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.d.ts +10 -0
  574. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceTypeCode.js +219 -0
  575. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +11 -0
  576. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +11 -0
  577. package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  578. package/serialization/resources/preEncounter/resources/index.js +2 -1
  579. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +1 -0
  580. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +1 -0
  581. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.d.ts +14 -0
  582. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientPage.js +37 -0
  583. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +10 -0
  584. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.js +35 -0
  585. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  586. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  587. package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +20 -0
  588. package/serialization/resources/serviceLines/resources/v2/client/delete.js +67 -0
  589. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +1 -0
  590. package/serialization/resources/serviceLines/resources/v2/client/index.js +2 -1
  591. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -0
  592. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +6 -0
  593. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +14 -0
  594. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +35 -0
  595. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  596. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  597. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.d.ts +0 -12
  598. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.d.ts +0 -12
  599. /package/api/resources/{preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js → invoices/types/Invoice.js} +0 -0
  600. /package/api/resources/{preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js → invoices/types/InvoiceItem.js} +0 -0
  601. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js → api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentsSearchRequest.js} +0 -0
  602. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js → api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js} +0 -0
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ /**
6
+ * The unique identifier for an Appointment.
7
+ */
8
+ export declare type AppointmentId = string & {
9
+ preEncounter_appointments_v1_AppointmentId: void;
10
+ };
11
+ export declare function AppointmentId(value: string): CandidApi.preEncounter.appointments.v1.AppointmentId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AppointmentId = void 0;
7
+ function AppointmentId(value) {
8
+ return value;
9
+ }
10
+ exports.AppointmentId = AppointmentId;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type AppointmentReason = "CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN";
5
+ export declare const AppointmentReason: {
6
+ readonly Checkup: "CHECKUP";
7
+ readonly Emergency: "EMERGENCY";
8
+ readonly Followup: "FOLLOWUP";
9
+ readonly Routine: "ROUTINE";
10
+ readonly Walkin: "WALKIN";
11
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AppointmentReason = void 0;
7
+ exports.AppointmentReason = {
8
+ Checkup: "CHECKUP",
9
+ Emergency: "EMERGENCY",
10
+ Followup: "FOLLOWUP",
11
+ Routine: "ROUTINE",
12
+ Walkin: "WALKIN",
13
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type AppointmentSortField = "startTimestamp" | "updatedAt";
5
+ export declare const AppointmentSortField: {
6
+ readonly StartTimestamp: "startTimestamp";
7
+ readonly UpdatedAt: "updatedAt";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AppointmentSortField = void 0;
7
+ exports.AppointmentSortField = {
8
+ StartTimestamp: "startTimestamp",
9
+ UpdatedAt: "updatedAt",
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type AppointmentType = "Complete" | "Normal" | "Tentative";
5
+ export declare const AppointmentType: {
6
+ readonly Complete: "Complete";
7
+ readonly Normal: "Normal";
8
+ readonly Tentative: "Tentative";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AppointmentType = void 0;
7
+ exports.AppointmentType = {
8
+ Complete: "Complete",
9
+ Normal: "Normal",
10
+ Tentative: "Tentative",
11
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type AppointmentWorkQueue = "EMERGENT_ISSUE" | "NEW_PATIENT" | "RETURNING_PATIENT";
5
+ export declare const AppointmentWorkQueue: {
6
+ readonly EmergentIssue: "EMERGENT_ISSUE";
7
+ readonly NewPatient: "NEW_PATIENT";
8
+ readonly ReturningPatient: "RETURNING_PATIENT";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AppointmentWorkQueue = void 0;
7
+ exports.AppointmentWorkQueue = {
8
+ EmergentIssue: "EMERGENT_ISSUE",
9
+ NewPatient: "NEW_PATIENT",
10
+ ReturningPatient: "RETURNING_PATIENT",
11
+ };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ /**
6
+ * An object representing a appointment.
7
+ */
8
+ export interface MutableAppointment {
9
+ /** The Candid-defined patient identifier. */
10
+ patientId: CandidApi.preEncounter.patients.v1.PatientId;
11
+ /** True if the patient has checked in. Defaults to false. */
12
+ checkedIn?: boolean;
13
+ /** Patient’s initial assigned location or the location to which the patient is being moved. This location is stored on the Patient Demographics tab and is used when creating orders. */
14
+ assignedPatientLocation?: string;
15
+ /** Attending physician information. The attending physician will be stored as the Current MD for the patient. */
16
+ attendingDoctor?: CandidApi.preEncounter.ExternalProvider;
17
+ /** Referring physician information. The referring physician will be stored as the Referring MD in the patient’s Providers list. */
18
+ referringDoctor?: CandidApi.preEncounter.ExternalProvider;
19
+ startTimestamp?: Date;
20
+ /** The requested length of time allotted for the appointment. The units are in minutes. */
21
+ serviceDuration: number;
22
+ services: CandidApi.preEncounter.appointments.v1.Service[];
23
+ /** ID for the appointment/order for the event. */
24
+ placerAppointmentId?: string;
25
+ appointmentReason?: CandidApi.preEncounter.appointments.v1.AppointmentReason;
26
+ /** Contains the identifier code for the appointment. */
27
+ appointmentType?: CandidApi.preEncounter.appointments.v1.AppointmentType;
28
+ /** Contains the coded identification of the location being scheduled. Components: <Identifier (ST)>^<Text (ST)> */
29
+ locationResourceId?: string;
30
+ /** The work queue that the appointment belongs to. It is not recommended to change this value manually via API. */
31
+ workQueue?: CandidApi.preEncounter.appointments.v1.AppointmentWorkQueue;
32
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ export interface Service {
6
+ /** Contains the code describing the activity type that is being scheduled. */
7
+ universalServiceIdentifier?: CandidApi.preEncounter.appointments.v1.UniversalServiceIdentifier;
8
+ startTimestamp?: Date;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type UniversalServiceIdentifier = "MD_Visit" | "Treatment" | "Tests" | "Activity";
5
+ export declare const UniversalServiceIdentifier: {
6
+ readonly MdVisit: "MD_Visit";
7
+ readonly Treatment: "Treatment";
8
+ readonly Tests: "Tests";
9
+ readonly Activity: "Activity";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UniversalServiceIdentifier = void 0;
7
+ exports.UniversalServiceIdentifier = {
8
+ MdVisit: "MD_Visit",
9
+ Treatment: "Treatment",
10
+ Tests: "Tests",
11
+ Activity: "Activity",
12
+ };
@@ -0,0 +1,9 @@
1
+ export * from "./AppointmentId";
2
+ export * from "./AppointmentWorkQueue";
3
+ export * from "./AppointmentSortField";
4
+ export * from "./UniversalServiceIdentifier";
5
+ export * from "./AppointmentReason";
6
+ export * from "./AppointmentType";
7
+ export * from "./Service";
8
+ export * from "./MutableAppointment";
9
+ export * from "./Appointment";
@@ -0,0 +1,25 @@
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("./AppointmentId"), exports);
18
+ __exportStar(require("./AppointmentWorkQueue"), exports);
19
+ __exportStar(require("./AppointmentSortField"), exports);
20
+ __exportStar(require("./UniversalServiceIdentifier"), exports);
21
+ __exportStar(require("./AppointmentReason"), exports);
22
+ __exportStar(require("./AppointmentType"), exports);
23
+ __exportStar(require("./Service"), exports);
24
+ __exportStar(require("./MutableAppointment"), exports);
25
+ __exportStar(require("./Appointment"), exports);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * The unique identifier for a provider configured in the Candid system
7
+ */
8
+ export declare type CanonicalProviderId = string & {
9
+ preEncounter_CanonicalProviderId: void;
10
+ };
11
+ export declare function CanonicalProviderId(value: string): CandidApi.preEncounter.CanonicalProviderId;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CanonicalProviderId = void 0;
7
+ function CanonicalProviderId(value) {
8
+ return value;
9
+ }
10
+ exports.CanonicalProviderId = CanonicalProviderId;
@@ -9,4 +9,5 @@ export interface ExternalProvider {
9
9
  telecoms: CandidApi.preEncounter.ContactPoint[];
10
10
  addresses: CandidApi.preEncounter.Address[];
11
11
  period?: CandidApi.preEncounter.Period;
12
+ canonicalId?: CandidApi.preEncounter.CanonicalProviderId;
12
13
  }
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type ExternalProviderType = "PRIMARY" | "REFERRING";
4
+ export declare type ExternalProviderType = "PRIMARY" | "REFERRING" | "ATTENDING";
5
5
  export declare const ExternalProviderType: {
6
6
  readonly Primary: "PRIMARY";
7
7
  readonly Referring: "REFERRING";
8
+ readonly Attending: "ATTENDING";
8
9
  };
@@ -7,4 +7,5 @@ exports.ExternalProviderType = void 0;
7
7
  exports.ExternalProviderType = {
8
8
  Primary: "PRIMARY",
9
9
  Referring: "REFERRING",
10
+ Attending: "ATTENDING",
10
11
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * A token that can be used to retrieve the next or previous page of results
7
+ */
8
+ export declare type PageToken = string & {
9
+ preEncounter_PageToken: void;
10
+ };
11
+ export declare function PageToken(value: string): CandidApi.preEncounter.PageToken;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PageToken = void 0;
7
+ function PageToken(value) {
8
+ return value;
9
+ }
10
+ exports.PageToken = PageToken;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ResourcePage {
6
+ nextPageToken?: CandidApi.preEncounter.PageToken;
7
+ prevPageToken?: CandidApi.preEncounter.PageToken;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type SortDirection = "asc" | "desc";
5
+ export declare const SortDirection: {
6
+ readonly Asc: "asc";
7
+ readonly Desc: "desc";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SortDirection = void 0;
7
+ exports.SortDirection = {
8
+ Asc: "asc",
9
+ Desc: "desc",
10
+ };
@@ -1,6 +1,7 @@
1
1
  export * from "./OrganizationId";
2
2
  export * from "./UserId";
3
3
  export * from "./PayerId";
4
+ export * from "./CanonicalProviderId";
4
5
  export * from "./Relationship";
5
6
  export * from "./Gender";
6
7
  export * from "./Sex";
@@ -15,8 +16,11 @@ export * from "./Address";
15
16
  export * from "./Period";
16
17
  export * from "./ContactPointUse";
17
18
  export * from "./ContactPoint";
19
+ export * from "./PageToken";
20
+ export * from "./ResourcePage";
18
21
  export * from "./ErrorBase";
19
22
  export * from "./NotFoundErrorBody";
20
23
  export * from "./VersionConflictErrorBody";
21
24
  export * from "./ExternalProviderType";
22
25
  export * from "./ExternalProvider";
26
+ export * from "./SortDirection";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./OrganizationId"), exports);
18
18
  __exportStar(require("./UserId"), exports);
19
19
  __exportStar(require("./PayerId"), exports);
20
+ __exportStar(require("./CanonicalProviderId"), exports);
20
21
  __exportStar(require("./Relationship"), exports);
21
22
  __exportStar(require("./Gender"), exports);
22
23
  __exportStar(require("./Sex"), exports);
@@ -31,8 +32,11 @@ __exportStar(require("./Address"), exports);
31
32
  __exportStar(require("./Period"), exports);
32
33
  __exportStar(require("./ContactPointUse"), exports);
33
34
  __exportStar(require("./ContactPoint"), exports);
35
+ __exportStar(require("./PageToken"), exports);
36
+ __exportStar(require("./ResourcePage"), exports);
34
37
  __exportStar(require("./ErrorBase"), exports);
35
38
  __exportStar(require("./NotFoundErrorBody"), exports);
36
39
  __exportStar(require("./VersionConflictErrorBody"), exports);
37
40
  __exportStar(require("./ExternalProviderType"), exports);
38
41
  __exportStar(require("./ExternalProvider"), exports);
42
+ __exportStar(require("./SortDirection"), exports);
@@ -48,12 +48,23 @@ export declare class V1 {
48
48
  * period: {},
49
49
  * insuranceCardImageLocator: "string"
50
50
  * },
51
- * verified: true
51
+ * verified: true,
52
+ * eligibilityChecks: [{
53
+ * checkId: "string",
54
+ * serviceCode: CandidApi.preEncounter.coverages.v1.ServiceTypeCode.MedicalCare,
55
+ * status: CandidApi.preEncounter.coverages.v1.EligibilityCheckStatus.Created,
56
+ * initiatedBy: CandidApi.preEncounter.UserId("string"),
57
+ * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
58
+ * }],
59
+ * benefits: {
60
+ * planCoverage: {},
61
+ * serviceSpecificCoverage: [{}]
62
+ * }
52
63
  * })
53
64
  */
54
65
  create(request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.create.Error>>;
55
66
  /**
56
- * Updates a Coverage. The path must contain the most recent version to prevent races. Updating historic versions is not supported.
67
+ * Updates a Coverage. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
57
68
  *
58
69
  * @param {CandidApi.preEncounter.coverages.v1.CoverageId} id
59
70
  * @param {string} version
@@ -81,7 +92,18 @@ export declare class V1 {
81
92
  * period: {},
82
93
  * insuranceCardImageLocator: "string"
83
94
  * },
84
- * verified: true
95
+ * verified: true,
96
+ * eligibilityChecks: [{
97
+ * checkId: "string",
98
+ * serviceCode: CandidApi.preEncounter.coverages.v1.ServiceTypeCode.MedicalCare,
99
+ * status: CandidApi.preEncounter.coverages.v1.EligibilityCheckStatus.Created,
100
+ * initiatedBy: CandidApi.preEncounter.UserId("string"),
101
+ * initiatedAt: new Date("2024-01-15T09:30:00.000Z")
102
+ * }],
103
+ * benefits: {
104
+ * planCoverage: {},
105
+ * serviceSpecificCoverage: [{}]
106
+ * }
85
107
  * })
86
108
  */
87
109
  update(id: CandidApi.preEncounter.coverages.v1.CoverageId, version: string, request: CandidApi.preEncounter.coverages.v1.MutableCoverage, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage, CandidApi.preEncounter.coverages.v1.update.Error>>;
@@ -106,9 +128,9 @@ export declare class V1 {
106
128
  */
107
129
  getHistory(id: CandidApi.preEncounter.coverages.v1.CoverageId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error>>;
108
130
  /**
109
- * returns a list of Coverages based on the search criteria
131
+ * Returns a list of Coverages based on the search criteria.
110
132
  *
111
- * @param {CandidApi.preEncounter.coverages.v1.GetAllCoveragesRequest} request
133
+ * @param {CandidApi.preEncounter.coverages.v1.CoverageGetMultiRequest} request
112
134
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
113
135
  *
114
136
  * @example
@@ -116,7 +138,7 @@ export declare class V1 {
116
138
  * patientId: "string"
117
139
  * })
118
140
  */
119
- getMulti(request?: CandidApi.preEncounter.coverages.v1.GetAllCoveragesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error>>;
141
+ getMulti(request?: CandidApi.preEncounter.coverages.v1.CoverageGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error>>;
120
142
  /**
121
143
  * Scans up to 100 coverage updates. The since query parameter is inclusive, and the result list is ordered by updatedAt descending.
122
144
  *
@@ -129,5 +151,31 @@ export declare class V1 {
129
151
  * })
130
152
  */
131
153
  scan(request: CandidApi.preEncounter.coverages.v1.CoverageScanRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.Coverage[], CandidApi.preEncounter.coverages.v1.scan.Error>>;
154
+ /**
155
+ * Initiates an eligibility check. Returns the metadata of the check if successfully initiated.
156
+ *
157
+ * @param {CandidApi.preEncounter.coverages.v1.CoverageId} id
158
+ * @param {CandidApi.preEncounter.coverages.v1.CheckEligibilityRequest} request
159
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
160
+ *
161
+ * @example
162
+ * await client.preEncounter.coverages.v1.checkEligibility(CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
163
+ * serviceCode: CandidApi.preEncounter.coverages.v1.ServiceTypeCode.MedicalCare,
164
+ * dateOfService: "2023-01-15",
165
+ * npi: "string"
166
+ * })
167
+ */
168
+ checkEligibility(id: CandidApi.preEncounter.coverages.v1.CoverageId, request: CandidApi.preEncounter.coverages.v1.CheckEligibilityRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.EligibilityCheckMetadata, CandidApi.preEncounter.coverages.v1.checkEligibility.Error>>;
169
+ /**
170
+ * Gets the eligibility of a patient for a specific coverage if successful.
171
+ *
172
+ * @param {CandidApi.preEncounter.coverages.v1.CoverageId} id
173
+ * @param {string} checkId
174
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
175
+ *
176
+ * @example
177
+ * await client.preEncounter.coverages.v1.getEligibility(CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string")
178
+ */
179
+ getEligibility(id: CandidApi.preEncounter.coverages.v1.CoverageId, checkId: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.coverages.v1.CoverageEligibilityCheckResponse, CandidApi.preEncounter.coverages.v1.getEligibility.Error>>;
132
180
  protected _getAuthorizationHeader(): Promise<string | undefined>;
133
181
  }