@icanbwell/bwell-sdk-ts 1.54.0-rc.1766515022 → 1.55.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 (612) hide show
  1. package/README.md +19 -3
  2. package/dist/__version__.d.ts +1 -1
  3. package/dist/__version__.js +1 -1
  4. package/dist/api/api-provider-factory.d.ts +1 -1
  5. package/dist/api/api-provider-factory.js +2 -1
  6. package/dist/api/base/activity/activity-manager.d.ts +18 -25
  7. package/dist/api/base/activity/get-tasks-request.d.ts +29 -49
  8. package/dist/api/base/activity/get-tasks-request.js +42 -15
  9. package/dist/api/base/activity/index.d.ts +2 -4
  10. package/dist/api/base/activity/index.js +0 -1
  11. package/dist/api/base/api-provider.d.ts +12 -14
  12. package/dist/api/base/connection/connection-manager.d.ts +68 -51
  13. package/dist/api/base/connection/connection-manager.js +3 -0
  14. package/dist/api/base/connection/connection-request.d.ts +15 -1
  15. package/dist/api/base/connection/connection-request.js +8 -0
  16. package/dist/api/base/connection/index.d.ts +1 -1
  17. package/dist/api/base/device/constants.d.ts +3 -0
  18. package/dist/api/base/device/constants.js +3 -0
  19. package/dist/api/base/device/device-manager.d.ts +34 -12
  20. package/dist/api/base/device/device-manager.js +1 -5
  21. package/dist/api/base/device/device-request.d.ts +35 -42
  22. package/dist/api/base/device/device-request.js +30 -42
  23. package/dist/api/base/device/index.d.ts +2 -2
  24. package/dist/api/base/device/index.js +2 -2
  25. package/dist/api/base/financial/coverage-request.d.ts +5 -6
  26. package/dist/api/base/financial/coverage-request.js +7 -7
  27. package/dist/api/base/financial/{explanation-of-benefit.d.ts → explanation-of-benefit-request.d.ts} +15 -9
  28. package/dist/api/base/financial/{explanation-of-benefit.js → explanation-of-benefit-request.js} +8 -18
  29. package/dist/api/base/financial/financial-manager.d.ts +46 -14
  30. package/dist/api/base/financial/index.d.ts +3 -2
  31. package/dist/api/base/financial/index.js +2 -2
  32. package/dist/api/base/health-data/health-data-request.d.ts +116 -8
  33. package/dist/api/base/health-data/health-data-request.js +83 -2
  34. package/dist/api/base/health-data/health-data-response-factory.d.ts +27 -0
  35. package/dist/api/base/health-data/health-manager.d.ts +293 -243
  36. package/dist/api/base/health-data/index.d.ts +2 -3
  37. package/dist/api/base/health-data/index.js +0 -2
  38. package/dist/api/base/health-data/lab-knowledge-request.d.ts +9 -0
  39. package/dist/api/base/health-data/lab-knowledge-request.js +3 -0
  40. package/dist/api/base/health-data/medication-knowledge-request.d.ts +9 -0
  41. package/dist/api/base/health-data/medication-knowledge-request.js +3 -0
  42. package/dist/api/base/health-space/appointments-request.d.ts +9 -0
  43. package/dist/api/base/health-space/appointments-request.js +3 -0
  44. package/dist/api/base/health-space/cancel-appointment-request.d.ts +8 -1
  45. package/dist/api/base/health-space/cancel-appointment-request.js +4 -0
  46. package/dist/api/base/health-space/cancellation-reasons-request.d.ts +28 -0
  47. package/dist/api/base/health-space/{cancelationReasons-request.js → cancellation-reasons-request.js} +10 -4
  48. package/dist/api/base/health-space/health-space-manager.d.ts +29 -116
  49. package/dist/api/base/health-space/index.d.ts +2 -7
  50. package/dist/api/base/health-space/index.js +1 -6
  51. package/dist/api/base/identity/identity-manager.d.ts +98 -11
  52. package/dist/api/base/index.d.ts +1 -3
  53. package/dist/api/base/index.js +2 -3
  54. package/dist/api/base/questionnaire/index.d.ts +1 -4
  55. package/dist/api/base/questionnaire/index.js +0 -3
  56. package/dist/api/base/questionnaire/next-question-request.d.ts +8 -2
  57. package/dist/api/base/questionnaire/next-question-request.js +4 -1
  58. package/dist/api/base/questionnaire/questionnaire-manager.d.ts +24 -42
  59. package/dist/api/base/requests/field-sort-order.d.ts +11 -0
  60. package/dist/api/base/requests/index.d.ts +2 -0
  61. package/dist/api/base/requests/search-date.d.ts +12 -0
  62. package/dist/api/base/requests/search-reference.d.ts +9 -1
  63. package/dist/api/base/requests/search-string.d.ts +6 -0
  64. package/dist/api/base/requests/search-token.d.ts +18 -0
  65. package/dist/api/base/requests/search-token.js +17 -17
  66. package/dist/api/base/search/index.d.ts +3 -5
  67. package/dist/api/base/search/index.js +1 -3
  68. package/dist/api/base/search/search-health-resources-request.d.ts +33 -44
  69. package/dist/api/base/search/search-health-resources-request.js +3 -0
  70. package/dist/api/base/search/search-manager.d.ts +39 -42
  71. package/dist/api/base/search/submit-provider-for-review-request.d.ts +33 -0
  72. package/dist/api/base/search/submit-provider-for-review-request.js +9 -0
  73. package/dist/api/base/user/create-consent-request.d.ts +13 -1
  74. package/dist/api/base/user/create-consent-request.js +10 -5
  75. package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +9 -0
  76. package/dist/api/base/user/create-data-export-direct-download-url-request.js +3 -0
  77. package/dist/api/base/user/create-verification-url-request.d.ts +12 -0
  78. package/dist/api/base/user/create-verification-url-request.js +6 -0
  79. package/dist/api/base/user/get-consents-request.d.ts +19 -1
  80. package/dist/api/base/user/get-consents-request.js +13 -1
  81. package/dist/api/base/user/index.d.ts +1 -2
  82. package/dist/api/base/user/update-profile-request.d.ts +11 -3
  83. package/dist/api/base/user/update-profile-request.js +5 -3
  84. package/dist/api/base/user/user-manager.d.ts +100 -49
  85. package/dist/api/base/user/validators.d.ts +5 -0
  86. package/dist/api/base/user/validators.js +13 -0
  87. package/dist/api/graphql-api/activity/{activity-request-factories.d.ts → get-tasks-request-factory.d.ts} +0 -7
  88. package/dist/api/graphql-api/activity/get-tasks-request-factory.js +56 -0
  89. package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +6 -8
  90. package/dist/api/graphql-api/activity/graphql-activity-manager.js +19 -30
  91. package/dist/api/graphql-api/activity/index.d.ts +1 -1
  92. package/dist/api/graphql-api/activity/index.js +1 -1
  93. package/dist/api/graphql-api/connection/connection-response-factory.d.ts +7 -0
  94. package/dist/api/graphql-api/connection/connection-response-factory.js +101 -0
  95. package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +9 -9
  96. package/dist/api/graphql-api/connection/graphql-connection-manager.js +7 -5
  97. package/dist/api/graphql-api/connection/index.d.ts +0 -1
  98. package/dist/api/graphql-api/connection/index.js +1 -1
  99. package/dist/api/graphql-api/device/graphql-device-manager.d.ts +2 -1
  100. package/dist/api/graphql-api/device/graphql-device-manager.js +4 -2
  101. package/dist/api/graphql-api/errors/errors.js +1 -1
  102. package/dist/api/graphql-api/financial/coverage-request-factory.d.ts +9 -0
  103. package/dist/api/graphql-api/financial/coverage-request-factory.js +19 -0
  104. package/dist/api/graphql-api/financial/{graphql-explanation-of-benefits-factory.d.ts → explanation-of-benefit-request-factory.d.ts} +3 -3
  105. package/dist/api/graphql-api/financial/explanation-of-benefit-request-factory.js +19 -0
  106. package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +4 -12
  107. package/dist/api/graphql-api/financial/graphql-financial-manager.js +32 -19
  108. package/dist/api/graphql-api/financial/index.d.ts +3 -1
  109. package/dist/api/graphql-api/financial/index.js +3 -1
  110. package/dist/api/graphql-api/graphql-api-provider.d.ts +6 -14
  111. package/dist/api/graphql-api/graphql-api-provider.js +6 -7
  112. package/dist/api/graphql-api/health-space/cancel-appointment-request-factory.js +1 -2
  113. package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +5 -62
  114. package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +9 -163
  115. package/dist/api/graphql-api/health-space/index.d.ts +0 -4
  116. package/dist/api/graphql-api/health-space/index.js +0 -4
  117. package/dist/api/graphql-api/healthdata/get-encounters-request-factory.d.ts +7 -0
  118. package/dist/api/graphql-api/healthdata/get-encounters-request-factory.js +76 -0
  119. package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +6 -0
  120. package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +25 -0
  121. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +30 -41
  122. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +311 -256
  123. package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +18 -0
  124. package/dist/api/graphql-api/healthdata/health-data-request-factory.js +25 -0
  125. package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +8 -0
  126. package/dist/api/graphql-api/healthdata/health-data-response-factory.js +58 -0
  127. package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +2 -1
  128. package/dist/api/graphql-api/identity/graphql-identity-manager.js +5 -3
  129. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +4 -22
  130. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +4 -69
  131. package/dist/api/graphql-api/questionnaire/index.d.ts +0 -2
  132. package/dist/api/graphql-api/questionnaire/index.js +0 -2
  133. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +4 -6
  134. package/dist/api/graphql-api/search/graphql-search-manager.js +9 -71
  135. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +12 -11
  136. package/dist/api/graphql-api/search/submit-provider-for-review-request-factory.d.ts +6 -0
  137. package/dist/api/graphql-api/search/{request-connection-request-factory.js → submit-provider-for-review-request-factory.js} +1 -1
  138. package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +1 -2
  139. package/dist/api/graphql-api/user/get-consent-request-factory.js +5 -1
  140. package/dist/api/graphql-api/user/graphql-user-manager.d.ts +10 -11
  141. package/dist/api/graphql-api/user/graphql-user-manager.js +11 -10
  142. package/dist/api/graphql-api/user/update-profile-request-factory.js +1 -2
  143. package/dist/api/identity-manager-factory.js +1 -1
  144. package/dist/auth/auth-code-strategy.d.ts +2 -1
  145. package/dist/auth/auth-strategy.d.ts +1 -1
  146. package/dist/auth/credentials.d.ts +1 -1
  147. package/dist/auth/credentials.js +2 -2
  148. package/dist/auth/oauth-strategy.d.ts +2 -1
  149. package/dist/auth/username-password-strategy.d.ts +2 -1
  150. package/dist/auth/username-password-strategy.js +2 -2
  151. package/dist/bwell-sdk/bwell-sdk.d.ts +319 -48
  152. package/dist/bwell-sdk/bwell-sdk.js +368 -53
  153. package/dist/config/bwell-config.d.ts +12 -12
  154. package/dist/config/bwell-config.js +2 -5
  155. package/dist/config/sdk-config.d.ts +2 -3
  156. package/dist/config/sdk-config.js +4 -6
  157. package/dist/errors/authentication-error.d.ts +7 -0
  158. package/dist/errors/authentication-error.js +7 -0
  159. package/dist/errors/bwell-error.d.ts +12 -2
  160. package/dist/errors/bwell-error.js +5 -2
  161. package/dist/errors/illegal-argument-error.d.ts +7 -0
  162. package/dist/errors/illegal-argument-error.js +7 -0
  163. package/dist/errors/illegal-state-error.d.ts +7 -0
  164. package/dist/errors/illegal-state-error.js +7 -0
  165. package/dist/errors/invalid-client-key-error.d.ts +7 -0
  166. package/dist/errors/invalid-client-key-error.js +7 -0
  167. package/dist/errors/invalid-credentials-type-error.d.ts +7 -0
  168. package/dist/errors/invalid-credentials-type-error.js +7 -0
  169. package/dist/errors/invalid-token-error.d.ts +4 -1
  170. package/dist/errors/invalid-token-error.js +4 -1
  171. package/dist/errors/network-error.d.ts +7 -0
  172. package/dist/errors/network-error.js +7 -0
  173. package/dist/errors/operation-outcome-error.d.ts +8 -1
  174. package/dist/errors/operation-outcome-error.js +7 -0
  175. package/dist/errors/unknown-error.d.ts +7 -0
  176. package/dist/errors/unknown-error.js +7 -0
  177. package/dist/errors/validation-error.d.ts +7 -0
  178. package/dist/errors/validation-error.js +7 -0
  179. package/dist/graphql/operations/index.d.ts +116 -315
  180. package/dist/graphql/operations/index.js +1891 -2311
  181. package/dist/graphql/operations/types.d.ts +16893 -18936
  182. package/dist/graphql/schema.d.ts +68323 -5995
  183. package/dist/graphql/schema.js +1 -484
  184. package/dist/index.d.ts +7 -5
  185. package/dist/index.js +5 -4
  186. package/dist/language/language-manager.d.ts +25 -10
  187. package/dist/language/language-manager.js +5 -0
  188. package/dist/models/activity/index.d.ts +1 -0
  189. package/dist/models/activity/task.d.ts +77 -0
  190. package/dist/models/common/address.d.ts +41 -0
  191. package/dist/models/common/annotation.d.ts +18 -0
  192. package/dist/models/common/annotation.js +1 -0
  193. package/dist/models/common/attachment.d.ts +18 -0
  194. package/dist/models/common/attachment.js +1 -0
  195. package/dist/models/common/bundle.d.ts +83 -0
  196. package/dist/models/common/bundle.js +1 -0
  197. package/dist/models/common/codeable-concept.d.ts +17 -0
  198. package/dist/models/common/codeable-concept.js +1 -0
  199. package/dist/models/common/coding.d.ts +18 -0
  200. package/dist/models/common/coding.js +1 -0
  201. package/dist/models/common/component.d.ts +23 -0
  202. package/dist/models/common/component.js +1 -0
  203. package/dist/models/common/contact-point.d.ts +32 -0
  204. package/dist/models/common/contact-point.js +1 -0
  205. package/dist/models/common/dispense-request.d.ts +67 -0
  206. package/dist/models/common/dispense-request.js +1 -0
  207. package/dist/models/common/dosage.d.ts +68 -0
  208. package/dist/models/common/dosage.js +1 -0
  209. package/dist/models/common/endpoint.d.ts +23 -0
  210. package/dist/models/common/endpoint.js +1 -0
  211. package/dist/models/common/expression.d.ts +20 -0
  212. package/dist/models/common/expression.js +1 -0
  213. package/dist/models/common/extension.d.ts +49 -0
  214. package/dist/models/common/extension.js +1 -0
  215. package/dist/models/common/fhir-error.d.ts +23 -0
  216. package/dist/models/common/fhir-error.js +1 -0
  217. package/dist/models/common/human-name.d.ts +20 -0
  218. package/dist/models/common/human-name.js +1 -0
  219. package/dist/models/common/identifier.d.ts +19 -0
  220. package/dist/models/common/identifier.js +1 -0
  221. package/dist/models/common/index.d.ts +38 -0
  222. package/dist/models/common/index.js +2 -0
  223. package/dist/models/common/location.d.ts +51 -0
  224. package/dist/models/common/location.js +1 -0
  225. package/dist/models/common/medication.d.ts +42 -0
  226. package/dist/models/common/medication.js +1 -0
  227. package/dist/models/common/meta.d.ts +21 -0
  228. package/dist/models/common/meta.js +1 -0
  229. package/dist/models/common/money.d.ts +15 -0
  230. package/dist/models/common/money.js +1 -0
  231. package/dist/models/common/narrative.d.ts +14 -0
  232. package/dist/models/common/narrative.js +1 -0
  233. package/dist/models/common/operation-outcome.d.ts +48 -0
  234. package/dist/models/common/operation-outcome.js +1 -0
  235. package/dist/models/common/organization.d.ts +46 -0
  236. package/dist/models/common/organization.js +1 -0
  237. package/dist/models/common/paging-info.d.ts +18 -0
  238. package/dist/models/common/paging-info.js +1 -0
  239. package/dist/models/common/patient.d.ts +13 -0
  240. package/dist/models/common/patient.js +1 -0
  241. package/dist/models/common/period.d.ts +14 -0
  242. package/dist/models/common/period.js +1 -0
  243. package/dist/models/common/practitioner-role.d.ts +42 -0
  244. package/dist/models/common/practitioner-role.js +1 -0
  245. package/dist/models/common/practitioner.d.ts +17 -0
  246. package/dist/models/common/practitioner.js +1 -0
  247. package/dist/models/common/quantity.d.ts +20 -0
  248. package/dist/models/common/quantity.js +1 -0
  249. package/dist/models/common/range.d.ts +15 -0
  250. package/dist/models/common/range.js +1 -0
  251. package/dist/models/common/ratio.d.ts +15 -0
  252. package/dist/models/common/ratio.js +1 -0
  253. package/dist/models/common/reference-range.d.ts +13 -0
  254. package/dist/models/common/reference-range.js +1 -0
  255. package/dist/models/common/reference.d.ts +27 -0
  256. package/dist/models/common/reference.js +1 -0
  257. package/dist/models/common/related-person.d.ts +34 -0
  258. package/dist/models/common/related-person.js +1 -0
  259. package/dist/models/common/score.d.ts +16 -0
  260. package/dist/models/common/score.js +1 -0
  261. package/dist/models/common/service-request.d.ts +21 -0
  262. package/dist/models/common/service-request.js +1 -0
  263. package/dist/models/common/specimen.d.ts +30 -0
  264. package/dist/models/common/specimen.js +7 -0
  265. package/dist/models/common/timing.d.ts +107 -0
  266. package/dist/models/common/timing.js +1 -0
  267. package/dist/models/common/value.d.ts +22 -0
  268. package/dist/models/common/value.js +1 -0
  269. package/dist/models/connection/base-connection.d.ts +27 -0
  270. package/dist/models/connection/base-connection.js +1 -0
  271. package/dist/models/connection/connection-status.d.ts +15 -0
  272. package/dist/models/connection/connection-status.js +1 -0
  273. package/dist/models/connection/connection.d.ts +32 -0
  274. package/dist/models/connection/connection.js +1 -0
  275. package/dist/models/connection/data-source.d.ts +27 -0
  276. package/dist/models/connection/data-source.js +1 -0
  277. package/dist/models/connection/index.d.ts +6 -0
  278. package/dist/models/connection/index.js +1 -0
  279. package/dist/models/connection/member-connection.d.ts +37 -0
  280. package/dist/models/connection/member-connection.js +1 -0
  281. package/dist/models/connection/oauth-url.d.ts +12 -0
  282. package/dist/models/connection/oauth-url.js +1 -0
  283. package/dist/models/device/device-registration-results.d.ts +12 -0
  284. package/dist/models/device/device-registration-results.js +1 -0
  285. package/dist/models/device/index.d.ts +1 -0
  286. package/dist/models/device/index.js +1 -0
  287. package/dist/models/enums/category-code.d.ts +11 -0
  288. package/dist/models/enums/category-code.js +13 -0
  289. package/dist/models/enums/connection-category.d.ts +9 -0
  290. package/dist/models/enums/connection-category.js +1 -0
  291. package/dist/models/enums/consent-provision-type.d.ts +11 -0
  292. package/dist/models/enums/consent-provision-type.js +2 -0
  293. package/dist/models/enums/consent-status.d.ts +11 -0
  294. package/dist/models/enums/consent-status.js +9 -0
  295. package/dist/models/enums/data-connection-status.d.ts +9 -0
  296. package/dist/models/enums/data-connection-status.js +1 -0
  297. package/dist/models/enums/data-connection-type.d.ts +9 -0
  298. package/dist/models/enums/data-connection-type.js +1 -0
  299. package/dist/models/enums/data-set.d.ts +10 -0
  300. package/dist/models/enums/data-set.js +1 -0
  301. package/dist/models/enums/device-platform.d.ts +11 -0
  302. package/dist/models/enums/device-platform.js +2 -0
  303. package/dist/models/enums/endpoint-status.d.ts +9 -0
  304. package/dist/models/enums/endpoint-status.js +1 -0
  305. package/dist/models/enums/filter-field.d.ts +9 -0
  306. package/dist/models/enums/filter-field.js +1 -0
  307. package/dist/models/enums/gender.d.ts +9 -0
  308. package/dist/models/enums/gender.js +1 -0
  309. package/dist/models/enums/index.d.ts +18 -0
  310. package/dist/models/enums/index.js +5 -0
  311. package/dist/models/enums/log-level.d.ts +8 -0
  312. package/dist/models/enums/log-level.js +1 -0
  313. package/dist/models/enums/person-gender.d.ts +11 -0
  314. package/dist/models/enums/person-gender.js +7 -0
  315. package/dist/models/enums/search-context.d.ts +10 -0
  316. package/dist/models/enums/search-context.js +1 -0
  317. package/dist/models/enums/search-result-type.d.ts +9 -0
  318. package/dist/models/enums/search-result-type.js +1 -0
  319. package/dist/models/enums/sort-field.d.ts +10 -0
  320. package/dist/models/enums/sort-field.js +1 -0
  321. package/dist/models/enums/sort-order.d.ts +9 -0
  322. package/dist/models/enums/sort-order.js +1 -0
  323. package/dist/models/enums/sync-status.d.ts +9 -0
  324. package/dist/models/enums/sync-status.js +1 -0
  325. package/dist/models/financial/coverage-bundle.d.ts +18 -0
  326. package/dist/models/financial/coverage-bundle.js +1 -0
  327. package/dist/models/financial/coverage.d.ts +65 -0
  328. package/dist/models/financial/coverage.js +1 -0
  329. package/dist/models/financial/explanation-of-benefit-bundle.d.ts +26 -0
  330. package/dist/models/financial/explanation-of-benefit-bundle.js +1 -0
  331. package/dist/models/financial/explanation-of-benefit.d.ts +274 -0
  332. package/dist/models/financial/explanation-of-benefit.js +1 -0
  333. package/dist/models/financial/index.d.ts +4 -0
  334. package/dist/models/financial/index.js +4 -0
  335. package/dist/models/health-data/allergy-intolerance-bundle.d.ts +11 -0
  336. package/dist/models/health-data/allergy-intolerance-bundle.js +1 -0
  337. package/dist/models/health-data/allergy-intolerance-group.d.ts +44 -0
  338. package/dist/models/health-data/allergy-intolerance-group.js +1 -0
  339. package/dist/models/health-data/allergy-intolerance-reaction.d.ts +23 -0
  340. package/dist/models/health-data/allergy-intolerance-reaction.js +1 -0
  341. package/dist/models/health-data/allergy-intolerance.d.ts +54 -0
  342. package/dist/models/health-data/allergy-intolerance.js +1 -0
  343. package/dist/models/health-data/care-plan-group.d.ts +42 -0
  344. package/dist/models/health-data/care-plan-group.js +1 -0
  345. package/dist/models/health-data/care-plan.d.ts +134 -0
  346. package/dist/models/health-data/care-plan.js +1 -0
  347. package/dist/models/health-data/care-team.d.ts +77 -0
  348. package/dist/models/health-data/care-team.js +1 -0
  349. package/dist/models/health-data/condition-group.d.ts +42 -0
  350. package/dist/models/health-data/condition-group.js +1 -0
  351. package/dist/models/health-data/condition.d.ts +104 -0
  352. package/dist/models/health-data/condition.js +1 -0
  353. package/dist/models/health-data/diagnostic-report-lab-group.d.ts +45 -0
  354. package/dist/models/health-data/diagnostic-report-lab-group.js +1 -0
  355. package/dist/models/health-data/diagnostic-report.d.ts +90 -0
  356. package/dist/models/health-data/diagnostic-report.js +1 -0
  357. package/dist/models/health-data/encounter-group.d.ts +48 -0
  358. package/dist/models/health-data/encounter-group.js +1 -0
  359. package/dist/models/health-data/encounter.d.ts +79 -0
  360. package/dist/models/health-data/encounter.js +1 -0
  361. package/dist/models/health-data/health-summary.d.ts +18 -0
  362. package/dist/models/health-data/health-summary.js +1 -0
  363. package/dist/models/health-data/immunization-group.d.ts +41 -0
  364. package/dist/models/health-data/immunization-group.js +1 -0
  365. package/dist/models/health-data/immunization.d.ts +150 -0
  366. package/dist/models/health-data/immunization.js +1 -0
  367. package/dist/models/health-data/index.d.ts +30 -0
  368. package/dist/models/health-data/index.js +1 -0
  369. package/dist/models/health-data/lab-bundle.d.ts +26 -0
  370. package/dist/models/health-data/lab-bundle.js +1 -0
  371. package/dist/models/health-data/lab-group.d.ts +51 -0
  372. package/dist/models/health-data/lab-group.js +1 -0
  373. package/dist/models/health-data/lab-knowledge.d.ts +28 -0
  374. package/dist/models/health-data/lab-knowledge.js +1 -0
  375. package/dist/models/health-data/medication-dispense.d.ts +108 -0
  376. package/dist/models/health-data/medication-dispense.js +1 -0
  377. package/dist/models/health-data/medication-group.d.ts +43 -0
  378. package/dist/models/health-data/medication-group.js +1 -0
  379. package/dist/models/health-data/medication-knowledge.d.ts +30 -0
  380. package/dist/models/health-data/medication-knowledge.js +1 -0
  381. package/dist/models/health-data/medication-pricing.d.ts +28 -0
  382. package/dist/models/health-data/medication-pricing.js +1 -0
  383. package/dist/models/health-data/medication-request.d.ts +107 -0
  384. package/dist/models/health-data/medication-request.js +1 -0
  385. package/dist/models/health-data/medication-statement.d.ts +68 -0
  386. package/dist/models/health-data/medication-statement.js +1 -0
  387. package/dist/models/health-data/observation.d.ts +102 -0
  388. package/dist/models/health-data/observation.js +1 -0
  389. package/dist/models/health-data/procedure-group.d.ts +43 -0
  390. package/dist/models/health-data/procedure-group.js +1 -0
  391. package/dist/models/health-data/procedure.d.ts +84 -0
  392. package/dist/models/health-data/procedure.js +1 -0
  393. package/dist/models/health-data/vital-sign-bundle.d.ts +18 -0
  394. package/dist/models/health-data/vital-sign-bundle.js +1 -0
  395. package/dist/models/health-data/vital-sign-group.d.ts +51 -0
  396. package/dist/models/health-data/vital-sign-group.js +1 -0
  397. package/dist/models/health-space/appointment-bundle.d.ts +11 -0
  398. package/dist/models/health-space/appointment-bundle.js +1 -0
  399. package/dist/models/health-space/appointment-participant.d.ts +17 -0
  400. package/dist/models/health-space/appointment-participant.js +1 -0
  401. package/dist/models/health-space/appointment-update.d.ts +14 -0
  402. package/dist/models/health-space/appointment-update.js +1 -0
  403. package/dist/models/health-space/appointment.d.ts +30 -0
  404. package/dist/models/health-space/appointment.js +1 -0
  405. package/dist/models/health-space/cancellation-reasons.d.ts +32 -0
  406. package/dist/models/health-space/cancellation-reasons.js +1 -0
  407. package/dist/models/health-space/index.d.ts +5 -0
  408. package/dist/models/health-space/index.js +1 -0
  409. package/dist/models/identity/auth-tokens.d.ts +25 -0
  410. package/dist/models/identity/auth-tokens.js +1 -0
  411. package/dist/models/identity/create-guest-access-token-results.d.ts +12 -0
  412. package/dist/models/identity/create-guest-access-token-results.js +1 -0
  413. package/dist/models/identity/index.d.ts +4 -0
  414. package/dist/models/identity/index.js +1 -0
  415. package/dist/models/identity/refresh-token-results.d.ts +8 -0
  416. package/dist/models/identity/refresh-token-results.js +1 -0
  417. package/dist/models/identity/sdk-configuration-result.d.ts +26 -0
  418. package/dist/models/identity/sdk-configuration-result.js +1 -0
  419. package/dist/models/index.d.ts +12 -4
  420. package/dist/models/index.js +12 -4
  421. package/dist/models/questionnaire/index.d.ts +5 -0
  422. package/dist/models/questionnaire/index.js +1 -0
  423. package/dist/models/questionnaire/questionnaire-item.d.ts +38 -0
  424. package/dist/models/questionnaire/questionnaire-item.js +1 -0
  425. package/dist/models/questionnaire/questionnaire-response-answer.d.ts +33 -0
  426. package/dist/models/questionnaire/questionnaire-response-answer.js +1 -0
  427. package/dist/models/questionnaire/questionnaire-response-item.d.ts +19 -0
  428. package/dist/models/questionnaire/questionnaire-response-item.js +1 -0
  429. package/dist/models/questionnaire/questionnaire-response.d.ts +29 -0
  430. package/dist/models/questionnaire/questionnaire-response.js +1 -0
  431. package/dist/models/questionnaire/questionnaire.d.ts +30 -0
  432. package/dist/models/questionnaire/questionnaire.js +1 -0
  433. package/dist/models/search/health-resources.d.ts +133 -0
  434. package/dist/models/search/health-resources.js +1 -0
  435. package/dist/models/search/index.d.ts +2 -0
  436. package/dist/models/search/index.js +1 -0
  437. package/dist/models/search/provider-review-result.d.ts +15 -0
  438. package/dist/models/search/provider-review-result.js +1 -0
  439. package/dist/models/user/consent.d.ts +100 -0
  440. package/dist/models/user/consent.js +1 -0
  441. package/dist/models/user/index.d.ts +4 -0
  442. package/dist/models/user/index.js +1 -0
  443. package/dist/models/user/person.d.ts +43 -0
  444. package/dist/models/user/person.js +1 -0
  445. package/dist/models/user/user.d.ts +12 -0
  446. package/dist/models/user/user.js +1 -0
  447. package/dist/models/user/verification-result.d.ts +30 -0
  448. package/dist/models/user/verification-result.js +1 -0
  449. package/dist/requests/paged-request.d.ts +35 -0
  450. package/dist/requests/paged-request.js +22 -0
  451. package/dist/requests/request.d.ts +16 -0
  452. package/dist/requests/request.js +8 -0
  453. package/dist/requests/validator.d.ts +15 -0
  454. package/dist/requests/validator.js +7 -0
  455. package/dist/results/bwell-query-result.d.ts +5 -0
  456. package/dist/results/bwell-query-result.js +5 -0
  457. package/dist/results/bwell-transaction-result.d.ts +17 -3
  458. package/dist/results/bwell-transaction-result.js +15 -1
  459. package/dist/results/index.d.ts +1 -0
  460. package/dist/results/index.js +1 -0
  461. package/dist/telemetry/open-telemetry-instrumentation.js +1 -4
  462. package/dist/tokens/index.d.ts +2 -0
  463. package/dist/tokens/index.js +2 -0
  464. package/dist/tokens/jwt-token-manager.d.ts +3 -7
  465. package/dist/tokens/jwt-token-manager.js +9 -8
  466. package/dist/tokens/load-auth-tokens.d.ts +6 -0
  467. package/dist/tokens/load-auth-tokens.js +43 -0
  468. package/dist/tokens/token-manager.d.ts +12 -0
  469. package/dist/tokens/token-manager.js +5 -0
  470. package/dist/tokens/token-storage.d.ts +20 -0
  471. package/dist/tokens/token-storage.js +19 -0
  472. package/dist/utils/index.d.ts +1 -1
  473. package/dist/utils/index.js +1 -1
  474. package/dist/utils/parsing-utils.d.ts +11 -1
  475. package/dist/utils/parsing-utils.js +33 -1
  476. package/dist/utils/search-token-utils.d.ts +8 -0
  477. package/dist/utils/search-token-utils.js +23 -0
  478. package/package.json +23 -19
  479. package/dist/api/base/activity/types.d.ts +0 -3
  480. package/dist/api/base/activity/types.js +0 -5
  481. package/dist/api/base/activity/update-task-status-request.d.ts +0 -18
  482. package/dist/api/base/activity/update-task-status-request.js +0 -15
  483. package/dist/api/base/event/event-manager.d.ts +0 -16
  484. package/dist/api/base/event/event-request.d.ts +0 -35
  485. package/dist/api/base/event/event-request.js +0 -64
  486. package/dist/api/base/event/index.d.ts +0 -2
  487. package/dist/api/base/event/index.js +0 -1
  488. package/dist/api/base/health-data/medication-pricing-request.d.ts +0 -21
  489. package/dist/api/base/health-data/medication-pricing-request.js +0 -26
  490. package/dist/api/base/health-data/medication-statement-request.d.ts +0 -29
  491. package/dist/api/base/health-data/medication-statement-request.js +0 -35
  492. package/dist/api/base/health-space/add-care-team-member-request.d.ts +0 -33
  493. package/dist/api/base/health-space/add-care-team-member-request.js +0 -36
  494. package/dist/api/base/health-space/add-care-team-members-request.d.ts +0 -35
  495. package/dist/api/base/health-space/add-care-team-members-request.js +0 -61
  496. package/dist/api/base/health-space/cancelationReasons-request.d.ts +0 -16
  497. package/dist/api/base/health-space/care-team-members-request.d.ts +0 -31
  498. package/dist/api/base/health-space/care-team-members-request.js +0 -33
  499. package/dist/api/base/health-space/remove-care-team-member-request.d.ts +0 -34
  500. package/dist/api/base/health-space/remove-care-team-member-request.js +0 -36
  501. package/dist/api/base/health-space/update-care-team-member-request.d.ts +0 -55
  502. package/dist/api/base/health-space/update-care-team-member-request.js +0 -71
  503. package/dist/api/base/questionnaire/questionnaire-responses-request.d.ts +0 -30
  504. package/dist/api/base/questionnaire/questionnaire-responses-request.js +0 -49
  505. package/dist/api/base/questionnaire/questionnaires-request.d.ts +0 -18
  506. package/dist/api/base/questionnaire/questionnaires-request.js +0 -42
  507. package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +0 -22
  508. package/dist/api/base/questionnaire/save-questionnaire-response-request.js +0 -33
  509. package/dist/api/base/search/request-connection-request.d.ts +0 -24
  510. package/dist/api/base/search/request-connection-request.js +0 -3
  511. package/dist/api/base/search/search-request.d.ts +0 -84
  512. package/dist/api/base/search/search-request.js +0 -78
  513. package/dist/api/base/support/create-support-comment-request.d.ts +0 -13
  514. package/dist/api/base/support/create-support-comment-request.js +0 -18
  515. package/dist/api/base/support/create-support-request-request.d.ts +0 -22
  516. package/dist/api/base/support/create-support-request-request.js +0 -20
  517. package/dist/api/base/support/delete-support-attachment-request.d.ts +0 -11
  518. package/dist/api/base/support/delete-support-attachment-request.js +0 -14
  519. package/dist/api/base/support/get-support-articles-request.d.ts +0 -14
  520. package/dist/api/base/support/get-support-articles-request.js +0 -12
  521. package/dist/api/base/support/get-support-attachment-request.d.ts +0 -14
  522. package/dist/api/base/support/get-support-attachment-request.js +0 -18
  523. package/dist/api/base/support/get-support-comments-request.d.ts +0 -14
  524. package/dist/api/base/support/get-support-comments-request.js +0 -15
  525. package/dist/api/base/support/get-support-requests-request.d.ts +0 -16
  526. package/dist/api/base/support/get-support-requests-request.js +0 -14
  527. package/dist/api/base/support/index.d.ts +0 -9
  528. package/dist/api/base/support/index.js +0 -9
  529. package/dist/api/base/support/support-manager.d.ts +0 -78
  530. package/dist/api/base/support/upload-support-attachment-request.d.ts +0 -25
  531. package/dist/api/base/support/upload-support-attachment-request.js +0 -27
  532. package/dist/api/base/user/types.d.ts +0 -9
  533. package/dist/api/base/user/types.js +0 -17
  534. package/dist/api/graphql-api/activity/activity-request-factories.js +0 -70
  535. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +0 -18
  536. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +0 -40
  537. package/dist/api/graphql-api/event/event-request-factory.d.ts +0 -6
  538. package/dist/api/graphql-api/event/event-request-factory.js +0 -11
  539. package/dist/api/graphql-api/event/graphql-event-manager.d.ts +0 -15
  540. package/dist/api/graphql-api/event/graphql-event-manager.js +0 -65
  541. package/dist/api/graphql-api/event/index.d.ts +0 -1
  542. package/dist/api/graphql-api/event/index.js +0 -1
  543. package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.d.ts +0 -6
  544. package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.js +0 -17
  545. package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +0 -23
  546. package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.d.ts +0 -20
  547. package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.js +0 -29
  548. package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.d.ts +0 -16
  549. package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.js +0 -23
  550. package/dist/api/graphql-api/health-space/care-team-factory-utils.d.ts +0 -23
  551. package/dist/api/graphql-api/health-space/care-team-factory-utils.js +0 -30
  552. package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +0 -12
  553. package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +0 -17
  554. package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.d.ts +0 -16
  555. package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.js +0 -24
  556. package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.d.ts +0 -16
  557. package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.js +0 -20
  558. package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.d.ts +0 -6
  559. package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.js +0 -12
  560. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +0 -10
  561. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +0 -35
  562. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +0 -10
  563. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +0 -35
  564. package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +0 -6
  565. package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +0 -11
  566. package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.d.ts +0 -9
  567. package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.js +0 -22
  568. package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.d.ts +0 -6
  569. package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.js +0 -16
  570. package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +0 -7
  571. package/dist/api/graphql-api/search/connection-search-request-factory.js +0 -21
  572. package/dist/api/graphql-api/search/index.d.ts +0 -1
  573. package/dist/api/graphql-api/search/index.js +0 -1
  574. package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +0 -7
  575. package/dist/api/graphql-api/search/provider-search-request-factory.js +0 -21
  576. package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +0 -6
  577. package/dist/api/graphql-api/search/search-request-factory.d.ts +0 -6
  578. package/dist/api/graphql-api/search/search-request-factory.js +0 -44
  579. package/dist/api/graphql-api/support/create-support-comment-request-factory.d.ts +0 -6
  580. package/dist/api/graphql-api/support/create-support-comment-request-factory.js +0 -12
  581. package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +0 -6
  582. package/dist/api/graphql-api/support/create-support-request-request-factory.js +0 -19
  583. package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +0 -6
  584. package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +0 -10
  585. package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.d.ts +0 -6
  586. package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.js +0 -15
  587. package/dist/api/graphql-api/support/get-support-attachment-request-factory.d.ts +0 -6
  588. package/dist/api/graphql-api/support/get-support-attachment-request-factory.js +0 -11
  589. package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.d.ts +0 -6
  590. package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.js +0 -14
  591. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +0 -6
  592. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +0 -16
  593. package/dist/api/graphql-api/support/graphql-support-manager.d.ts +0 -28
  594. package/dist/api/graphql-api/support/graphql-support-manager.js +0 -210
  595. package/dist/api/graphql-api/support/index.d.ts +0 -1
  596. package/dist/api/graphql-api/support/index.js +0 -1
  597. package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +0 -6
  598. package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +0 -11
  599. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +0 -6
  600. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +0 -9
  601. package/dist/models/coding.d.ts +0 -5
  602. package/dist/models/fhir-error.d.ts +0 -9
  603. package/dist/models/user.d.ts +0 -4
  604. package/dist/utils/date-utils.d.ts +0 -6
  605. package/dist/utils/date-utils.js +0 -8
  606. /package/dist/api/base/{event/event-manager.js → health-data/health-data-response-factory.js} +0 -0
  607. /package/dist/api/base/{support/support-manager.js → requests/field-sort-order.js} +0 -0
  608. /package/dist/models/{coding.js → activity/index.js} +0 -0
  609. /package/dist/models/{fhir-error.js → activity/task.js} +0 -0
  610. /package/dist/models/{user.js → common/address.js} +0 -0
  611. /package/dist/{models → results}/operation-outcome.d.ts +0 -0
  612. /package/dist/{models → results}/operation-outcome.js +0 -0
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Sort order options for health resource searches.
3
+ * Defines the direction in which search results should be sorted.
4
+ *
5
+ * @category Enums
6
+ * @title SortOrder
7
+ * @excerpt Available sort orders for health resource searches
8
+ */
9
+ export type SortOrder = "asc" | "desc";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * SyncStatus enum representing the synchronization status of a connection.
3
+ * Defines the current state of data synchronization for a healthcare provider connection.
4
+ *
5
+ * @category Enums
6
+ * @title SyncStatus
7
+ * @excerpt SyncStatus enum representing the synchronization status of a connection...
8
+ */
9
+ export type SyncStatus = "ERROR" | "PENDING" | "RETRIEVED" | "RETRIEVING" | "DELETING" | "DATA_DELETED";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ import { EntryBundle, IdentifiedResourceEntry } from "../common/bundle.js";
2
+ import { Coverage } from "./coverage.js";
3
+ /**
4
+ * Entry in a coverage bundle with coverage resource and metadata.
5
+ *
6
+ * @category Models
7
+ * @title CoverageEntry
8
+ * @excerpt Entry in a coverage bundle
9
+ */
10
+ export type CoverageEntry = IdentifiedResourceEntry<Coverage>;
11
+ /**
12
+ * Bundle of coverage search results.
13
+ *
14
+ * @category Models
15
+ * @title CoverageBundle
16
+ * @excerpt Bundle of coverage search results
17
+ */
18
+ export type CoverageBundle = EntryBundle<Coverage>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,65 @@
1
+ import { CodeableConcept } from "../common/codeable-concept.js";
2
+ import { Identifier } from "../common/identifier.js";
3
+ import { Period } from "../common/period.js";
4
+ import { Reference } from "../common/reference.js";
5
+ import { Meta, Organization, Patient, RelatedPerson } from "../index.js";
6
+ /**
7
+ * A suite of underwriter specific classifiers.
8
+ *
9
+ * @category Models
10
+ * @title CoverageClass
11
+ * @excerpt A suite of underwriter specific classifiers for insurance coverage
12
+ */
13
+ export type CoverageClass = {
14
+ /** Unique id for the coverage class */
15
+ id: string | null;
16
+ /** Type of class such as 'group', 'plan' */
17
+ type: CodeableConcept | null;
18
+ /** Value associated with the type */
19
+ value: string | null;
20
+ /** Human readable description of the value */
21
+ name: string | null;
22
+ };
23
+ /**
24
+ * Union type representing entities that can pay for coverage.
25
+ * Can be an Organization, Patient, or RelatedPerson.
26
+ *
27
+ * @category Models
28
+ * @title CoveragePayor
29
+ * @excerpt Entity that pays for insurance coverage
30
+ */
31
+ export type CoveragePayor = Organization | Patient | RelatedPerson;
32
+ /**
33
+ * Coverage resource representing insurance or payment coverage.
34
+ * Contains US Core fields for insurance coverage information.
35
+ *
36
+ * @category Models
37
+ * @title Coverage
38
+ * @excerpt Coverage resource representing insurance or payment coverage
39
+ */
40
+ export type Coverage = {
41
+ /** Logical id of this artifact */
42
+ id: string;
43
+ /** Resource type */
44
+ resourceType: string;
45
+ /** Metadata about the resource */
46
+ meta: Meta | null;
47
+ /** The status of the resource instance */
48
+ status: string | null;
49
+ /** The type of coverage */
50
+ type: CodeableConcept | null;
51
+ /** The party who benefits from the insurance coverage */
52
+ beneficiary: Reference<Patient> | null;
53
+ /** The program or plan underwriter or payor */
54
+ payor: (Reference<CoveragePayor> | null)[] | null;
55
+ /** A suite of underwriter specific classifiers */
56
+ class: (CoverageClass | null)[] | null;
57
+ /** Time period during which the coverage is in force */
58
+ period: Period | null;
59
+ /** Business identifiers for this coverage */
60
+ identifier: (Identifier | null)[] | null;
61
+ /** The insurer assigned ID for the Subscriber. */
62
+ subscriberId: string | null;
63
+ /** The relationship of beneficiary to the subscriber */
64
+ relationship: CodeableConcept | null;
65
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,26 @@
1
+ import { EntryBundle, HealthDataResponse, IdentifiedResourceEntry } from "../common/bundle.js";
2
+ import { ExplanationOfBenefit } from "./explanation-of-benefit.js";
3
+ /**
4
+ * Entry in an explanation of benefit bundle with resource and metadata.
5
+ *
6
+ * @category Models
7
+ * @title ExplanationOfBenefitEntry
8
+ * @excerpt Entry in an explanation of benefit bundle
9
+ */
10
+ export type ExplanationOfBenefitEntry = IdentifiedResourceEntry<ExplanationOfBenefit>;
11
+ /**
12
+ * Bundle of explanation of benefit search results.
13
+ *
14
+ * @category Models
15
+ * @title ExplanationOfBenefitBundle
16
+ * @excerpt Bundle of explanation of benefit search results
17
+ */
18
+ export type ExplanationOfBenefitBundle = EntryBundle<ExplanationOfBenefit>;
19
+ /**
20
+ * Response for explanation of benefit search results with paging info.
21
+ *
22
+ * @category Models
23
+ * @title ExplanationOfBenefitResponse
24
+ * @excerpt Response for explanation of benefit search results with paging info.
25
+ */
26
+ export type ExplanationOfBenefitResponse = HealthDataResponse<ExplanationOfBenefit>;
@@ -0,0 +1,274 @@
1
+ import { Attachment, CodeableConcept, Coding, Identifier, Meta, Money, Period, Quantity, Reference } from "../index.js";
2
+ /**
3
+ * Care Team member information.
4
+ *
5
+ * @category Models
6
+ * @title ExplanationOfBenefitCareTeam
7
+ * @excerpt Care team member details
8
+ */
9
+ export type ExplanationOfBenefitCareTeam = {
10
+ /** Unique id for inter-element referencing */
11
+ id: string | null;
12
+ /** Order of care team */
13
+ sequence: number | null;
14
+ /** Practitioner or organization */
15
+ provider: Reference | null;
16
+ /** Function within the team */
17
+ role: CodeableConcept | null;
18
+ /** Practitioner credential or specialization */
19
+ qualification: CodeableConcept | null;
20
+ };
21
+ /**
22
+ * Diagnosis information.
23
+ *
24
+ * @category Models
25
+ * @title ExplanationOfBenefitDiagnosis
26
+ * @excerpt Diagnosis details
27
+ */
28
+ export type ExplanationOfBenefitDiagnosis = {
29
+ /** Unique id for inter-element referencing */
30
+ id: string | null;
31
+ /** Diagnosis instance identifier */
32
+ sequence: number | null;
33
+ /** Nature of illness or problem */
34
+ diagnosisCodeableConcept: CodeableConcept | null;
35
+ /** Nature of illness or problem */
36
+ diagnosisReference: Reference<unknown> | null;
37
+ /** Timing or nature of the diagnosis */
38
+ type: (CodeableConcept | null)[] | null;
39
+ /** Present on admission */
40
+ onAdmission: CodeableConcept | null;
41
+ /** Package billing code */
42
+ packageCode: CodeableConcept | null;
43
+ };
44
+ /**
45
+ * Patient insurance information.
46
+ *
47
+ * @category Models
48
+ * @title ExplanationOfBenefitInsurance
49
+ * @excerpt Insurance coverage information
50
+ */
51
+ export type ExplanationOfBenefitInsurance = {
52
+ /** Coverage to be used for adjudication */
53
+ focal: boolean | null;
54
+ /** Insurance information */
55
+ coverage: Reference | null;
56
+ };
57
+ /**
58
+ * Adjudication details.
59
+ *
60
+ * @category Models
61
+ * @title ExplanationOfBenefitAdjudication
62
+ * @excerpt Adjudication information
63
+ */
64
+ export type ExplanationOfBenefitAdjudication = {
65
+ /** Unique id for inter-element referencing */
66
+ id: string | null;
67
+ /** Type of adjudication information */
68
+ category: CodeableConcept | null;
69
+ /** Monetary amount */
70
+ amount: Money | null;
71
+ /** A code supporting the understanding of the adjudication */
72
+ reason: CodeableConcept | null;
73
+ /** A non-monetary value associated with the category. Mutually exclusive to the amount element above */
74
+ value: number | null;
75
+ };
76
+ /**
77
+ * Product or service provided.
78
+ *
79
+ * @category Models
80
+ * @title ExplanationOfBenefitItem
81
+ * @excerpt Line item details
82
+ */
83
+ export type ExplanationOfBenefitItem = {
84
+ /** Unique id for inter-element referencing */
85
+ id: string | null;
86
+ /** Item instance identifier */
87
+ sequence: number | null;
88
+ /** Anatomical location */
89
+ bodySite: CodeableConcept | null;
90
+ /** Place of service or where product was supplied */
91
+ locationCodeableConcept: CodeableConcept | null;
92
+ /** Product or service billing modifiers */
93
+ modifier: (CodeableConcept | null)[] | null;
94
+ /** Applicable note numbers */
95
+ noteNumber: (number | null)[] | null;
96
+ /** Billing, service, product, or drug code */
97
+ productOrService: CodeableConcept | null;
98
+ /** Count of products or services */
99
+ quantity: Quantity | null;
100
+ /** Revenue or cost center code */
101
+ revenue: CodeableConcept | null;
102
+ /** Total item cost */
103
+ net: Money | null;
104
+ /** Date or dates of service or product delivery */
105
+ servicedDate: string | null;
106
+ /** Date or dates of service or product delivery */
107
+ servicedPeriod: Period | null;
108
+ /** Adjudication details */
109
+ adjudication: (ExplanationOfBenefitAdjudication | null)[] | null;
110
+ };
111
+ /**
112
+ * Supporting information.
113
+ *
114
+ * @category Models
115
+ * @title ExplanationOfBenefitSupportingInfo
116
+ * @excerpt Additional information to support the claim
117
+ */
118
+ export type ExplanationOfBenefitSupportingInfo = {
119
+ /** Information instance identifier */
120
+ sequence: number | null;
121
+ /** Classification of the supplied information */
122
+ category: CodeableConcept | null;
123
+ /** Type of information */
124
+ code: CodeableConcept | null;
125
+ /** When it occurred */
126
+ timingDate: string | null;
127
+ /** When it occurred */
128
+ timingPeriod: Period | null;
129
+ /** Data to be provided */
130
+ valueBoolean: boolean | null;
131
+ /** Data to be provided */
132
+ valueString: string | null;
133
+ /** Data to be provided */
134
+ valueQuantity: Quantity | null;
135
+ /** Data to be provided */
136
+ valueAttachment: Attachment | null;
137
+ /** Data to be provided */
138
+ valueReference: Reference | null;
139
+ /** Explanation for the information */
140
+ reason: Coding | null;
141
+ };
142
+ /**
143
+ * Adjudication totals.
144
+ *
145
+ * @category Models
146
+ * @title ExplanationOfBenefitTotal
147
+ * @excerpt Total benefit amounts
148
+ */
149
+ export type ExplanationOfBenefitTotal = {
150
+ /** Type of adjudication information */
151
+ category: CodeableConcept | null;
152
+ /** Financial total for the category */
153
+ amount: Money | null;
154
+ };
155
+ /**
156
+ * Payment details.
157
+ *
158
+ * @category Models
159
+ * @title ExplanationOfBenefitPayment
160
+ * @excerpt Payment information
161
+ */
162
+ export type ExplanationOfBenefitPayment = {
163
+ /** Unique id for inter-element referencing */
164
+ id: string | null;
165
+ /** Partial or complete payment */
166
+ type: CodeableConcept | null;
167
+ /** Payment adjustment for non-claim issues */
168
+ adjustment: Money | null;
169
+ /** Payable amount after adjustment */
170
+ amount: Money | null;
171
+ /** Expected date of payment */
172
+ date: string | null;
173
+ };
174
+ /**
175
+ * Recipient of benefits payable.
176
+ *
177
+ * @category Models
178
+ * @title ExplanationOfBenefitPayee
179
+ * @excerpt Payee information
180
+ */
181
+ export type ExplanationOfBenefitPayee = {
182
+ /** Category of recipient */
183
+ type: CodeableConcept | null;
184
+ /** Recipient reference */
185
+ party: Reference | null;
186
+ };
187
+ /**
188
+ * Processing notes.
189
+ *
190
+ * @category Models
191
+ * @title ExplanationOfBenefitProcessNote
192
+ * @excerpt Processing note information
193
+ */
194
+ export type ExplanationOfBenefitProcessNote = {
195
+ /** The business purpose of the note text */
196
+ type: string | null;
197
+ /** The explanation or description */
198
+ text: string | null;
199
+ };
200
+ /**
201
+ * Prior or corollary claims.
202
+ *
203
+ * @category Models
204
+ * @title ExplanationOfBenefitRelated
205
+ * @excerpt Related claim information
206
+ */
207
+ export type ExplanationOfBenefitRelated = {
208
+ /** How the reference claim is related */
209
+ relationship: CodeableConcept | null;
210
+ /** File or case reference */
211
+ reference: Identifier | null;
212
+ };
213
+ /**
214
+ * Explanation of Benefit resource.
215
+ * This resource provides the adjudication details from the processing of a claim.
216
+ *
217
+ * @category Models
218
+ * @title ExplanationOfBenefit
219
+ * @excerpt Explanation of Benefit resource for claim adjudication
220
+ */
221
+ export type ExplanationOfBenefit = {
222
+ /** Logical id of this artifact */
223
+ id: string;
224
+ /** Metadata about the resource */
225
+ meta: Meta | null;
226
+ /** Business identifiers for this explanation of benefit */
227
+ identifier: (Identifier | null)[] | null;
228
+ /** Active | cancelled | draft | entered-in-error */
229
+ status: string | null;
230
+ /** Category or discipline */
231
+ type: CodeableConcept | null;
232
+ /** More granular claim type */
233
+ subType: CodeableConcept | null;
234
+ /** claim | preauthorization | predetermination */
235
+ use: string | null;
236
+ /** The recipient of the products and services */
237
+ patient: Reference | null;
238
+ /** The adjudication results which are presented at the header level rather than at the line-item or add-item levels */
239
+ adjudication: (ExplanationOfBenefitAdjudication | null)[] | null;
240
+ /** Relevant time frame for the claim */
241
+ billablePeriod: Period | null;
242
+ /** Benefit eligibility period */
243
+ benefitPeriod: Period | null;
244
+ /** Response creation date */
245
+ created: string | null;
246
+ /** Party responsible for reimbursement */
247
+ insurer: Reference | null;
248
+ /** Party responsible for the claim */
249
+ provider: Reference | null;
250
+ /** Prior or corollary claims */
251
+ related: (ExplanationOfBenefitRelated | null)[] | null;
252
+ /** queued | complete | error | partial */
253
+ outcome: string | null;
254
+ /** Disposition message */
255
+ disposition: string | null;
256
+ /** Care Team members */
257
+ careTeam: (ExplanationOfBenefitCareTeam | null)[] | null;
258
+ /** Pertinent diagnosis information */
259
+ diagnosis: (ExplanationOfBenefitDiagnosis | null)[] | null;
260
+ /** Patient insurance information */
261
+ insurance: (ExplanationOfBenefitInsurance | null)[] | null;
262
+ /** Product or service provided */
263
+ item: (ExplanationOfBenefitItem | null)[] | null;
264
+ /** Adjudication totals */
265
+ total: (ExplanationOfBenefitTotal | null)[] | null;
266
+ /** Supporting information */
267
+ supportingInfo: (ExplanationOfBenefitSupportingInfo | null)[] | null;
268
+ /** Payment details */
269
+ payment: ExplanationOfBenefitPayment | null;
270
+ /** Party to be paid any benefits payable */
271
+ payee: ExplanationOfBenefitPayee | null;
272
+ /** Note text */
273
+ processNote: (ExplanationOfBenefitProcessNote | null)[] | null;
274
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./coverage.js";
2
+ export * from "./coverage-bundle.js";
3
+ export * from "./explanation-of-benefit.js";
4
+ export * from "./explanation-of-benefit-bundle.js";
@@ -0,0 +1,4 @@
1
+ export * from "./coverage.js";
2
+ export * from "./coverage-bundle.js";
3
+ export * from "./explanation-of-benefit.js";
4
+ export * from "./explanation-of-benefit-bundle.js";
@@ -0,0 +1,11 @@
1
+ import type { EntryBundle } from "../common/index.js";
2
+ import { AllergyIntolerance } from "./allergy-intolerance.js";
3
+ /**
4
+ * Bundle of allergy intolerance search results.
5
+ * Contains multiple allergy intolerance entries from search operations.
6
+ *
7
+ * @category Models
8
+ * @title AllergyIntoleranceBundle
9
+ * @excerpt Bundle of allergy intolerance search results
10
+ */
11
+ export type AllergyIntoleranceBundle = EntryBundle<AllergyIntolerance>;
@@ -0,0 +1,44 @@
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
+ /**
3
+ * Grouped allergy intolerance data with summary information.
4
+ * Contains aggregated information about allergies organized by category or substance.
5
+ *
6
+ * @category Models
7
+ * @title AllergyIntoleranceGroup
8
+ * @excerpt Grouped allergy intolerance data with summary information
9
+ */
10
+ export type AllergyIntoleranceGroup = {
11
+ /** Unique identifier for this group */
12
+ id: string | null;
13
+ /** Display name for this group */
14
+ name: string | null;
15
+ /** References to underlying resources */
16
+ references: (string | null)[] | null;
17
+ /** Date when the record was created */
18
+ recordedDate: string | null;
19
+ /** Source of the information */
20
+ source: (string | null)[] | null;
21
+ /** Display names for sources */
22
+ sourceDisplay: (string | null)[] | null;
23
+ /** Coded representation of the allergy */
24
+ coding: Coding | null;
25
+ /** Criticality level for the group */
26
+ criticality: Coding | null;
27
+ };
28
+ /**
29
+ * Response containing grouped allergy intolerance data with paging information.
30
+ * Represents aggregated allergy intolerance information organized by groups.
31
+ *
32
+ * @category Models
33
+ * @title AllergyIntoleranceGroupBundle
34
+ * @excerpt Response containing grouped allergy intolerance data with paging...
35
+ */
36
+ export type AllergyIntoleranceGroupBundle = ResourceBundle<AllergyIntoleranceGroup>;
37
+ /**
38
+ * Response for grouped allergy intolerance data with paging information.
39
+ *
40
+ * @category Models
41
+ * @title AllergyIntoleranceGroupsResponse
42
+ * @excerpt Response for grouped allergy intolerance data with paging information
43
+ */
44
+ export type AllergyIntoleranceGroupsResponse = GroupedHealthDataResponse<AllergyIntoleranceGroup>;
@@ -0,0 +1,23 @@
1
+ import { Annotation, CodeableConcept } from "../common/index.js";
2
+ /**
3
+ * Represents a reaction to an allergy or intolerance.
4
+ * Used within AllergyIntolerance resources to describe adverse reactions.
5
+ *
6
+ * @category Models
7
+ * @title AllergyIntoleranceReaction
8
+ * @excerpt Represents a reaction to an allergy or intolerance
9
+ */
10
+ export type AllergyIntoleranceReaction = {
11
+ /** Unique id for the element within a resource */
12
+ id: string | null;
13
+ /** Date(/time) when manifestations showed */
14
+ onset: string | null;
15
+ /** Clinical assessment of the severity */
16
+ severity: string | null;
17
+ /** Description of the event as a whole */
18
+ description: string | null;
19
+ /** Clinical symptoms/signs associated with the event */
20
+ manifestation: (CodeableConcept | null)[] | null;
21
+ /** Text about event not captured in other fields */
22
+ note: (Annotation | null)[] | null;
23
+ };
@@ -0,0 +1,54 @@
1
+ import type { Annotation, CodeableConcept, HealthDataResponse, Meta, Narrative, Period, Reference } from "../common/index.js";
2
+ import { AllergyIntoleranceReaction } from "./allergy-intolerance-reaction.js";
3
+ /**
4
+ * Represents an allergy or intolerance to a substance.
5
+ * Based on the FHIR AllergyIntolerance resource with GraphQL-compatible structure.
6
+ *
7
+ * @category Models
8
+ * @title AllergyIntolerance
9
+ * @excerpt Represents an allergy or intolerance to a substance
10
+ */
11
+ export type AllergyIntolerance = {
12
+ /** Logical id of this artifact */
13
+ id: string;
14
+ /** A set of rules under which this content was created */
15
+ resourceType: string | null;
16
+ /** Metadata about the resource */
17
+ meta: Meta | null;
18
+ /** Text summary of the resource, for human interpretation */
19
+ text: Narrative | null;
20
+ /** Code for the allergy or intolerance */
21
+ code: CodeableConcept | null;
22
+ /** Category of the allergy/intolerance */
23
+ category: (string | null)[] | null;
24
+ /** Estimate of the potential clinical harm, or seriousness */
25
+ criticality: string | null;
26
+ /** Date(/time) when allergy or intolerance was identified */
27
+ onsetDateTime: string | null;
28
+ /** Date(/time) of last known occurrence of a reaction */
29
+ lastOccurrence: string | null;
30
+ /** Date first version of the resource instance was recorded */
31
+ recordedDate: string | null;
32
+ /** Who recorded the sensitivity */
33
+ recorder: Reference | null;
34
+ /** Period when allergy was active */
35
+ onsetPeriod: Period | null;
36
+ /** Adverse Reaction Events linked to exposure to substance */
37
+ reaction: (AllergyIntoleranceReaction | null)[] | null;
38
+ /** Additional text not captured in other fields */
39
+ note: (Annotation | null)[] | null;
40
+ /** Assertion about certainty associated with the propensity */
41
+ verificationStatus: CodeableConcept | null;
42
+ /** Active, inactive, resolved */
43
+ clinicalStatus: CodeableConcept | null;
44
+ /** Allergy | Intolerance - Underlying mechanism (if known) */
45
+ type: string | null;
46
+ };
47
+ /**
48
+ * Response for allergy intolerance search results with paging info.
49
+ *
50
+ * @category Models
51
+ * @title AllergyIntoleranceResponse
52
+ * @excerpt Response for allergy intolerance search results with paging info.
53
+ */
54
+ export type AllergyIntoleranceResponse = HealthDataResponse<AllergyIntolerance>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,42 @@
1
+ import type { Coding, GroupedHealthDataResponse, Period, ResourceBundle } from "../common/index.js";
2
+ /**
3
+ * Response containing grouped care plan data with paging information.
4
+ * Represents aggregated care plan information organized by groups.
5
+ *
6
+ * @category Models
7
+ * @title CarePlanGroupBundle
8
+ * @excerpt Response containing grouped care plan data with paging...
9
+ */
10
+ export type CarePlanGroupBundle = ResourceBundle<CarePlanGroup>;
11
+ /**
12
+ * Response for grouped care plan data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title CarePlanGroupResponse
16
+ * @excerpt Response for grouped care plan data with paging information
17
+ */
18
+ export type CarePlanGroupsResponse = GroupedHealthDataResponse<CarePlanGroup>;
19
+ /**
20
+ * Grouped care plan data with summary information.
21
+ * Contains aggregated information about care plans organized by category or intent.
22
+ *
23
+ * @category Models
24
+ * @title CarePlanGroup
25
+ * @excerpt Grouped care plan data with summary information
26
+ */
27
+ export type CarePlanGroup = {
28
+ /** Unique identifier for this group */
29
+ id: string | null;
30
+ /** Display name for this group */
31
+ name: string | null;
32
+ /** References to underlying resources */
33
+ references: (string | null)[] | null;
34
+ /** Source of the information */
35
+ source: (string | null)[] | null;
36
+ /** Display names for sources */
37
+ sourceDisplay: (string | null)[] | null;
38
+ /** Coded representation */
39
+ coding: Coding | null;
40
+ /** Care plan period */
41
+ period: Period | null;
42
+ };
@@ -0,0 +1 @@
1
+ export {};