candidhealth 1.17.4 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -0
  3. package/api/resources/commons/types/EmrPayerCrosswalk.js +1 -0
  4. package/api/resources/encounters/resources/v4/client/Client.js +25 -2
  5. package/api/resources/encounters/resources/v4/client/getAll.d.ts +19 -1
  6. package/api/resources/encounters/resources/v4/client/getAll.js +33 -0
  7. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -0
  8. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -0
  9. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +4 -0
  10. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +4 -0
  11. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +4 -0
  12. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +4 -0
  13. package/api/resources/financials/types/BalanceEarmark.d.ts +4 -0
  14. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +0 -1
  15. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +0 -1
  16. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +0 -1
  17. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +0 -1
  18. package/api/resources/payers/resources/v4/types/Payer.d.ts +1 -0
  19. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +11 -0
  20. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -0
  21. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +4 -0
  22. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
  23. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
  24. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +28 -6
  25. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +7 -1
  26. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +11 -0
  27. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.d.ts +15 -0
  28. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.js +3 -0
  29. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  30. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  31. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +3 -1
  32. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +16 -0
  33. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +81 -0
  34. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  35. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
  36. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +31 -0
  37. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +77 -0
  38. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +7 -0
  39. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +3 -0
  40. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +9 -0
  41. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +3 -0
  42. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
  43. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +7 -1
  44. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +7 -0
  45. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +3 -0
  46. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +8 -0
  47. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +3 -0
  48. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +13 -0
  49. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +3 -0
  50. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +12 -0
  51. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +3 -0
  52. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
  53. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +10 -0
  54. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
  55. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
  56. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +11 -2
  57. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +4 -0
  58. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -0
  59. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  60. package/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  61. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +12 -0
  62. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +76 -0
  63. package/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +25 -0
  64. package/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +66 -0
  65. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  66. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  67. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.d.ts +7 -0
  68. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.js +3 -0
  69. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  70. package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  71. package/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +7 -0
  72. package/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +3 -0
  73. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -1
  74. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +8 -0
  75. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +3 -0
  76. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  77. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  78. package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +6 -0
  79. package/dist/Client.js +2 -2
  80. package/dist/api/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -0
  81. package/dist/api/resources/commons/types/EmrPayerCrosswalk.js +1 -0
  82. package/dist/api/resources/encounters/resources/v4/client/Client.js +25 -2
  83. package/dist/api/resources/encounters/resources/v4/client/getAll.d.ts +19 -1
  84. package/dist/api/resources/encounters/resources/v4/client/getAll.js +33 -0
  85. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -0
  86. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -0
  87. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +4 -0
  88. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +4 -0
  89. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +4 -0
  90. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +4 -0
  91. package/dist/api/resources/financials/types/BalanceEarmark.d.ts +4 -0
  92. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +0 -1
  93. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +0 -1
  94. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +0 -1
  95. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +0 -1
  96. package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +1 -0
  97. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +11 -0
  98. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -0
  99. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +4 -0
  100. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
  101. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
  102. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +28 -6
  103. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +7 -1
  104. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +11 -0
  105. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.d.ts +15 -0
  106. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoveragesGetHistoryRequest.js +3 -0
  107. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  108. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  109. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +3 -1
  110. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +16 -0
  111. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +81 -0
  112. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  113. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
  114. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +31 -0
  115. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +77 -0
  116. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +7 -0
  117. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +3 -0
  118. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +9 -0
  119. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +3 -0
  120. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
  121. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +7 -1
  122. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +7 -0
  123. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +3 -0
  124. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +8 -0
  125. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +3 -0
  126. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +13 -0
  127. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +3 -0
  128. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +12 -0
  129. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +3 -0
  130. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
  131. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +10 -0
  132. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
  133. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
  134. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +11 -2
  135. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +4 -0
  136. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -0
  137. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  138. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  139. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +12 -0
  140. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +76 -0
  141. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +25 -0
  142. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +66 -0
  143. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  144. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  145. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.d.ts +7 -0
  146. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/GetCoverageSnapshotRequest.js +3 -0
  147. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  148. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  149. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +7 -0
  150. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +3 -0
  151. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -1
  152. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +8 -0
  153. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +3 -0
  154. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  155. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  156. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +6 -0
  157. package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -1
  158. package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.js +1 -1
  159. package/dist/serialization/resources/encounters/resources/v4/client/getAll.d.ts +22 -0
  160. package/dist/serialization/resources/encounters/resources/v4/client/getAll.js +81 -0
  161. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
  162. package/dist/serialization/resources/encounters/resources/v4/client/index.js +2 -1
  163. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  164. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  165. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  166. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  167. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  168. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  169. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  170. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  171. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  172. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  173. package/dist/serialization/resources/financials/types/BalanceEarmark.d.ts +2 -0
  174. package/dist/serialization/resources/financials/types/BalanceEarmark.js +2 -0
  175. package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
  176. package/dist/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
  177. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
  178. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +1 -0
  179. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +5 -1
  180. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +5 -0
  181. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  182. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  183. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -0
  184. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +1 -0
  185. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  186. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
  187. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +17 -0
  188. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +75 -0
  189. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +10 -0
  190. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +42 -0
  191. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +10 -0
  192. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +42 -0
  193. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
  194. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +3 -0
  195. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +9 -1
  196. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +4 -0
  197. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +10 -0
  198. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +42 -0
  199. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +10 -0
  200. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +42 -0
  201. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +12 -0
  202. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +44 -0
  203. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +13 -0
  204. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +45 -0
  205. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
  206. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +39 -0
  207. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
  208. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
  209. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  210. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +1 -0
  211. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  212. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
  213. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +12 -0
  214. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +69 -0
  215. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  216. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  217. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  218. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  219. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +10 -0
  220. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +42 -0
  221. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  222. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  223. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +15 -0
  224. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +47 -0
  225. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  226. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  227. package/dist/version.d.ts +1 -1
  228. package/dist/version.js +1 -1
  229. package/package.json +1 -1
  230. package/reference.md +175 -2
  231. package/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +1 -1
  232. package/serialization/resources/commons/types/EmrPayerCrosswalk.js +1 -1
  233. package/serialization/resources/encounters/resources/v4/client/getAll.d.ts +22 -0
  234. package/serialization/resources/encounters/resources/v4/client/getAll.js +81 -0
  235. package/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
  236. package/serialization/resources/encounters/resources/v4/client/index.js +2 -1
  237. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  238. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  239. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  240. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  241. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  242. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  243. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  244. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  245. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  246. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  247. package/serialization/resources/financials/types/BalanceEarmark.d.ts +2 -0
  248. package/serialization/resources/financials/types/BalanceEarmark.js +2 -0
  249. package/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
  250. package/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
  251. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
  252. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +1 -0
  253. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +5 -1
  254. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +5 -0
  255. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  256. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  257. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -0
  258. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +1 -0
  259. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  260. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
  261. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.d.ts +17 -0
  262. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/voteRecommendation.js +75 -0
  263. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.d.ts +10 -0
  264. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendation.js +42 -0
  265. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.d.ts +10 -0
  266. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CopayEstimationRecommendationPayload.js +42 -0
  267. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +3 -0
  268. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +3 -0
  269. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +9 -1
  270. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +4 -0
  271. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.d.ts +10 -0
  272. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendation.js +42 -0
  273. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.d.ts +10 -0
  274. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsRecommendationPayload.js +42 -0
  275. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.d.ts +12 -0
  276. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/UserConfiguredPromptsResult.js +44 -0
  277. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.d.ts +13 -0
  278. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Vote.js +45 -0
  279. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.d.ts +7 -0
  280. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/VoteValue.js +39 -0
  281. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +7 -0
  282. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +7 -0
  283. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  284. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +1 -0
  285. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  286. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
  287. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.d.ts +12 -0
  288. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getCoverageSnapshot.js +69 -0
  289. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  290. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  291. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  292. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  293. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.d.ts +10 -0
  294. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/CoveragesForRelatedCauses.js +42 -0
  295. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  296. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  297. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.d.ts +15 -0
  298. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientCoverageSnapshot.js +47 -0
  299. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -0
  300. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -0
  301. package/version.d.ts +1 -1
  302. package/version.js +1 -1
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UserConfiguredPromptsRecommendation = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ const UserConfiguredPromptsRecommendationPayload_1 = require("./UserConfiguredPromptsRecommendationPayload");
40
+ exports.UserConfiguredPromptsRecommendation = core.serialization.object({
41
+ payload: UserConfiguredPromptsRecommendationPayload_1.UserConfiguredPromptsRecommendationPayload,
42
+ });
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ import { UserConfiguredPromptsResult } from "./UserConfiguredPromptsResult";
5
+ export declare const UserConfiguredPromptsRecommendationPayload: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendationPayload.Raw, CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsRecommendationPayload>;
6
+ export declare namespace UserConfiguredPromptsRecommendationPayload {
7
+ interface Raw {
8
+ results: UserConfiguredPromptsResult.Raw[];
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UserConfiguredPromptsRecommendationPayload = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ const UserConfiguredPromptsResult_1 = require("./UserConfiguredPromptsResult");
40
+ exports.UserConfiguredPromptsRecommendationPayload = core.serialization.object({
41
+ results: core.serialization.list(UserConfiguredPromptsResult_1.UserConfiguredPromptsResult),
42
+ });
@@ -0,0 +1,12 @@
1
+ import type * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ export declare const UserConfiguredPromptsResult: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsResult.Raw, CandidApi.preEncounter.eligibilityChecks.v1.UserConfiguredPromptsResult>;
5
+ export declare namespace UserConfiguredPromptsResult {
6
+ interface Raw {
7
+ user_prompt_id: string;
8
+ prompt_name: string;
9
+ structured_response?: unknown;
10
+ exposition: string;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UserConfiguredPromptsResult = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ exports.UserConfiguredPromptsResult = core.serialization.object({
40
+ userPromptId: core.serialization.property("user_prompt_id", core.serialization.string()),
41
+ promptName: core.serialization.property("prompt_name", core.serialization.string()),
42
+ structuredResponse: core.serialization.property("structured_response", core.serialization.unknown()),
43
+ exposition: core.serialization.string(),
44
+ });
@@ -0,0 +1,13 @@
1
+ import type * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ import { UserId } from "../../../../common/types/UserId";
5
+ import { VoteValue } from "./VoteValue";
6
+ export declare const Vote: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.Vote.Raw, CandidApi.preEncounter.eligibilityChecks.v1.Vote>;
7
+ export declare namespace Vote {
8
+ interface Raw {
9
+ user_id: UserId.Raw;
10
+ value: VoteValue.Raw;
11
+ comment?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Vote = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ const UserId_1 = require("../../../../common/types/UserId");
40
+ const VoteValue_1 = require("./VoteValue");
41
+ exports.Vote = core.serialization.object({
42
+ userId: core.serialization.property("user_id", UserId_1.UserId),
43
+ value: VoteValue_1.VoteValue,
44
+ comment: core.serialization.string().optional(),
45
+ });
@@ -0,0 +1,7 @@
1
+ import type * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ export declare const VoteValue: core.serialization.Schema<serializers.preEncounter.eligibilityChecks.v1.VoteValue.Raw, CandidApi.preEncounter.eligibilityChecks.v1.VoteValue>;
5
+ export declare namespace VoteValue {
6
+ type Raw = "GOOD" | "BAD" | "OK";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.VoteValue = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ exports.VoteValue = core.serialization.enum_(["GOOD", "BAD", "OK"]);
@@ -1,5 +1,7 @@
1
1
  export * from "./BatchEligibilityResponse";
2
2
  export * from "./CoordinationOfBenefitsRecommendation";
3
+ export * from "./CopayEstimationRecommendation";
4
+ export * from "./CopayEstimationRecommendationPayload";
3
5
  export * from "./EligibilityCheck";
4
6
  export * from "./EligibilityCheckError";
5
7
  export * from "./EligibilityCheckErrorDetails";
@@ -25,3 +27,8 @@ export * from "./Provider";
25
27
  export * from "./RequestCorrection";
26
28
  export * from "./StediPayer";
27
29
  export * from "./StediPayerItem";
30
+ export * from "./UserConfiguredPromptsRecommendation";
31
+ export * from "./UserConfiguredPromptsRecommendationPayload";
32
+ export * from "./UserConfiguredPromptsResult";
33
+ export * from "./Vote";
34
+ export * from "./VoteValue";
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BatchEligibilityResponse"), exports);
18
18
  __exportStar(require("./CoordinationOfBenefitsRecommendation"), exports);
19
+ __exportStar(require("./CopayEstimationRecommendation"), exports);
20
+ __exportStar(require("./CopayEstimationRecommendationPayload"), exports);
19
21
  __exportStar(require("./EligibilityCheck"), exports);
20
22
  __exportStar(require("./EligibilityCheckError"), exports);
21
23
  __exportStar(require("./EligibilityCheckErrorDetails"), exports);
@@ -41,3 +43,8 @@ __exportStar(require("./Provider"), exports);
41
43
  __exportStar(require("./RequestCorrection"), exports);
42
44
  __exportStar(require("./StediPayer"), exports);
43
45
  __exportStar(require("./StediPayerItem"), exports);
46
+ __exportStar(require("./UserConfiguredPromptsRecommendation"), exports);
47
+ __exportStar(require("./UserConfiguredPromptsRecommendationPayload"), exports);
48
+ __exportStar(require("./UserConfiguredPromptsResult"), exports);
49
+ __exportStar(require("./Vote"), exports);
50
+ __exportStar(require("./VoteValue"), exports);
@@ -11,6 +11,7 @@ export declare namespace AppointmentListItem {
11
11
  appointment: Appointment.Raw;
12
12
  patient: MutablePatientWithMrn.Raw;
13
13
  primary_coverage?: MutableCoverage.Raw | null;
14
+ secondary_coverage?: MutableCoverage.Raw | null;
14
15
  primary_service_type?: UniversalServiceIdentifier.Raw | null;
15
16
  }
16
17
  }
@@ -44,5 +44,6 @@ exports.AppointmentListItem = core.serialization.object({
44
44
  appointment: Appointment_1.Appointment,
45
45
  patient: MutablePatientWithMrn_1.MutablePatientWithMrn,
46
46
  primaryCoverage: core.serialization.property("primary_coverage", MutableCoverage_1.MutableCoverage.optional()),
47
+ secondaryCoverage: core.serialization.property("secondary_coverage", MutableCoverage_1.MutableCoverage.optional()),
47
48
  primaryServiceType: core.serialization.property("primary_service_type", UniversalServiceIdentifier_1.UniversalServiceIdentifier.optional()),
48
49
  });
@@ -12,5 +12,7 @@ export declare namespace PatientListItem {
12
12
  secondary_coverage?: MutableCoverage.Raw | null;
13
13
  tertiary_coverage?: MutableCoverage.Raw | null;
14
14
  next_appointment?: MutableAppointment.Raw | null;
15
+ primary_mrn?: string | null;
16
+ alternative_mrns: string[];
15
17
  }
16
18
  }
@@ -45,4 +45,6 @@ exports.PatientListItem = core.serialization.object({
45
45
  secondaryCoverage: core.serialization.property("secondary_coverage", MutableCoverage_1.MutableCoverage.optional()),
46
46
  tertiaryCoverage: core.serialization.property("tertiary_coverage", MutableCoverage_1.MutableCoverage.optional()),
47
47
  nextAppointment: core.serialization.property("next_appointment", MutableAppointment_1.MutableAppointment.optional()),
48
+ primaryMrn: core.serialization.property("primary_mrn", core.serialization.string().optional()),
49
+ alternativeMrns: core.serialization.property("alternative_mrns", core.serialization.list(core.serialization.string())),
48
50
  });
@@ -0,0 +1,12 @@
1
+ import * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
5
+ export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.getCoverageSnapshot.Error.Raw, CandidApi.preEncounter.patients.v1.getCoverageSnapshot.Error>;
6
+ export declare namespace Error {
7
+ type Raw = Error.NotFoundError;
8
+ interface NotFoundError {
9
+ errorName: "NotFoundError";
10
+ content: ErrorBase4Xx.Raw;
11
+ }
12
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Error = void 0;
49
+ const CandidApi = __importStar(require("../../../../../../../../api/index"));
50
+ const core = __importStar(require("../../../../../../../../core"));
51
+ const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
52
+ exports.Error = core.serialization
53
+ .union("errorName", {
54
+ NotFoundError: core.serialization.object({
55
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "NotFoundError":
62
+ return CandidApi.preEncounter.patients.v1.getCoverageSnapshot.Error.notFoundError(value.content);
63
+ }
64
+ },
65
+ untransform: (_a) => {
66
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
67
+ return value;
68
+ },
69
+ });
@@ -3,6 +3,7 @@ export * as createWithMrn from "./createWithMrn";
3
3
  export * as deactivate from "./deactivate";
4
4
  export * as get from "./get";
5
5
  export * as getByMrn from "./getByMrn";
6
+ export * as getCoverageSnapshot from "./getCoverageSnapshot";
6
7
  export * as getHistory from "./getHistory";
7
8
  export * as reactivate from "./reactivate";
8
9
  export * as scan from "./scan";
@@ -33,12 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.update = exports.searchProviders = exports.search = exports.scan = exports.reactivate = exports.getHistory = exports.getByMrn = exports.get = exports.deactivate = exports.createWithMrn = exports.create = void 0;
36
+ exports.update = exports.searchProviders = exports.search = exports.scan = exports.reactivate = exports.getHistory = exports.getCoverageSnapshot = exports.getByMrn = exports.get = exports.deactivate = exports.createWithMrn = exports.create = void 0;
37
37
  exports.create = __importStar(require("./create"));
38
38
  exports.createWithMrn = __importStar(require("./createWithMrn"));
39
39
  exports.deactivate = __importStar(require("./deactivate"));
40
40
  exports.get = __importStar(require("./get"));
41
41
  exports.getByMrn = __importStar(require("./getByMrn"));
42
+ exports.getCoverageSnapshot = __importStar(require("./getCoverageSnapshot"));
42
43
  exports.getHistory = __importStar(require("./getHistory"));
43
44
  exports.reactivate = __importStar(require("./reactivate"));
44
45
  exports.scan = __importStar(require("./scan"));
@@ -19,5 +19,6 @@ export declare namespace Authorization {
19
19
  quantity?: number | null;
20
20
  period?: Period.Raw | null;
21
21
  notes?: string | null;
22
+ billing_provider_npi?: string | null;
22
23
  }
23
24
  }
@@ -52,4 +52,5 @@ exports.Authorization = core.serialization.object({
52
52
  quantity: core.serialization.number().optional(),
53
53
  period: Period_1.Period.optional(),
54
54
  notes: core.serialization.string().optional(),
55
+ billingProviderNpi: core.serialization.property("billing_provider_npi", core.serialization.string().optional()),
55
56
  });
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ import { CoverageId } from "../../../../common/types/CoverageId";
5
+ export declare const CoveragesForRelatedCauses: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.CoveragesForRelatedCauses.Raw, CandidApi.preEncounter.patients.v1.CoveragesForRelatedCauses>;
6
+ export declare namespace CoveragesForRelatedCauses {
7
+ interface Raw {
8
+ coverages: CoverageId.Raw[];
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CoveragesForRelatedCauses = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ const CoverageId_1 = require("../../../../common/types/CoverageId");
40
+ exports.CoveragesForRelatedCauses = core.serialization.object({
41
+ coverages: core.serialization.list(CoverageId_1.CoverageId),
42
+ });
@@ -19,6 +19,7 @@ import { SexualOrientation } from "../../../../common/types/SexualOrientation";
19
19
  import { TagId } from "../../../../common/types/TagId";
20
20
  import { Authorization } from "./Authorization";
21
21
  import { Contact } from "./Contact";
22
+ import { CoveragesForRelatedCauses } from "./CoveragesForRelatedCauses";
22
23
  import { DoNotInvoiceReason } from "./DoNotInvoiceReason";
23
24
  import { ExternalProvenance } from "./ExternalProvenance";
24
25
  import { FilingOrder } from "./FilingOrder";
@@ -57,6 +58,7 @@ export declare namespace MutablePatient {
57
58
  contacts: Contact.Raw[];
58
59
  general_practitioners: ExternalProvider.Raw[];
59
60
  filing_order: FilingOrder.Raw;
61
+ coverages_for_related_causes?: CoveragesForRelatedCauses.Raw | null;
60
62
  non_insurance_payers?: CanonicalNonInsurancePayerId.Raw[] | null;
61
63
  non_insurance_payer_associations?: CanonicalNonInsurancePayerAssociation.Raw[] | null;
62
64
  guarantor?: Guarantor.Raw | null;
@@ -54,6 +54,7 @@ const SexualOrientation_1 = require("../../../../common/types/SexualOrientation"
54
54
  const TagId_1 = require("../../../../common/types/TagId");
55
55
  const Authorization_1 = require("./Authorization");
56
56
  const Contact_1 = require("./Contact");
57
+ const CoveragesForRelatedCauses_1 = require("./CoveragesForRelatedCauses");
57
58
  const DoNotInvoiceReason_1 = require("./DoNotInvoiceReason");
58
59
  const ExternalProvenance_1 = require("./ExternalProvenance");
59
60
  const FilingOrder_1 = require("./FilingOrder");
@@ -90,6 +91,7 @@ exports.MutablePatient = core.serialization.object({
90
91
  contacts: core.serialization.list(Contact_1.Contact),
91
92
  generalPractitioners: core.serialization.property("general_practitioners", core.serialization.list(ExternalProvider_1.ExternalProvider)),
92
93
  filingOrder: core.serialization.property("filing_order", FilingOrder_1.FilingOrder),
94
+ coveragesForRelatedCauses: core.serialization.property("coverages_for_related_causes", CoveragesForRelatedCauses_1.CoveragesForRelatedCauses.optional()),
93
95
  nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(CanonicalNonInsurancePayerId_1.CanonicalNonInsurancePayerId).optional()),
94
96
  nonInsurancePayerAssociations: core.serialization.property("non_insurance_payer_associations", core.serialization.list(CanonicalNonInsurancePayerAssociation_1.CanonicalNonInsurancePayerAssociation).optional()),
95
97
  guarantor: Guarantor_1.Guarantor.optional(),
@@ -0,0 +1,15 @@
1
+ import type * as CandidApi from "../../../../../../../../api/index";
2
+ import * as core from "../../../../../../../../core";
3
+ import type * as serializers from "../../../../../../../index";
4
+ import { Coverage } from "../../../../coverages/resources/v1/types/Coverage";
5
+ import { Patient } from "./Patient";
6
+ export declare const PatientCoverageSnapshot: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.PatientCoverageSnapshot.Raw, CandidApi.preEncounter.patients.v1.PatientCoverageSnapshot>;
7
+ export declare namespace PatientCoverageSnapshot {
8
+ interface Raw {
9
+ patient: Patient.Raw;
10
+ primary_coverage?: Coverage.Raw | null;
11
+ secondary_coverage?: Coverage.Raw | null;
12
+ tertiary_coverage?: Coverage.Raw | null;
13
+ coverages_for_related_causes: Coverage.Raw[];
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.PatientCoverageSnapshot = void 0;
38
+ const core = __importStar(require("../../../../../../../../core"));
39
+ const Coverage_1 = require("../../../../coverages/resources/v1/types/Coverage");
40
+ const Patient_1 = require("./Patient");
41
+ exports.PatientCoverageSnapshot = core.serialization.object({
42
+ patient: Patient_1.Patient,
43
+ primaryCoverage: core.serialization.property("primary_coverage", Coverage_1.Coverage.optional()),
44
+ secondaryCoverage: core.serialization.property("secondary_coverage", Coverage_1.Coverage.optional()),
45
+ tertiaryCoverage: core.serialization.property("tertiary_coverage", Coverage_1.Coverage.optional()),
46
+ coveragesForRelatedCauses: core.serialization.property("coverages_for_related_causes", core.serialization.list(Coverage_1.Coverage)),
47
+ });
@@ -1,6 +1,7 @@
1
1
  export * from "./Authorization";
2
2
  export * from "./AuthorizationUnit";
3
3
  export * from "./Contact";
4
+ export * from "./CoveragesForRelatedCauses";
4
5
  export * from "./DoNotInvoiceReason";
5
6
  export * from "./ExternalProvenance";
6
7
  export * from "./FilingOrder";
@@ -11,6 +12,7 @@ export * from "./MutablePatient";
11
12
  export * from "./MutablePatientWithMrn";
12
13
  export * from "./OriginationDetail";
13
14
  export * from "./Patient";
15
+ export * from "./PatientCoverageSnapshot";
14
16
  export * from "./PatientPage";
15
17
  export * from "./PatientSortField";
16
18
  export * from "./Referral";