@icanbwell/bwell-sdk-ts 1.54.0 → 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 (597) 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 -36
  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/graphql-manager/graphql-manager.d.ts +1 -0
  113. package/dist/api/graphql-api/health-space/cancel-appointment-request-factory.js +1 -2
  114. package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +5 -62
  115. package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +9 -163
  116. package/dist/api/graphql-api/health-space/index.d.ts +0 -4
  117. package/dist/api/graphql-api/health-space/index.js +0 -4
  118. package/dist/api/graphql-api/healthdata/get-encounters-request-factory.d.ts +7 -0
  119. package/dist/api/graphql-api/healthdata/get-encounters-request-factory.js +76 -0
  120. package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +6 -0
  121. package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +25 -0
  122. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +30 -41
  123. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +311 -256
  124. package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +18 -0
  125. package/dist/api/graphql-api/healthdata/health-data-request-factory.js +25 -0
  126. package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +8 -0
  127. package/dist/api/graphql-api/healthdata/health-data-response-factory.js +58 -0
  128. package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +2 -1
  129. package/dist/api/graphql-api/identity/graphql-identity-manager.js +5 -3
  130. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +4 -22
  131. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +4 -69
  132. package/dist/api/graphql-api/questionnaire/index.d.ts +0 -2
  133. package/dist/api/graphql-api/questionnaire/index.js +0 -2
  134. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +4 -6
  135. package/dist/api/graphql-api/search/graphql-search-manager.js +9 -71
  136. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +12 -10
  137. package/dist/api/graphql-api/search/submit-provider-for-review-request-factory.d.ts +6 -0
  138. package/dist/api/graphql-api/search/{request-connection-request-factory.js → submit-provider-for-review-request-factory.js} +1 -1
  139. package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +1 -2
  140. package/dist/api/graphql-api/user/get-consent-request-factory.js +5 -1
  141. package/dist/api/graphql-api/user/graphql-user-manager.d.ts +10 -11
  142. package/dist/api/graphql-api/user/graphql-user-manager.js +11 -10
  143. package/dist/api/graphql-api/user/update-profile-request-factory.js +1 -2
  144. package/dist/api/identity-manager-factory.js +1 -1
  145. package/dist/auth/auth-code-strategy.d.ts +2 -1
  146. package/dist/auth/auth-strategy.d.ts +1 -1
  147. package/dist/auth/credentials.d.ts +1 -1
  148. package/dist/auth/credentials.js +2 -2
  149. package/dist/auth/oauth-strategy.d.ts +2 -1
  150. package/dist/auth/username-password-strategy.d.ts +2 -1
  151. package/dist/auth/username-password-strategy.js +2 -2
  152. package/dist/bwell-sdk/bwell-sdk.d.ts +319 -48
  153. package/dist/bwell-sdk/bwell-sdk.js +368 -53
  154. package/dist/config/bwell-config.d.ts +12 -12
  155. package/dist/config/bwell-config.js +2 -5
  156. package/dist/config/sdk-config.d.ts +2 -3
  157. package/dist/config/sdk-config.js +4 -6
  158. package/dist/errors/authentication-error.d.ts +7 -0
  159. package/dist/errors/authentication-error.js +7 -0
  160. package/dist/errors/bwell-error.d.ts +12 -2
  161. package/dist/errors/bwell-error.js +5 -2
  162. package/dist/errors/illegal-argument-error.d.ts +7 -0
  163. package/dist/errors/illegal-argument-error.js +7 -0
  164. package/dist/errors/illegal-state-error.d.ts +7 -0
  165. package/dist/errors/illegal-state-error.js +7 -0
  166. package/dist/errors/invalid-client-key-error.d.ts +7 -0
  167. package/dist/errors/invalid-client-key-error.js +7 -0
  168. package/dist/errors/invalid-credentials-type-error.d.ts +7 -0
  169. package/dist/errors/invalid-credentials-type-error.js +7 -0
  170. package/dist/errors/invalid-token-error.d.ts +4 -1
  171. package/dist/errors/invalid-token-error.js +4 -1
  172. package/dist/errors/network-error.d.ts +7 -0
  173. package/dist/errors/network-error.js +7 -0
  174. package/dist/errors/operation-outcome-error.d.ts +8 -1
  175. package/dist/errors/operation-outcome-error.js +7 -0
  176. package/dist/errors/unknown-error.d.ts +7 -0
  177. package/dist/errors/unknown-error.js +7 -0
  178. package/dist/errors/validation-error.d.ts +7 -0
  179. package/dist/errors/validation-error.js +7 -0
  180. package/dist/graphql/operations/index.d.ts +116 -283
  181. package/dist/graphql/operations/index.js +1767 -2095
  182. package/dist/graphql/operations/types.d.ts +16471 -18430
  183. package/dist/graphql/schema.d.ts +68323 -5995
  184. package/dist/graphql/schema.js +1 -484
  185. package/dist/index.d.ts +7 -5
  186. package/dist/index.js +5 -4
  187. package/dist/language/language-manager.d.ts +25 -10
  188. package/dist/language/language-manager.js +5 -0
  189. package/dist/models/activity/index.d.ts +1 -0
  190. package/dist/models/activity/task.d.ts +77 -0
  191. package/dist/models/common/address.d.ts +41 -0
  192. package/dist/models/common/annotation.d.ts +18 -0
  193. package/dist/models/common/annotation.js +1 -0
  194. package/dist/models/common/attachment.d.ts +18 -0
  195. package/dist/models/common/attachment.js +1 -0
  196. package/dist/models/common/bundle.d.ts +83 -0
  197. package/dist/models/common/bundle.js +1 -0
  198. package/dist/models/common/codeable-concept.d.ts +17 -0
  199. package/dist/models/common/codeable-concept.js +1 -0
  200. package/dist/models/common/coding.d.ts +18 -0
  201. package/dist/models/common/coding.js +1 -0
  202. package/dist/models/common/component.d.ts +23 -0
  203. package/dist/models/common/component.js +1 -0
  204. package/dist/models/common/contact-point.d.ts +32 -0
  205. package/dist/models/common/contact-point.js +1 -0
  206. package/dist/models/common/dispense-request.d.ts +67 -0
  207. package/dist/models/common/dispense-request.js +1 -0
  208. package/dist/models/common/dosage.d.ts +68 -0
  209. package/dist/models/common/dosage.js +1 -0
  210. package/dist/models/common/endpoint.d.ts +23 -0
  211. package/dist/models/common/endpoint.js +1 -0
  212. package/dist/models/common/expression.d.ts +20 -0
  213. package/dist/models/common/expression.js +1 -0
  214. package/dist/models/common/extension.d.ts +49 -0
  215. package/dist/models/common/extension.js +1 -0
  216. package/dist/models/common/fhir-error.d.ts +23 -0
  217. package/dist/models/common/fhir-error.js +1 -0
  218. package/dist/models/common/human-name.d.ts +20 -0
  219. package/dist/models/common/human-name.js +1 -0
  220. package/dist/models/common/identifier.d.ts +19 -0
  221. package/dist/models/common/identifier.js +1 -0
  222. package/dist/models/common/index.d.ts +38 -0
  223. package/dist/models/common/index.js +2 -0
  224. package/dist/models/common/location.d.ts +51 -0
  225. package/dist/models/common/location.js +1 -0
  226. package/dist/models/common/medication.d.ts +42 -0
  227. package/dist/models/common/medication.js +1 -0
  228. package/dist/models/common/meta.d.ts +21 -0
  229. package/dist/models/common/meta.js +1 -0
  230. package/dist/models/common/money.d.ts +15 -0
  231. package/dist/models/common/money.js +1 -0
  232. package/dist/models/common/narrative.d.ts +14 -0
  233. package/dist/models/common/narrative.js +1 -0
  234. package/dist/models/common/operation-outcome.d.ts +48 -0
  235. package/dist/models/common/operation-outcome.js +1 -0
  236. package/dist/models/common/organization.d.ts +46 -0
  237. package/dist/models/common/organization.js +1 -0
  238. package/dist/models/common/paging-info.d.ts +18 -0
  239. package/dist/models/common/paging-info.js +1 -0
  240. package/dist/models/common/patient.d.ts +13 -0
  241. package/dist/models/common/patient.js +1 -0
  242. package/dist/models/common/period.d.ts +14 -0
  243. package/dist/models/common/period.js +1 -0
  244. package/dist/models/common/practitioner-role.d.ts +42 -0
  245. package/dist/models/common/practitioner-role.js +1 -0
  246. package/dist/models/common/practitioner.d.ts +17 -0
  247. package/dist/models/common/practitioner.js +1 -0
  248. package/dist/models/common/quantity.d.ts +20 -0
  249. package/dist/models/common/quantity.js +1 -0
  250. package/dist/models/common/range.d.ts +15 -0
  251. package/dist/models/common/range.js +1 -0
  252. package/dist/models/common/ratio.d.ts +15 -0
  253. package/dist/models/common/ratio.js +1 -0
  254. package/dist/models/common/reference-range.d.ts +13 -0
  255. package/dist/models/common/reference-range.js +1 -0
  256. package/dist/models/common/reference.d.ts +27 -0
  257. package/dist/models/common/reference.js +1 -0
  258. package/dist/models/common/related-person.d.ts +34 -0
  259. package/dist/models/common/related-person.js +1 -0
  260. package/dist/models/common/score.d.ts +16 -0
  261. package/dist/models/common/score.js +1 -0
  262. package/dist/models/common/service-request.d.ts +21 -0
  263. package/dist/models/common/service-request.js +1 -0
  264. package/dist/models/common/specimen.d.ts +30 -0
  265. package/dist/models/common/specimen.js +7 -0
  266. package/dist/models/common/timing.d.ts +107 -0
  267. package/dist/models/common/timing.js +1 -0
  268. package/dist/models/common/value.d.ts +22 -0
  269. package/dist/models/common/value.js +1 -0
  270. package/dist/models/connection/base-connection.d.ts +27 -0
  271. package/dist/models/connection/base-connection.js +1 -0
  272. package/dist/models/connection/connection-status.d.ts +15 -0
  273. package/dist/models/connection/connection-status.js +1 -0
  274. package/dist/models/connection/connection.d.ts +32 -0
  275. package/dist/models/connection/connection.js +1 -0
  276. package/dist/models/connection/data-source.d.ts +27 -0
  277. package/dist/models/connection/data-source.js +1 -0
  278. package/dist/models/connection/index.d.ts +6 -0
  279. package/dist/models/connection/index.js +1 -0
  280. package/dist/models/connection/member-connection.d.ts +37 -0
  281. package/dist/models/connection/member-connection.js +1 -0
  282. package/dist/models/connection/oauth-url.d.ts +12 -0
  283. package/dist/models/connection/oauth-url.js +1 -0
  284. package/dist/models/device/device-registration-results.d.ts +12 -0
  285. package/dist/models/device/device-registration-results.js +1 -0
  286. package/dist/models/device/index.d.ts +1 -0
  287. package/dist/models/device/index.js +1 -0
  288. package/dist/models/enums/category-code.d.ts +11 -0
  289. package/dist/models/enums/category-code.js +13 -0
  290. package/dist/models/enums/connection-category.d.ts +9 -0
  291. package/dist/models/enums/connection-category.js +1 -0
  292. package/dist/models/enums/consent-provision-type.d.ts +11 -0
  293. package/dist/models/enums/consent-provision-type.js +2 -0
  294. package/dist/models/enums/consent-status.d.ts +11 -0
  295. package/dist/models/enums/consent-status.js +9 -0
  296. package/dist/models/enums/data-connection-status.d.ts +9 -0
  297. package/dist/models/enums/data-connection-status.js +1 -0
  298. package/dist/models/enums/data-connection-type.d.ts +9 -0
  299. package/dist/models/enums/data-connection-type.js +1 -0
  300. package/dist/models/enums/data-set.d.ts +10 -0
  301. package/dist/models/enums/data-set.js +1 -0
  302. package/dist/models/enums/device-platform.d.ts +11 -0
  303. package/dist/models/enums/device-platform.js +2 -0
  304. package/dist/models/enums/endpoint-status.d.ts +9 -0
  305. package/dist/models/enums/endpoint-status.js +1 -0
  306. package/dist/models/enums/filter-field.d.ts +9 -0
  307. package/dist/models/enums/filter-field.js +1 -0
  308. package/dist/models/enums/gender.d.ts +9 -0
  309. package/dist/models/enums/gender.js +1 -0
  310. package/dist/models/enums/index.d.ts +18 -0
  311. package/dist/models/enums/index.js +5 -0
  312. package/dist/models/enums/log-level.d.ts +8 -0
  313. package/dist/models/enums/log-level.js +1 -0
  314. package/dist/models/enums/person-gender.d.ts +11 -0
  315. package/dist/models/enums/person-gender.js +7 -0
  316. package/dist/models/enums/search-context.d.ts +10 -0
  317. package/dist/models/enums/search-context.js +1 -0
  318. package/dist/models/enums/search-result-type.d.ts +9 -0
  319. package/dist/models/enums/search-result-type.js +1 -0
  320. package/dist/models/enums/sort-field.d.ts +10 -0
  321. package/dist/models/enums/sort-field.js +1 -0
  322. package/dist/models/enums/sort-order.d.ts +9 -0
  323. package/dist/models/enums/sort-order.js +1 -0
  324. package/dist/models/enums/sync-status.d.ts +9 -0
  325. package/dist/models/enums/sync-status.js +1 -0
  326. package/dist/models/financial/coverage-bundle.d.ts +18 -0
  327. package/dist/models/financial/coverage-bundle.js +1 -0
  328. package/dist/models/financial/coverage.d.ts +65 -0
  329. package/dist/models/financial/coverage.js +1 -0
  330. package/dist/models/financial/explanation-of-benefit-bundle.d.ts +26 -0
  331. package/dist/models/financial/explanation-of-benefit-bundle.js +1 -0
  332. package/dist/models/financial/explanation-of-benefit.d.ts +274 -0
  333. package/dist/models/financial/explanation-of-benefit.js +1 -0
  334. package/dist/models/financial/index.d.ts +4 -0
  335. package/dist/models/financial/index.js +4 -0
  336. package/dist/models/health-data/allergy-intolerance-bundle.d.ts +11 -0
  337. package/dist/models/health-data/allergy-intolerance-bundle.js +1 -0
  338. package/dist/models/health-data/allergy-intolerance-group.d.ts +44 -0
  339. package/dist/models/health-data/allergy-intolerance-group.js +1 -0
  340. package/dist/models/health-data/allergy-intolerance-reaction.d.ts +23 -0
  341. package/dist/models/health-data/allergy-intolerance-reaction.js +1 -0
  342. package/dist/models/health-data/allergy-intolerance.d.ts +54 -0
  343. package/dist/models/health-data/allergy-intolerance.js +1 -0
  344. package/dist/models/health-data/care-plan-group.d.ts +42 -0
  345. package/dist/models/health-data/care-plan-group.js +1 -0
  346. package/dist/models/health-data/care-plan.d.ts +134 -0
  347. package/dist/models/health-data/care-plan.js +1 -0
  348. package/dist/models/health-data/care-team.d.ts +77 -0
  349. package/dist/models/health-data/care-team.js +1 -0
  350. package/dist/models/health-data/condition-group.d.ts +42 -0
  351. package/dist/models/health-data/condition-group.js +1 -0
  352. package/dist/models/health-data/condition.d.ts +104 -0
  353. package/dist/models/health-data/condition.js +1 -0
  354. package/dist/models/health-data/diagnostic-report-lab-group.d.ts +45 -0
  355. package/dist/models/health-data/diagnostic-report-lab-group.js +1 -0
  356. package/dist/models/health-data/diagnostic-report.d.ts +90 -0
  357. package/dist/models/health-data/diagnostic-report.js +1 -0
  358. package/dist/models/health-data/encounter-group.d.ts +48 -0
  359. package/dist/models/health-data/encounter-group.js +1 -0
  360. package/dist/models/health-data/encounter.d.ts +79 -0
  361. package/dist/models/health-data/encounter.js +1 -0
  362. package/dist/models/health-data/health-summary.d.ts +18 -0
  363. package/dist/models/health-data/health-summary.js +1 -0
  364. package/dist/models/health-data/immunization-group.d.ts +41 -0
  365. package/dist/models/health-data/immunization-group.js +1 -0
  366. package/dist/models/health-data/immunization.d.ts +150 -0
  367. package/dist/models/health-data/immunization.js +1 -0
  368. package/dist/models/health-data/index.d.ts +30 -0
  369. package/dist/models/health-data/index.js +1 -0
  370. package/dist/models/health-data/lab-bundle.d.ts +26 -0
  371. package/dist/models/health-data/lab-bundle.js +1 -0
  372. package/dist/models/health-data/lab-group.d.ts +51 -0
  373. package/dist/models/health-data/lab-group.js +1 -0
  374. package/dist/models/health-data/lab-knowledge.d.ts +28 -0
  375. package/dist/models/health-data/lab-knowledge.js +1 -0
  376. package/dist/models/health-data/medication-dispense.d.ts +108 -0
  377. package/dist/models/health-data/medication-dispense.js +1 -0
  378. package/dist/models/health-data/medication-group.d.ts +43 -0
  379. package/dist/models/health-data/medication-group.js +1 -0
  380. package/dist/models/health-data/medication-knowledge.d.ts +30 -0
  381. package/dist/models/health-data/medication-knowledge.js +1 -0
  382. package/dist/models/health-data/medication-pricing.d.ts +28 -0
  383. package/dist/models/health-data/medication-pricing.js +1 -0
  384. package/dist/models/health-data/medication-request.d.ts +107 -0
  385. package/dist/models/health-data/medication-request.js +1 -0
  386. package/dist/models/health-data/medication-statement.d.ts +68 -0
  387. package/dist/models/health-data/medication-statement.js +1 -0
  388. package/dist/models/health-data/observation.d.ts +102 -0
  389. package/dist/models/health-data/observation.js +1 -0
  390. package/dist/models/health-data/procedure-group.d.ts +43 -0
  391. package/dist/models/health-data/procedure-group.js +1 -0
  392. package/dist/models/health-data/procedure.d.ts +84 -0
  393. package/dist/models/health-data/procedure.js +1 -0
  394. package/dist/models/health-data/vital-sign-bundle.d.ts +18 -0
  395. package/dist/models/health-data/vital-sign-bundle.js +1 -0
  396. package/dist/models/health-data/vital-sign-group.d.ts +51 -0
  397. package/dist/models/health-data/vital-sign-group.js +1 -0
  398. package/dist/models/health-space/appointment-bundle.d.ts +11 -0
  399. package/dist/models/health-space/appointment-bundle.js +1 -0
  400. package/dist/models/health-space/appointment-participant.d.ts +17 -0
  401. package/dist/models/health-space/appointment-participant.js +1 -0
  402. package/dist/models/health-space/appointment-update.d.ts +14 -0
  403. package/dist/models/health-space/appointment-update.js +1 -0
  404. package/dist/models/health-space/appointment.d.ts +30 -0
  405. package/dist/models/health-space/appointment.js +1 -0
  406. package/dist/models/health-space/cancellation-reasons.d.ts +32 -0
  407. package/dist/models/health-space/cancellation-reasons.js +1 -0
  408. package/dist/models/health-space/index.d.ts +5 -0
  409. package/dist/models/health-space/index.js +1 -0
  410. package/dist/models/identity/auth-tokens.d.ts +25 -0
  411. package/dist/models/identity/auth-tokens.js +1 -0
  412. package/dist/models/identity/create-guest-access-token-results.d.ts +12 -0
  413. package/dist/models/identity/create-guest-access-token-results.js +1 -0
  414. package/dist/models/identity/index.d.ts +4 -0
  415. package/dist/models/identity/index.js +1 -0
  416. package/dist/models/identity/refresh-token-results.d.ts +8 -0
  417. package/dist/models/identity/refresh-token-results.js +1 -0
  418. package/dist/models/identity/sdk-configuration-result.d.ts +26 -0
  419. package/dist/models/identity/sdk-configuration-result.js +1 -0
  420. package/dist/models/index.d.ts +12 -4
  421. package/dist/models/index.js +12 -4
  422. package/dist/models/questionnaire/index.d.ts +5 -0
  423. package/dist/models/questionnaire/index.js +1 -0
  424. package/dist/models/questionnaire/questionnaire-item.d.ts +38 -0
  425. package/dist/models/questionnaire/questionnaire-item.js +1 -0
  426. package/dist/models/questionnaire/questionnaire-response-answer.d.ts +33 -0
  427. package/dist/models/questionnaire/questionnaire-response-answer.js +1 -0
  428. package/dist/models/questionnaire/questionnaire-response-item.d.ts +19 -0
  429. package/dist/models/questionnaire/questionnaire-response-item.js +1 -0
  430. package/dist/models/questionnaire/questionnaire-response.d.ts +29 -0
  431. package/dist/models/questionnaire/questionnaire-response.js +1 -0
  432. package/dist/models/questionnaire/questionnaire.d.ts +30 -0
  433. package/dist/models/questionnaire/questionnaire.js +1 -0
  434. package/dist/models/search/health-resources.d.ts +133 -0
  435. package/dist/models/search/health-resources.js +1 -0
  436. package/dist/models/search/index.d.ts +2 -0
  437. package/dist/models/search/index.js +1 -0
  438. package/dist/models/search/provider-review-result.d.ts +15 -0
  439. package/dist/models/search/provider-review-result.js +1 -0
  440. package/dist/models/user/consent.d.ts +100 -0
  441. package/dist/models/user/consent.js +1 -0
  442. package/dist/models/user/index.d.ts +4 -0
  443. package/dist/models/user/index.js +1 -0
  444. package/dist/models/user/person.d.ts +43 -0
  445. package/dist/models/user/person.js +1 -0
  446. package/dist/models/user/user.d.ts +12 -0
  447. package/dist/models/user/user.js +1 -0
  448. package/dist/models/user/verification-result.d.ts +30 -0
  449. package/dist/models/user/verification-result.js +1 -0
  450. package/dist/requests/paged-request.d.ts +35 -0
  451. package/dist/requests/paged-request.js +22 -0
  452. package/dist/requests/request.d.ts +16 -0
  453. package/dist/requests/request.js +8 -0
  454. package/dist/requests/validator.d.ts +15 -0
  455. package/dist/requests/validator.js +7 -0
  456. package/dist/results/bwell-query-result.d.ts +5 -0
  457. package/dist/results/bwell-query-result.js +5 -0
  458. package/dist/results/bwell-transaction-result.d.ts +17 -3
  459. package/dist/results/bwell-transaction-result.js +15 -1
  460. package/dist/results/index.d.ts +1 -0
  461. package/dist/results/index.js +1 -0
  462. package/dist/telemetry/open-telemetry-instrumentation.js +1 -4
  463. package/dist/tokens/index.d.ts +2 -0
  464. package/dist/tokens/index.js +2 -0
  465. package/dist/tokens/jwt-token-manager.d.ts +3 -7
  466. package/dist/tokens/jwt-token-manager.js +9 -8
  467. package/dist/tokens/load-auth-tokens.d.ts +6 -0
  468. package/dist/tokens/load-auth-tokens.js +43 -0
  469. package/dist/tokens/token-manager.d.ts +12 -0
  470. package/dist/tokens/token-manager.js +5 -0
  471. package/dist/tokens/token-storage.d.ts +20 -0
  472. package/dist/tokens/token-storage.js +19 -0
  473. package/dist/utils/index.d.ts +1 -1
  474. package/dist/utils/index.js +1 -1
  475. package/dist/utils/parsing-utils.d.ts +11 -1
  476. package/dist/utils/parsing-utils.js +33 -1
  477. package/dist/utils/search-token-utils.d.ts +8 -0
  478. package/dist/utils/search-token-utils.js +23 -0
  479. package/package.json +24 -20
  480. package/dist/api/base/activity/types.d.ts +0 -3
  481. package/dist/api/base/activity/types.js +0 -5
  482. package/dist/api/base/activity/update-task-status-request.d.ts +0 -18
  483. package/dist/api/base/activity/update-task-status-request.js +0 -15
  484. package/dist/api/base/event/event-manager.d.ts +0 -16
  485. package/dist/api/base/event/event-request.d.ts +0 -35
  486. package/dist/api/base/event/event-request.js +0 -64
  487. package/dist/api/base/event/index.d.ts +0 -2
  488. package/dist/api/base/event/index.js +0 -1
  489. package/dist/api/base/health-data/medication-pricing-request.d.ts +0 -21
  490. package/dist/api/base/health-data/medication-pricing-request.js +0 -26
  491. package/dist/api/base/health-data/medication-statement-request.d.ts +0 -29
  492. package/dist/api/base/health-data/medication-statement-request.js +0 -35
  493. package/dist/api/base/health-space/add-care-team-member-request.d.ts +0 -33
  494. package/dist/api/base/health-space/add-care-team-member-request.js +0 -36
  495. package/dist/api/base/health-space/add-care-team-members-request.d.ts +0 -35
  496. package/dist/api/base/health-space/add-care-team-members-request.js +0 -61
  497. package/dist/api/base/health-space/cancelationReasons-request.d.ts +0 -16
  498. package/dist/api/base/health-space/care-team-members-request.d.ts +0 -31
  499. package/dist/api/base/health-space/care-team-members-request.js +0 -33
  500. package/dist/api/base/health-space/remove-care-team-member-request.d.ts +0 -34
  501. package/dist/api/base/health-space/remove-care-team-member-request.js +0 -36
  502. package/dist/api/base/health-space/update-care-team-member-request.d.ts +0 -55
  503. package/dist/api/base/health-space/update-care-team-member-request.js +0 -71
  504. package/dist/api/base/questionnaire/questionnaire-responses-request.d.ts +0 -30
  505. package/dist/api/base/questionnaire/questionnaire-responses-request.js +0 -49
  506. package/dist/api/base/questionnaire/questionnaires-request.d.ts +0 -18
  507. package/dist/api/base/questionnaire/questionnaires-request.js +0 -42
  508. package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +0 -22
  509. package/dist/api/base/questionnaire/save-questionnaire-response-request.js +0 -33
  510. package/dist/api/base/search/request-connection-request.d.ts +0 -24
  511. package/dist/api/base/search/request-connection-request.js +0 -3
  512. package/dist/api/base/search/search-request.d.ts +0 -84
  513. package/dist/api/base/search/search-request.js +0 -78
  514. package/dist/api/base/support/create-support-request-request.d.ts +0 -22
  515. package/dist/api/base/support/create-support-request-request.js +0 -20
  516. package/dist/api/base/support/delete-support-attachment-request.d.ts +0 -11
  517. package/dist/api/base/support/delete-support-attachment-request.js +0 -14
  518. package/dist/api/base/support/get-support-requests-request.d.ts +0 -16
  519. package/dist/api/base/support/get-support-requests-request.js +0 -14
  520. package/dist/api/base/support/index.d.ts +0 -5
  521. package/dist/api/base/support/index.js +0 -5
  522. package/dist/api/base/support/support-manager.d.ts +0 -46
  523. package/dist/api/base/support/upload-support-attachment-request.d.ts +0 -25
  524. package/dist/api/base/support/upload-support-attachment-request.js +0 -27
  525. package/dist/api/base/user/types.d.ts +0 -9
  526. package/dist/api/base/user/types.js +0 -17
  527. package/dist/api/graphql-api/activity/activity-request-factories.js +0 -70
  528. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +0 -18
  529. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +0 -40
  530. package/dist/api/graphql-api/event/event-request-factory.d.ts +0 -6
  531. package/dist/api/graphql-api/event/event-request-factory.js +0 -11
  532. package/dist/api/graphql-api/event/graphql-event-manager.d.ts +0 -15
  533. package/dist/api/graphql-api/event/graphql-event-manager.js +0 -65
  534. package/dist/api/graphql-api/event/index.d.ts +0 -1
  535. package/dist/api/graphql-api/event/index.js +0 -1
  536. package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.d.ts +0 -6
  537. package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.js +0 -17
  538. package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +0 -23
  539. package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.d.ts +0 -20
  540. package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.js +0 -29
  541. package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.d.ts +0 -16
  542. package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.js +0 -23
  543. package/dist/api/graphql-api/health-space/care-team-factory-utils.d.ts +0 -23
  544. package/dist/api/graphql-api/health-space/care-team-factory-utils.js +0 -30
  545. package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +0 -12
  546. package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +0 -17
  547. package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.d.ts +0 -16
  548. package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.js +0 -24
  549. package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.d.ts +0 -16
  550. package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.js +0 -20
  551. package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.d.ts +0 -6
  552. package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.js +0 -12
  553. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +0 -10
  554. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +0 -35
  555. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +0 -10
  556. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +0 -35
  557. package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +0 -6
  558. package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +0 -11
  559. package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.d.ts +0 -9
  560. package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.js +0 -22
  561. package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.d.ts +0 -6
  562. package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.js +0 -16
  563. package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +0 -7
  564. package/dist/api/graphql-api/search/connection-search-request-factory.js +0 -21
  565. package/dist/api/graphql-api/search/index.d.ts +0 -1
  566. package/dist/api/graphql-api/search/index.js +0 -1
  567. package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +0 -7
  568. package/dist/api/graphql-api/search/provider-search-request-factory.js +0 -21
  569. package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +0 -6
  570. package/dist/api/graphql-api/search/search-request-factory.d.ts +0 -6
  571. package/dist/api/graphql-api/search/search-request-factory.js +0 -44
  572. package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +0 -6
  573. package/dist/api/graphql-api/support/create-support-request-request-factory.js +0 -19
  574. package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +0 -6
  575. package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +0 -10
  576. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +0 -6
  577. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +0 -16
  578. package/dist/api/graphql-api/support/graphql-support-manager.d.ts +0 -22
  579. package/dist/api/graphql-api/support/graphql-support-manager.js +0 -129
  580. package/dist/api/graphql-api/support/index.d.ts +0 -1
  581. package/dist/api/graphql-api/support/index.js +0 -1
  582. package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +0 -6
  583. package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +0 -11
  584. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +0 -6
  585. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +0 -9
  586. package/dist/models/coding.d.ts +0 -5
  587. package/dist/models/fhir-error.d.ts +0 -9
  588. package/dist/models/user.d.ts +0 -4
  589. package/dist/utils/date-utils.d.ts +0 -6
  590. package/dist/utils/date-utils.js +0 -8
  591. /package/dist/api/base/{event/event-manager.js → health-data/health-data-response-factory.js} +0 -0
  592. /package/dist/api/base/{support/support-manager.js → requests/field-sort-order.js} +0 -0
  593. /package/dist/models/{coding.js → activity/index.js} +0 -0
  594. /package/dist/models/{fhir-error.js → activity/task.js} +0 -0
  595. /package/dist/models/{user.js → common/address.js} +0 -0
  596. /package/dist/{models → results}/operation-outcome.d.ts +0 -0
  597. /package/dist/{models → results}/operation-outcome.js +0 -0
