@icanbwell/bwell-sdk-ts 0.2.0 → 0.3.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 (327) hide show
  1. package/README.md +20 -59
  2. package/dist/__version__.d.ts +1 -1
  3. package/dist/__version__.js +1 -2
  4. package/dist/api/api-provider-factory.js +0 -1
  5. package/dist/api/base/activity/activity-manager.d.ts +4 -0
  6. package/dist/api/base/activity/activity-manager.js +0 -1
  7. package/dist/api/base/activity/get-tasks-request.js +0 -1
  8. package/dist/api/base/activity/index.d.ts +1 -1
  9. package/dist/api/base/activity/index.js +0 -1
  10. package/dist/api/base/activity/types.js +0 -1
  11. package/dist/api/base/activity/update-task-status-request.js +0 -1
  12. package/dist/api/base/api-provider.js +0 -1
  13. package/dist/api/base/connection/connection-manager.d.ts +19 -5
  14. package/dist/api/base/connection/connection-manager.js +0 -1
  15. package/dist/api/base/connection/connection-request.js +0 -1
  16. package/dist/api/base/connection/index.d.ts +1 -1
  17. package/dist/api/base/connection/index.js +0 -1
  18. package/dist/api/base/device/device-manager.d.ts +1 -1
  19. package/dist/api/base/device/device-manager.js +1 -2
  20. package/dist/api/base/device/device-request.js +0 -1
  21. package/dist/api/base/device/index.d.ts +1 -1
  22. package/dist/api/base/device/index.js +1 -1
  23. package/dist/api/base/errors.js +0 -1
  24. package/dist/api/base/event/event-manager.d.ts +3 -0
  25. package/dist/api/base/event/event-manager.js +0 -1
  26. package/dist/api/base/event/event-request.js +1 -2
  27. package/dist/api/base/event/index.d.ts +1 -1
  28. package/dist/api/base/event/index.js +0 -1
  29. package/dist/api/base/health-data/health-data-request.js +0 -1
  30. package/dist/api/base/health-data/health-manager.d.ts +78 -21
  31. package/dist/api/base/health-data/health-manager.js +0 -1
  32. package/dist/api/base/health-data/index.d.ts +2 -2
  33. package/dist/api/base/health-data/index.js +1 -2
  34. package/dist/api/base/health-data/lab-knowledge-request.js +0 -1
  35. package/dist/api/base/health-data/medication-knowledge-request.js +0 -1
  36. package/dist/api/base/identity/identity-manager.d.ts +11 -2
  37. package/dist/api/base/identity/identity-manager.js +0 -1
  38. package/dist/api/base/identity/index.js +0 -1
  39. package/dist/api/base/index.js +0 -1
  40. package/dist/api/base/requests/index.js +0 -1
  41. package/dist/api/base/requests/search-date-validation-cases.js +0 -1
  42. package/dist/api/base/requests/search-date.js +0 -1
  43. package/dist/api/base/requests/search-token.js +0 -1
  44. package/dist/api/base/search/index.d.ts +1 -1
  45. package/dist/api/base/search/index.js +0 -1
  46. package/dist/api/base/search/request-connection-request.js +0 -1
  47. package/dist/api/base/search/search-manager.d.ts +7 -1
  48. package/dist/api/base/search/search-manager.js +0 -1
  49. package/dist/api/base/search/search-request.js +0 -1
  50. package/dist/api/base/user/create-consent-request.js +0 -1
  51. package/dist/api/base/user/get-consents-request.js +0 -1
  52. package/dist/api/base/user/index.d.ts +1 -1
  53. package/dist/api/base/user/index.js +0 -1
  54. package/dist/api/base/user/types.js +0 -1
  55. package/dist/api/base/user/update-profile-request.js +0 -1
  56. package/dist/api/base/user/user-manager.d.ts +6 -1
  57. package/dist/api/base/user/user-manager.js +0 -1
  58. package/dist/api/graphql-api/activity/activity-request-factories.js +0 -1
  59. package/dist/api/graphql-api/activity/graphql-activity-manager.js +0 -1
  60. package/dist/api/graphql-api/activity/index.js +0 -1
  61. package/dist/api/graphql-api/connection/graphql-connection-manager.js +0 -1
  62. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +0 -1
  63. package/dist/api/graphql-api/connection/index.js +0 -1
  64. package/dist/api/graphql-api/device/device-request-factory.js +0 -1
  65. package/dist/api/graphql-api/device/graphql-device-manager.js +0 -1
  66. package/dist/api/graphql-api/device/index.js +0 -1
  67. package/dist/api/graphql-api/errors/errors.js +11 -2
  68. package/dist/api/graphql-api/errors/index.js +0 -1
  69. package/dist/api/graphql-api/event/event-request-factory.js +0 -1
  70. package/dist/api/graphql-api/event/graphql-event-manager.js +0 -1
  71. package/dist/api/graphql-api/event/index.js +0 -1
  72. package/dist/api/graphql-api/graphql-api-provider.js +0 -1
  73. package/dist/api/graphql-api/graphql-manager/graphql-manager.js +0 -1
  74. package/dist/api/graphql-api/graphql-manager/index.js +0 -1
  75. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js +0 -1
  76. package/dist/api/graphql-api/graphql-sdk/index.js +0 -1
  77. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +0 -1
  78. package/dist/api/graphql-api/healthdata/index.js +0 -1
  79. package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +3 -2
  80. package/dist/api/graphql-api/identity/graphql-identity-manager.js +27 -6
  81. package/dist/api/graphql-api/identity/index.js +0 -1
  82. package/dist/api/graphql-api/index.js +0 -1
  83. package/dist/api/graphql-api/search/connection-search-request-factory.js +0 -1
  84. package/dist/api/graphql-api/search/graphql-search-manager.js +0 -1
  85. package/dist/api/graphql-api/search/index.js +0 -1
  86. package/dist/api/graphql-api/search/provider-search-request-factory.js +0 -1
  87. package/dist/api/graphql-api/search/request-connection-request-factory.js +0 -1
  88. package/dist/api/graphql-api/search/search-request-factory.js +0 -1
  89. package/dist/api/graphql-api/user/create-consent-request-factory.js +0 -1
  90. package/dist/api/graphql-api/user/get-consent-request-factory.js +0 -1
  91. package/dist/api/graphql-api/user/graphql-user-manager.js +0 -1
  92. package/dist/api/graphql-api/user/index.js +0 -1
  93. package/dist/api/graphql-api/user/update-profile-request-factory.js +0 -1
  94. package/dist/api/identity-manager-factory.js +0 -1
  95. package/dist/api/index.js +0 -1
  96. package/dist/auth/auth-strategy-factory.js +8 -4
  97. package/dist/auth/auth-strategy.js +0 -1
  98. package/dist/auth/credentials.d.ts +1 -1
  99. package/dist/auth/credentials.js +1 -2
  100. package/dist/auth/index.js +0 -1
  101. package/dist/auth/oauth-strategy.js +1 -2
  102. package/dist/auth/username-password-strategy.d.ts +12 -0
  103. package/dist/auth/username-password-strategy.js +52 -0
  104. package/dist/bwell-sdk/bwell-sdk.d.ts +46 -0
  105. package/dist/bwell-sdk/bwell-sdk.js +47 -4
  106. package/dist/bwell-sdk/mocks.d.ts +0 -1
  107. package/dist/bwell-sdk/mocks.js +0 -1
  108. package/dist/config/bwell-config.js +0 -1
  109. package/dist/config/config-manager.js +0 -1
  110. package/dist/config/context.js +0 -1
  111. package/dist/config/index.js +0 -1
  112. package/dist/config/sdk-config.d.ts +2 -1
  113. package/dist/config/sdk-config.js +2 -2
  114. package/dist/errors/authentication-error.js +0 -1
  115. package/dist/errors/bwell-error.d.ts +13 -0
  116. package/dist/errors/bwell-error.js +13 -1
  117. package/dist/errors/illegal-argument-error.js +0 -1
  118. package/dist/errors/illegal-state-error.js +0 -1
  119. package/dist/errors/index.js +0 -1
  120. package/dist/errors/invalid-client-key-error.js +0 -1
  121. package/dist/errors/invalid-credentials-type-error.js +0 -1
  122. package/dist/errors/invalid-token-error.d.ts +4 -0
  123. package/dist/errors/invalid-token-error.js +4 -1
  124. package/dist/errors/network-error.js +0 -1
  125. package/dist/errors/operation-outcome-error.js +0 -1
  126. package/dist/errors/unknown-error.js +0 -1
  127. package/dist/errors/validation-error.js +0 -1
  128. package/dist/graphql/index.js +0 -1
  129. package/dist/graphql/operations/index.d.ts +23 -7
  130. package/dist/graphql/operations/index.js +38 -1
  131. package/dist/graphql/operations/types.d.ts +4692 -724
  132. package/dist/graphql/operations/types.js +0 -1
  133. package/dist/graphql/schema.d.ts +560 -274
  134. package/dist/graphql/schema.js +145 -25
  135. package/dist/index.d.ts +1 -0
  136. package/dist/index.js +1 -1
  137. package/dist/logger/console/console-formatter.js +0 -1
  138. package/dist/logger/console/console-logger-provider.js +0 -1
  139. package/dist/logger/console/console-logger.js +0 -1
  140. package/dist/logger/console/index.js +0 -1
  141. package/dist/logger/index.js +0 -1
  142. package/dist/logger/logger-formatter.js +0 -1
  143. package/dist/logger/logger-provider-factory.js +0 -1
  144. package/dist/logger/logger-provider.js +0 -1
  145. package/dist/logger/logger.js +0 -1
  146. package/dist/logger/otel/index.js +0 -1
  147. package/dist/logger/otel/otel-logger-provider.js +0 -1
  148. package/dist/logger/otel/otel-logger.js +0 -1
  149. package/dist/logger/severity.js +0 -1
  150. package/dist/models/coding.js +0 -1
  151. package/dist/models/fhir-error.js +0 -1
  152. package/dist/models/index.js +0 -1
  153. package/dist/models/operation-outcome.js +0 -1
  154. package/dist/models/user.js +0 -1
  155. package/dist/requests/index.js +0 -1
  156. package/dist/requests/paged-request.js +0 -1
  157. package/dist/requests/request.js +0 -1
  158. package/dist/requests/validator.js +0 -1
  159. package/dist/results/bwell-query-result-factory.js +0 -1
  160. package/dist/results/bwell-query-result.js +0 -1
  161. package/dist/results/bwell-transaction-result.d.ts +23 -10
  162. package/dist/results/bwell-transaction-result.js +10 -3
  163. package/dist/results/index.js +0 -1
  164. package/dist/telemetry/index.js +0 -1
  165. package/dist/telemetry/open-telemetry-instrumentation.d.ts +2 -1
  166. package/dist/telemetry/open-telemetry-instrumentation.js +7 -7
  167. package/dist/telemetry/open-telemetry.d.ts +2 -2
  168. package/dist/telemetry/open-telemetry.js +5 -13
  169. package/dist/telemetry/telemetry.js +0 -1
  170. package/dist/tokens/index.js +0 -1
  171. package/dist/tokens/jwt-token-manager.js +1 -2
  172. package/dist/tokens/token-storage.js +0 -1
  173. package/dist/utils/base64.js +0 -1
  174. package/dist/utils/index.js +0 -1
  175. package/dist/utils/parsing-utils.js +0 -1
  176. package/dist/utils/runtime.js +0 -1
  177. package/dist/utils/string-utils.js +0 -1
  178. package/dist/utils/type-utils.d.ts +2 -0
  179. package/dist/utils/type-utils.js +6 -1
  180. package/dist/utils/version.js +0 -1
  181. package/package.json +29 -27
  182. package/dist/__version__.js.map +0 -1
  183. package/dist/api/api-provider-factory.js.map +0 -1
  184. package/dist/api/base/activity/activity-manager.js.map +0 -1
  185. package/dist/api/base/activity/get-tasks-request.js.map +0 -1
  186. package/dist/api/base/activity/index.js.map +0 -1
  187. package/dist/api/base/activity/types.js.map +0 -1
  188. package/dist/api/base/activity/update-task-status-request.js.map +0 -1
  189. package/dist/api/base/api-provider.js.map +0 -1
  190. package/dist/api/base/connection/connection-manager.js.map +0 -1
  191. package/dist/api/base/connection/connection-request.js.map +0 -1
  192. package/dist/api/base/connection/index.js.map +0 -1
  193. package/dist/api/base/device/device-manager.js.map +0 -1
  194. package/dist/api/base/device/device-request.js.map +0 -1
  195. package/dist/api/base/device/index.js.map +0 -1
  196. package/dist/api/base/errors.js.map +0 -1
  197. package/dist/api/base/event/event-manager.js.map +0 -1
  198. package/dist/api/base/event/event-request.js.map +0 -1
  199. package/dist/api/base/event/index.js.map +0 -1
  200. package/dist/api/base/health-data/health-data-request.js.map +0 -1
  201. package/dist/api/base/health-data/health-manager.js.map +0 -1
  202. package/dist/api/base/health-data/index.js.map +0 -1
  203. package/dist/api/base/health-data/lab-knowledge-request.js.map +0 -1
  204. package/dist/api/base/health-data/medication-knowledge-request.js.map +0 -1
  205. package/dist/api/base/identity/identity-manager.js.map +0 -1
  206. package/dist/api/base/identity/index.js.map +0 -1
  207. package/dist/api/base/index.js.map +0 -1
  208. package/dist/api/base/requests/index.js.map +0 -1
  209. package/dist/api/base/requests/search-date-validation-cases.js.map +0 -1
  210. package/dist/api/base/requests/search-date.js.map +0 -1
  211. package/dist/api/base/requests/search-token.js.map +0 -1
  212. package/dist/api/base/search/index.js.map +0 -1
  213. package/dist/api/base/search/request-connection-request.js.map +0 -1
  214. package/dist/api/base/search/search-manager.js.map +0 -1
  215. package/dist/api/base/search/search-request.js.map +0 -1
  216. package/dist/api/base/user/create-consent-request.js.map +0 -1
  217. package/dist/api/base/user/get-consents-request.js.map +0 -1
  218. package/dist/api/base/user/index.js.map +0 -1
  219. package/dist/api/base/user/types.js.map +0 -1
  220. package/dist/api/base/user/update-profile-request.js.map +0 -1
  221. package/dist/api/base/user/user-manager.js.map +0 -1
  222. package/dist/api/graphql-api/activity/activity-request-factories.js.map +0 -1
  223. package/dist/api/graphql-api/activity/graphql-activity-manager.js.map +0 -1
  224. package/dist/api/graphql-api/activity/index.js.map +0 -1
  225. package/dist/api/graphql-api/connection/graphql-connection-manager.js.map +0 -1
  226. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js.map +0 -1
  227. package/dist/api/graphql-api/connection/index.js.map +0 -1
  228. package/dist/api/graphql-api/device/device-request-factory.js.map +0 -1
  229. package/dist/api/graphql-api/device/graphql-device-manager.js.map +0 -1
  230. package/dist/api/graphql-api/device/index.js.map +0 -1
  231. package/dist/api/graphql-api/errors/errors.js.map +0 -1
  232. package/dist/api/graphql-api/errors/index.js.map +0 -1
  233. package/dist/api/graphql-api/event/event-request-factory.js.map +0 -1
  234. package/dist/api/graphql-api/event/graphql-event-manager.js.map +0 -1
  235. package/dist/api/graphql-api/event/index.js.map +0 -1
  236. package/dist/api/graphql-api/graphql-api-provider.js.map +0 -1
  237. package/dist/api/graphql-api/graphql-manager/graphql-manager.js.map +0 -1
  238. package/dist/api/graphql-api/graphql-manager/index.js.map +0 -1
  239. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js.map +0 -1
  240. package/dist/api/graphql-api/graphql-sdk/index.js.map +0 -1
  241. package/dist/api/graphql-api/healthdata/graphql-health-manager.js.map +0 -1
  242. package/dist/api/graphql-api/healthdata/index.js.map +0 -1
  243. package/dist/api/graphql-api/identity/graphql-identity-manager.js.map +0 -1
  244. package/dist/api/graphql-api/identity/index.js.map +0 -1
  245. package/dist/api/graphql-api/index.js.map +0 -1
  246. package/dist/api/graphql-api/search/connection-search-request-factory.js.map +0 -1
  247. package/dist/api/graphql-api/search/graphql-search-manager.js.map +0 -1
  248. package/dist/api/graphql-api/search/index.js.map +0 -1
  249. package/dist/api/graphql-api/search/provider-search-request-factory.js.map +0 -1
  250. package/dist/api/graphql-api/search/request-connection-request-factory.js.map +0 -1
  251. package/dist/api/graphql-api/search/search-request-factory.js.map +0 -1
  252. package/dist/api/graphql-api/user/create-consent-request-factory.js.map +0 -1
  253. package/dist/api/graphql-api/user/get-consent-request-factory.js.map +0 -1
  254. package/dist/api/graphql-api/user/graphql-user-manager.js.map +0 -1
  255. package/dist/api/graphql-api/user/index.js.map +0 -1
  256. package/dist/api/graphql-api/user/update-profile-request-factory.js.map +0 -1
  257. package/dist/api/identity-manager-factory.js.map +0 -1
  258. package/dist/api/index.js.map +0 -1
  259. package/dist/auth/auth-strategy-factory.js.map +0 -1
  260. package/dist/auth/auth-strategy.js.map +0 -1
  261. package/dist/auth/credentials.js.map +0 -1
  262. package/dist/auth/index.js.map +0 -1
  263. package/dist/auth/oauth-strategy.js.map +0 -1
  264. package/dist/bwell-sdk/bwell-sdk.js.map +0 -1
  265. package/dist/bwell-sdk/mocks.js.map +0 -1
  266. package/dist/config/bwell-config.js.map +0 -1
  267. package/dist/config/config-manager.js.map +0 -1
  268. package/dist/config/context.js.map +0 -1
  269. package/dist/config/index.js.map +0 -1
  270. package/dist/config/sdk-config.js.map +0 -1
  271. package/dist/errors/authentication-error.js.map +0 -1
  272. package/dist/errors/bwell-error.js.map +0 -1
  273. package/dist/errors/illegal-argument-error.js.map +0 -1
  274. package/dist/errors/illegal-state-error.js.map +0 -1
  275. package/dist/errors/index.js.map +0 -1
  276. package/dist/errors/invalid-client-key-error.js.map +0 -1
  277. package/dist/errors/invalid-credentials-type-error.js.map +0 -1
  278. package/dist/errors/invalid-token-error.js.map +0 -1
  279. package/dist/errors/network-error.js.map +0 -1
  280. package/dist/errors/operation-outcome-error.js.map +0 -1
  281. package/dist/errors/unknown-error.js.map +0 -1
  282. package/dist/errors/validation-error.js.map +0 -1
  283. package/dist/graphql/index.js.map +0 -1
  284. package/dist/graphql/operations/index.js.map +0 -1
  285. package/dist/graphql/operations/types.js.map +0 -1
  286. package/dist/graphql/schema.js.map +0 -1
  287. package/dist/index.js.map +0 -1
  288. package/dist/logger/console/console-formatter.js.map +0 -1
  289. package/dist/logger/console/console-logger-provider.js.map +0 -1
  290. package/dist/logger/console/console-logger.js.map +0 -1
  291. package/dist/logger/console/index.js.map +0 -1
  292. package/dist/logger/index.js.map +0 -1
  293. package/dist/logger/logger-formatter.js.map +0 -1
  294. package/dist/logger/logger-provider-factory.js.map +0 -1
  295. package/dist/logger/logger-provider.js.map +0 -1
  296. package/dist/logger/logger.js.map +0 -1
  297. package/dist/logger/otel/index.js.map +0 -1
  298. package/dist/logger/otel/otel-logger-provider.js.map +0 -1
  299. package/dist/logger/otel/otel-logger.js.map +0 -1
  300. package/dist/logger/severity.js.map +0 -1
  301. package/dist/models/coding.js.map +0 -1
  302. package/dist/models/fhir-error.js.map +0 -1
  303. package/dist/models/index.js.map +0 -1
  304. package/dist/models/operation-outcome.js.map +0 -1
  305. package/dist/models/user.js.map +0 -1
  306. package/dist/requests/index.js.map +0 -1
  307. package/dist/requests/paged-request.js.map +0 -1
  308. package/dist/requests/request.js.map +0 -1
  309. package/dist/requests/validator.js.map +0 -1
  310. package/dist/results/bwell-query-result-factory.js.map +0 -1
  311. package/dist/results/bwell-query-result.js.map +0 -1
  312. package/dist/results/bwell-transaction-result.js.map +0 -1
  313. package/dist/results/index.js.map +0 -1
  314. package/dist/telemetry/index.js.map +0 -1
  315. package/dist/telemetry/open-telemetry-instrumentation.js.map +0 -1
  316. package/dist/telemetry/open-telemetry.js.map +0 -1
  317. package/dist/telemetry/telemetry.js.map +0 -1
  318. package/dist/tokens/index.js.map +0 -1
  319. package/dist/tokens/jwt-token-manager.js.map +0 -1
  320. package/dist/tokens/token-storage.js.map +0 -1
  321. package/dist/utils/base64.js.map +0 -1
  322. package/dist/utils/index.js.map +0 -1
  323. package/dist/utils/parsing-utils.js.map +0 -1
  324. package/dist/utils/runtime.js.map +0 -1
  325. package/dist/utils/string-utils.js.map +0 -1
  326. package/dist/utils/type-utils.js.map +0 -1
  327. package/dist/utils/version.js.map +0 -1