@@ -0,0 +1,107 @@
1
+ import { CodeableConcept } from "./codeable-concept.js";
2
+ import { Period } from "./period.js";
3
+ import { Quantity } from "./quantity.js";
4
+ import { Range } from "./range.js";
5
+ /**
6
+ * Specifies an event that may occur multiple times.
7
+ *
8
+ * @category Models
9
+ * @title TimingRepeat
10
+ * @excerpt Specifies an event that may occur multiple times.
11
+ */
12
+ export type TimingRepeat = {
13
+ id: string | null;
14
+ /**
15
+ * A duration for the length of the timing schedule.
16
+ */
17
+ boundsDuration: Quantity | null;
18
+ /**
19
+ * Start/End range of timing schedule.
20
+ */
21
+ boundsPeriod: Period | null;
22
+ /**
23
+ * Range of possible length of the timing schedule.
24
+ */
25
+ boundsRange: Range | null;
26
+ /**
27
+ * A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.
28
+ */
29
+ count: number | null;
30
+ /**
31
+ * If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
32
+ */
33
+ countMax: number | null;
34
+ /**
35
+ * If one or more days of week is provided, then the action happens only on the specified day(s).
36
+ */
37
+ dayOfWeek: (string | null)[] | null;
38
+ /**
39
+ * How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.
40
+ */
41
+ duration: number | null;
42
+ /**
43
+ * If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
44
+ */
45
+ durationMax: number | null;
46
+ /**
47
+ * The units of time for the duration, in UCUM units.
48
+ */
49
+ durationUnit: string | null;
50
+ /**
51
+ * The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.
52
+ */
53
+ frequency: number | null;
54
+ /**
55
+ * If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
56
+ */
57
+ frequencyMax: number | null;
58
+ /**
59
+ * The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.
60
+ */
61
+ offset: number | null;
62
+ /**
63
+ * Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.
64
+ */
65
+ period: number | null;
66
+ /**
67
+ * If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
68
+ */
69
+ periodMax: number | null;
70
+ /**
71
+ * The units of time for the period in UCUM units.
72
+ */
73
+ periodUnit: string | null;
74
+ /**
75
+ * Specified time of day for action to take place.
76
+ */
77
+ timeOfDay: (string | null)[] | null;
78
+ /**
79
+ * An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
80
+ */
81
+ when: (string | null)[] | null;
82
+ };
83
+ /**
84
+ * Specifies an event that may occur multiple times.
85
+ *
86
+ * @category Models
87
+ * @title Timing
88
+ * @excerpt Specifies an event that may occur multiple times
89
+ */
90
+ export type Timing = {
91
+ id: string | null;
92
+ /** Identifies specific times when the event occurs. */
93
+ event: (string | null)[] | null;
94
+ /**
95
+ * A code for the timing schedule (or just text in code.text).
96
+ * Some codes such as BID are ubiquitous, but many institutions
97
+ * define their own additional codes. If a code is provided, the
98
+ * code is understood to be a complete statement of whatever is
99
+ * specified in the structured timing data, and either the code
100
+ * or the data may be used to interpret the Timing, with the exception
101
+ * that .repeat.bounds still applies over the code (and is not
102
+ * contained in the code).
103
+ */
104
+ code: CodeableConcept | null;
105
+ /** A set of rules that describe when the event is scheduled. */
106
+ repeat: TimingRepeat | null;
107
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ import { CodeableConcept, Period, Ratio } from "./index.js";
2
+ import { Quantity } from "./quantity.js";
3
+ import { Range } from "./range.js";
4
+ /**
5
+ * Represents a value that can be one of several types.
6
+ *
7
+ * @category Models
8
+ * @title Value
9
+ * @excerpt Represents a value that can be one of several types
10
+ */
11
+ export type Value = {
12
+ valueQuantity: Quantity | null;
13
+ valueCodeableConcept: CodeableConcept | null;
14
+ valueString: string | null;
15
+ valueBoolean: boolean | null;
16
+ valueDateTime: string | null;
17
+ valueTime: string | null;
18
+ valueInteger: number | null;
19
+ valueRatio: Ratio | null;
20
+ valueRange: Range | null;
21
+ valuePeriod: Period | null;
22
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,27 @@
1
+ import type { ConnectionCategory, DataConnectionType } from "../enums/index.js";
2
+ /**
3
+ * Base connection interface containing common fields shared by all connection types.
4
+ * This interface provides the foundational properties that all connection models inherit.
5
+ *
6
+ * @category Models
7
+ * @title BaseConnection
8
+ * @excerpt Base connection interface containing common fields shared by...
9
+ */
10
+ export interface BaseConnection {
11
+ /**
12
+ * The unique identifier for the connection.
13
+ */
14
+ id: string;
15
+ /**
16
+ * The display name of the connection.
17
+ */
18
+ name: string;
19
+ /**
20
+ * The category of the connection (Basic or OAuth).
21
+ */
22
+ category: ConnectionCategory;
23
+ /**
24
+ * The type of data source connection.
25
+ */
26
+ type: DataConnectionType;
27
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import type { DataConnectionStatus } from "../enums/index.js";
2
+ /**
3
+ * Connection status result model.
4
+ * Represents the status of a connection operation (disconnect/delete).
5
+ *
6
+ * @category Models
7
+ * @title ConnectionStatus
8
+ * @excerpt Connection status result model
9
+ */
10
+ export interface ConnectionStatus {
11
+ /** Current status of the connection */
12
+ status: DataConnectionStatus | null;
13
+ /** Timestamp when the status was last updated */
14
+ statusUpdated: string;
15
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,32 @@
1
+ import type { DataConnectionStatus, SyncStatus } from "../enums/index.js";
2
+ import type { BaseConnection } from "./base-connection.js";
3
+ /**
4
+ * Connection model representing a healthcare provider connection with full status information.
5
+ * Contains comprehensive information about connection state and synchronization status.
6
+ *
7
+ * @category Models
8
+ * @title Connection
9
+ * @excerpt Connection model representing a healthcare provider connection with...
10
+ */
11
+ export type Connection = BaseConnection & {
12
+ /**
13
+ * The current authentication status of the connection.
14
+ */
15
+ status: DataConnectionStatus | null;
16
+ /**
17
+ * The current synchronization status of the data pipeline.
18
+ */
19
+ syncStatus: SyncStatus | null;
20
+ /**
21
+ * The timestamp when the status was last updated.
22
+ */
23
+ statusUpdated: string | null;
24
+ /**
25
+ * The timestamp of the last successful data synchronization.
26
+ */
27
+ lastSynced: string | null;
28
+ /**
29
+ * The timestamp when the connection was created.
30
+ */
31
+ created: string;
32
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,27 @@
1
+ import type { ConnectionCategory, DataConnectionType } from "../enums/index.js";
2
+ /**
3
+ * DataSource model representing information about a healthcare provider connection.
4
+ * Contains basic metadata about available data sources for connection.
5
+ *
6
+ * @category Models
7
+ * @title DataSource
8
+ * @excerpt DataSource model representing information about a healthcare provider...
9
+ */
10
+ export type DataSource = {
11
+ /**
12
+ * The unique identifier for the data source.
13
+ */
14
+ id: string;
15
+ /**
16
+ * The display name of the data source.
17
+ */
18
+ name: string;
19
+ /**
20
+ * The category of the connection (Basic or OAuth).
21
+ */
22
+ category: ConnectionCategory;
23
+ /**
24
+ * The type of data source connection.
25
+ */
26
+ type: DataConnectionType;
27
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export type { BaseConnection } from "./base-connection.js";
2
+ export type { Connection } from "./connection.js";
3
+ export type { ConnectionStatus } from "./connection-status.js";
4
+ export type { DataSource } from "./data-source.js";
5
+ export type { MemberConnection } from "./member-connection.js";
6
+ export type { OAuthUrl } from "./oauth-url.js";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,37 @@
1
+ import { CodeableConcept } from "../common/codeable-concept.js";
2
+ import type { DataConnectionStatus, SyncStatus } from "../enums/index.js";
3
+ import type { BaseConnection } from "./base-connection.js";
4
+ /**
5
+ * MemberConnection model representing a member's healthcare provider connection.
6
+ * Contains connection metadata including authentication and synchronization status.
7
+ *
8
+ * @category Models
9
+ * @title MemberConnection
10
+ * @excerpt MemberConnection model representing a member's healthcare provider connection
11
+ */
12
+ export type MemberConnection = BaseConnection & {
13
+ /**
14
+ * The authentication token status.
15
+ */
16
+ status: DataConnectionStatus;
17
+ /**
18
+ * The status of the data ingest pipeline.
19
+ */
20
+ syncStatus: SyncStatus;
21
+ /**
22
+ * Errors from the data ingest pipeline.
23
+ */
24
+ syncError: (CodeableConcept | null)[] | null;
25
+ /**
26
+ * The timestamp when connection was created.
27
+ */
28
+ created: string;
29
+ /**
30
+ * The timestamp when connection was last updated.
31
+ */
32
+ statusUpdated: string | null;
33
+ /**
34
+ * The timestamp when data was last synchronized.
35
+ */
36
+ lastSynced: string | null;
37
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * OAuth authorization URL result model.
3
+ * Contains the redirect URL for OAuth-based healthcare provider connections.
4
+ *
5
+ * @category Models
6
+ * @title OAuthUrl
7
+ * @excerpt OAuth authorization URL result model
8
+ */
9
+ export interface OAuthUrl {
10
+ /** OAuth authorization redirect URL */
11
+ redirectUrl: string;
12
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Device registration result.
3
+ * Returned when a device is successfully registered in the system.
4
+ *
5
+ * @category Models
6
+ * @title DeviceRegistrationResults
7
+ * @excerpt Device registration result with unique identifier
8
+ */
9
+ export type DeviceRegistrationResults = {
10
+ /** Unique device identifier assigned during registration */
11
+ id: string;
12
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export type { DeviceRegistrationResults } from "./device-registration-results.js";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * CategoryCode enum representing the category code for consents or data.
3
+ * Defines the possible category codes used in the system.
4
+ *
5
+ * @category Enums
6
+ * @title CategoryCode
7
+ * @excerpt CategoryCode enum representing the category code for consents or data.
8
+ */
9
+ export type CategoryCode = "communicationPreferences:includePHI" | "dataSharing" | "healthCircleAdolescent" | "healthCircleMinor" | "healthMatch" | "ias:import:records" | "mobileCommunicationPreferences" | "personalizedHealthOffersAndAds" | "proaAttestation" | "tos";
10
+ /** @internal */
11
+ export declare const categoryCodeValues: readonly ["communicationPreferences:includePHI", "dataSharing", "healthCircleAdolescent", "healthCircleMinor", "healthMatch", "ias:import:records", "mobileCommunicationPreferences", "personalizedHealthOffersAndAds", "proaAttestation", "tos"];
@@ -0,0 +1,13 @@
1
+ /** @internal */
2
+ export const categoryCodeValues = [
3
+ "communicationPreferences:includePHI",
4
+ "dataSharing",
5
+ "healthCircleAdolescent",
6
+ "healthCircleMinor",
7
+ "healthMatch",
8
+ "ias:import:records",
9
+ "mobileCommunicationPreferences",
10
+ "personalizedHealthOffersAndAds",
11
+ "proaAttestation",
12
+ "tos",
13
+ ];
@@ -0,0 +1,9 @@
1
+ /**
2
+ * ConnectionCategory enum representing the type of connection authentication.
3
+ * Defines whether a connection uses basic authentication or OAuth-based authentication.
4
+ *
5
+ * @category Enums
6
+ * @title ConnectionCategory
7
+ * @excerpt ConnectionCategory enum representing the type of connection authentication...
8
+ */
9
+ export type ConnectionCategory = "BASIC" | "OAUTH";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ConsentProvisionType enum representing the type of consent provision.
3
+ * Defines whether a consent provision is a denial or a permit.
4
+ *
5
+ * @category Enums
6
+ * @title ConsentProvisionType
7
+ * @excerpt ConsentProvisionType enum representing the type of consent provision.
8
+ */
9
+ export type ConsentProvisionType = "DENY" | "PERMIT";
10
+ /** @internal */
11
+ export declare const consentProvisionTypeValues: readonly ["DENY", "PERMIT"];
@@ -0,0 +1,2 @@
1
+ /** @internal */
2
+ export const consentProvisionTypeValues = ["DENY", "PERMIT"];
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ConsentStatus enum representing the status of a consent.
3
+ * Defines the possible status values for a consent.
4
+ *
5
+ * @category Enums
6
+ * @title ConsentStatus
7
+ * @excerpt ConsentStatus enum representing the status of a consent.
8
+ */
9
+ export type ConsentStatus = "ACTIVE" | "DRAFT" | "ENTERED_IN_ERROR" | "INACTIVE" | "PROPOSED" | "REJECTED";
10
+ /** @internal */
11
+ export declare const consentStatusValues: readonly ["ACTIVE", "DRAFT", "ENTERED_IN_ERROR", "INACTIVE", "PROPOSED", "REJECTED"];
@@ -0,0 +1,9 @@
1
+ /** @internal */
2
+ export const consentStatusValues = [
3
+ "ACTIVE",
4
+ "DRAFT",
5
+ "ENTERED_IN_ERROR",
6
+ "INACTIVE",
7
+ "PROPOSED",
8
+ "REJECTED",
9
+ ];
@@ -0,0 +1,9 @@
1
+ /**
2
+ * DataConnectionStatus enum representing the current status of a data connection.
3
+ * Defines the various states a connection can be in during its lifecycle.
4
+ *
5
+ * @category Enums
6
+ * @title DataConnectionStatus
7
+ * @excerpt DataConnectionStatus enum representing the current status of a data connection...
8
+ */
9
+ export type DataConnectionStatus = "CONNECTED" | "DELETED" | "DISCONNECTED" | "ERROR" | "EXPIRED" | "ACCESS_ENDED";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * DataConnectionType enum representing the type of data source connection.
3
+ * Defines the specific connection type for different healthcare data providers.
4
+ *
5
+ * @category Enums
6
+ * @title DataConnectionType
7
+ * @excerpt DataConnectionType enum representing the type of data source connection.
8
+ */
9
+ export type DataConnectionType = "CLINICAL" | "INSURANCE" | "LAB" | "PHARMACY" | "PRACTITIONER";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * DataSets enum representing the type of data source connection.
3
+ * Used to filter health resources searches.
4
+ *
5
+ * @deprecated Internal bwell use only
6
+ * @category Enums
7
+ * @title DataSets
8
+ * @excerpt DataSets enum representing the type of data source connection.
9
+ */
10
+ export type DataSet = "NPPES" | "CONNECTHUB";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Enum representing the mobile device platforms.
3
+ * Ex: For push notification registration.
4
+ *
5
+ * @category Enums
6
+ * @title DevicePlatform
7
+ * @excerpt DevicePlatform enum representing the mobile device platforms.
8
+ */
9
+ export type DevicePlatform = "IOS" | "ANDROID";
10
+ /** @internal */
11
+ export declare const devicePlatformValues: readonly ["IOS", "ANDROID"];
@@ -0,0 +1,2 @@
1
+ /** @internal */
2
+ export const devicePlatformValues = ["IOS", "ANDROID"];
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Operational status of a technical endpoint.
3
+ * Indicates whether the endpoint is available for communication.
4
+ *
5
+ * @category Enums
6
+ * @title EndpointStatus
7
+ * @excerpt Operational status values for technical endpoints
8
+ */
9
+ export type EndpointStatus = "ACTIVE" | "ENTERED_IN_ERROR" | "ERROR" | "OFF" | "SUSPENDED" | "TEST";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Filter field types available for health resource searches.
3
+ * Used to specify which fields can be filtered on in search queries.
4
+ *
5
+ * @category Enums
6
+ * @title FilterField
7
+ * @excerpt Available filter fields for health resource searches
8
+ */
9
+ export type FilterField = "CHARACTERISTIC" | "COMMUNICATION" | "GENDER" | "SPECIALTY";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Gender values for healthcare providers and patients.
3
+ * Standard gender classifications used in healthcare contexts.
4
+ *
5
+ * @category Enums
6
+ * @title Gender
7
+ * @excerpt Gender classification values for healthcare contexts
8
+ */
9
+ export type Gender = "FEMALE" | "MALE" | "OTHER" | "UNKNOWN";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ export { PersonGender, personGenderValues } from "./person-gender.js";
2
+ export { ConsentStatus, consentStatusValues } from "./consent-status.js";
3
+ export { CategoryCode, categoryCodeValues } from "./category-code.js";
4
+ export { ConsentProvisionType, consentProvisionTypeValues, } from "./consent-provision-type.js";
5
+ export { ConnectionCategory } from "./connection-category.js";
6
+ export { DataConnectionStatus } from "./data-connection-status.js";
7
+ export { DataConnectionType } from "./data-connection-type.js";
8
+ export { SyncStatus } from "./sync-status.js";
9
+ export { LogLevel } from "./log-level.js";
10
+ export { Gender } from "./gender.js";
11
+ export { FilterField } from "./filter-field.js";
12
+ export { SearchResultType } from "./search-result-type.js";
13
+ export { SearchContext } from "./search-context.js";
14
+ export { SortField } from "./sort-field.js";
15
+ export { SortOrder } from "./sort-order.js";
16
+ export { EndpointStatus } from "./endpoint-status.js";
17
+ export { DevicePlatform, devicePlatformValues } from "./device-platform.js";
18
+ export { DataSet } from "./data-set.js";
@@ -0,0 +1,5 @@
1
+ export { personGenderValues } from "./person-gender.js";
2
+ export { consentStatusValues } from "./consent-status.js";
3
+ export { categoryCodeValues } from "./category-code.js";
4
+ export { consentProvisionTypeValues, } from "./consent-provision-type.js";
5
+ export { devicePlatformValues } from "./device-platform.js";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Log level string union for SDK logging
3
+ *
4
+ * @category Enums
5
+ * @title LogLevel
6
+ * @excerpt Log level string union for SDK logging
7
+ */
8
+ export type LogLevel = "DEBUG" | "ERROR" | "INFO" | "VERBOSE" | "WARN";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * PersonGender enum representing a person's gender.
3
+ * Defines the possible gender values for a person.
4
+ *
5
+ * @category Enums
6
+ * @title PersonGender
7
+ * @excerpt PersonGender enum representing a person's gender.
8
+ */
9
+ export type PersonGender = "female" | "male" | "other" | "unknown";
10
+ /** @internal */
11
+ export declare const personGenderValues: readonly ["female", "male", "other", "unknown"];
@@ -0,0 +1,7 @@
1
+ /** @internal */
2
+ export const personGenderValues = [
3
+ "female",
4
+ "male",
5
+ "other",
6
+ "unknown",
7
+ ];
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Search context options for health resource searches.
3
+ * Defines the context in which a search is being performed, which determines
4
+ * which configurations and filters are applied to the search results.
5
+ *
6
+ * @category Enums
7
+ * @title SearchContext
8
+ * @excerpt Available search contexts for health resource searches
9
+ */
10
+ export type SearchContext = "DATA_CONNECTIONS" | "FIND_CARE";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Types of search results returned by health resource searches.
3
+ * Categorizes different kinds of healthcare entities and services.
4
+ *
5
+ * @category Enums
6
+ * @title SearchResultType
7
+ * @excerpt Categories of health resource search results
8
+ */
9
+ export type SearchResultType = "INSURANCE" | "LABORATORY" | "PHARMACY" | "PRACTICE" | "PRACTITIONER";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Sort field options for health resource searches.
3
+ * Defines the available fields that can be used to sort search results.
4
+ *
5
+ * @experimental
6
+ * @category Enums
7
+ * @title SortField
8
+ * @excerpt Available sort fields for health resource searches
9
+ */
10
+ export type SortField = "content" | "distance" | "relevance";
@@ -0,0 +1 @@
1
+ export {};