@@ -84,7 +84,7 @@ export type Scalars = {
84
84
  input: any;
85
85
  output: any;
86
86
  };
87
- OperationOutcome: {
87
+ JSONResponse: {
88
88
  input: any;
89
89
  output: any;
90
90
  };
@@ -100,7 +100,6 @@ export type Scalars = {
100
100
  input: any;
101
101
  output: any;
102
102
  };
103
- /** A custom scalar that handles URI values */
104
103
  URI: {
105
104
  input: any;
106
105
  output: any;
@@ -138,6 +137,7 @@ export type Scalars = {
138
137
  input: any;
139
138
  output: any;
140
139
  };
140
+ /** Represents a date-time value in ISO 8601 format */
141
141
  dateTime: {
142
142
  input: any;
143
143
  output: any;
@@ -175,6 +175,11 @@ export type Scalars = {
175
175
  output: any;
176
176
  };
177
177
  };
178
+ export type AccessTokenPayload = {
179
+ __typename?: 'AccessTokenPayload';
180
+ jwtToken: Scalars['String']['output'];
181
+ payload?: Maybe<PayloadGql>;
182
+ };
178
183
  export type Activity = {
179
184
  __typename?: 'Activity';
180
185
  detail?: Maybe<Detail>;
@@ -211,20 +216,11 @@ export type AddressInput = {
211
216
  type?: InputMaybe<Scalars['String']['input']>;
212
217
  use?: InputMaybe<Scalars['String']['input']>;
213
218
  };
214
- export declare enum AddressType {
215
- Both = "both",
216
- Physical = "physical",
217
- /** Follows https://www.hl7.org/fhir/valueset-address-type.html */
218
- Postal = "postal"
219
- }
220
- export declare enum AddressUse {
221
- Billing = "billing",
222
- /** Follows https://www.hl7.org/fhir/valueset-address-use.html */
223
- Home = "home",
224
- Old = "old",
225
- Temp = "temp",
226
- Work = "work"
227
- }
219
+ export type AdminGetUserOutput = {
220
+ __typename?: 'AdminGetUserOutput';
221
+ UserAttributes: Array<UserAttributeType>;
222
+ Username: Scalars['String']['output'];
223
+ };
228
224
  export type AllergyIntoleranceGroup = ResourceGroup & {
229
225
  __typename?: 'AllergyIntoleranceGroup';
230
226
  /** Coding representing the kind of allergy intolerances in this composition */
@@ -240,6 +236,8 @@ export type AllergyIntoleranceGroup = ResourceGroup & {
240
236
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
241
237
  /** Array of Strings representing the source of the data */
242
238
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
239
+ /** Array of Strings representing the source of the data */
240
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
243
241
  };
244
242
  export type AllergyIntoleranceGroupQueryRequest = {
245
243
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -370,7 +368,7 @@ export type BootstrapConfiguration = {
370
368
  export type Bundle = {
371
369
  __typename?: 'Bundle';
372
370
  entry?: Maybe<Array<Maybe<BundleEntry>>>;
373
- identifier?: Maybe<Identifier>;
371
+ identifier?: Maybe<Consent_Identifier>;
374
372
  link?: Maybe<Array<Maybe<BundleLink>>>;
375
373
  timestamp?: Maybe<Scalars['dateTime']['output']>;
376
374
  total?: Maybe<Scalars['Int']['output']>;
@@ -415,6 +413,8 @@ export type CarePlanGroup = ResourceGroup & {
415
413
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
416
414
  /** Array of Strings representing the source of the data */
417
415
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
416
+ /** Array of Strings representing the source of the data */
417
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
418
418
  };
419
419
  export type CarePlanGroupQueryRequest = {
420
420
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -484,6 +484,25 @@ export declare enum ClientId {
484
484
  Proa = "proa",
485
485
  Samsung = "samsung"
486
486
  }
487
+ /**
488
+ * ClientId enum
489
+ * New version
490
+ */
491
+ export declare enum ClientIdEnum {
492
+ Proa = "PROA",
493
+ Samsung = "SAMSUNG"
494
+ }
495
+ /**
496
+ * Client input
497
+ * New version
498
+ */
499
+ export type ClientInput = {
500
+ config?: InputMaybe<Scalars['String']['input']>;
501
+ dataSets?: InputMaybe<Array<InputMaybe<DataSetsEnum>>>;
502
+ id?: InputMaybe<ClientIdEnum>;
503
+ name?: InputMaybe<Scalars['String']['input']>;
504
+ version?: Scalars['Float']['input'];
505
+ };
487
506
  export type ClientSlugAndIdentifierInput = {
488
507
  addBwellPatientIfMissing?: InputMaybe<Scalars['Boolean']['input']>;
489
508
  clientSlug: Scalars['String']['input'];
@@ -521,7 +540,7 @@ export type CodeSystemProperty = {
521
540
  /** Value of the property for the concept */
522
541
  valueString?: Maybe<Scalars['String']['output']>;
523
542
  };
524
- /** A structured set of codes including a text representation. */
543
+ /** CodeableConcept */
525
544
  export type CodeableConcept = {
526
545
  __typename?: 'CodeableConcept';
527
546
  /** Follows https://www.hl7.org/fhir/datatypes-definitions.html#CodeableConcept */
@@ -542,7 +561,7 @@ export type CodeableConcept_Input = {
542
561
  id?: InputMaybe<Scalars['String']['input']>;
543
562
  text?: InputMaybe<Scalars['String']['input']>;
544
563
  };
545
- /** A single coding from a coding system. */
564
+ /** Coding */
546
565
  export type Coding = {
547
566
  __typename?: 'Coding';
548
567
  /** Follows https://www.hl7.org/fhir/datatypes.html#Coding */
@@ -594,6 +613,8 @@ export type ConditionGroup = ResourceGroup & {
594
613
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
595
614
  /** Array of Strings representing the source of the data */
596
615
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
616
+ /** Array of Strings representing the source of the data */
617
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
597
618
  };
598
619
  export type ConditionGroupQueryRequest = {
599
620
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -669,7 +690,6 @@ export type Connection = {
669
690
  name: Scalars['String']['output'];
670
691
  status?: Maybe<DataConnectionStatus>;
671
692
  statusUpdated?: Maybe<Scalars['DateTime']['output']>;
672
- syncErrors?: Maybe<Array<Coding>>;
673
693
  syncStatus?: Maybe<SyncStatus>;
674
694
  type: DataConnectionType;
675
695
  };
@@ -684,24 +704,24 @@ export type ConnectionStatusUpdate = {
684
704
  };
685
705
  export type Consent = DomainResource & Resource & {
686
706
  __typename?: 'Consent';
687
- category?: Maybe<Array<CodeableConcept>>;
707
+ category?: Maybe<Array<Consent_CodeableConcept>>;
688
708
  contained?: Maybe<Array<Maybe<Resource>>>;
689
709
  dateTime?: Maybe<Scalars['dateTime']['output']>;
690
- extension?: Maybe<Array<Maybe<Extension>>>;
710
+ extension?: Maybe<Array<Maybe<Consent_Extension>>>;
691
711
  id?: Maybe<Scalars['String']['output']>;
692
- identifier?: Maybe<Array<Maybe<Identifier>>>;
712
+ identifier?: Maybe<Array<Maybe<Consent_Identifier>>>;
693
713
  implicitRules?: Maybe<Scalars['String']['output']>;
694
714
  language?: Maybe<Scalars['String']['output']>;
695
715
  meta?: Maybe<Meta>;
696
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
697
- organization?: Maybe<Array<Maybe<Reference>>>;
698
- patient?: Maybe<Reference>;
699
- performer?: Maybe<Array<Maybe<Reference>>>;
716
+ modifierExtension?: Maybe<Array<Maybe<Consent_Extension>>>;
717
+ organization?: Maybe<Array<Maybe<Consent_Reference>>>;
718
+ patient?: Maybe<Consent_Reference>;
719
+ performer?: Maybe<Array<Maybe<Consent_Reference>>>;
700
720
  policy?: Maybe<Array<Maybe<ConsentPolicy>>>;
701
- policyRule?: Maybe<CodeableConcept>;
721
+ policyRule?: Maybe<Consent_CodeableConcept>;
702
722
  provision?: Maybe<ConsentProvision>;
703
723
  resourceType: Scalars['String']['output'];
704
- scope: CodeableConcept;
724
+ scope: Consent_CodeableConcept;
705
725
  source?: Maybe<ConsentSource>;
706
726
  status: Scalars['code']['output'];
707
727
  text?: Maybe<Scalars['String']['output']>;
@@ -710,7 +730,7 @@ export type Consent = DomainResource & Resource & {
710
730
  export type ConsentActor = {
711
731
  __typename?: 'ConsentActor';
712
732
  reference?: Maybe<Scalars['reference']['output']>;
713
- role?: Maybe<CodeableConcept>;
733
+ role?: Maybe<Consent_CodeableConcept>;
714
734
  };
715
735
  export type ConsentActorInput = {
716
736
  reference?: InputMaybe<Scalars['reference']['input']>;
@@ -719,7 +739,7 @@ export type ConsentActorInput = {
719
739
  export type ConsentBundle = {
720
740
  __typename?: 'ConsentBundle';
721
741
  entry?: Maybe<Array<Maybe<ConsentBundleEntry>>>;
722
- identifier?: Maybe<Identifier>;
742
+ identifier?: Maybe<Consent_Identifier>;
723
743
  link?: Maybe<Array<Maybe<BundleLink>>>;
724
744
  timestamp?: Maybe<Scalars['dateTime']['output']>;
725
745
  total?: Maybe<Scalars['Int']['output']>;
@@ -766,10 +786,10 @@ export type ConsentPolicyInput = {
766
786
  };
767
787
  export type ConsentProvision = {
768
788
  __typename?: 'ConsentProvision';
769
- action?: Maybe<Array<Maybe<CodeableConcept>>>;
789
+ action?: Maybe<Array<Maybe<Consent_CodeableConcept>>>;
770
790
  actor?: Maybe<Array<Maybe<ConsentActor>>>;
771
791
  class?: Maybe<Array<Maybe<Coding>>>;
772
- code?: Maybe<Array<Maybe<CodeableConcept>>>;
792
+ code?: Maybe<Array<Maybe<Consent_CodeableConcept>>>;
773
793
  data?: Maybe<Array<Maybe<ConsentData>>>;
774
794
  dataPeriod?: Maybe<Period>;
775
795
  period?: Maybe<Period>;
@@ -842,9 +862,38 @@ export type Consent_AttachmentInput = {
842
862
  url?: InputMaybe<Scalars['String']['input']>;
843
863
  width?: InputMaybe<Scalars['Int']['input']>;
844
864
  };
865
+ export type Consent_CodeableConcept = {
866
+ __typename?: 'Consent_CodeableConcept';
867
+ coding?: Maybe<Array<Maybe<Coding>>>;
868
+ id?: Maybe<Scalars['String']['output']>;
869
+ text?: Maybe<Scalars['String']['output']>;
870
+ };
871
+ export type Consent_Extension = {
872
+ __typename?: 'Consent_Extension';
873
+ id?: Maybe<Scalars['String']['output']>;
874
+ url?: Maybe<Scalars['String']['output']>;
875
+ valueCodeableConcept?: Maybe<Consent_CodeableConcept>;
876
+ valueExpression?: Maybe<Scalars['String']['output']>;
877
+ valueInteger?: Maybe<Scalars['Int']['output']>;
878
+ valueString?: Maybe<Scalars['String']['output']>;
879
+ };
880
+ export type Consent_Identifier = {
881
+ __typename?: 'Consent_Identifier';
882
+ id?: Maybe<Scalars['ID']['output']>;
883
+ system?: Maybe<Scalars['String']['output']>;
884
+ type?: Maybe<Consent_CodeableConcept>;
885
+ value?: Maybe<Scalars['String']['output']>;
886
+ };
845
887
  export type Consent_PeriodInput = {
846
- end?: InputMaybe<Scalars['DateTime']['input']>;
847
- start?: InputMaybe<Scalars['DateTime']['input']>;
888
+ end?: InputMaybe<Scalars['dateTime']['input']>;
889
+ start?: InputMaybe<Scalars['dateTime']['input']>;
890
+ };
891
+ export type Consent_Reference = {
892
+ __typename?: 'Consent_Reference';
893
+ display?: Maybe<Scalars['String']['output']>;
894
+ identifier?: Maybe<Consent_Identifier>;
895
+ reference?: Maybe<Scalars['String']['output']>;
896
+ type?: Maybe<Scalars['String']['output']>;
848
897
  };
849
898
  export type Consent_ReferenceInput = {
850
899
  display?: InputMaybe<Scalars['String']['input']>;
@@ -893,6 +942,14 @@ export declare enum DataSets {
893
942
  Connecthub = "connecthub",
894
943
  Nppes = "nppes"
895
944
  }
945
+ /**
946
+ * DataSets enum
947
+ * New version
948
+ */
949
+ export declare enum DataSetsEnum {
950
+ Connecthub = "CONNECTHUB",
951
+ Nppes = "NPPES"
952
+ }
896
953
  export type DataSource = {
897
954
  __typename?: 'DataSource';
898
955
  category: ConnectionCategory;
@@ -938,12 +995,12 @@ export type DispenseRequest = {
938
995
  initialFill?: Maybe<InitialFill>;
939
996
  /**
940
997
  * An integer indicating the number of times, in addition to the original dispense,
941
- * (aka refills or repeats) that the patient can receive the prescribed medication.
942
- * Usage Notes: This integer does not include the original order dispense. This means
943
- * that if an order indicates dispense 30 tablets plus "3 repeats", then the order
944
- * can be dispensed a total of 4 times and the patient can receive a total of 120
945
- * tablets. A prescriber may explicitly say that zero refills are permitted after
946
- * the initial dispense.
998
+ * (aka refills or repeats) that the patient can receive the prescribed medication.
999
+ * Usage Notes: This integer does not include the original order dispense. This means
1000
+ * that if an order indicates dispense 30 tablets plus "3 repeats", then the order
1001
+ * can be dispensed a total of 4 times and the patient can receive a total of 120
1002
+ * tablets. A prescriber may explicitly say that zero refills are permitted after
1003
+ * the initial dispense.
947
1004
  */
948
1005
  numberOfRepeatsAllowed?: Maybe<Scalars['Int']['output']>;
949
1006
  /** Indicates the intended dispensing Organization specified by the prescriber. */
@@ -954,12 +1011,12 @@ export type DispenseRequest = {
954
1011
  };
955
1012
  export type DomainResource = {
956
1013
  contained?: Maybe<Array<Maybe<Resource>>>;
957
- extension?: Maybe<Array<Maybe<Extension>>>;
1014
+ extension?: Maybe<Array<Maybe<Consent_Extension>>>;
958
1015
  id?: Maybe<Scalars['String']['output']>;
959
1016
  implicitRules?: Maybe<Scalars['String']['output']>;
960
1017
  language?: Maybe<Scalars['String']['output']>;
961
1018
  meta?: Maybe<Meta>;
962
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
1019
+ modifierExtension?: Maybe<Array<Maybe<Consent_Extension>>>;
963
1020
  resourceType: Scalars['String']['output'];
964
1021
  text?: Maybe<Scalars['String']['output']>;
965
1022
  };
@@ -992,7 +1049,7 @@ export type DoseAndRate = {
992
1049
  type?: Maybe<CodeableConcept>;
993
1050
  };
994
1051
  export type Element = {
995
- extension?: Maybe<Extension>;
1052
+ extension?: Maybe<Consent_Extension>;
996
1053
  id?: Maybe<Scalars['String']['output']>;
997
1054
  };
998
1055
  export type EmbeddableConfiguration = {
@@ -1025,6 +1082,8 @@ export type EncounterGroup = ResourceGroup & {
1025
1082
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1026
1083
  /** Array of Strings representing the source of the data */
1027
1084
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1085
+ /** Array of Strings representing the source of the data */
1086
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1028
1087
  /** The specific type of encounter (e.g., outpatient, inpatient). */
1029
1088
  type?: Maybe<Coding>;
1030
1089
  };
@@ -1091,6 +1150,30 @@ export declare enum EndpointStatus {
1091
1150
  Suspended = "suspended",
1092
1151
  Test = "test"
1093
1152
  }
1153
+ /**
1154
+ * EndpointStatus enum
1155
+ * New version
1156
+ */
1157
+ export declare enum EndpointStatusEnum {
1158
+ Active = "ACTIVE",
1159
+ EnteredInError = "ENTERED_IN_ERROR",
1160
+ Error = "ERROR",
1161
+ Off = "OFF",
1162
+ Suspended = "SUSPENDED",
1163
+ Test = "TEST"
1164
+ }
1165
+ /**
1166
+ * Endpoing type
1167
+ * New version
1168
+ */
1169
+ export type EndpointType = {
1170
+ __typename?: 'EndpointType';
1171
+ address?: Maybe<Scalars['String']['output']>;
1172
+ connectionType?: Maybe<Coding>;
1173
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
1174
+ name?: Maybe<Scalars['String']['output']>;
1175
+ status?: Maybe<EndpointStatusEnum>;
1176
+ };
1094
1177
  export declare enum EventType {
1095
1178
  CustomEvent = "CUSTOM_EVENT",
1096
1179
  MobilePushOpen = "MOBILE_PUSH_OPEN"
@@ -1098,8 +1181,9 @@ export declare enum EventType {
1098
1181
  /** Extension */
1099
1182
  export type Extension = {
1100
1183
  __typename?: 'Extension';
1101
- id?: Maybe<Scalars['String']['output']>;
1184
+ id: Scalars['String']['output'];
1102
1185
  url?: Maybe<Scalars['String']['output']>;
1186
+ valueBoolean?: Maybe<Scalars['Boolean']['output']>;
1103
1187
  valueCodeableConcept?: Maybe<CodeableConcept>;
1104
1188
  valueExpression?: Maybe<Scalars['String']['output']>;
1105
1189
  valueInteger?: Maybe<Scalars['Int']['output']>;
@@ -1182,7 +1266,7 @@ export type FhirQuestionnaire = {
1182
1266
  export type FhirQuestionnaireItem = {
1183
1267
  __typename?: 'FhirQuestionnaireItem';
1184
1268
  code?: Maybe<Array<Maybe<Coding>>>;
1185
- extension?: Maybe<Array<Maybe<Extension>>>;
1269
+ extension?: Maybe<Array<Maybe<Consent_Extension>>>;
1186
1270
  id?: Maybe<Scalars['String']['output']>;
1187
1271
  item?: Maybe<Array<Maybe<FhirQuestionnaireItem>>>;
1188
1272
  linkId?: Maybe<Scalars['String']['output']>;
@@ -1199,6 +1283,16 @@ export declare enum FilterField {
1199
1283
  Gender = "gender",
1200
1284
  Specialty = "specialty"
1201
1285
  }
1286
+ /**
1287
+ * FilterField enum
1288
+ * New version
1289
+ */
1290
+ export declare enum FilterFieldEnum {
1291
+ Characteristic = "CHARACTERISTIC",
1292
+ Communication = "COMMUNICATION",
1293
+ Gender = "GENDER",
1294
+ Specialty = "SPECIALTY"
1295
+ }
1202
1296
  export type FilterValue = {
1203
1297
  __typename?: 'FilterValue';
1204
1298
  count?: Maybe<Scalars['Int']['output']>;
@@ -1209,6 +1303,15 @@ export type FilterValues = {
1209
1303
  field?: Maybe<FilterField>;
1210
1304
  values?: Maybe<Array<Maybe<FilterValue>>>;
1211
1305
  };
1306
+ /**
1307
+ * FilterValues type
1308
+ * New version
1309
+ */
1310
+ export type FilterValuesType = {
1311
+ __typename?: 'FilterValuesType';
1312
+ field?: Maybe<FilterFieldEnum>;
1313
+ values?: Maybe<Array<Maybe<FilterValue>>>;
1314
+ };
1212
1315
  export type FrontendEnvironment = {
1213
1316
  __typename?: 'FrontendEnvironment';
1214
1317
  analytics: Analytics;
@@ -1220,10 +1323,30 @@ export declare enum Gender {
1220
1323
  Other = "other",
1221
1324
  Unknown = "unknown"
1222
1325
  }
1326
+ /**
1327
+ * Gender enum
1328
+ * New version
1329
+ *
1330
+ * Follows https://www.hl7.org/fhir/valueset-admin
1331
+ */
1332
+ export declare enum GenderEnum {
1333
+ Female = "FEMALE",
1334
+ Male = "MALE",
1335
+ Other = "OTHER",
1336
+ Unknown = "UNKNOWN"
1337
+ }
1223
1338
  export type GenerateUrl = {
1224
1339
  __typename?: 'GenerateUrl';
1225
1340
  redirectUrl: Scalars['String']['output'];
1226
1341
  };
1342
+ export type GetFhirSearchDate = {
1343
+ values: Array<GetFhirSearchDateValue>;
1344
+ };
1345
+ /** Search parameter for filtering by date */
1346
+ export type GetFhirSearchDateValue = {
1347
+ /** the value for the parameter in the resource is greater than the provided value */
1348
+ greaterThan?: InputMaybe<Scalars['date']['input']>;
1349
+ };
1227
1350
  export type GoogleGeo = {
1228
1351
  __typename?: 'GoogleGeo';
1229
1352
  key: Scalars['String']['output'];
@@ -1275,30 +1398,50 @@ export type HumanName = {
1275
1398
  /** Follows https://www.hl7.org/fhir/datatypes.html#HumanName */
1276
1399
  text?: Maybe<Scalars['String']['output']>;
1277
1400
  };
1278
- /** General identifier structure for various elements. */
1401
+ export type IdTokenBundleGql = {
1402
+ __typename?: 'IdTokenBundleGQL';
1403
+ jwtToken: Scalars['String']['output'];
1404
+ payload: IdTokenPayloadGql;
1405
+ };
1406
+ export type IdTokenPayloadGql = {
1407
+ __typename?: 'IdTokenPayloadGQL';
1408
+ aud?: Maybe<Scalars['String']['output']>;
1409
+ authTime?: Maybe<Scalars['Float']['output']>;
1410
+ bwellFhirPatientId: Scalars['String']['output'];
1411
+ bwellFhirPersonId: Scalars['String']['output'];
1412
+ clientFhirPatientId: Scalars['String']['output'];
1413
+ clientFhirPersonId: Scalars['String']['output'];
1414
+ client_key: Scalars['String']['output'];
1415
+ cognitoUsername?: Maybe<Scalars['String']['output']>;
1416
+ customScope?: Maybe<Scalars['String']['output']>;
1417
+ email?: Maybe<Scalars['String']['output']>;
1418
+ emailVerified?: Maybe<Scalars['Boolean']['output']>;
1419
+ eventId?: Maybe<Scalars['String']['output']>;
1420
+ exp?: Maybe<Scalars['Float']['output']>;
1421
+ iat?: Maybe<Scalars['Float']['output']>;
1422
+ iss?: Maybe<Scalars['String']['output']>;
1423
+ jti?: Maybe<Scalars['String']['output']>;
1424
+ originJti?: Maybe<Scalars['String']['output']>;
1425
+ sub?: Maybe<Scalars['String']['output']>;
1426
+ tokenUse?: Maybe<Scalars['String']['output']>;
1427
+ };
1428
+ /** Identifier */
1279
1429
  export type Identifier = {
1280
1430
  __typename?: 'Identifier';
1281
1431
  /** Unique identifier */
1282
- id?: Maybe<Scalars['ID']['output']>;
1432
+ id: Scalars['ID']['output'];
1283
1433
  /** The system within which the identifier is used. */
1284
- system?: Maybe<Scalars['String']['output']>;
1434
+ system: Scalars['String']['output'];
1285
1435
  /** The type of identifier (e.g., MRN, SIN). */
1286
- type?: Maybe<CodeableConcept>;
1436
+ type: CodeableConcept;
1287
1437
  /** The actual value of the identifier. */
1288
- value?: Maybe<Scalars['String']['output']>;
1438
+ value: Scalars['String']['output'];
1289
1439
  };
1290
1440
  export type IdentifierInput = {
1291
1441
  id?: InputMaybe<Scalars['String']['input']>;
1292
1442
  system?: InputMaybe<Scalars['String']['input']>;
1293
1443
  value?: InputMaybe<Scalars['String']['input']>;
1294
1444
  };
1295
- export declare enum IdentifierUseKind {
1296
- Official = "official",
1297
- Old = "old",
1298
- Secondary = "secondary",
1299
- Temp = "temp",
1300
- Usual = "usual"
1301
- }
1302
1445
  /** codeable concept */
1303
1446
  export type IdentityAuthed_CodeableConcept = {
1304
1447
  __typename?: 'IdentityAuthed_CodeableConcept';
@@ -1383,6 +1526,8 @@ export type ImmunizationGroup = ResourceGroup & {
1383
1526
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1384
1527
  /** Array of Strings representing the source of the data */
1385
1528
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1529
+ /** Array of Strings representing the source of the data */
1530
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1386
1531
  };
1387
1532
  export type ImmunizationGroupQueryRequest = {
1388
1533
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -1489,6 +1634,13 @@ export type InputProfileName = {
1489
1634
  export declare enum InteractionType {
1490
1635
  Clicked = "clicked"
1491
1636
  }
1637
+ /**
1638
+ * InteractionType enum
1639
+ * New version
1640
+ */
1641
+ export declare enum InteractionTypeEnum {
1642
+ Clicked = "CLICKED"
1643
+ }
1492
1644
  export type Issue = {
1493
1645
  __typename?: 'Issue';
1494
1646
  code: Scalars['String']['output'];
@@ -1532,6 +1684,8 @@ export type LabGroup = ResourceGroup & {
1532
1684
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1533
1685
  /** Array of Strings representing the source of the data */
1534
1686
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1687
+ /** Array of Strings representing the source of the data */
1688
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1535
1689
  value?: Maybe<Value>;
1536
1690
  };
1537
1691
  export type LabGroupQueryRequest = {
@@ -1575,14 +1729,14 @@ export type LabRequest = {
1575
1729
  };
1576
1730
  export type LegacyConsent = {
1577
1731
  __typename?: 'LegacyConsent';
1578
- category?: Maybe<Array<CodeableConcept>>;
1732
+ category?: Maybe<Array<Consent_CodeableConcept>>;
1579
1733
  dateTime?: Maybe<Scalars['dateTime']['output']>;
1580
1734
  id?: Maybe<Scalars['String']['output']>;
1581
1735
  organization?: Maybe<Scalars['reference']['output']>;
1582
1736
  patient?: Maybe<Scalars['reference']['output']>;
1583
1737
  provision?: Maybe<Scalars['consentProvision']['output']>;
1584
1738
  resourceType?: Maybe<Scalars['String']['output']>;
1585
- scope?: Maybe<CodeableConcept>;
1739
+ scope?: Maybe<Consent_CodeableConcept>;
1586
1740
  sourceReference?: Maybe<Scalars['reference']['output']>;
1587
1741
  status?: Maybe<Scalars['code']['output']>;
1588
1742
  };
@@ -1596,14 +1750,20 @@ export type Location = {
1596
1750
  identifier?: Maybe<Array<Maybe<Identifier>>>;
1597
1751
  /**
1598
1752
  * Follows https://www.hl7.org/fhir/location.html#location
1599
- * and adds https://www.hl7.org/fhir/datatypes.html#Address
1600
- * and adds distance_in_miles
1601
- * and adds https://www.hl7.org/fhir/schedule.html
1753
+ * and adds https://www.hl7.org/fhir/datatypes.html#Address
1754
+ * and adds distance_in_miles
1755
+ * and adds https://www.hl7.org/fhir/schedule.html
1602
1756
  */
1603
1757
  name?: Maybe<Scalars['String']['output']>;
1604
1758
  position?: Maybe<Position>;
1605
1759
  telecom?: Maybe<Array<Maybe<ContactPoint>>>;
1606
1760
  };
1761
+ export type LogInResponse = {
1762
+ __typename?: 'LogInResponse';
1763
+ accessToken: AccessTokenPayload;
1764
+ idToken: IdTokenBundleGql;
1765
+ refreshToken: RefreshTokenGql;
1766
+ };
1607
1767
  export declare enum LogLevel {
1608
1768
  Debug = "DEBUG",
1609
1769
  Error = "ERROR",
@@ -1627,6 +1787,8 @@ export type MedicationGroup = ResourceGroup & {
1627
1787
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1628
1788
  /** Array of Strings representing the source of the data */
1629
1789
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1790
+ /** Array of Strings representing the source of the data */
1791
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1630
1792
  status?: Maybe<Code>;
1631
1793
  };
1632
1794
  export type MedicationGroupQueryRequest = {
@@ -1662,16 +1824,17 @@ export type MedicationKnowledgeRequest = {
1662
1824
  /** Type representing the pricing information for a medication */
1663
1825
  export type MedicationPricing = {
1664
1826
  __typename?: 'MedicationPricing';
1827
+ /** A URL to the pharmacy's page for the medication, if available */
1828
+ couponUrl: Scalars['String']['output'];
1829
+ /** A URL to the GoodRx page for the medication, if available */
1830
+ drugUrl: Scalars['String']['output'];
1665
1831
  /** The name of the pharmacy offering the medication at this price */
1666
1832
  pharmacy: Scalars['String']['output'];
1667
1833
  /** The price of the medication */
1668
1834
  price?: Maybe<Money>;
1669
- /** A URL to the pharmacy's page for the medication, if available */
1670
- url?: Maybe<Scalars['String']['output']>;
1671
1835
  };
1672
- export type MedicationPricingQueryResults = PagedQueryResults & {
1836
+ export type MedicationPricingQueryResults = {
1673
1837
  __typename?: 'MedicationPricingQueryResults';
1674
- paging_info?: Maybe<PagingResults>;
1675
1838
  resources: Array<MedicationPricing>;
1676
1839
  };
1677
1840
  /** Input type for querying medication knowledge */
@@ -1698,7 +1861,7 @@ export type MedicationStatementResource = {
1698
1861
  authoredOn?: Maybe<Scalars['DateTime']['output']>;
1699
1862
  /**
1700
1863
  * Medication supply authorization
1701
- * https://hl7.org/fhir/R4B/medicationrequest-definitions.html#MedicationRequest.dispenseRequest
1864
+ * https://hl7.org/fhir/R4B/medicationrequest-definitions.html#MedicationRequest.dispenseRequest
1702
1865
  */
1703
1866
  dispenseRequest?: Maybe<DispenseRequest>;
1704
1867
  /** Details of how medication is/was taken or should be taken */
@@ -1711,7 +1874,7 @@ export type MedicationStatementResource = {
1711
1874
  meta?: Maybe<Meta>;
1712
1875
  /**
1713
1876
  * Reason for why the medication is being/was taken
1714
- * https://hl7.org/fhir/R4B/medicationrequest-definitions.html#MedicationRequest.reasonCode
1877
+ * https://hl7.org/fhir/R4B/medicationrequest-definitions.html#MedicationRequest.reasonCode
1715
1878
  */
1716
1879
  reasonCode?: Maybe<Array<CodeableConcept>>;
1717
1880
  /** Requester of the most recent medication request */
@@ -1721,7 +1884,7 @@ export type MedicationStatementResource = {
1721
1884
  /** Status of the derived medication statment */
1722
1885
  status?: Maybe<Code>;
1723
1886
  };
1724
- /** Meta type containing metadata tags and security labels for the resource. */
1887
+ /** task meta */
1725
1888
  export type Meta = {
1726
1889
  __typename?: 'Meta';
1727
1890
  /** When the resource last changed - e.g. when the version changed. */
@@ -1735,16 +1898,6 @@ export type Meta = {
1735
1898
  /** The version specific identifier, as it appears in the version portion of the URL */
1736
1899
  versionId?: Maybe<Scalars['String']['output']>;
1737
1900
  };
1738
- export type MetaSecurity = {
1739
- __typename?: 'MetaSecurity';
1740
- code?: Maybe<Scalars['String']['output']>;
1741
- system?: Maybe<Scalars['String']['output']>;
1742
- };
1743
- export type MetaTag = {
1744
- __typename?: 'MetaTag';
1745
- code?: Maybe<Scalars['String']['output']>;
1746
- system?: Maybe<Scalars['String']['output']>;
1747
- };
1748
1901
  export type MetadataId = {
1749
1902
  __typename?: 'MetadataId';
1750
1903
  bwellPatientId?: Maybe<Scalars['String']['output']>;
@@ -1778,18 +1931,19 @@ export type Mutation = {
1778
1931
  deleteConnection: ConnectionStatusUpdate;
1779
1932
  deletePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
1780
1933
  disconnectConnection: DisconnectConnection;
1781
- extensionRepairProcess?: Maybe<UpdatedPersonMetadata>;
1782
1934
  interacted?: Maybe<Scalars['Boolean']['output']>;
1935
+ itemInteracted?: Maybe<Scalars['Boolean']['output']>;
1936
+ patchUpdatePersonAndPatient?: Maybe<Array<Maybe<Person>>>;
1783
1937
  processConsentTasks?: Maybe<Array<Maybe<Job>>>;
1784
- publishEvent?: Maybe<Notification_OperationOutcome>;
1938
+ publishEvent?: Maybe<OperationOutcome>;
1785
1939
  redisCacheClean: RedisCacheCleanResponse;
1786
1940
  redisClearQuestionnairesCache: RedisCacheCleanResponse;
1787
- /** Un-Authed Mutation */
1788
1941
  requestConnection?: Maybe<RequestConnectionOutput>;
1789
1942
  retryConsentJob?: Maybe<Scalars['Void']['output']>;
1790
1943
  taskUpdateStatus?: Maybe<TaskUpdateStatusResponse>;
1791
- updateDeviceRegistration?: Maybe<Notification_OperationOutcome>;
1944
+ updateDeviceRegistration?: Maybe<OperationOutcome>;
1792
1945
  updatePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
1946
+ updatePersonDetails: Array<UpdatePersonDetailsOutput>;
1793
1947
  updatePersonWithClientId?: Maybe<PersonWithMetadata>;
1794
1948
  updateProfile?: Maybe<Profile>;
1795
1949
  updateUserAccountStatus: IdentityAuthed_OperationOutcome;
@@ -1839,6 +1993,14 @@ export type MutationInteractedArgs = {
1839
1993
  result_id?: InputMaybe<Scalars['String']['input']>;
1840
1994
  user?: InputMaybe<User>;
1841
1995
  };
1996
+ export type MutationItemInteractedArgs = {
1997
+ interaction?: InputMaybe<InteractionTypeEnum>;
1998
+ resultId?: InputMaybe<Scalars['String']['input']>;
1999
+ user?: InputMaybe<UserInput>;
2000
+ };
2001
+ export type MutationPatchUpdatePersonAndPatientArgs = {
2002
+ patientPersonPatchObjects: Array<InputMaybe<PatientPersonPatchObject>>;
2003
+ };
1842
2004
  export type MutationProcessConsentTasksArgs = {
1843
2005
  jobs?: InputMaybe<Array<InputMaybe<Job_Input>>>;
1844
2006
  };
@@ -1868,6 +2030,12 @@ export type MutationUpdatePersonAndPatientArgs = {
1868
2030
  clientPersonId?: InputMaybe<Scalars['String']['input']>;
1869
2031
  input?: InputMaybe<PersonInput>;
1870
2032
  };
2033
+ export type MutationUpdatePersonDetailsArgs = {
2034
+ clientSlug: Scalars['String']['input'];
2035
+ email: Scalars['String']['input'];
2036
+ newUserIdentifier: Scalars['String']['input'];
2037
+ updatedClientSlug: Scalars['String']['input'];
2038
+ };
1871
2039
  export type MutationUpdatePersonWithClientIdArgs = {
1872
2040
  input?: InputMaybe<PersonWithClientIdInput>;
1873
2041
  };
@@ -1912,31 +2080,12 @@ export type NameInput = {
1912
2080
  text?: InputMaybe<Scalars['String']['input']>;
1913
2081
  use?: InputMaybe<Scalars['String']['input']>;
1914
2082
  };
1915
- export type Narrative = {
1916
- __typename?: 'Narrative';
1917
- div: Scalars['String']['output'];
1918
- extension?: Maybe<Array<Maybe<Extension>>>;
1919
- id?: Maybe<Scalars['String']['output']>;
1920
- status: Scalars['String']['output'];
1921
- };
1922
2083
  export type NotSearchTokenValue = {
1923
2084
  code?: InputMaybe<Scalars['String']['input']>;
1924
2085
  system?: InputMaybe<Scalars['String']['input']>;
1925
2086
  value?: InputMaybe<Scalars['String']['input']>;
1926
2087
  values?: InputMaybe<Array<InputMaybe<SearchTokenValue>>>;
1927
2088
  };
1928
- export type Notification_Coding = {
1929
- __typename?: 'Notification_Coding';
1930
- code?: Maybe<Scalars['String']['output']>;
1931
- display?: Maybe<Scalars['String']['output']>;
1932
- system?: Maybe<Scalars['String']['output']>;
1933
- };
1934
- export type Notification_OperationOutcome = {
1935
- __typename?: 'Notification_OperationOutcome';
1936
- id: Scalars['ID']['output'];
1937
- issue: Array<OperationOutcomeIssue>;
1938
- resourceType: Scalars['String']['output'];
1939
- };
1940
2089
  /** Classification of type of observation */
1941
2090
  export declare enum ObservationCategory {
1942
2091
  Activity = "ACTIVITY",
@@ -2001,11 +2150,19 @@ export type ObservationResource = {
2001
2150
  export declare enum Operation {
2002
2151
  CancelDelete = "CANCEL_DELETE",
2003
2152
  ConfirmDelete = "CONFIRM_DELETE",
2153
+ DeletionInProgress = "DELETION_IN_PROGRESS",
2154
+ ImmediateExecution = "IMMEDIATE_EXECUTION",
2004
2155
  RequestDelete = "REQUEST_DELETE"
2005
2156
  }
2157
+ export type OperationOutcome = {
2158
+ __typename?: 'OperationOutcome';
2159
+ id: Scalars['ID']['output'];
2160
+ issue: Array<OperationOutcomeIssue>;
2161
+ resourceType: Scalars['String']['output'];
2162
+ };
2006
2163
  export type OperationOutcomeDetails = {
2007
2164
  __typename?: 'OperationOutcomeDetails';
2008
- coding?: Maybe<Array<Notification_Coding>>;
2165
+ coding?: Maybe<Array<Coding>>;
2009
2166
  text?: Maybe<Scalars['String']['output']>;
2010
2167
  };
2011
2168
  export type OperationOutcomeIssue = {
@@ -2026,6 +2183,14 @@ export type OrderBy = {
2026
2183
  field?: InputMaybe<SortField>;
2027
2184
  order?: InputMaybe<SortOrder>;
2028
2185
  };
2186
+ /**
2187
+ * OrderBy input
2188
+ * New version
2189
+ */
2190
+ export type OrderByInput = {
2191
+ field?: InputMaybe<SortFieldEnum>;
2192
+ order?: InputMaybe<SortOrderEnum>;
2193
+ };
2029
2194
  /** Represents an organization such as a clinic or manufacturer. */
2030
2195
  export type Organization = {
2031
2196
  __typename?: 'Organization';
@@ -2053,6 +2218,39 @@ export declare enum OrganizationType {
2053
2218
  Reli = "reli",
2054
2219
  Team = "team"
2055
2220
  }
2221
+ /**
2222
+ * OrganizationType enum
2223
+ * New version
2224
+ */
2225
+ export declare enum OrganizationTypeEnum {
2226
+ Bus = "BUS",
2227
+ C19Vaccine = "C19VACCINE",
2228
+ Cg = "CG",
2229
+ Crs = "CRS",
2230
+ Dept = "DEPT",
2231
+ Device = "DEVICE",
2232
+ Edu = "EDU",
2233
+ Govt = "GOVT",
2234
+ Ins = "INS",
2235
+ Insurance = "INSURANCE",
2236
+ Laboratory = "LABORATORY",
2237
+ Other = "OTHER",
2238
+ Pay = "PAY",
2239
+ Pharmacy = "PHARMACY",
2240
+ Prov = "PROV",
2241
+ Provider = "PROVIDER",
2242
+ Reli = "RELI",
2243
+ Team = "TEAM"
2244
+ }
2245
+ /**
2246
+ * Organization type
2247
+ * New version
2248
+ */
2249
+ export type OrganizationTypeNew = {
2250
+ __typename?: 'OrganizationTypeNew';
2251
+ endpoint?: Maybe<Array<Maybe<EndpointType>>>;
2252
+ name?: Maybe<Scalars['String']['output']>;
2253
+ };
2056
2254
  /** All queries that return a list of resources return a type that implements this interface. */
2057
2255
  export type PagedQueryResults = {
2058
2256
  paging_info?: Maybe<PagingResults>;
@@ -2064,6 +2262,17 @@ export type PagingInfo = {
2064
2262
  total_items: Scalars['Int']['output'];
2065
2263
  total_pages: Scalars['Int']['output'];
2066
2264
  };
2265
+ /**
2266
+ * PagingInfo type
2267
+ * New version
2268
+ */
2269
+ export type PagingInfoType = {
2270
+ __typename?: 'PagingInfoType';
2271
+ pageNumber: Scalars['Int']['output'];
2272
+ pageSize: Scalars['Int']['output'];
2273
+ totalItems: Scalars['Int']['output'];
2274
+ totalPages: Scalars['Int']['output'];
2275
+ };
2067
2276
  export type PagingResults = {
2068
2277
  __typename?: 'PagingResults';
2069
2278
  page_number: Scalars['Int']['output'];
@@ -2077,18 +2286,52 @@ export type Participant = {
2077
2286
  period?: Maybe<Period>;
2078
2287
  type?: Maybe<CodeableConcept>;
2079
2288
  };
2289
+ export type PatchObject = {
2290
+ from?: InputMaybe<Scalars['String']['input']>;
2291
+ op: PatchOperationType;
2292
+ path: Scalars['String']['input'];
2293
+ value?: InputMaybe<Scalars['code']['input']>;
2294
+ };
2295
+ export declare enum PatchOperationType {
2296
+ Add = "add",
2297
+ Copy = "copy",
2298
+ Move = "move",
2299
+ Remove = "remove",
2300
+ Replace = "replace",
2301
+ Test = "test"
2302
+ }
2080
2303
  /** A representation of a patient associated with the condition. */
2081
2304
  export type Patient = {
2082
2305
  __typename?: 'Patient';
2083
2306
  /** The name(s) of the patient. */
2084
2307
  name?: Maybe<Array<HumanName>>;
2085
2308
  };
2309
+ export type PatientPersonPatchObject = {
2310
+ id: Scalars['String']['input'];
2311
+ patchObject: Array<InputMaybe<PatchObject>>;
2312
+ resourceType: PersonPatientResourceType;
2313
+ };
2314
+ export type PayloadGql = {
2315
+ __typename?: 'PayloadGQL';
2316
+ authTime?: Maybe<Scalars['Float']['output']>;
2317
+ clientId?: Maybe<Scalars['String']['output']>;
2318
+ eventId?: Maybe<Scalars['String']['output']>;
2319
+ exp?: Maybe<Scalars['Float']['output']>;
2320
+ iat?: Maybe<Scalars['Float']['output']>;
2321
+ iss?: Maybe<Scalars['String']['output']>;
2322
+ jti?: Maybe<Scalars['String']['output']>;
2323
+ originJti?: Maybe<Scalars['String']['output']>;
2324
+ scope?: Maybe<Scalars['String']['output']>;
2325
+ sub?: Maybe<Scalars['String']['output']>;
2326
+ tokenUse?: Maybe<Scalars['String']['output']>;
2327
+ username?: Maybe<Scalars['String']['output']>;
2328
+ };
2086
2329
  /** The people who performed the procedure */
2087
2330
  export type Performer = {
2088
2331
  __typename?: 'Performer';
2089
2332
  actor?: Maybe<Actor>;
2090
2333
  };
2091
- /** A time period with a defined start and end date and time. */
2334
+ /** execution period */
2092
2335
  export type Period = {
2093
2336
  __typename?: 'Period';
2094
2337
  /** The end of the period. */
@@ -2159,7 +2402,7 @@ export type PersonLink = {
2159
2402
  __typename?: 'PersonLink';
2160
2403
  assurance?: Maybe<Scalars['String']['output']>;
2161
2404
  extension?: Maybe<Array<Maybe<Extension>>>;
2162
- id: Scalars['String']['output'];
2405
+ id?: Maybe<Scalars['String']['output']>;
2163
2406
  /** Can define enum */
2164
2407
  modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2165
2408
  target?: Maybe<Target>;
@@ -2207,6 +2450,10 @@ export type PersonMetadataInput = {
2207
2450
  /** Return statusCode as 200 in case of get and 201 if the resource was created */
2208
2451
  statusCode: Scalars['String']['input'];
2209
2452
  };
2453
+ export declare enum PersonPatientResourceType {
2454
+ Patient = "Patient",
2455
+ Person = "Person"
2456
+ }
2210
2457
  export type PersonResource = {
2211
2458
  __typename?: 'PersonResource';
2212
2459
  resource?: Maybe<Person>;
@@ -2256,7 +2503,7 @@ export type Position = {
2256
2503
  __typename?: 'Position';
2257
2504
  /**
2258
2505
  * Would have liked to follow https://www.hl7.org/fhir/backboneelement.html
2259
- * But have to use lat and lon so ElasticSearch understands this is a GeoPoint
2506
+ * But have to use lat and lon so ElasticSearch understands this is a GeoPoint
2260
2507
  */
2261
2508
  lat?: Maybe<Scalars['Float']['output']>;
2262
2509
  lon?: Maybe<Scalars['Float']['output']>;
@@ -2289,6 +2536,8 @@ export type ProcedureGroup = ResourceGroup & {
2289
2536
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2290
2537
  /** Array of Strings representing the source of the data */
2291
2538
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2539
+ /** Array of Strings representing the source of the data */
2540
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2292
2541
  };
2293
2542
  export type ProcedureGroupQueryRequest = {
2294
2543
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -2351,7 +2600,7 @@ export type ProcedureResource = {
2351
2600
  reasonCode?: Maybe<Array<Maybe<CodeableConcept>>>;
2352
2601
  /**
2353
2602
  * Status of the procedure
2354
- * https://hl7.org/fhir/R4B/valueset-event-status.html
2603
+ * https://hl7.org/fhir/R4B/valueset-event-status.html
2355
2604
  */
2356
2605
  status?: Maybe<Code>;
2357
2606
  };
@@ -2449,6 +2698,14 @@ export declare enum ProviderType {
2449
2698
  Practice = "practice",
2450
2699
  Practitioner = "practitioner"
2451
2700
  }
2701
+ /**
2702
+ * Provider Type enum
2703
+ * New version
2704
+ */
2705
+ export declare enum ProviderTypeEnum {
2706
+ Practice = "PRACTICE",
2707
+ Practitioner = "PRACTITIONER"
2708
+ }
2452
2709
  export type PublishEventDataField = {
2453
2710
  key: Scalars['String']['input'];
2454
2711
  value?: InputMaybe<Scalars['String']['input']>;
@@ -2457,9 +2714,12 @@ export type PublishEventRequest = {
2457
2714
  bwellPersonId?: InputMaybe<Scalars['String']['input']>;
2458
2715
  campaignId?: InputMaybe<Scalars['String']['input']>;
2459
2716
  clientId?: InputMaybe<Scalars['String']['input']>;
2717
+ clientKey?: InputMaybe<Scalars['String']['input']>;
2718
+ clientSlug?: InputMaybe<Scalars['String']['input']>;
2460
2719
  data?: InputMaybe<Array<InputMaybe<PublishEventDataField>>>;
2461
2720
  eventName?: InputMaybe<Scalars['String']['input']>;
2462
2721
  eventType: EventType;
2722
+ id?: InputMaybe<Scalars['String']['input']>;
2463
2723
  messageId?: InputMaybe<Scalars['String']['input']>;
2464
2724
  templateId?: InputMaybe<Scalars['String']['input']>;
2465
2725
  };
@@ -2505,6 +2765,7 @@ export type Query = {
2505
2765
  getEncounterGroups: EncounterGroupQueryResults;
2506
2766
  /** Retrieves a list of Encounter resources based on the provided search criteria. */
2507
2767
  getEncounters: EncounterQueryResults;
2768
+ getFHIR: ResourceResponse;
2508
2769
  /** Retrieves a list of HealthSummary resources based on the provided search criteria. */
2509
2770
  getHealthSummary: HealthSummaryQueryResults;
2510
2771
  getImmunizationGroups: ImmunizationGroupQueryResults;
@@ -2531,28 +2792,34 @@ export type Query = {
2531
2792
  /** Query to search for tasks. This query is the preferred method for searching for tasks. */
2532
2793
  getTasks?: Maybe<TaskQueryResults>;
2533
2794
  getToken: AuthTokens;
2795
+ getUserDetailsFromCognito: AdminGetUserOutput;
2534
2796
  getVitalSignGroups: VitalSignGroupQueryResults;
2535
2797
  /** Retrieves a list of vital signs based on the provided request parameters. */
2536
2798
  getVitalSigns: ObservationQueryResults;
2537
2799
  initSdk: SdkConfiguration;
2800
+ login: LogInResponse;
2538
2801
  person?: Maybe<Person>;
2539
2802
  placeholderQuery?: Maybe<Scalars['String']['output']>;
2540
2803
  profile?: Maybe<Profile>;
2541
- /** Searches providers based on filters. */
2804
+ /**
2805
+ * Searches providers based on filters.
2806
+ * @deprecated Use searchProviders instead
2807
+ */
2542
2808
  providers: ProviderResults;
2543
2809
  questionnaire?: Maybe<FhirFormQuestionnaire>;
2544
2810
  questionnaireResponse?: Maybe<QuestionnaireResponse>;
2545
2811
  questionnaireResponses?: Maybe<QuestionnaireResponse>;
2546
2812
  refresh: RefreshToken;
2547
- /** Un-Authed Queries */
2548
2813
  requestConnection?: Maybe<RequestConnectionOutput>;
2549
2814
  search?: Maybe<Array<Maybe<Consent>>>;
2550
- status?: Maybe<Scalars['String']['output']>;
2551
- subscription_subscription?: Maybe<Subscription_SubscriptionBundle>;
2552
2815
  /**
2553
- * Legacy query to search for tasks. This query is deprecated and will be
2554
- * removed in a future release. Use getTasks instead.
2816
+ * New version of provider search query with updated casing.
2817
+ * Searches providers based on filters.
2555
2818
  */
2819
+ searchProviders: SearchProvidersResults;
2820
+ status?: Maybe<Scalars['String']['output']>;
2821
+ subscription_subscription?: Maybe<Subscription_SubscriptionBundle>;
2822
+ /** Legacy query to search for tasks. This query is deprecated and will be removed in a future release. Use getTasks instead. */
2556
2823
  taskSearch?: Maybe<Array<Maybe<Task>>>;
2557
2824
  userProfile?: Maybe<Person>;
2558
2825
  who?: Maybe<Scalars['String']['output']>;
@@ -2612,6 +2879,9 @@ export type QueryGetEncounterGroupsArgs = {
2612
2879
  export type QueryGetEncountersArgs = {
2613
2880
  request?: InputMaybe<EncounterRequest>;
2614
2881
  };
2882
+ export type QueryGetFhirArgs = {
2883
+ request: ResourceRequest;
2884
+ };
2615
2885
  export type QueryGetImmunizationGroupsArgs = {
2616
2886
  request?: InputMaybe<ImmunizationGroupQueryRequest>;
2617
2887
  };
@@ -2660,6 +2930,10 @@ export type QueryGetProceduresArgs = {
2660
2930
  export type QueryGetTasksArgs = {
2661
2931
  request?: InputMaybe<TaskRequest>;
2662
2932
  };
2933
+ export type QueryGetUserDetailsFromCognitoArgs = {
2934
+ userPoolId: Scalars['String']['input'];
2935
+ username: Scalars['String']['input'];
2936
+ };
2663
2937
  export type QueryGetVitalSignGroupsArgs = {
2664
2938
  request?: InputMaybe<VitalSignGroupQueryRequest>;
2665
2939
  };
@@ -2669,6 +2943,10 @@ export type QueryGetVitalSignsArgs = {
2669
2943
  export type QueryInitSdkArgs = {
2670
2944
  clientKey: Scalars['String']['input'];
2671
2945
  };
2946
+ export type QueryLoginArgs = {
2947
+ email: Scalars['String']['input'];
2948
+ password: Scalars['String']['input'];
2949
+ };
2672
2950
  export type QueryPersonArgs = {
2673
2951
  id: Scalars['ID']['input'];
2674
2952
  };
@@ -2713,6 +2991,9 @@ export type QueryRequestConnectionArgs = {
2713
2991
  export type QuerySearchArgs = {
2714
2992
  params: ConsentSearch;
2715
2993
  };
2994
+ export type QuerySearchProvidersArgs = {
2995
+ searchProvidersInput?: InputMaybe<SearchProvidersInput>;
2996
+ };
2716
2997
  export type QuerySubscription_SubscriptionArgs = {
2717
2998
  _count?: InputMaybe<Scalars['Int']['input']>;
2718
2999
  _debug?: InputMaybe<Scalars['Boolean']['input']>;
@@ -2749,112 +3030,11 @@ export type QueryTaskSearchArgs = {
2749
3030
  status?: InputMaybe<SearchToken>;
2750
3031
  subject?: InputMaybe<SearchReference>;
2751
3032
  };
2752
- export type Questionnaire = TaskBasedOnV2 & {
2753
- __typename?: 'Questionnaire';
2754
- approvalDate?: Maybe<Scalars['String']['output']>;
2755
- code?: Maybe<Array<Maybe<Coding>>>;
2756
- contained?: Maybe<Array<Maybe<ResourceContainer>>>;
2757
- copyright?: Maybe<Scalars['String']['output']>;
2758
- date?: Maybe<Scalars['String']['output']>;
2759
- derivedFrom?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2760
- description?: Maybe<Scalars['String']['output']>;
2761
- effectivePeriod?: Maybe<Period>;
2762
- experimental?: Maybe<Scalars['Boolean']['output']>;
2763
- extension?: Maybe<Array<Maybe<Extension>>>;
2764
- id?: Maybe<Scalars['String']['output']>;
2765
- identifier?: Maybe<Array<Maybe<Identifier>>>;
2766
- implicitRules?: Maybe<Scalars['String']['output']>;
2767
- item?: Maybe<Array<Maybe<QuestionnaireItem>>>;
2768
- jurisdiction?: Maybe<Array<Maybe<CodeableConcept>>>;
2769
- language?: Maybe<Scalars['String']['output']>;
2770
- lastReviewDate?: Maybe<Scalars['String']['output']>;
2771
- meta?: Maybe<Meta>;
2772
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2773
- name?: Maybe<Scalars['String']['output']>;
2774
- publisher?: Maybe<Scalars['String']['output']>;
2775
- purpose?: Maybe<Scalars['String']['output']>;
2776
- resourceType?: Maybe<Scalars['String']['output']>;
2777
- status: Scalars['String']['output'];
2778
- subjectType?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2779
- text?: Maybe<Narrative>;
2780
- title?: Maybe<Scalars['String']['output']>;
2781
- url?: Maybe<Scalars['String']['output']>;
2782
- version?: Maybe<Scalars['String']['output']>;
2783
- };
2784
- export type QuestionnaireAnswerOption = {
2785
- __typename?: 'QuestionnaireAnswerOption';
2786
- extension?: Maybe<Array<Maybe<Extension>>>;
2787
- id?: Maybe<Scalars['String']['output']>;
2788
- initialSelected?: Maybe<Scalars['Boolean']['output']>;
2789
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2790
- valueCoding?: Maybe<Coding>;
2791
- valueDate?: Maybe<Scalars['String']['output']>;
2792
- valueInteger?: Maybe<Scalars['Int']['output']>;
2793
- valueReference?: Maybe<Resource>;
2794
- valueString?: Maybe<Scalars['String']['output']>;
2795
- valueTime?: Maybe<Scalars['String']['output']>;
2796
- };
2797
- export type QuestionnaireEnableWhen = {
2798
- __typename?: 'QuestionnaireEnableWhen';
2799
- answerBoolean?: Maybe<Scalars['Boolean']['output']>;
2800
- answerCoding?: Maybe<Coding>;
2801
- answerDate?: Maybe<Scalars['String']['output']>;
2802
- answerDateTime?: Maybe<Scalars['String']['output']>;
2803
- answerDecimal?: Maybe<Scalars['String']['output']>;
2804
- answerInteger?: Maybe<Scalars['Int']['output']>;
2805
- answerReference?: Maybe<Resource>;
2806
- answerString?: Maybe<Scalars['String']['output']>;
2807
- answerTime?: Maybe<Scalars['String']['output']>;
2808
- extension?: Maybe<Array<Maybe<Extension>>>;
2809
- id?: Maybe<Scalars['String']['output']>;
2810
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2811
- operator: Scalars['String']['output'];
2812
- question: Scalars['String']['output'];
2813
- };
2814
- export type QuestionnaireInitial = {
2815
- __typename?: 'QuestionnaireInitial';
2816
- extension?: Maybe<Array<Maybe<Extension>>>;
2817
- id?: Maybe<Scalars['String']['output']>;
2818
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2819
- valueAttachment?: Maybe<Attachment>;
2820
- valueBoolean?: Maybe<Scalars['Boolean']['output']>;
2821
- valueCoding?: Maybe<Coding>;
2822
- valueDate?: Maybe<Scalars['String']['output']>;
2823
- valueDateTime?: Maybe<Scalars['String']['output']>;
2824
- valueDecimal?: Maybe<Scalars['String']['output']>;
2825
- valueInteger?: Maybe<Scalars['Int']['output']>;
2826
- valueReference?: Maybe<Resource>;
2827
- valueString?: Maybe<Scalars['String']['output']>;
2828
- valueTime?: Maybe<Scalars['String']['output']>;
2829
- valueUri?: Maybe<Scalars['String']['output']>;
2830
- };
2831
- export type QuestionnaireItem = {
2832
- __typename?: 'QuestionnaireItem';
2833
- answerOption?: Maybe<Array<Maybe<QuestionnaireAnswerOption>>>;
2834
- answerValueSet?: Maybe<Scalars['String']['output']>;
2835
- code?: Maybe<Array<Maybe<Coding>>>;
2836
- definition?: Maybe<Scalars['String']['output']>;
2837
- enableBehavior?: Maybe<Scalars['String']['output']>;
2838
- enableWhen?: Maybe<Array<Maybe<QuestionnaireEnableWhen>>>;
2839
- extension?: Maybe<Array<Maybe<Extension>>>;
2840
- id?: Maybe<Scalars['String']['output']>;
2841
- initial?: Maybe<Array<Maybe<QuestionnaireInitial>>>;
2842
- item?: Maybe<Array<Maybe<QuestionnaireItem>>>;
2843
- linkId: Scalars['String']['output'];
2844
- maxLength?: Maybe<Scalars['Int']['output']>;
2845
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2846
- prefix?: Maybe<Scalars['String']['output']>;
2847
- readOnly?: Maybe<Scalars['Boolean']['output']>;
2848
- repeats?: Maybe<Scalars['Boolean']['output']>;
2849
- required?: Maybe<Scalars['Boolean']['output']>;
2850
- text?: Maybe<Scalars['String']['output']>;
2851
- type: Scalars['String']['output'];
2852
- };
2853
3033
  export type QuestionnaireModelItem = {
2854
3034
  __typename?: 'QuestionnaireModelItem';
2855
3035
  answer?: Maybe<Array<Maybe<Scalars['QuestionnaireItemAnswer']['output']>>>;
2856
3036
  code?: Maybe<Array<Maybe<Coding>>>;
2857
- extension?: Maybe<Array<Maybe<Extension>>>;
3037
+ extension?: Maybe<Array<Maybe<Consent_Extension>>>;
2858
3038
  id?: Maybe<Scalars['String']['output']>;
2859
3039
  item?: Maybe<Array<Maybe<QuestionnaireModelItem>>>;
2860
3040
  linkId?: Maybe<Scalars['String']['output']>;
@@ -2868,57 +3048,22 @@ export type QuestionnaireResponse = {
2868
3048
  patientId?: Maybe<Scalars['String']['output']>;
2869
3049
  questionnaireName?: Maybe<Scalars['String']['output']>;
2870
3050
  };
2871
- export type QuestionnaireResponseAnswer = {
2872
- __typename?: 'QuestionnaireResponseAnswer';
2873
- extension?: Maybe<Array<Maybe<Extension>>>;
2874
- id?: Maybe<Scalars['String']['output']>;
2875
- item?: Maybe<Array<Maybe<QuestionnaireResponseItem>>>;
2876
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2877
- valueAttachment?: Maybe<Attachment>;
2878
- valueBoolean?: Maybe<Scalars['Boolean']['output']>;
2879
- valueCoding?: Maybe<Coding>;
2880
- valueDate?: Maybe<Scalars['String']['output']>;
2881
- valueDateTime?: Maybe<Scalars['String']['output']>;
2882
- valueDecimal?: Maybe<Scalars['String']['output']>;
2883
- valueInteger?: Maybe<Scalars['Int']['output']>;
2884
- valueReference?: Maybe<Resource>;
2885
- valueString?: Maybe<Scalars['String']['output']>;
2886
- valueTime?: Maybe<Scalars['String']['output']>;
2887
- valueUri?: Maybe<Scalars['String']['output']>;
2888
- };
2889
- export type QuestionnaireResponseAuthor = {
2890
- id?: Maybe<Scalars['String']['output']>;
2891
- };
2892
- export type QuestionnaireResponseBasedOn = {
2893
- id?: Maybe<Scalars['String']['output']>;
2894
- };
2895
- export type QuestionnaireResponseItem = {
2896
- __typename?: 'QuestionnaireResponseItem';
2897
- answer?: Maybe<Array<Maybe<QuestionnaireResponseAnswer>>>;
2898
- definition?: Maybe<Scalars['String']['output']>;
2899
- extension?: Maybe<Array<Maybe<Extension>>>;
2900
- id?: Maybe<Scalars['String']['output']>;
2901
- item?: Maybe<Array<Maybe<QuestionnaireResponseItem>>>;
2902
- linkId: Scalars['String']['output'];
2903
- modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2904
- text?: Maybe<Scalars['String']['output']>;
2905
- };
2906
3051
  export type QuestionnaireResponseModel = {
2907
3052
  __typename?: 'QuestionnaireResponseModel';
2908
- author?: Maybe<Reference>;
3053
+ author?: Maybe<Consent_Reference>;
2909
3054
  authored?: Maybe<Scalars['dateTime']['output']>;
2910
3055
  id?: Maybe<Scalars['String']['output']>;
2911
- identifier?: Maybe<Identifier>;
3056
+ identifier?: Maybe<Consent_Identifier>;
2912
3057
  item?: Maybe<Array<Maybe<QuestionnaireResponseModelItem>>>;
2913
3058
  resourceType?: Maybe<Scalars['String']['output']>;
2914
3059
  status?: Maybe<Scalars['code']['output']>;
2915
- subject?: Maybe<Reference>;
3060
+ subject?: Maybe<Consent_Reference>;
2916
3061
  };
2917
3062
  export type QuestionnaireResponseModelItem = {
2918
3063
  __typename?: 'QuestionnaireResponseModelItem';
2919
3064
  answer?: Maybe<Array<Maybe<Scalars['QuestionnaireItemAnswer']['output']>>>;
2920
3065
  code?: Maybe<Array<Maybe<Coding>>>;
2921
- extension?: Maybe<Array<Maybe<Extension>>>;
3066
+ extension?: Maybe<Array<Maybe<Consent_Extension>>>;
2922
3067
  id?: Maybe<Scalars['String']['output']>;
2923
3068
  item?: Maybe<Array<Maybe<QuestionnaireResponseModelItem>>>;
2924
3069
  linkId?: Maybe<Scalars['String']['output']>;
@@ -2926,9 +3071,6 @@ export type QuestionnaireResponseModelItem = {
2926
3071
  text?: Maybe<Scalars['String']['output']>;
2927
3072
  type?: Maybe<Scalars['code']['output']>;
2928
3073
  };
2929
- export type QuestionnaireResponsePartOf = {
2930
- id?: Maybe<Scalars['String']['output']>;
2931
- };
2932
3074
  export type QuestionnaireResponseSchema = {
2933
3075
  __typename?: 'QuestionnaireResponseSchema';
2934
3076
  description?: Maybe<Scalars['String']['output']>;
@@ -2937,12 +3079,6 @@ export type QuestionnaireResponseSchema = {
2937
3079
  title?: Maybe<Scalars['String']['output']>;
2938
3080
  type?: Maybe<Scalars['String']['output']>;
2939
3081
  };
2940
- export type QuestionnaireResponseSource = {
2941
- id?: Maybe<Scalars['String']['output']>;
2942
- };
2943
- export type QuestionnaireResponseSubjectV2 = {
2944
- id?: Maybe<Scalars['String']['output']>;
2945
- };
2946
3082
  export type QuestionnaireResponse_Input = {
2947
3083
  data: Scalars['String']['input'];
2948
3084
  patientId: Scalars['String']['input'];
@@ -3029,6 +3165,10 @@ export type RefreshToken = {
3029
3165
  accessToken: Scalars['String']['output'];
3030
3166
  idToken: Scalars['String']['output'];
3031
3167
  };
3168
+ export type RefreshTokenGql = {
3169
+ __typename?: 'RefreshTokenGQL';
3170
+ token: Scalars['String']['output'];
3171
+ };
3032
3172
  export type RegCodePersonDto = {
3033
3173
  __typename?: 'RegCodePersonDTO';
3034
3174
  clientPatient?: Maybe<Person_Patient>;
@@ -3037,9 +3177,10 @@ export type RegCodePersonDto = {
3037
3177
  person?: Maybe<Person>;
3038
3178
  taskExist?: Maybe<Scalars['Boolean']['output']>;
3039
3179
  };
3040
- /** Un-Authed schema types */
3041
3180
  export type RequestConnectionInput = {
3181
+ bwellFhirPersonId?: InputMaybe<Scalars['String']['input']>;
3042
3182
  city?: InputMaybe<Scalars['String']['input']>;
3183
+ clientFhirPersonId?: InputMaybe<Scalars['String']['input']>;
3043
3184
  institution?: InputMaybe<Scalars['String']['input']>;
3044
3185
  provider?: InputMaybe<Scalars['String']['input']>;
3045
3186
  state?: InputMaybe<Scalars['String']['input']>;
@@ -3073,6 +3214,31 @@ export type ResourceGroup = {
3073
3214
  /** Array of Strings representing the source of the data */
3074
3215
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3075
3216
  };
3217
+ export type ResourceRequest = {
3218
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
3219
+ lastUpdated?: InputMaybe<GetFhirSearchDate>;
3220
+ page?: InputMaybe<Scalars['Int']['input']>;
3221
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3222
+ resourceType: ResourceType;
3223
+ };
3224
+ export type ResourceResponse = PagedQueryResults & {
3225
+ __typename?: 'ResourceResponse';
3226
+ paging_info?: Maybe<PagingResults>;
3227
+ /** A list of resources that meet the search criteria. */
3228
+ resources: Array<Scalars['String']['output']>;
3229
+ };
3230
+ export declare enum ResourceType {
3231
+ AllergyIntolerance = "ALLERGY_INTOLERANCE",
3232
+ CarePlan = "CARE_PLAN",
3233
+ Condition = "CONDITION",
3234
+ Encounter = "ENCOUNTER",
3235
+ Immunization = "IMMUNIZATION",
3236
+ MedicationDispense = "MEDICATION_DISPENSE",
3237
+ MedicationRequest = "MEDICATION_REQUEST",
3238
+ MedicationStatement = "MEDICATION_STATEMENT",
3239
+ Observation = "OBSERVATION",
3240
+ Procedure = "PROCEDURE"
3241
+ }
3076
3242
  export type Rest = {
3077
3243
  __typename?: 'Rest';
3078
3244
  endpoints: RestEndpoints;
@@ -3124,7 +3290,7 @@ export type SearchDate = {
3124
3290
  export type SearchDateValue = {
3125
3291
  /**
3126
3292
  * the value for the parameter in the resource is approximately the same to the provided value.
3127
- * Note that the recommended value for the approximation is 10% of the stated value (or for a date, 10% of the gap between now and the date), but systems may choose other values where appropriate
3293
+ * Note that the recommended value for the approximation is 10% of the stated value (or for a date, 10% of the gap between now and the date), but systems may choose other values where appropriate
3128
3294
  */
3129
3295
  approximately?: InputMaybe<Scalars['date']['input']>;
3130
3296
  /** the value for the parameter in the resource ends before the provided value */
@@ -3148,11 +3314,90 @@ export type SearchPosition = {
3148
3314
  distance?: InputMaybe<Scalars['Float']['input']>;
3149
3315
  /**
3150
3316
  * Would have liked to follow https://www.hl7.org/fhir/backboneelement.html
3151
- * But have to use lat and lon so ElasticSearch understands this is a GeoPoint
3317
+ * But have to use lat and lon so ElasticSearch understands this is a GeoPoint
3152
3318
  */
3153
3319
  lat: Scalars['Float']['input'];
3154
3320
  lon: Scalars['Float']['input'];
3155
3321
  };
3322
+ export type SearchProvidersInput = {
3323
+ /** Information about the client configuration to use for this call to filter data and apply default settings */
3324
+ client?: InputMaybe<Array<InputMaybe<ClientInput>>>;
3325
+ /** return values of these fields in the search results */
3326
+ filterValues?: InputMaybe<Array<InputMaybe<FilterFieldEnum>>>;
3327
+ /** return only providers with this gender */
3328
+ gender?: InputMaybe<GenderEnum>;
3329
+ /** return only providers with one of these NPIs */
3330
+ id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
3331
+ /** Set to True to ignore 'active' filter. Defaults to False. */
3332
+ includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
3333
+ /** only return Providers that have PROA connections */
3334
+ includePopulatedProaOnly?: InputMaybe<Scalars['Boolean']['input']>;
3335
+ /** order by these fields */
3336
+ orderBy?: InputMaybe<Array<InputMaybe<OrderByInput>>>;
3337
+ /** return only these FHIR organization types */
3338
+ organizationType?: InputMaybe<Array<InputMaybe<OrganizationTypeEnum>>>;
3339
+ /** Page of results to get, starts with page 0 */
3340
+ pageNumber?: InputMaybe<Scalars['Int']['input']>;
3341
+ /** Size of each page of results, default is 25 */
3342
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3343
+ /** a free form search text. */
3344
+ search?: InputMaybe<Scalars['String']['input']>;
3345
+ /** return only providers that are within `distance` of this location */
3346
+ searchPosition?: InputMaybe<SearchPosition>;
3347
+ /** return only providers who have one or more of these specialties */
3348
+ specialty?: InputMaybe<Array<InputMaybe<InputCoding>>>;
3349
+ /** Information about the user making the request. */
3350
+ user?: InputMaybe<UserInput>;
3351
+ };
3352
+ /**
3353
+ * ProviderResult type
3354
+ * New version
3355
+ */
3356
+ export type SearchProvidersResult = {
3357
+ __typename?: 'SearchProvidersResult';
3358
+ /** collection of characteristics (attributes) for a provider. */
3359
+ characteristic?: Maybe<Array<Maybe<Coding>>>;
3360
+ /** to show the affiliated organization */
3361
+ content?: Maybe<Scalars['String']['output']>;
3362
+ /** PROA connection information */
3363
+ endpoint?: Maybe<Array<Maybe<EndpointType>>>;
3364
+ /** gender */
3365
+ gender?: Maybe<GenderEnum>;
3366
+ /** File path of organization icon */
3367
+ iconString?: Maybe<Scalars['String']['output']>;
3368
+ /** id of provider. NPI for practitioners. */
3369
+ id?: Maybe<Scalars['String']['output']>;
3370
+ /** locations the provider practices */
3371
+ location?: Maybe<Array<Maybe<Location>>>;
3372
+ /** name structure */
3373
+ name?: Maybe<Array<Maybe<HumanName>>>;
3374
+ /** npi numbers for provider */
3375
+ npi?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3376
+ /** Organizations/Health Systems a Provider has practiced at */
3377
+ organization?: Maybe<Array<Maybe<OrganizationTypeNew>>>;
3378
+ /** FHIR types of Organization or PROA categories */
3379
+ organizationType?: Maybe<Array<Maybe<CodeableConcept>>>;
3380
+ /** url to the photo of this provider */
3381
+ photo?: Maybe<Array<Maybe<Attachment>>>;
3382
+ /** qualifications of this provider, using its own class derived from FHIR spec */
3383
+ practitionerQualification?: Maybe<Array<Maybe<Qualification>>>;
3384
+ /** provider_type */
3385
+ providerType?: Maybe<ProviderTypeEnum>;
3386
+ /** specialty of provider */
3387
+ specialty?: Maybe<Array<Maybe<Coding>>>;
3388
+ /** telecom info for email address */
3389
+ telecom?: Maybe<Array<Maybe<ContactPoint>>>;
3390
+ };
3391
+ /**
3392
+ * ProviderResults type
3393
+ * New version
3394
+ */
3395
+ export type SearchProvidersResults = {
3396
+ __typename?: 'SearchProvidersResults';
3397
+ filterValues?: Maybe<Array<Maybe<FilterValuesType>>>;
3398
+ pagingInfo?: Maybe<PagingInfoType>;
3399
+ results?: Maybe<Array<Maybe<SearchProvidersResult>>>;
3400
+ };
3156
3401
  export type SearchReference = {
3157
3402
  missing?: InputMaybe<Scalars['Boolean']['input']>;
3158
3403
  notEquals?: InputMaybe<SearchReferenceValue>;
@@ -3202,10 +3447,27 @@ export declare enum SortField {
3202
3447
  Distance = "distance",
3203
3448
  Relevance = "relevance"
3204
3449
  }
3450
+ /**
3451
+ * SortField enum
3452
+ * New version
3453
+ */
3454
+ export declare enum SortFieldEnum {
3455
+ Content = "CONTENT",
3456
+ Distance = "DISTANCE",
3457
+ Relevance = "RELEVANCE"
3458
+ }
3205
3459
  export declare enum SortOrder {
3206
3460
  Asc = "asc",
3207
3461
  Desc = "desc"
3208
3462
  }
3463
+ /**
3464
+ * SortOrder enum
3465
+ * New version
3466
+ */
3467
+ export declare enum SortOrderEnum {
3468
+ Asc = "ASC",
3469
+ Desc = "DESC"
3470
+ }
3209
3471
  /** Represents the subject (patient or group) of the care plan. */
3210
3472
  export type Subject = {
3211
3473
  __typename?: 'Subject';
@@ -3311,7 +3573,6 @@ export type Task = {
3311
3573
  identifier?: Maybe<Array<Maybe<Identifier>>>;
3312
3574
  implicitRules?: Maybe<Scalars['String']['output']>;
3313
3575
  instantiatesCanonical?: Maybe<Scalars['String']['output']>;
3314
- /** Below are not used but have simple types so we can just include them */
3315
3576
  instantiatesUri?: Maybe<Scalars['String']['output']>;
3316
3577
  intent?: Maybe<Scalars['String']['output']>;
3317
3578
  language?: Maybe<Scalars['String']['output']>;
@@ -3319,21 +3580,20 @@ export type Task = {
3319
3580
  meta?: Maybe<Meta>;
3320
3581
  modifierExtension?: Maybe<Array<Maybe<Extension>>>;
3321
3582
  priority?: Maybe<Scalars['String']['output']>;
3322
- /** Below are all types currently used in the Task resource */
3323
3583
  resourceType?: Maybe<Scalars['String']['output']>;
3324
3584
  status?: Maybe<Scalars['String']['output']>;
3325
3585
  };
3326
3586
  /** TaskBasedOnV2 */
3327
3587
  export type TaskBasedOnV2 = {
3328
- id?: Maybe<Scalars['String']['output']>;
3588
+ id: Scalars['String']['output'];
3329
3589
  };
3330
3590
  /** TaskFocusV2 */
3331
3591
  export type TaskFocusV2 = {
3332
- id?: Maybe<Scalars['String']['output']>;
3592
+ id: Scalars['String']['output'];
3333
3593
  };
3334
3594
  /** TaskForV2 */
3335
3595
  export type TaskForV2 = {
3336
- id?: Maybe<Scalars['String']['output']>;
3596
+ id: Scalars['String']['output'];
3337
3597
  };
3338
3598
  export type TaskQueryResults = PagedQueryResults & {
3339
3599
  __typename?: 'TaskQueryResults';
@@ -3441,12 +3701,13 @@ export declare enum TotalType {
3441
3701
  Estimate = "estimate"
3442
3702
  }
3443
3703
  export type UpdateDeviceRegistrationRequest = {
3444
- applicationName: Scalars['String']['input'];
3704
+ applicationName?: InputMaybe<Scalars['String']['input']>;
3445
3705
  bwellPersonId?: InputMaybe<Scalars['String']['input']>;
3446
3706
  clientId?: InputMaybe<Scalars['String']['input']>;
3707
+ clientSlug?: InputMaybe<Scalars['String']['input']>;
3447
3708
  deviceToken: Scalars['String']['input'];
3448
3709
  notificationPreference: Scalars['Boolean']['input'];
3449
- platform: Scalars['String']['input'];
3710
+ platform?: InputMaybe<Scalars['String']['input']>;
3450
3711
  };
3451
3712
  export type UpdatedPersonMetadata = {
3452
3713
  __typename?: 'UpdatedPersonMetadata';
@@ -3461,6 +3722,24 @@ export type User = {
3461
3722
  request_id?: InputMaybe<Scalars['String']['input']>;
3462
3723
  session_id?: InputMaybe<Scalars['String']['input']>;
3463
3724
  };
3725
+ export type UserAttributeType = {
3726
+ __typename?: 'UserAttributeType';
3727
+ Name: Scalars['String']['output'];
3728
+ Value: Scalars['String']['output'];
3729
+ };
3730
+ /**
3731
+ * User input
3732
+ * New version
3733
+ */
3734
+ export type UserInput = {
3735
+ appId?: InputMaybe<Scalars['String']['input']>;
3736
+ email?: InputMaybe<Scalars['String']['input']>;
3737
+ id?: InputMaybe<Scalars['String']['input']>;
3738
+ ip?: InputMaybe<Scalars['String']['input']>;
3739
+ referringUrl?: InputMaybe<Scalars['String']['input']>;
3740
+ requestId?: InputMaybe<Scalars['String']['input']>;
3741
+ sessionId?: InputMaybe<Scalars['String']['input']>;
3742
+ };
3464
3743
  export type Value = {
3465
3744
  __typename?: 'Value';
3466
3745
  /** A boolean value for the Observation. */
@@ -3511,6 +3790,8 @@ export type VitalSignGroup = ResourceGroup & {
3511
3790
  references?: Maybe<Array<Scalars['String']['output']>>;
3512
3791
  /** Array of Strings representing the source of the data */
3513
3792
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3793
+ /** Array of Strings representing the source of the data */
3794
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3514
3795
  /** The value of the observation. At most, one ObservationValue type will be returned per Observation */
3515
3796
  value?: Maybe<Value>;
3516
3797
  };
@@ -3540,3 +3821,8 @@ export type Zendesk = {
3540
3821
  key?: Maybe<Scalars['String']['output']>;
3541
3822
  uri: Scalars['String']['output'];
3542
3823
  };
3824
+ export type UpdatePersonDetailsOutput = {
3825
+ __typename?: 'updatePersonDetailsOutput';
3826
+ id: Scalars['String']['output'];
3827
+ resourceType: Scalars['String']['output'];
3828
+ };