@icanbwell/bwell-sdk-ts 0.1.2 → 0.2.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 (440) hide show
  1. package/README.md +15 -4
  2. package/dist/__version__.d.ts +4 -0
  3. package/dist/__version__.js +5 -0
  4. package/dist/__version__.js.map +1 -0
  5. package/dist/api/api-provider-factory.d.ts +7 -0
  6. package/dist/api/api-provider-factory.js +9 -0
  7. package/dist/api/api-provider-factory.js.map +1 -0
  8. package/dist/api/base/activity/activity-manager.d.ts +31 -0
  9. package/dist/api/base/activity/activity-manager.js +2 -0
  10. package/dist/api/base/activity/activity-manager.js.map +1 -0
  11. package/dist/api/base/activity/get-tasks-request.d.ts +49 -0
  12. package/dist/api/base/activity/get-tasks-request.js +36 -0
  13. package/dist/api/base/activity/get-tasks-request.js.map +1 -0
  14. package/dist/api/base/activity/index.d.ts +4 -0
  15. package/dist/api/base/activity/index.js +3 -0
  16. package/dist/api/base/activity/index.js.map +1 -0
  17. package/dist/api/base/activity/types.d.ts +3 -0
  18. package/dist/api/base/activity/types.js +6 -0
  19. package/dist/api/base/activity/types.js.map +1 -0
  20. package/dist/api/base/activity/update-task-status-request.d.ts +18 -0
  21. package/dist/api/base/activity/update-task-status-request.js +16 -0
  22. package/dist/api/base/activity/update-task-status-request.js.map +1 -0
  23. package/dist/api/base/api-provider.d.ts +16 -0
  24. package/dist/api/base/api-provider.js +2 -0
  25. package/dist/api/base/api-provider.js.map +1 -0
  26. package/dist/api/base/connection/connection-manager.d.ts +60 -0
  27. package/dist/api/base/connection/connection-manager.js +2 -0
  28. package/dist/api/base/connection/connection-manager.js.map +1 -0
  29. package/dist/api/base/connection/connection-request.d.ts +56 -0
  30. package/dist/api/base/connection/connection-request.js +71 -0
  31. package/dist/api/base/connection/connection-request.js.map +1 -0
  32. package/dist/api/base/connection/index.d.ts +2 -0
  33. package/dist/api/base/connection/index.js +3 -0
  34. package/dist/api/base/connection/index.js.map +1 -0
  35. package/dist/api/base/device/device-manager.d.ts +22 -0
  36. package/dist/api/base/device/device-manager.js +6 -0
  37. package/dist/api/base/device/device-manager.js.map +1 -0
  38. package/dist/api/base/device/device-request.d.ts +62 -0
  39. package/dist/api/base/device/device-request.js +72 -0
  40. package/dist/api/base/device/device-request.js.map +1 -0
  41. package/dist/api/base/device/index.d.ts +2 -0
  42. package/dist/api/base/device/index.js +2 -0
  43. package/dist/api/base/device/index.js.map +1 -0
  44. package/dist/api/base/errors.d.ts +2 -0
  45. package/dist/api/base/errors.js +2 -0
  46. package/dist/api/base/errors.js.map +1 -0
  47. package/dist/api/base/event/event-manager.d.ts +13 -0
  48. package/dist/api/base/event/event-manager.js +2 -0
  49. package/dist/api/base/event/event-manager.js.map +1 -0
  50. package/dist/api/base/event/event-request.d.ts +35 -0
  51. package/dist/api/base/event/event-request.js +65 -0
  52. package/dist/api/base/event/event-request.js.map +1 -0
  53. package/dist/api/base/event/index.d.ts +2 -0
  54. package/dist/api/base/event/index.js +2 -0
  55. package/dist/api/base/event/index.js.map +1 -0
  56. package/dist/api/base/health-data/health-data-request.d.ts +116 -0
  57. package/dist/api/base/health-data/health-data-request.js +134 -0
  58. package/dist/api/base/health-data/health-data-request.js.map +1 -0
  59. package/dist/api/base/health-data/health-manager.d.ts +201 -0
  60. package/dist/api/base/health-data/health-manager.js +2 -0
  61. package/dist/api/base/health-data/health-manager.js.map +1 -0
  62. package/dist/api/base/health-data/index.d.ts +4 -0
  63. package/dist/api/base/health-data/index.js +4 -0
  64. package/dist/api/base/health-data/index.js.map +1 -0
  65. package/dist/api/base/health-data/lab-knowledge-request.d.ts +21 -0
  66. package/dist/api/base/health-data/lab-knowledge-request.js +28 -0
  67. package/dist/api/base/health-data/lab-knowledge-request.js.map +1 -0
  68. package/dist/api/base/health-data/medication-knowledge-request.d.ts +21 -0
  69. package/dist/api/base/health-data/medication-knowledge-request.js +28 -0
  70. package/dist/api/base/health-data/medication-knowledge-request.js.map +1 -0
  71. package/dist/api/base/identity/identity-manager.d.ts +23 -0
  72. package/dist/api/base/identity/identity-manager.js +2 -0
  73. package/dist/api/base/identity/identity-manager.js.map +1 -0
  74. package/dist/api/base/identity/index.d.ts +1 -0
  75. package/dist/api/base/identity/index.js +2 -0
  76. package/dist/api/base/identity/index.js.map +1 -0
  77. package/dist/api/base/index.d.ts +8 -0
  78. package/dist/api/base/index.js +9 -0
  79. package/dist/api/base/index.js.map +1 -0
  80. package/dist/api/base/requests/index.d.ts +2 -0
  81. package/dist/api/base/requests/index.js +2 -0
  82. package/dist/api/base/requests/index.js.map +1 -0
  83. package/dist/api/base/requests/search-date-validation-cases.d.ts +167 -0
  84. package/dist/api/base/requests/search-date-validation-cases.js +249 -0
  85. package/dist/api/base/requests/search-date-validation-cases.js.map +1 -0
  86. package/dist/api/base/requests/search-date.d.ts +27 -0
  87. package/dist/api/base/requests/search-date.js +117 -0
  88. package/dist/api/base/requests/search-date.js.map +1 -0
  89. package/dist/api/base/requests/search-token.d.ts +26 -0
  90. package/dist/api/base/requests/search-token.js +46 -0
  91. package/dist/api/base/requests/search-token.js.map +1 -0
  92. package/dist/api/base/search/index.d.ts +3 -0
  93. package/dist/api/base/search/index.js +3 -0
  94. package/dist/api/base/search/index.js.map +1 -0
  95. package/dist/api/base/search/request-connection-request.d.ts +24 -0
  96. package/dist/api/base/search/request-connection-request.js +4 -0
  97. package/dist/api/base/search/request-connection-request.js.map +1 -0
  98. package/dist/api/base/search/search-manager.d.ts +41 -0
  99. package/dist/api/base/search/search-manager.js +2 -0
  100. package/dist/api/base/search/search-manager.js.map +1 -0
  101. package/dist/api/base/search/search-request.d.ts +84 -0
  102. package/dist/api/base/search/search-request.js +79 -0
  103. package/dist/api/base/search/search-request.js.map +1 -0
  104. package/dist/api/base/user/create-consent-request.d.ts +14 -0
  105. package/dist/api/base/user/create-consent-request.js +33 -0
  106. package/dist/api/base/user/create-consent-request.js.map +1 -0
  107. package/dist/api/base/user/get-consents-request.d.ts +15 -0
  108. package/dist/api/base/user/get-consents-request.js +16 -0
  109. package/dist/api/base/user/get-consents-request.js.map +1 -0
  110. package/dist/api/base/user/index.d.ts +5 -0
  111. package/dist/api/base/user/index.js +4 -0
  112. package/dist/api/base/user/index.js.map +1 -0
  113. package/dist/api/base/user/types.d.ts +9 -0
  114. package/dist/api/base/user/types.js +18 -0
  115. package/dist/api/base/user/types.js.map +1 -0
  116. package/dist/api/base/user/update-profile-request.d.ts +28 -0
  117. package/dist/api/base/user/update-profile-request.js +21 -0
  118. package/dist/api/base/user/update-profile-request.js.map +1 -0
  119. package/dist/api/base/user/user-manager.d.ts +46 -0
  120. package/dist/api/base/user/user-manager.js +2 -0
  121. package/dist/api/base/user/user-manager.js.map +1 -0
  122. package/dist/api/graphql-api/activity/activity-request-factories.d.ts +13 -0
  123. package/dist/api/graphql-api/activity/activity-request-factories.js +67 -0
  124. package/dist/api/graphql-api/activity/activity-request-factories.js.map +1 -0
  125. package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +14 -0
  126. package/dist/api/graphql-api/activity/graphql-activity-manager.js +73 -0
  127. package/dist/api/graphql-api/activity/graphql-activity-manager.js.map +1 -0
  128. package/dist/api/graphql-api/activity/index.d.ts +1 -0
  129. package/dist/api/graphql-api/activity/index.js +2 -0
  130. package/dist/api/graphql-api/activity/index.js.map +1 -0
  131. package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +18 -0
  132. package/dist/api/graphql-api/connection/graphql-connection-manager.js +142 -0
  133. package/dist/api/graphql-api/connection/graphql-connection-manager.js.map +1 -0
  134. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +18 -0
  135. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +41 -0
  136. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js.map +1 -0
  137. package/dist/api/graphql-api/connection/index.d.ts +2 -0
  138. package/dist/api/graphql-api/connection/index.js +3 -0
  139. package/dist/api/graphql-api/connection/index.js.map +1 -0
  140. package/dist/api/graphql-api/device/device-request-factory.d.ts +9 -0
  141. package/dist/api/graphql-api/device/device-request-factory.js +16 -0
  142. package/dist/api/graphql-api/device/device-request-factory.js.map +1 -0
  143. package/dist/api/graphql-api/device/graphql-device-manager.d.ts +13 -0
  144. package/dist/api/graphql-api/device/graphql-device-manager.js +74 -0
  145. package/dist/api/graphql-api/device/graphql-device-manager.js.map +1 -0
  146. package/dist/api/graphql-api/device/index.d.ts +1 -0
  147. package/dist/api/graphql-api/device/index.js +2 -0
  148. package/dist/api/graphql-api/device/index.js.map +1 -0
  149. package/dist/api/graphql-api/errors/errors.d.ts +38 -0
  150. package/dist/api/graphql-api/errors/errors.js +95 -0
  151. package/dist/api/graphql-api/errors/errors.js.map +1 -0
  152. package/dist/api/graphql-api/errors/index.d.ts +1 -0
  153. package/dist/api/graphql-api/errors/index.js +2 -0
  154. package/dist/api/graphql-api/errors/index.js.map +1 -0
  155. package/dist/api/graphql-api/event/event-request-factory.d.ts +6 -0
  156. package/dist/api/graphql-api/event/event-request-factory.js +12 -0
  157. package/dist/api/graphql-api/event/event-request-factory.js.map +1 -0
  158. package/dist/api/graphql-api/event/graphql-event-manager.d.ts +15 -0
  159. package/dist/api/graphql-api/event/graphql-event-manager.js +66 -0
  160. package/dist/api/graphql-api/event/graphql-event-manager.js.map +1 -0
  161. package/dist/api/graphql-api/event/index.d.ts +1 -0
  162. package/dist/api/graphql-api/event/index.js +2 -0
  163. package/dist/api/graphql-api/event/index.js.map +1 -0
  164. package/dist/api/graphql-api/graphql-api-provider.d.ts +21 -0
  165. package/dist/api/graphql-api/graphql-api-provider.js +37 -0
  166. package/dist/api/graphql-api/graphql-api-provider.js.map +1 -0
  167. package/dist/api/graphql-api/graphql-manager/graphql-manager.d.ts +43 -0
  168. package/dist/api/graphql-api/graphql-manager/graphql-manager.js +119 -0
  169. package/dist/api/graphql-api/graphql-manager/graphql-manager.js.map +1 -0
  170. package/dist/api/graphql-api/graphql-manager/index.d.ts +1 -0
  171. package/dist/api/graphql-api/graphql-manager/index.js +2 -0
  172. package/dist/api/graphql-api/graphql-manager/index.js.map +1 -0
  173. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.d.ts +24 -0
  174. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js +45 -0
  175. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js.map +1 -0
  176. package/dist/api/graphql-api/graphql-sdk/index.d.ts +1 -0
  177. package/dist/api/graphql-api/graphql-sdk/index.js +2 -0
  178. package/dist/api/graphql-api/graphql-sdk/index.js.map +1 -0
  179. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +33 -0
  180. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +406 -0
  181. package/dist/api/graphql-api/healthdata/graphql-health-manager.js.map +1 -0
  182. package/dist/api/graphql-api/healthdata/index.d.ts +1 -0
  183. package/dist/api/graphql-api/healthdata/index.js +2 -0
  184. package/dist/api/graphql-api/healthdata/index.js.map +1 -0
  185. package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +13 -0
  186. package/dist/api/graphql-api/identity/graphql-identity-manager.js +88 -0
  187. package/dist/api/graphql-api/identity/graphql-identity-manager.js.map +1 -0
  188. package/dist/api/graphql-api/identity/index.d.ts +1 -0
  189. package/dist/api/graphql-api/identity/index.js +2 -0
  190. package/dist/api/graphql-api/identity/index.js.map +1 -0
  191. package/dist/api/graphql-api/index.d.ts +1 -0
  192. package/dist/api/graphql-api/index.js +2 -0
  193. package/dist/api/graphql-api/index.js.map +1 -0
  194. package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +7 -0
  195. package/dist/api/graphql-api/search/connection-search-request-factory.js +22 -0
  196. package/dist/api/graphql-api/search/connection-search-request-factory.js.map +1 -0
  197. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +16 -0
  198. package/dist/api/graphql-api/search/graphql-search-manager.js +113 -0
  199. package/dist/api/graphql-api/search/graphql-search-manager.js.map +1 -0
  200. package/dist/api/graphql-api/search/index.d.ts +1 -0
  201. package/dist/api/graphql-api/search/index.js +2 -0
  202. package/dist/api/graphql-api/search/index.js.map +1 -0
  203. package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +7 -0
  204. package/dist/api/graphql-api/search/provider-search-request-factory.js +22 -0
  205. package/dist/api/graphql-api/search/provider-search-request-factory.js.map +1 -0
  206. package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +6 -0
  207. package/dist/api/graphql-api/search/request-connection-request-factory.js +13 -0
  208. package/dist/api/graphql-api/search/request-connection-request-factory.js.map +1 -0
  209. package/dist/api/graphql-api/search/search-request-factory.d.ts +6 -0
  210. package/dist/api/graphql-api/search/search-request-factory.js +45 -0
  211. package/dist/api/graphql-api/search/search-request-factory.js.map +1 -0
  212. package/dist/api/graphql-api/user/create-consent-request-factory.d.ts +6 -0
  213. package/dist/api/graphql-api/user/create-consent-request-factory.js +40 -0
  214. package/dist/api/graphql-api/user/create-consent-request-factory.js.map +1 -0
  215. package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +6 -0
  216. package/dist/api/graphql-api/user/get-consent-request-factory.js +9 -0
  217. package/dist/api/graphql-api/user/get-consent-request-factory.js.map +1 -0
  218. package/dist/api/graphql-api/user/graphql-user-manager.d.ts +18 -0
  219. package/dist/api/graphql-api/user/graphql-user-manager.js +122 -0
  220. package/dist/api/graphql-api/user/graphql-user-manager.js.map +1 -0
  221. package/dist/api/graphql-api/user/index.d.ts +1 -0
  222. package/dist/api/graphql-api/user/index.js +2 -0
  223. package/dist/api/graphql-api/user/index.js.map +1 -0
  224. package/dist/api/graphql-api/user/update-profile-request-factory.d.ts +7 -0
  225. package/dist/api/graphql-api/user/update-profile-request-factory.js +123 -0
  226. package/dist/api/graphql-api/user/update-profile-request-factory.js.map +1 -0
  227. package/dist/api/identity-manager-factory.d.ts +6 -0
  228. package/dist/api/identity-manager-factory.js +9 -0
  229. package/dist/api/identity-manager-factory.js.map +1 -0
  230. package/dist/api/index.d.ts +1 -0
  231. package/dist/api/index.js +2 -0
  232. package/dist/api/index.js.map +1 -0
  233. package/dist/auth/auth-strategy-factory.d.ts +10 -0
  234. package/dist/auth/auth-strategy-factory.js +15 -0
  235. package/dist/auth/auth-strategy-factory.js.map +1 -0
  236. package/dist/auth/auth-strategy.d.ts +9 -0
  237. package/dist/auth/auth-strategy.js +2 -0
  238. package/dist/auth/auth-strategy.js.map +1 -0
  239. package/dist/auth/credentials.d.ts +10 -0
  240. package/dist/auth/credentials.js +7 -0
  241. package/dist/auth/credentials.js.map +1 -0
  242. package/dist/auth/index.d.ts +4 -0
  243. package/dist/auth/index.js +3 -0
  244. package/dist/auth/index.js.map +1 -0
  245. package/dist/auth/oauth-strategy.d.ts +11 -0
  246. package/dist/auth/oauth-strategy.js +52 -0
  247. package/dist/auth/oauth-strategy.js.map +1 -0
  248. package/dist/bwell-sdk/bwell-sdk.d.ts +24 -0
  249. package/dist/bwell-sdk/bwell-sdk.js +147 -0
  250. package/dist/bwell-sdk/bwell-sdk.js.map +1 -0
  251. package/dist/bwell-sdk/mocks.d.ts +2 -0
  252. package/dist/bwell-sdk/mocks.js +5 -0
  253. package/dist/bwell-sdk/mocks.js.map +1 -0
  254. package/dist/config/bwell-config.d.ts +12 -0
  255. package/dist/config/bwell-config.js +14 -0
  256. package/dist/config/bwell-config.js.map +1 -0
  257. package/dist/config/config-manager.d.ts +17 -0
  258. package/dist/config/config-manager.js +64 -0
  259. package/dist/config/config-manager.js.map +1 -0
  260. package/dist/config/context.d.ts +6 -0
  261. package/dist/config/context.js +2 -0
  262. package/dist/config/context.js.map +1 -0
  263. package/dist/config/index.d.ts +5 -0
  264. package/dist/config/index.js +6 -0
  265. package/dist/config/index.js.map +1 -0
  266. package/dist/config/sdk-config.d.ts +44 -0
  267. package/dist/config/sdk-config.js +173 -0
  268. package/dist/config/sdk-config.js.map +1 -0
  269. package/dist/errors/authentication-error.d.ts +4 -0
  270. package/dist/errors/authentication-error.js +8 -0
  271. package/dist/errors/authentication-error.js.map +1 -0
  272. package/dist/errors/bwell-error.d.ts +8 -0
  273. package/dist/errors/bwell-error.js +13 -0
  274. package/dist/errors/bwell-error.js.map +1 -0
  275. package/dist/errors/illegal-argument-error.d.ts +4 -0
  276. package/dist/errors/illegal-argument-error.js +8 -0
  277. package/dist/errors/illegal-argument-error.js.map +1 -0
  278. package/dist/errors/illegal-state-error.d.ts +4 -0
  279. package/dist/errors/illegal-state-error.js +8 -0
  280. package/dist/errors/illegal-state-error.js.map +1 -0
  281. package/dist/errors/index.d.ts +11 -0
  282. package/dist/errors/index.js +12 -0
  283. package/dist/errors/index.js.map +1 -0
  284. package/dist/errors/invalid-client-key-error.d.ts +4 -0
  285. package/dist/errors/invalid-client-key-error.js +8 -0
  286. package/dist/errors/invalid-client-key-error.js.map +1 -0
  287. package/dist/errors/invalid-credentials-type-error.d.ts +6 -0
  288. package/dist/errors/invalid-credentials-type-error.js +9 -0
  289. package/dist/errors/invalid-credentials-type-error.js.map +1 -0
  290. package/dist/errors/invalid-token-error.d.ts +4 -0
  291. package/dist/errors/invalid-token-error.js +8 -0
  292. package/dist/errors/invalid-token-error.js.map +1 -0
  293. package/dist/errors/network-error.d.ts +5 -0
  294. package/dist/errors/network-error.js +9 -0
  295. package/dist/errors/network-error.js.map +1 -0
  296. package/dist/errors/operation-outcome-error.d.ts +6 -0
  297. package/dist/errors/operation-outcome-error.js +9 -0
  298. package/dist/errors/operation-outcome-error.js.map +1 -0
  299. package/dist/errors/unknown-error.d.ts +5 -0
  300. package/dist/errors/unknown-error.js +9 -0
  301. package/dist/errors/unknown-error.js.map +1 -0
  302. package/dist/errors/validation-error.d.ts +5 -0
  303. package/dist/errors/validation-error.js +9 -0
  304. package/dist/errors/validation-error.js.map +1 -0
  305. package/dist/graphql/index.d.ts +17 -0
  306. package/dist/graphql/index.js +19 -0
  307. package/dist/graphql/index.js.map +1 -0
  308. package/dist/graphql/operations/index.d.ts +376 -0
  309. package/dist/graphql/operations/index.js +1946 -0
  310. package/dist/graphql/operations/index.js.map +1 -0
  311. package/dist/graphql/operations/types.d.ts +1350 -0
  312. package/dist/graphql/operations/types.js +17 -0
  313. package/dist/graphql/operations/types.js.map +1 -0
  314. package/dist/graphql/schema.d.ts +3542 -0
  315. package/dist/graphql/schema.js +273 -0
  316. package/dist/graphql/schema.js.map +1 -0
  317. package/dist/index.d.ts +7 -3
  318. package/dist/index.js +8 -9
  319. package/dist/index.js.map +1 -0
  320. package/dist/logger/console/console-formatter.d.ts +9 -0
  321. package/dist/logger/console/console-formatter.js +20 -0
  322. package/dist/logger/console/console-formatter.js.map +1 -0
  323. package/dist/logger/console/console-logger-provider.d.ts +8 -0
  324. package/dist/logger/console/console-logger-provider.js +25 -0
  325. package/dist/logger/console/console-logger-provider.js.map +1 -0
  326. package/dist/logger/console/console-logger.d.ts +20 -0
  327. package/dist/logger/console/console-logger.js +70 -0
  328. package/dist/logger/console/console-logger.js.map +1 -0
  329. package/dist/logger/console/index.d.ts +2 -0
  330. package/dist/logger/console/index.js +3 -0
  331. package/dist/logger/console/index.js.map +1 -0
  332. package/dist/logger/index.d.ts +6 -0
  333. package/dist/logger/index.js +7 -0
  334. package/dist/logger/index.js.map +1 -0
  335. package/dist/logger/logger-formatter.d.ts +20 -0
  336. package/dist/logger/logger-formatter.js +2 -0
  337. package/dist/logger/logger-formatter.js.map +1 -0
  338. package/dist/logger/logger-provider-factory.d.ts +7 -0
  339. package/dist/logger/logger-provider-factory.js +32 -0
  340. package/dist/logger/logger-provider-factory.js.map +1 -0
  341. package/dist/logger/logger-provider.d.ts +7 -0
  342. package/dist/logger/logger-provider.js +2 -0
  343. package/dist/logger/logger-provider.js.map +1 -0
  344. package/dist/logger/logger.d.ts +56 -0
  345. package/dist/logger/logger.js +2 -0
  346. package/dist/logger/logger.js.map +1 -0
  347. package/dist/logger/otel/index.d.ts +2 -0
  348. package/dist/logger/otel/index.js +3 -0
  349. package/dist/logger/otel/index.js.map +1 -0
  350. package/dist/logger/otel/otel-logger-provider.d.ts +9 -0
  351. package/dist/logger/otel/otel-logger-provider.js +28 -0
  352. package/dist/logger/otel/otel-logger-provider.js.map +1 -0
  353. package/dist/logger/otel/otel-logger.d.ts +19 -0
  354. package/dist/logger/otel/otel-logger.js +95 -0
  355. package/dist/logger/otel/otel-logger.js.map +1 -0
  356. package/dist/logger/severity.d.ts +41 -0
  357. package/dist/logger/severity.js +80 -0
  358. package/dist/logger/severity.js.map +1 -0
  359. package/dist/models/coding.d.ts +5 -0
  360. package/dist/models/coding.js +2 -0
  361. package/dist/models/coding.js.map +1 -0
  362. package/dist/models/fhir-error.d.ts +9 -0
  363. package/dist/models/fhir-error.js +2 -0
  364. package/dist/models/fhir-error.js.map +1 -0
  365. package/dist/models/index.d.ts +4 -0
  366. package/dist/models/index.js +5 -0
  367. package/dist/models/index.js.map +1 -0
  368. package/dist/models/operation-outcome.d.ts +14 -0
  369. package/dist/models/operation-outcome.js +50 -0
  370. package/dist/models/operation-outcome.js.map +1 -0
  371. package/dist/models/user.d.ts +4 -0
  372. package/dist/models/user.js +2 -0
  373. package/dist/models/user.js.map +1 -0
  374. package/dist/requests/index.d.ts +3 -0
  375. package/dist/requests/index.js +4 -0
  376. package/dist/requests/index.js.map +1 -0
  377. package/dist/requests/paged-request.d.ts +28 -0
  378. package/dist/requests/paged-request.js +54 -0
  379. package/dist/requests/paged-request.js.map +1 -0
  380. package/dist/requests/request.d.ts +84 -0
  381. package/dist/requests/request.js +80 -0
  382. package/dist/requests/request.js.map +1 -0
  383. package/dist/requests/validator.d.ts +54 -0
  384. package/dist/requests/validator.js +22 -0
  385. package/dist/requests/validator.js.map +1 -0
  386. package/dist/results/bwell-query-result-factory.d.ts +15 -0
  387. package/dist/results/bwell-query-result-factory.js +2 -0
  388. package/dist/results/bwell-query-result-factory.js.map +1 -0
  389. package/dist/results/bwell-query-result.d.ts +12 -0
  390. package/dist/results/bwell-query-result.js +19 -0
  391. package/dist/results/bwell-query-result.js.map +1 -0
  392. package/dist/results/bwell-transaction-result.d.ts +76 -0
  393. package/dist/results/bwell-transaction-result.js +95 -0
  394. package/dist/results/bwell-transaction-result.js.map +1 -0
  395. package/dist/results/index.d.ts +3 -0
  396. package/dist/results/index.js +4 -0
  397. package/dist/results/index.js.map +1 -0
  398. package/dist/telemetry/index.d.ts +2 -0
  399. package/dist/telemetry/index.js +3 -0
  400. package/dist/telemetry/index.js.map +1 -0
  401. package/dist/telemetry/open-telemetry-instrumentation.d.ts +3 -0
  402. package/dist/telemetry/open-telemetry-instrumentation.js +41 -0
  403. package/dist/telemetry/open-telemetry-instrumentation.js.map +1 -0
  404. package/dist/telemetry/open-telemetry.d.ts +14 -0
  405. package/dist/telemetry/open-telemetry.js +87 -0
  406. package/dist/telemetry/open-telemetry.js.map +1 -0
  407. package/dist/telemetry/telemetry.d.ts +8 -0
  408. package/dist/telemetry/telemetry.js +2 -0
  409. package/dist/telemetry/telemetry.js.map +1 -0
  410. package/dist/tokens/index.d.ts +2 -0
  411. package/dist/tokens/index.js +3 -0
  412. package/dist/tokens/index.js.map +1 -0
  413. package/dist/tokens/jwt-token-manager.d.ts +32 -0
  414. package/dist/tokens/jwt-token-manager.js +150 -0
  415. package/dist/tokens/jwt-token-manager.js.map +1 -0
  416. package/dist/tokens/token-storage.d.ts +33 -0
  417. package/dist/tokens/token-storage.js +33 -0
  418. package/dist/tokens/token-storage.js.map +1 -0
  419. package/dist/utils/base64.d.ts +12 -0
  420. package/dist/utils/base64.js +22 -0
  421. package/dist/utils/base64.js.map +1 -0
  422. package/dist/utils/index.d.ts +6 -0
  423. package/dist/utils/index.js +7 -0
  424. package/dist/utils/index.js.map +1 -0
  425. package/dist/utils/parsing-utils.d.ts +26 -0
  426. package/dist/utils/parsing-utils.js +69 -0
  427. package/dist/utils/parsing-utils.js.map +1 -0
  428. package/dist/utils/runtime.d.ts +10 -0
  429. package/dist/utils/runtime.js +50 -0
  430. package/dist/utils/runtime.js.map +1 -0
  431. package/dist/utils/string-utils.d.ts +6 -0
  432. package/dist/utils/string-utils.js +9 -0
  433. package/dist/utils/string-utils.js.map +1 -0
  434. package/dist/utils/type-utils.d.ts +51 -0
  435. package/dist/utils/type-utils.js +58 -0
  436. package/dist/utils/type-utils.js.map +1 -0
  437. package/dist/utils/version.d.ts +1 -0
  438. package/dist/utils/version.js +10 -0
  439. package/dist/utils/version.js.map +1 -0
  440. package/package.json +42 -8
@@ -0,0 +1,3542 @@
1
+ /********************************************************************************
2
+ *
3
+ * This file was generated by graphql-codegen. We do not track this file in source
4
+ * control.
5
+ * @see https://the-guild.dev/graphql/codegen/docs/config-reference/codegen-config
6
+ *
7
+ * Do not edit this file. If changes to the GraphQL Schema, queries, or mutations,
8
+ * they will need to be made in the "graphql" directory at the root of the directory.
9
+ *
10
+ * Please keep in mind that all SDK libraries generate code base on the graphql files
11
+ * so making changes will not just affect the TypesScript SDK.
12
+ *
13
+ ********************************************************************************
14
+ */
15
+ export type Maybe<T> = T | null;
16
+ export type InputMaybe<T> = Maybe<T>;
17
+ export type Exact<T extends {
18
+ [key: string]: unknown;
19
+ }> = {
20
+ [K in keyof T]: T[K];
21
+ };
22
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
23
+ [SubKey in K]?: Maybe<T[SubKey]>;
24
+ };
25
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
26
+ [SubKey in K]: Maybe<T[SubKey]>;
27
+ };
28
+ export type MakeEmpty<T extends {
29
+ [key: string]: unknown;
30
+ }, K extends keyof T> = {
31
+ [_ in K]?: never;
32
+ };
33
+ export type Incremental<T> = T | {
34
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
35
+ };
36
+ /** All built-in and custom scalars, mapped to their actual values */
37
+ export type Scalars = {
38
+ ID: {
39
+ input: string;
40
+ output: string;
41
+ };
42
+ String: {
43
+ input: string;
44
+ output: string;
45
+ };
46
+ Boolean: {
47
+ input: boolean;
48
+ output: boolean;
49
+ };
50
+ Int: {
51
+ input: number;
52
+ output: number;
53
+ };
54
+ Float: {
55
+ input: number;
56
+ output: number;
57
+ };
58
+ CODE: {
59
+ input: any;
60
+ output: any;
61
+ };
62
+ /**
63
+ * A custom scalar type for search strings, used for string-based search parameters.
64
+ * scalar SearchString
65
+ */
66
+ Date: {
67
+ input: any;
68
+ output: any;
69
+ };
70
+ /** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */
71
+ DateTime: {
72
+ input: any;
73
+ output: any;
74
+ };
75
+ Error: {
76
+ input: any;
77
+ output: any;
78
+ };
79
+ Expression: {
80
+ input: any;
81
+ output: any;
82
+ };
83
+ JSON: {
84
+ input: any;
85
+ output: any;
86
+ };
87
+ OperationOutcome: {
88
+ input: any;
89
+ output: any;
90
+ };
91
+ QuestionnaireItemAnswer: {
92
+ input: any;
93
+ output: any;
94
+ };
95
+ QuestionnaireResponseData: {
96
+ input: any;
97
+ output: any;
98
+ };
99
+ Time: {
100
+ input: any;
101
+ output: any;
102
+ };
103
+ /** A custom scalar that handles URI values */
104
+ URI: {
105
+ input: any;
106
+ output: any;
107
+ };
108
+ URL: {
109
+ input: any;
110
+ output: any;
111
+ };
112
+ Uri: {
113
+ input: any;
114
+ output: any;
115
+ };
116
+ Void: {
117
+ input: any;
118
+ output: any;
119
+ };
120
+ base64Binary: {
121
+ input: any;
122
+ output: any;
123
+ };
124
+ canonical: {
125
+ input: any;
126
+ output: any;
127
+ };
128
+ code: {
129
+ input: any;
130
+ output: any;
131
+ };
132
+ consentProvision: {
133
+ input: any;
134
+ output: any;
135
+ };
136
+ /** Represents a string date value in YYYY-MM-DD format */
137
+ date: {
138
+ input: any;
139
+ output: any;
140
+ };
141
+ dateTime: {
142
+ input: any;
143
+ output: any;
144
+ };
145
+ id: {
146
+ input: any;
147
+ output: any;
148
+ };
149
+ instant: {
150
+ input: any;
151
+ output: any;
152
+ };
153
+ reference: {
154
+ input: any;
155
+ output: any;
156
+ };
157
+ schemaProperties: {
158
+ input: any;
159
+ output: any;
160
+ };
161
+ time: {
162
+ input: any;
163
+ output: any;
164
+ };
165
+ uiSchema: {
166
+ input: any;
167
+ output: any;
168
+ };
169
+ uri: {
170
+ input: any;
171
+ output: any;
172
+ };
173
+ url: {
174
+ input: any;
175
+ output: any;
176
+ };
177
+ };
178
+ export type Activity = {
179
+ __typename?: 'Activity';
180
+ detail?: Maybe<Detail>;
181
+ };
182
+ /** Union type for the performer actor which can be a Practitioner or Organization or Patient */
183
+ export type Actor = Organization | Patient | Practitioner;
184
+ export type Address = {
185
+ __typename?: 'Address';
186
+ city?: Maybe<Scalars['String']['output']>;
187
+ country?: Maybe<Scalars['String']['output']>;
188
+ district?: Maybe<Scalars['String']['output']>;
189
+ line?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
190
+ postalCode?: Maybe<Scalars['String']['output']>;
191
+ state?: Maybe<Scalars['String']['output']>;
192
+ /** Can define enum */
193
+ text?: Maybe<Scalars['String']['output']>;
194
+ /** Can define enum */
195
+ type?: Maybe<Scalars['String']['output']>;
196
+ /** Follows https://www.hl7.org/fhir/datatypes.html#Address */
197
+ use?: Maybe<Scalars['String']['output']>;
198
+ };
199
+ export type AddressInput = {
200
+ city?: InputMaybe<Scalars['String']['input']>;
201
+ country?: InputMaybe<Scalars['String']['input']>;
202
+ district?: InputMaybe<Scalars['String']['input']>;
203
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
204
+ id?: InputMaybe<Scalars['String']['input']>;
205
+ line?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
206
+ postalCode?: InputMaybe<Scalars['String']['input']>;
207
+ state?: InputMaybe<Scalars['String']['input']>;
208
+ /** Can define enum */
209
+ text?: InputMaybe<Scalars['String']['input']>;
210
+ /** Can define enum */
211
+ type?: InputMaybe<Scalars['String']['input']>;
212
+ use?: InputMaybe<Scalars['String']['input']>;
213
+ };
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
+ }
228
+ export type AllergyIntoleranceGroup = ResourceGroup & {
229
+ __typename?: 'AllergyIntoleranceGroup';
230
+ /** Coding representing the kind of allergy intolerances in this composition */
231
+ coding?: Maybe<Coding>;
232
+ /** The most recent recorded Allergy criticality code */
233
+ criticality?: Maybe<Code>;
234
+ id?: Maybe<Scalars['ID']['output']>;
235
+ /** Human readable name of the allergy intolerance */
236
+ name?: Maybe<Scalars['String']['output']>;
237
+ /** Date first version of the resource instance was recorded */
238
+ recordedDate?: Maybe<Scalars['DateTime']['output']>;
239
+ /** Array of AllergyIntolerance id references in the Composition */
240
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
241
+ /** Array of Strings representing the source of the data */
242
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
243
+ };
244
+ export type AllergyIntoleranceGroupQueryRequest = {
245
+ page?: InputMaybe<Scalars['Int']['input']>;
246
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
247
+ };
248
+ export type AllergyIntoleranceGroupQueryResults = PagedQueryResults & {
249
+ __typename?: 'AllergyIntoleranceGroupQueryResults';
250
+ paging_info?: Maybe<PagingResults>;
251
+ /** A list of AllergyIntoleranceGroup resources that match the criteria */
252
+ resources: Array<AllergyIntoleranceGroup>;
253
+ };
254
+ export type AllergyIntoleranceQueryResults = PagedQueryResults & {
255
+ __typename?: 'AllergyIntoleranceQueryResults';
256
+ paging_info?: Maybe<PagingResults>;
257
+ /** A list of AllergyIntolerance resources that meet the search criteria. */
258
+ resources: Array<AllergyIntoleranceResource>;
259
+ };
260
+ /** The AllergyIntolerance resource type contains details about an allergy or intolerance event. */
261
+ export type AllergyIntoleranceResource = {
262
+ __typename?: 'AllergyIntoleranceResource';
263
+ /** Category of the event (e.g., food, medication). */
264
+ category?: Maybe<Array<Maybe<Code>>>;
265
+ /** The clinical status of the allergy or intolerance. */
266
+ clinicalStatus?: Maybe<CodeableConcept>;
267
+ /** Code that identifies the substance. */
268
+ code?: Maybe<CodeableConcept>;
269
+ /** Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance. */
270
+ criticality?: Maybe<Code>;
271
+ /** Unique identifier for the AllergyIntolerance resource. */
272
+ id: Scalars['ID']['output'];
273
+ /** Date and time of the last occurrence. */
274
+ lastOccurrence?: Maybe<Scalars['DateTime']['output']>;
275
+ /** Metadata about the resource (e.g., tags, security). */
276
+ meta?: Maybe<Meta>;
277
+ /** Notes about the allergy intolerance that aren't captured in other fields. */
278
+ note?: Maybe<Array<Maybe<Annotation>>>;
279
+ /** Date and time of the onset of the AllergyIntolerance. */
280
+ onsetDateTime?: Maybe<Scalars['DateTime']['output']>;
281
+ /** Period over which the AllergyIntolerance was observed. */
282
+ onsetPeriod?: Maybe<Period>;
283
+ /** Details about each adverse reaction event. */
284
+ reaction?: Maybe<Array<Maybe<Reaction>>>;
285
+ /** Date first version of the resource instance was recorded */
286
+ recordedDate?: Maybe<Scalars['DateTime']['output']>;
287
+ /** Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product). */
288
+ verificationStatus?: Maybe<CodeableConcept>;
289
+ };
290
+ export type AllergyIntoleranceResponse = AllergyIntoleranceResource;
291
+ export type AllergyIntolerancesRequest = {
292
+ groupCode?: InputMaybe<SearchToken>;
293
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
294
+ lastUpdated?: InputMaybe<SearchDate>;
295
+ page?: InputMaybe<Scalars['Int']['input']>;
296
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
297
+ };
298
+ export type Analytics = {
299
+ __typename?: 'Analytics';
300
+ mixPanel: Array<MixPanel>;
301
+ };
302
+ export type Annotation = {
303
+ __typename?: 'Annotation';
304
+ /** The name of the person making the annotation. */
305
+ authorString?: Maybe<Scalars['String']['output']>;
306
+ /** The content of the annotation. */
307
+ text?: Maybe<Scalars['String']['output']>;
308
+ /** The date and time the annotation was made. */
309
+ time?: Maybe<Scalars['DateTime']['output']>;
310
+ };
311
+ export type AnyResource = Consent;
312
+ export type ApiMap = {
313
+ __typename?: 'ApiMap';
314
+ accessToCare: Scalars['String']['output'];
315
+ config: Scalars['String']['output'];
316
+ consent: Scalars['String']['output'];
317
+ default: Scalars['String']['output'];
318
+ enterprisePerson: Scalars['String']['output'];
319
+ healthCircle: Scalars['String']['output'];
320
+ hpTask: Scalars['String']['output'];
321
+ identityGateway: Scalars['String']['output'];
322
+ pss: Scalars['String']['output'];
323
+ rest: Rest;
324
+ user: Scalars['String']['output'];
325
+ };
326
+ export type Attachment = {
327
+ __typename?: 'Attachment';
328
+ contentType?: Maybe<Scalars['String']['output']>;
329
+ title?: Maybe<Scalars['String']['output']>;
330
+ url?: Maybe<Scalars['String']['output']>;
331
+ };
332
+ export type AttachmentInput = {
333
+ contentType?: InputMaybe<Scalars['code']['input']>;
334
+ creation?: InputMaybe<Scalars['DateTime']['input']>;
335
+ data?: InputMaybe<Scalars['base64Binary']['input']>;
336
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
337
+ hash?: InputMaybe<Scalars['base64Binary']['input']>;
338
+ id: Scalars['String']['input'];
339
+ language?: InputMaybe<Scalars['String']['input']>;
340
+ size?: InputMaybe<Scalars['Int']['input']>;
341
+ title?: InputMaybe<Scalars['String']['input']>;
342
+ url?: InputMaybe<Scalars['url']['input']>;
343
+ };
344
+ export type AuthTokens = {
345
+ __typename?: 'AuthTokens';
346
+ accessToken: TokenPayload;
347
+ idToken: TokenPayload;
348
+ refreshToken: RefreshPayload;
349
+ };
350
+ export type BootstrapConfiguration = {
351
+ __typename?: 'BootstrapConfiguration';
352
+ apertureProxyPageUrl: Scalars['String']['output'];
353
+ apiMap: ApiMap;
354
+ app: Scalars['String']['output'];
355
+ awsCognitoClientId: Scalars['String']['output'];
356
+ awsCognitoRegion: Scalars['String']['output'];
357
+ awsCognitoUserPoolId: Scalars['String']['output'];
358
+ baseUrl: Scalars['String']['output'];
359
+ client: Scalars['String']['output'];
360
+ clientSlug: Scalars['String']['output'];
361
+ embeddableConfiguration: EmbeddableConfiguration;
362
+ environment: Scalars['String']['output'];
363
+ featureFlagConfiguration: FeatureFlagConfiguration;
364
+ frontendEnvironment: FrontendEnvironment;
365
+ googleGeo: GoogleGeo;
366
+ jwksKid: Scalars['String']['output'];
367
+ userProfileSvcUrl: Scalars['String']['output'];
368
+ zendesk: Zendesk;
369
+ };
370
+ export type Bundle = {
371
+ __typename?: 'Bundle';
372
+ entry?: Maybe<Array<Maybe<BundleEntry>>>;
373
+ identifier?: Maybe<Identifier>;
374
+ link?: Maybe<Array<Maybe<BundleLink>>>;
375
+ timestamp?: Maybe<Scalars['dateTime']['output']>;
376
+ total?: Maybe<Scalars['Int']['output']>;
377
+ type: BundleType;
378
+ };
379
+ export type BundleEntry = {
380
+ __typename?: 'BundleEntry';
381
+ fullUrl?: Maybe<Scalars['uri']['output']>;
382
+ link?: Maybe<Array<Maybe<BundleLink>>>;
383
+ resource?: Maybe<AnyResource>;
384
+ };
385
+ export type BundleLink = {
386
+ __typename?: 'BundleLink';
387
+ relation?: Maybe<Scalars['String']['output']>;
388
+ url?: Maybe<Scalars['uri']['output']>;
389
+ };
390
+ export declare enum BundleType {
391
+ Batch = "BATCH",
392
+ BatchResponse = "BATCH_RESPONSE",
393
+ Collection = "COLLECTION",
394
+ Document = "DOCUMENT",
395
+ History = "HISTORY",
396
+ Message = "MESSAGE",
397
+ Searchset = "SEARCHSET",
398
+ Transaction = "TRANSACTION",
399
+ TransactionResponse = "TRANSACTION_RESPONSE"
400
+ }
401
+ export type Cache = {
402
+ __typename?: 'Cache';
403
+ maxSizeBytes: Scalars['Float']['output'];
404
+ };
405
+ export type CarePlanGroup = ResourceGroup & {
406
+ __typename?: 'CarePlanGroup';
407
+ /** Coding representing the kind of care plans in this composition */
408
+ coding?: Maybe<Coding>;
409
+ id?: Maybe<Scalars['ID']['output']>;
410
+ /** Human readable name of the care plan */
411
+ name?: Maybe<Scalars['String']['output']>;
412
+ /** A time period with a defined start and end date and time. */
413
+ period?: Maybe<Period>;
414
+ /** Array of CarePlan id references in the Composition */
415
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
416
+ /** Array of Strings representing the source of the data */
417
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
418
+ };
419
+ export type CarePlanGroupQueryRequest = {
420
+ page?: InputMaybe<Scalars['Int']['input']>;
421
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
422
+ };
423
+ export type CarePlanGroupQueryResults = PagedQueryResults & {
424
+ __typename?: 'CarePlanGroupQueryResults';
425
+ paging_info?: Maybe<PagingResults>;
426
+ resources: Array<CarePlanGroup>;
427
+ };
428
+ export type CarePlanQueryResults = PagedQueryResults & {
429
+ __typename?: 'CarePlanQueryResults';
430
+ paging_info?: Maybe<PagingResults>;
431
+ resources: Array<CarePlanResource>;
432
+ };
433
+ /** Input type defining the parameters that can be used when querying for CarePlan resources. */
434
+ export type CarePlanRequest = {
435
+ groupCode?: InputMaybe<SearchToken>;
436
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
437
+ lastUpdated?: InputMaybe<SearchDate>;
438
+ page?: InputMaybe<Scalars['Int']['input']>;
439
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
440
+ };
441
+ /** The actual CarePlan resource type which contains detailed information about healthcare planning. */
442
+ export type CarePlanResource = {
443
+ __typename?: 'CarePlanResource';
444
+ /** Action to occur as part of plan */
445
+ activity?: Maybe<Array<Maybe<Activity>>>;
446
+ /** Categories or types of care plans. */
447
+ category?: Maybe<Array<Maybe<CodeableConcept>>>;
448
+ /** Date record was first recorded */
449
+ created?: Maybe<Scalars['DateTime']['output']>;
450
+ /** The unique identifier for this CarePlan resource. */
451
+ id: Scalars['ID']['output'];
452
+ /** Indicates the intent of the CarePlan (e.g., proposal, plan). */
453
+ intent?: Maybe<Code>;
454
+ /** Meta information about the CarePlan, like version, tags, etc. */
455
+ meta?: Maybe<Meta>;
456
+ /** Comments about the plan */
457
+ note?: Maybe<Array<Maybe<Annotation>>>;
458
+ /** The time period the CarePlan covers. */
459
+ period?: Maybe<Period>;
460
+ /** The current status of the CarePlan (e.g., active, completed). */
461
+ status?: Maybe<Code>;
462
+ /** The patient or group for whom the CarePlan is maintained. */
463
+ subject?: Maybe<Subject>;
464
+ /** The human-readable title of the CarePlan. */
465
+ title?: Maybe<Scalars['String']['output']>;
466
+ };
467
+ export declare enum CategoryCode {
468
+ DataSharing = "DATA_SHARING",
469
+ HealthCircleAdolescent = "HEALTH_CIRCLE_ADOLESCENT",
470
+ HealthCircleMinor = "HEALTH_CIRCLE_MINOR",
471
+ MobileCommunicationPreferences = "MOBILE_COMMUNICATION_PREFERENCES",
472
+ PersonalizedHealthOffersAndAds = "PERSONALIZED_HEALTH_OFFERS_AND_ADS",
473
+ ProaAttestation = "PROA_ATTESTATION",
474
+ Tos = "TOS"
475
+ }
476
+ export type Client = {
477
+ config?: InputMaybe<Scalars['String']['input']>;
478
+ data_sets?: InputMaybe<Array<InputMaybe<DataSets>>>;
479
+ id?: InputMaybe<ClientId>;
480
+ name?: InputMaybe<Scalars['String']['input']>;
481
+ version?: Scalars['Float']['input'];
482
+ };
483
+ export declare enum ClientId {
484
+ Proa = "proa",
485
+ Samsung = "samsung"
486
+ }
487
+ export type ClientSlugAndIdentifierInput = {
488
+ addBwellPatientIfMissing?: InputMaybe<Scalars['Boolean']['input']>;
489
+ clientSlug: Scalars['String']['input'];
490
+ identifier: Scalars['String']['input'];
491
+ };
492
+ /** Object containing a FHIR `code` and its corresponding display value */
493
+ export type Code = {
494
+ __typename?: 'Code';
495
+ code?: Maybe<Scalars['String']['output']>;
496
+ display?: Maybe<Scalars['String']['output']>;
497
+ };
498
+ /** Represents concept of code system */
499
+ export type CodeSystemCodeConcept = {
500
+ __typename?: 'CodeSystemCodeConcept';
501
+ /** Code that identifies concept */
502
+ code?: Maybe<Scalars['String']['output']>;
503
+ /** Text to display to the user */
504
+ display?: Maybe<Scalars['String']['output']>;
505
+ /** Property value for the concept */
506
+ property?: Maybe<Array<CodeSystemProperty>>;
507
+ };
508
+ /** A representation of CodeSystemCodes resource */
509
+ export type CodeSystemCodeResource = {
510
+ __typename?: 'CodeSystemCodeResource';
511
+ /** Concepts in the code system */
512
+ concept?: Maybe<Array<CodeSystemCodeConcept>>;
513
+ /** Unique identifier of the code system resource */
514
+ id: Scalars['ID']['output'];
515
+ };
516
+ /** Represents property value of code system */
517
+ export type CodeSystemProperty = {
518
+ __typename?: 'CodeSystemProperty';
519
+ /** Reference to CodeSystem.property.code */
520
+ code?: Maybe<Scalars['String']['output']>;
521
+ /** Value of the property for the concept */
522
+ valueString?: Maybe<Scalars['String']['output']>;
523
+ };
524
+ /** A structured set of codes including a text representation. */
525
+ export type CodeableConcept = {
526
+ __typename?: 'CodeableConcept';
527
+ /** Follows https://www.hl7.org/fhir/datatypes-definitions.html#CodeableConcept */
528
+ coding?: Maybe<Array<Maybe<Coding>>>;
529
+ /** A human-readable representation of the codeable concept. */
530
+ text?: Maybe<Scalars['String']['output']>;
531
+ };
532
+ /** A structured set of codes including a text representation. */
533
+ export type CodeableConceptInput = {
534
+ /** List of codings (codes from a coding system). */
535
+ coding?: InputMaybe<Array<InputMaybe<CodingInput>>>;
536
+ /** A human-readable representation of the codeable concept. */
537
+ text?: InputMaybe<Scalars['String']['input']>;
538
+ };
539
+ export type CodeableConcept_Input = {
540
+ coding?: InputMaybe<Array<InputMaybe<Coding_Input>>>;
541
+ extension?: InputMaybe<Array<InputMaybe<Extension_Input>>>;
542
+ id?: InputMaybe<Scalars['String']['input']>;
543
+ text?: InputMaybe<Scalars['String']['input']>;
544
+ };
545
+ /** A single coding from a coding system. */
546
+ export type Coding = {
547
+ __typename?: 'Coding';
548
+ /** Follows https://www.hl7.org/fhir/datatypes.html#Coding */
549
+ code?: Maybe<Scalars['String']['output']>;
550
+ /** The human-readable display name for the code. */
551
+ display?: Maybe<Scalars['String']['output']>;
552
+ /** The system the code is taken from (e.g., ICD-10). */
553
+ system?: Maybe<Scalars['String']['output']>;
554
+ };
555
+ /** A single coding from a coding system. */
556
+ export type CodingInput = {
557
+ /** The actual code from the system. */
558
+ code?: InputMaybe<Scalars['String']['input']>;
559
+ /** The human-readable display name for the code. */
560
+ display?: InputMaybe<Scalars['String']['input']>;
561
+ /** The system the code is taken from (e.g., ICD-10). */
562
+ system?: InputMaybe<Scalars['String']['input']>;
563
+ };
564
+ export type Coding_Input = {
565
+ code?: InputMaybe<Scalars['code']['input']>;
566
+ display?: InputMaybe<Scalars['String']['input']>;
567
+ extension?: InputMaybe<Array<InputMaybe<Extension_Input>>>;
568
+ id?: InputMaybe<Scalars['String']['input']>;
569
+ system?: InputMaybe<Scalars['uri']['input']>;
570
+ userSelected?: InputMaybe<Scalars['Boolean']['input']>;
571
+ version?: InputMaybe<Scalars['String']['input']>;
572
+ };
573
+ export type Component = {
574
+ __typename?: 'Component';
575
+ /** The code that categorizes the observation. */
576
+ code?: Maybe<CodeableConcept>;
577
+ /** The interpretation of the observation results. */
578
+ interpretation?: Maybe<Array<Maybe<CodeableConcept>>>;
579
+ /** Reference ranges for interpreting the observation value. */
580
+ referenceRange?: Maybe<Array<Maybe<ReferenceRange>>>;
581
+ /** Various types of values that an Observation can have, only one of these would typically be populated. */
582
+ value?: Maybe<Value>;
583
+ };
584
+ export type ConditionGroup = ResourceGroup & {
585
+ __typename?: 'ConditionGroup';
586
+ /** Coding representing the kind of Conditions in this composition */
587
+ coding?: Maybe<Coding>;
588
+ id?: Maybe<Scalars['ID']['output']>;
589
+ /** Human readable name of the Condition */
590
+ name?: Maybe<Scalars['String']['output']>;
591
+ /** Date first version of the resource instance was recorded */
592
+ recordedDate?: Maybe<Scalars['DateTime']['output']>;
593
+ /** Array of Condition id references in the Composition */
594
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
595
+ /** Array of Strings representing the source of the data */
596
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
597
+ };
598
+ export type ConditionGroupQueryRequest = {
599
+ page?: InputMaybe<Scalars['Int']['input']>;
600
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
601
+ };
602
+ export type ConditionGroupQueryResults = PagedQueryResults & {
603
+ __typename?: 'ConditionGroupQueryResults';
604
+ paging_info?: Maybe<PagingResults>;
605
+ resources: Array<ConditionGroup>;
606
+ };
607
+ export type ConditionQueryResults = PagedQueryResults & {
608
+ __typename?: 'ConditionQueryResults';
609
+ paging_info?: Maybe<PagingResults>;
610
+ resources: Array<ConditionResource>;
611
+ };
612
+ /** Input type for querying Condition resources */
613
+ export type ConditionRequest = {
614
+ /** Filters conditions based on code */
615
+ groupCode?: InputMaybe<SearchToken>;
616
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
617
+ /** Filters based on the meta.lastUpdated date of the resource */
618
+ lastUpdated?: InputMaybe<SearchDate>;
619
+ /** Page offset */
620
+ page?: InputMaybe<Scalars['Int']['input']>;
621
+ /** Count of procedure in one page */
622
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
623
+ };
624
+ /** A FHIR Condition resource representing a health condition */
625
+ export type ConditionResource = {
626
+ __typename?: 'ConditionResource';
627
+ /** The date/time at which the condition resolved or abated, expressed as a string */
628
+ abatementDateTime?: Maybe<Scalars['DateTime']['output']>;
629
+ /** The time period over which the abatement occurred */
630
+ abatementPeriod?: Maybe<Period>;
631
+ /** A reference to the practitioner involved. */
632
+ asserter?: Maybe<Practitioner>;
633
+ /** Anatomical location of the condition. */
634
+ bodySite?: Maybe<Array<Maybe<CodeableConcept>>>;
635
+ /** The category of the condition (problem-list item, encounter-diagnosis) */
636
+ category?: Maybe<Array<Maybe<CodeableConcept>>>;
637
+ /** The clinical status of the condition (active, remission, etc.) */
638
+ clinicalStatus?: Maybe<CodeableConcept>;
639
+ /** The code that identifies the condition (diagnosis, symptom, etc.) */
640
+ code?: Maybe<CodeableConcept>;
641
+ /** The unique identifier for this Condition resource */
642
+ id: Scalars['ID']['output'];
643
+ /** Meta information about the Condition, like version, tags, etc. */
644
+ meta?: Maybe<Meta>;
645
+ /** Any notes or comments about the condition */
646
+ note?: Maybe<Array<Maybe<Annotation>>>;
647
+ /** The date/time when the condition began, expressed as a string */
648
+ onsetDateTime?: Maybe<Scalars['DateTime']['output']>;
649
+ /** The time period over which the onset occurred */
650
+ onsetPeriod?: Maybe<Period>;
651
+ /** The date/time when the condition was first recorded */
652
+ recordedDate?: Maybe<Scalars['DateTime']['output']>;
653
+ /** Who recorded the condition */
654
+ recorder?: Maybe<Recorder>;
655
+ /** A subjective assessment of the severity of the condition */
656
+ severity?: Maybe<CodeableConcept>;
657
+ /** The patient who has the condition */
658
+ subject?: Maybe<Patient>;
659
+ /** The verification status to support the clinical status of the condition */
660
+ verificationStatus?: Maybe<CodeableConcept>;
661
+ };
662
+ export type Connection = {
663
+ __typename?: 'Connection';
664
+ category: ConnectionCategory;
665
+ created: Scalars['DateTime']['output'];
666
+ id: Scalars['String']['output'];
667
+ isDirect: Scalars['Boolean']['output'];
668
+ lastSynced?: Maybe<Scalars['DateTime']['output']>;
669
+ name: Scalars['String']['output'];
670
+ status?: Maybe<DataConnectionStatus>;
671
+ statusUpdated?: Maybe<Scalars['DateTime']['output']>;
672
+ syncErrors?: Maybe<Array<Coding>>;
673
+ syncStatus?: Maybe<SyncStatus>;
674
+ type: DataConnectionType;
675
+ };
676
+ export declare enum ConnectionCategory {
677
+ Basic = "BASIC",
678
+ Oauth = "OAUTH"
679
+ }
680
+ export type ConnectionStatusUpdate = {
681
+ __typename?: 'ConnectionStatusUpdate';
682
+ status?: Maybe<DataConnectionStatus>;
683
+ statusUpdated: Scalars['DateTime']['output'];
684
+ };
685
+ export type Consent = DomainResource & Resource & {
686
+ __typename?: 'Consent';
687
+ category?: Maybe<Array<CodeableConcept>>;
688
+ contained?: Maybe<Array<Maybe<Resource>>>;
689
+ dateTime?: Maybe<Scalars['dateTime']['output']>;
690
+ extension?: Maybe<Array<Maybe<Extension>>>;
691
+ id?: Maybe<Scalars['String']['output']>;
692
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
693
+ implicitRules?: Maybe<Scalars['String']['output']>;
694
+ language?: Maybe<Scalars['String']['output']>;
695
+ 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>>>;
700
+ policy?: Maybe<Array<Maybe<ConsentPolicy>>>;
701
+ policyRule?: Maybe<CodeableConcept>;
702
+ provision?: Maybe<ConsentProvision>;
703
+ resourceType: Scalars['String']['output'];
704
+ scope: CodeableConcept;
705
+ source?: Maybe<ConsentSource>;
706
+ status: Scalars['code']['output'];
707
+ text?: Maybe<Scalars['String']['output']>;
708
+ verification?: Maybe<Array<Maybe<ConsentVerification>>>;
709
+ };
710
+ export type ConsentActor = {
711
+ __typename?: 'ConsentActor';
712
+ reference?: Maybe<Scalars['reference']['output']>;
713
+ role?: Maybe<CodeableConcept>;
714
+ };
715
+ export type ConsentActorInput = {
716
+ reference?: InputMaybe<Scalars['reference']['input']>;
717
+ role?: InputMaybe<CodeableConceptInput>;
718
+ };
719
+ export type ConsentBundle = {
720
+ __typename?: 'ConsentBundle';
721
+ entry?: Maybe<Array<Maybe<ConsentBundleEntry>>>;
722
+ identifier?: Maybe<Identifier>;
723
+ link?: Maybe<Array<Maybe<BundleLink>>>;
724
+ timestamp?: Maybe<Scalars['dateTime']['output']>;
725
+ total?: Maybe<Scalars['Int']['output']>;
726
+ type: BundleType;
727
+ };
728
+ export type ConsentBundleEntry = {
729
+ __typename?: 'ConsentBundleEntry';
730
+ fullUrl?: Maybe<Scalars['uri']['output']>;
731
+ link?: Maybe<Array<Maybe<BundleLink>>>;
732
+ resource?: Maybe<Consent>;
733
+ };
734
+ export type ConsentData = {
735
+ __typename?: 'ConsentData';
736
+ meaning: Scalars['code']['output'];
737
+ reference: Scalars['reference']['output'];
738
+ };
739
+ export type ConsentDataInput = {
740
+ meaning: Scalars['code']['input'];
741
+ reference: Scalars['reference']['input'];
742
+ };
743
+ export type ConsentInput = {
744
+ category?: InputMaybe<Array<CodeableConceptInput>>;
745
+ dateTime?: InputMaybe<Scalars['dateTime']['input']>;
746
+ id?: InputMaybe<Scalars['String']['input']>;
747
+ identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
748
+ organization?: InputMaybe<Array<InputMaybe<Consent_ReferenceInput>>>;
749
+ patient?: InputMaybe<Consent_ReferenceInput>;
750
+ performer?: InputMaybe<Array<InputMaybe<Consent_ReferenceInput>>>;
751
+ policy?: InputMaybe<Array<InputMaybe<ConsentPolicyInput>>>;
752
+ policyRule?: InputMaybe<CodeableConceptInput>;
753
+ provision: ConsentProvisionInput;
754
+ source?: InputMaybe<ConsentSourceInput>;
755
+ status: ConsentStatus;
756
+ verification?: InputMaybe<Array<InputMaybe<ConsentVerificationInput>>>;
757
+ };
758
+ export type ConsentPolicy = {
759
+ __typename?: 'ConsentPolicy';
760
+ authority?: Maybe<Scalars['uri']['output']>;
761
+ uri?: Maybe<Scalars['uri']['output']>;
762
+ };
763
+ export type ConsentPolicyInput = {
764
+ authority?: InputMaybe<Scalars['uri']['input']>;
765
+ uri?: InputMaybe<Scalars['uri']['input']>;
766
+ };
767
+ export type ConsentProvision = {
768
+ __typename?: 'ConsentProvision';
769
+ action?: Maybe<Array<Maybe<CodeableConcept>>>;
770
+ actor?: Maybe<Array<Maybe<ConsentActor>>>;
771
+ class?: Maybe<Array<Maybe<Coding>>>;
772
+ code?: Maybe<Array<Maybe<CodeableConcept>>>;
773
+ data?: Maybe<Array<Maybe<ConsentData>>>;
774
+ dataPeriod?: Maybe<Period>;
775
+ period?: Maybe<Period>;
776
+ provision?: Maybe<Array<Maybe<ConsentProvision>>>;
777
+ purpose?: Maybe<Array<Maybe<Coding>>>;
778
+ securityLabel?: Maybe<Array<Maybe<Coding>>>;
779
+ type?: Maybe<ConsentProvisionType>;
780
+ };
781
+ export type ConsentProvisionInput = {
782
+ action?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
783
+ actor?: InputMaybe<Array<InputMaybe<ConsentActorInput>>>;
784
+ class?: InputMaybe<Array<InputMaybe<CodingInput>>>;
785
+ code?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
786
+ data?: InputMaybe<Array<InputMaybe<ConsentDataInput>>>;
787
+ dataPeriod?: InputMaybe<Consent_PeriodInput>;
788
+ period?: InputMaybe<Consent_PeriodInput>;
789
+ provision?: InputMaybe<Array<InputMaybe<ConsentProvisionInput>>>;
790
+ purpose?: InputMaybe<Array<InputMaybe<CodingInput>>>;
791
+ securityLabel?: InputMaybe<Array<InputMaybe<CodingInput>>>;
792
+ type?: InputMaybe<ConsentProvisionType>;
793
+ };
794
+ export declare enum ConsentProvisionType {
795
+ Deny = "DENY",
796
+ Permit = "PERMIT"
797
+ }
798
+ export type ConsentSearch = {
799
+ category?: InputMaybe<CategoryCode>;
800
+ patientId?: InputMaybe<Scalars['String']['input']>;
801
+ };
802
+ export type ConsentSource = {
803
+ __typename?: 'ConsentSource';
804
+ sourceAttachment?: Maybe<Attachment>;
805
+ sourceReference?: Maybe<Scalars['reference']['output']>;
806
+ };
807
+ export type ConsentSourceInput = {
808
+ sourceAttachment?: InputMaybe<Consent_AttachmentInput>;
809
+ sourceReference?: InputMaybe<Scalars['reference']['input']>;
810
+ };
811
+ export declare enum ConsentStatus {
812
+ Active = "ACTIVE",
813
+ Draft = "DRAFT",
814
+ EnteredInError = "ENTERED_IN_ERROR",
815
+ Inactive = "INACTIVE",
816
+ Proposed = "PROPOSED",
817
+ Rejected = "REJECTED"
818
+ }
819
+ export type ConsentVerification = {
820
+ __typename?: 'ConsentVerification';
821
+ verificationDate?: Maybe<Scalars['dateTime']['output']>;
822
+ verified: Scalars['Boolean']['output'];
823
+ verifiedWith?: Maybe<Scalars['reference']['output']>;
824
+ };
825
+ export type ConsentVerificationInput = {
826
+ verificationDate?: InputMaybe<Scalars['dateTime']['input']>;
827
+ verified: Scalars['Boolean']['input'];
828
+ verifiedWith?: InputMaybe<Scalars['reference']['input']>;
829
+ };
830
+ export type Consent_AttachmentInput = {
831
+ contentType?: InputMaybe<Scalars['String']['input']>;
832
+ creation?: InputMaybe<Scalars['String']['input']>;
833
+ data?: InputMaybe<Scalars['String']['input']>;
834
+ duration?: InputMaybe<Scalars['Float']['input']>;
835
+ frames?: InputMaybe<Scalars['Int']['input']>;
836
+ hash?: InputMaybe<Scalars['String']['input']>;
837
+ height?: InputMaybe<Scalars['Int']['input']>;
838
+ language?: InputMaybe<Scalars['String']['input']>;
839
+ pages?: InputMaybe<Scalars['Int']['input']>;
840
+ size?: InputMaybe<Scalars['Float']['input']>;
841
+ title?: InputMaybe<Scalars['String']['input']>;
842
+ url?: InputMaybe<Scalars['String']['input']>;
843
+ width?: InputMaybe<Scalars['Int']['input']>;
844
+ };
845
+ export type Consent_PeriodInput = {
846
+ end?: InputMaybe<Scalars['DateTime']['input']>;
847
+ start?: InputMaybe<Scalars['DateTime']['input']>;
848
+ };
849
+ export type Consent_ReferenceInput = {
850
+ display?: InputMaybe<Scalars['String']['input']>;
851
+ identifier?: InputMaybe<IdentifierInput>;
852
+ reference?: InputMaybe<Scalars['String']['input']>;
853
+ type?: InputMaybe<Scalars['String']['input']>;
854
+ };
855
+ export type ContactPoint = {
856
+ __typename?: 'ContactPoint';
857
+ /** Can define enum */
858
+ rank?: Maybe<Scalars['Int']['output']>;
859
+ /** Follows https://www.hl7.org/fhir/datatypes.html#ContactPoint */
860
+ system?: Maybe<Scalars['String']['output']>;
861
+ use?: Maybe<Scalars['String']['output']>;
862
+ /** Can define enum */
863
+ value?: Maybe<Scalars['String']['output']>;
864
+ };
865
+ export type ContactPointInput = {
866
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
867
+ id?: InputMaybe<Scalars['String']['input']>;
868
+ /** Can define enum */
869
+ rank?: InputMaybe<Scalars['Int']['input']>;
870
+ system?: InputMaybe<Scalars['String']['input']>;
871
+ use?: InputMaybe<Scalars['String']['input']>;
872
+ /** Can define enum */
873
+ value?: InputMaybe<Scalars['String']['input']>;
874
+ };
875
+ /** Supported ISO 4217 CurrencyCodes */
876
+ export declare enum CurrencyCode {
877
+ Usd = "USD"
878
+ }
879
+ export declare enum DataConnectionStatus {
880
+ Connected = "CONNECTED",
881
+ Deleted = "DELETED",
882
+ Disconnected = "DISCONNECTED",
883
+ Error = "ERROR",
884
+ Expired = "EXPIRED"
885
+ }
886
+ export declare enum DataConnectionType {
887
+ Clinical = "CLINICAL",
888
+ Insurance = "INSURANCE",
889
+ Lab = "LAB",
890
+ Practitioner = "PRACTITIONER"
891
+ }
892
+ export declare enum DataSets {
893
+ Connecthub = "connecthub",
894
+ Nppes = "nppes"
895
+ }
896
+ export type DataSource = {
897
+ __typename?: 'DataSource';
898
+ category: ConnectionCategory;
899
+ id: Scalars['String']['output'];
900
+ isDirect: Scalars['Boolean']['output'];
901
+ name: Scalars['String']['output'];
902
+ type: DataConnectionType;
903
+ };
904
+ /** Input type defining a filter based on date values. */
905
+ export type DateFilterInput = {
906
+ /** Array of date filters to apply. */
907
+ values?: InputMaybe<Array<InputMaybe<DateFilterValue>>>;
908
+ };
909
+ /** Input type representing the value for a date filter. */
910
+ export type DateFilterValue = {
911
+ /** Start date for the filter, inclusive. */
912
+ greaterThanOrEqualTo?: InputMaybe<Scalars['Date']['input']>;
913
+ /** End date for the filter, inclusive. */
914
+ lessThanOrEqualTo?: InputMaybe<Scalars['Date']['input']>;
915
+ };
916
+ export type Detail = {
917
+ __typename?: 'Detail';
918
+ code?: Maybe<CodeableConcept>;
919
+ kind?: Maybe<Code>;
920
+ scheduledPeriod?: Maybe<Period>;
921
+ scheduledString?: Maybe<Scalars['String']['output']>;
922
+ scheduledTiming?: Maybe<Timing>;
923
+ status?: Maybe<Code>;
924
+ };
925
+ export type DisconnectConnection = {
926
+ __typename?: 'DisconnectConnection';
927
+ status?: Maybe<DataConnectionStatus>;
928
+ statusUpdated: Scalars['DateTime']['output'];
929
+ };
930
+ export type DispenseRequest = {
931
+ __typename?: 'DispenseRequest';
932
+ /** The minimum period of time that must occur between dispenses of the medication. */
933
+ dispenseInterval?: Maybe<Quantity>;
934
+ /** Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last. */
935
+ expectedSupplyDuration?: Maybe<Quantity>;
936
+ id?: Maybe<Scalars['ID']['output']>;
937
+ /** Indicates the quantity or duration for the first dispense of the medication. */
938
+ initialFill?: Maybe<InitialFill>;
939
+ /**
940
+ * 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.
947
+ */
948
+ numberOfRepeatsAllowed?: Maybe<Scalars['Int']['output']>;
949
+ /** Indicates the intended dispensing Organization specified by the prescriber. */
950
+ performer?: Maybe<Organization>;
951
+ quantity?: Maybe<Quantity>;
952
+ /** Period A time period defined by a start and end date and optionally time. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions */
953
+ validityPeriod?: Maybe<Period>;
954
+ };
955
+ export type DomainResource = {
956
+ contained?: Maybe<Array<Maybe<Resource>>>;
957
+ extension?: Maybe<Array<Maybe<Extension>>>;
958
+ id?: Maybe<Scalars['String']['output']>;
959
+ implicitRules?: Maybe<Scalars['String']['output']>;
960
+ language?: Maybe<Scalars['String']['output']>;
961
+ meta?: Maybe<Meta>;
962
+ modifierExtension?: Maybe<Array<Maybe<Extension>>>;
963
+ resourceType: Scalars['String']['output'];
964
+ text?: Maybe<Scalars['String']['output']>;
965
+ };
966
+ export type Dosage = {
967
+ __typename?: 'Dosage';
968
+ additionalInstruction?: Maybe<Array<CodeableConcept>>;
969
+ asNeededBoolean?: Maybe<Scalars['Boolean']['output']>;
970
+ asNeededCodeableConcept?: Maybe<CodeableConcept>;
971
+ doseAndRate?: Maybe<Array<DoseAndRate>>;
972
+ id?: Maybe<Scalars['ID']['output']>;
973
+ maxDosePerAdministration?: Maybe<Quantity>;
974
+ maxDosePerLifetime?: Maybe<Quantity>;
975
+ maxDosePerPeriod?: Maybe<Ratio>;
976
+ method?: Maybe<CodeableConcept>;
977
+ patientInstruction?: Maybe<Scalars['String']['output']>;
978
+ route?: Maybe<CodeableConcept>;
979
+ sequence?: Maybe<Scalars['Int']['output']>;
980
+ site?: Maybe<CodeableConcept>;
981
+ text?: Maybe<Scalars['String']['output']>;
982
+ timing?: Maybe<Timing>;
983
+ };
984
+ export type DoseAndRate = {
985
+ __typename?: 'DoseAndRate';
986
+ doseQuantity?: Maybe<Quantity>;
987
+ doseRange?: Maybe<Range>;
988
+ id?: Maybe<Scalars['ID']['output']>;
989
+ rateQuantity?: Maybe<Quantity>;
990
+ rateRange?: Maybe<Range>;
991
+ rateRatio?: Maybe<Ratio>;
992
+ type?: Maybe<CodeableConcept>;
993
+ };
994
+ export type Element = {
995
+ extension?: Maybe<Extension>;
996
+ id?: Maybe<Scalars['String']['output']>;
997
+ };
998
+ export type EmbeddableConfiguration = {
999
+ __typename?: 'EmbeddableConfiguration';
1000
+ authStrategy: Scalars['String']['output'];
1001
+ idleThreshold: Scalars['Int']['output'];
1002
+ routeDefinition: Array<RouteDefinition>;
1003
+ webSdkVersion: Scalars['String']['output'];
1004
+ };
1005
+ export declare enum EmpiType {
1006
+ BwellPatient = "BWELL_PATIENT",
1007
+ BwellPerson = "BWELL_PERSON",
1008
+ ClientPatient = "CLIENT_PATIENT",
1009
+ ClientPerson = "CLIENT_PERSON"
1010
+ }
1011
+ export type EncounterGroup = ResourceGroup & {
1012
+ __typename?: 'EncounterGroup';
1013
+ /** The classification of the encounter (e.g., emergency, pediatric). */
1014
+ class?: Maybe<Coding>;
1015
+ /** Coding representing the kind of encounters in this composition */
1016
+ coding?: Maybe<Coding>;
1017
+ /** A time period with a defined start and end date and time. */
1018
+ date?: Maybe<Scalars['DateTime']['output']>;
1019
+ id?: Maybe<Scalars['ID']['output']>;
1020
+ /** Human readable name of the encounter */
1021
+ name?: Maybe<Scalars['String']['output']>;
1022
+ /** The list of individuals involved in the encounter. */
1023
+ participant?: Maybe<Scalars['String']['output']>;
1024
+ /** Array of encounter id references in the Composition */
1025
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1026
+ /** Array of Strings representing the source of the data */
1027
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1028
+ /** The specific type of encounter (e.g., outpatient, inpatient). */
1029
+ type?: Maybe<Coding>;
1030
+ };
1031
+ export type EncounterGroupQueryRequest = {
1032
+ page?: InputMaybe<Scalars['Int']['input']>;
1033
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1034
+ };
1035
+ export type EncounterGroupQueryResults = PagedQueryResults & {
1036
+ __typename?: 'EncounterGroupQueryResults';
1037
+ paging_info?: Maybe<PagingResults>;
1038
+ resources: Array<EncounterGroup>;
1039
+ };
1040
+ export type EncounterQueryResults = PagedQueryResults & {
1041
+ __typename?: 'EncounterQueryResults';
1042
+ paging_info?: Maybe<PagingResults>;
1043
+ resources: Array<EncounterResource>;
1044
+ };
1045
+ /** Input type for specifying the search criteria for encounters. */
1046
+ export type EncounterRequest = {
1047
+ groupCode?: InputMaybe<SearchToken>;
1048
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
1049
+ /** Filters based on the meta.lastUpdated date of the resource */
1050
+ lastUpdated?: InputMaybe<SearchDate>;
1051
+ page?: InputMaybe<Scalars['Int']['input']>;
1052
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1053
+ };
1054
+ /** A FHIR Encounter resource representing an interaction between a patient and healthcare provider. */
1055
+ export type EncounterResource = {
1056
+ __typename?: 'EncounterResource';
1057
+ /** The classification of the encounter (e.g., emergency, pediatric). */
1058
+ class?: Maybe<Coding>;
1059
+ /** The unique identifier for this Encounter resource. */
1060
+ id: Scalars['ID']['output'];
1061
+ /** Business identifier for the encounter */
1062
+ identifier?: Maybe<Identifier>;
1063
+ /** Represents details and position information for a physical place */
1064
+ location?: Maybe<Location>;
1065
+ /** Meta information about the Encounter, such as version, tags, etc. */
1066
+ meta?: Maybe<Meta>;
1067
+ /** The list of individuals involved in the encounter. */
1068
+ participant?: Maybe<Array<Maybe<Participant>>>;
1069
+ /** The time period during which the encounter occurred. */
1070
+ period?: Maybe<Period>;
1071
+ /** The reason the encounter took place. */
1072
+ reasonCode?: Maybe<Array<Maybe<CodeableConcept>>>;
1073
+ /** The status of the encounter (planned, in progress, etc.). */
1074
+ status: Code;
1075
+ /** The specific type of encounter (e.g., outpatient, inpatient). */
1076
+ type?: Maybe<Array<Maybe<CodeableConcept>>>;
1077
+ };
1078
+ export type Endpoint = {
1079
+ __typename?: 'Endpoint';
1080
+ address?: Maybe<Scalars['String']['output']>;
1081
+ connectionType?: Maybe<Coding>;
1082
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
1083
+ name?: Maybe<Scalars['String']['output']>;
1084
+ status?: Maybe<EndpointStatus>;
1085
+ };
1086
+ export declare enum EndpointStatus {
1087
+ Active = "active",
1088
+ EnteredInError = "entered_in_error",
1089
+ Error = "error",
1090
+ Off = "off",
1091
+ Suspended = "suspended",
1092
+ Test = "test"
1093
+ }
1094
+ export declare enum EventType {
1095
+ CustomEvent = "CUSTOM_EVENT",
1096
+ MobilePushOpen = "MOBILE_PUSH_OPEN"
1097
+ }
1098
+ /** Extension */
1099
+ export type Extension = {
1100
+ __typename?: 'Extension';
1101
+ id?: Maybe<Scalars['String']['output']>;
1102
+ url?: Maybe<Scalars['String']['output']>;
1103
+ valueCodeableConcept?: Maybe<CodeableConcept>;
1104
+ valueExpression?: Maybe<Scalars['String']['output']>;
1105
+ valueInteger?: Maybe<Scalars['Int']['output']>;
1106
+ valueString?: Maybe<Scalars['String']['output']>;
1107
+ };
1108
+ export type ExtensionInput = {
1109
+ id?: InputMaybe<Scalars['String']['input']>;
1110
+ url?: InputMaybe<Scalars['String']['input']>;
1111
+ valueCodeableConcept?: InputMaybe<CodeableConceptInput>;
1112
+ };
1113
+ export type Extension_Input = {
1114
+ extension?: InputMaybe<Array<InputMaybe<Extension_Input>>>;
1115
+ id?: InputMaybe<Scalars['String']['input']>;
1116
+ url?: InputMaybe<Scalars['String']['input']>;
1117
+ valueCodeableConcept?: InputMaybe<CodeableConcept_Input>;
1118
+ };
1119
+ export declare enum FhirPersonGender {
1120
+ Female = "female",
1121
+ Male = "male",
1122
+ Other = "other",
1123
+ Unknown = "unknown"
1124
+ }
1125
+ export type FhirPersonInput = {
1126
+ active?: InputMaybe<Scalars['Boolean']['input']>;
1127
+ address?: InputMaybe<Array<InputMaybe<AddressInput>>>;
1128
+ birthDate?: InputMaybe<Scalars['String']['input']>;
1129
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
1130
+ gender?: InputMaybe<FhirPersonGender>;
1131
+ id?: InputMaybe<Scalars['String']['input']>;
1132
+ identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
1133
+ implicitRules?: InputMaybe<Scalars['String']['input']>;
1134
+ language?: InputMaybe<Scalars['String']['input']>;
1135
+ link?: InputMaybe<Array<InputMaybe<PersonLinkInput>>>;
1136
+ managingOrganization?: InputMaybe<ReferenceInput>;
1137
+ meta?: InputMaybe<PersonMetaInput>;
1138
+ modifierExtension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
1139
+ name?: InputMaybe<Array<InputMaybe<NameInput>>>;
1140
+ photo?: InputMaybe<AttachmentInput>;
1141
+ resourceType: FhirPersonResourceType;
1142
+ telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
1143
+ };
1144
+ export declare enum FhirPersonResourceType {
1145
+ Person = "Person"
1146
+ }
1147
+ export type Fhir_Extension = {
1148
+ __typename?: 'FHIR_Extension';
1149
+ id?: Maybe<Scalars['String']['output']>;
1150
+ url?: Maybe<Scalars['String']['output']>;
1151
+ valueString?: Maybe<Scalars['String']['output']>;
1152
+ };
1153
+ export type FeatureFlag = {
1154
+ __typename?: 'FeatureFlag';
1155
+ id: Scalars['String']['output'];
1156
+ name: Scalars['String']['output'];
1157
+ variants: Array<Variant>;
1158
+ };
1159
+ export type FeatureFlagConfiguration = {
1160
+ __typename?: 'FeatureFlagConfiguration';
1161
+ featureFlagDefinitions?: Maybe<Array<FeatureFlag>>;
1162
+ };
1163
+ export type FhirFormQuestionnaire = {
1164
+ __typename?: 'FhirFormQuestionnaire';
1165
+ model?: Maybe<Model>;
1166
+ schema?: Maybe<Schema>;
1167
+ uiSchema?: Maybe<Scalars['uiSchema']['output']>;
1168
+ };
1169
+ export type FhirQuestionnaire = {
1170
+ __typename?: 'FhirQuestionnaire';
1171
+ description?: Maybe<Scalars['String']['output']>;
1172
+ id?: Maybe<Scalars['id']['output']>;
1173
+ item?: Maybe<Array<Maybe<FhirQuestionnaireItem>>>;
1174
+ meta?: Maybe<Meta>;
1175
+ name?: Maybe<Scalars['String']['output']>;
1176
+ resourceType: Fhir_Questionnaire_Enum_Schema;
1177
+ status?: Maybe<Scalars['code']['output']>;
1178
+ subjectType?: Maybe<Array<Maybe<Scalars['code']['output']>>>;
1179
+ title?: Maybe<Scalars['String']['output']>;
1180
+ version?: Maybe<Scalars['String']['output']>;
1181
+ };
1182
+ export type FhirQuestionnaireItem = {
1183
+ __typename?: 'FhirQuestionnaireItem';
1184
+ code?: Maybe<Array<Maybe<Coding>>>;
1185
+ extension?: Maybe<Array<Maybe<Extension>>>;
1186
+ id?: Maybe<Scalars['String']['output']>;
1187
+ item?: Maybe<Array<Maybe<FhirQuestionnaireItem>>>;
1188
+ linkId?: Maybe<Scalars['String']['output']>;
1189
+ required?: Maybe<Scalars['Boolean']['output']>;
1190
+ text?: Maybe<Scalars['String']['output']>;
1191
+ type?: Maybe<Scalars['code']['output']>;
1192
+ };
1193
+ export declare enum Fhir_Questionnaire_Enum_Schema {
1194
+ Questionnaire = "Questionnaire"
1195
+ }
1196
+ export declare enum FilterField {
1197
+ Characteristic = "characteristic",
1198
+ Communication = "communication",
1199
+ Gender = "gender",
1200
+ Specialty = "specialty"
1201
+ }
1202
+ export type FilterValue = {
1203
+ __typename?: 'FilterValue';
1204
+ count?: Maybe<Scalars['Int']['output']>;
1205
+ value?: Maybe<Scalars['String']['output']>;
1206
+ };
1207
+ export type FilterValues = {
1208
+ __typename?: 'FilterValues';
1209
+ field?: Maybe<FilterField>;
1210
+ values?: Maybe<Array<Maybe<FilterValue>>>;
1211
+ };
1212
+ export type FrontendEnvironment = {
1213
+ __typename?: 'FrontendEnvironment';
1214
+ analytics: Analytics;
1215
+ };
1216
+ export declare enum Gender {
1217
+ Female = "female",
1218
+ /** Follows https://www.hl7.org/fhir/valueset-administrative-gender.html */
1219
+ Male = "male",
1220
+ Other = "other",
1221
+ Unknown = "unknown"
1222
+ }
1223
+ export type GenerateUrl = {
1224
+ __typename?: 'GenerateUrl';
1225
+ redirectUrl: Scalars['String']['output'];
1226
+ };
1227
+ export type GoogleGeo = {
1228
+ __typename?: 'GoogleGeo';
1229
+ key: Scalars['String']['output'];
1230
+ uri: Scalars['String']['output'];
1231
+ };
1232
+ export type GraphQlClientConfig = {
1233
+ __typename?: 'GraphQLClientConfig';
1234
+ authUrl: Scalars['String']['output'];
1235
+ cache: Cache;
1236
+ fetchPolicy: Scalars['String']['output'];
1237
+ url: Scalars['String']['output'];
1238
+ };
1239
+ export declare enum HealthSummaryCategory {
1240
+ AllergyIntolerance = "ALLERGY_INTOLERANCE",
1241
+ CarePlan = "CARE_PLAN",
1242
+ Condition = "CONDITION",
1243
+ Encounter = "ENCOUNTER",
1244
+ Immunization = "IMMUNIZATION",
1245
+ Labs = "LABS",
1246
+ Medications = "MEDICATIONS",
1247
+ Procedure = "PROCEDURE",
1248
+ VitalSigns = "VITAL_SIGNS"
1249
+ }
1250
+ export type HealthSummaryQueryResults = {
1251
+ __typename?: 'HealthSummaryQueryResults';
1252
+ resources: Array<HealthSummaryResource>;
1253
+ };
1254
+ export type HealthSummaryResource = {
1255
+ __typename?: 'HealthSummaryResource';
1256
+ category?: Maybe<HealthSummaryCategory>;
1257
+ total?: Maybe<Scalars['Int']['output']>;
1258
+ };
1259
+ export type HttpClientConfig = {
1260
+ __typename?: 'HttpClientConfig';
1261
+ requestTimeout?: Maybe<Scalars['Float']['output']>;
1262
+ retry?: Maybe<Retry>;
1263
+ };
1264
+ /** A data type for human names. */
1265
+ export type HumanName = {
1266
+ __typename?: 'HumanName';
1267
+ /** The family name or surname. */
1268
+ family?: Maybe<Scalars['String']['output']>;
1269
+ /** An ordered list of given names. */
1270
+ given?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1271
+ /** Prefixes such as "Mr." or "Dr.". */
1272
+ prefix?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1273
+ /** Suffixes such as "Jr." or "III". */
1274
+ suffix?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1275
+ /** Follows https://www.hl7.org/fhir/datatypes.html#HumanName */
1276
+ text?: Maybe<Scalars['String']['output']>;
1277
+ };
1278
+ /** General identifier structure for various elements. */
1279
+ export type Identifier = {
1280
+ __typename?: 'Identifier';
1281
+ /** Unique identifier */
1282
+ id?: Maybe<Scalars['ID']['output']>;
1283
+ /** The system within which the identifier is used. */
1284
+ system?: Maybe<Scalars['String']['output']>;
1285
+ /** The type of identifier (e.g., MRN, SIN). */
1286
+ type?: Maybe<CodeableConcept>;
1287
+ /** The actual value of the identifier. */
1288
+ value?: Maybe<Scalars['String']['output']>;
1289
+ };
1290
+ export type IdentifierInput = {
1291
+ id?: InputMaybe<Scalars['String']['input']>;
1292
+ system?: InputMaybe<Scalars['String']['input']>;
1293
+ value?: InputMaybe<Scalars['String']['input']>;
1294
+ };
1295
+ export declare enum IdentifierUseKind {
1296
+ Official = "official",
1297
+ Old = "old",
1298
+ Secondary = "secondary",
1299
+ Temp = "temp",
1300
+ Usual = "usual"
1301
+ }
1302
+ /** codeable concept */
1303
+ export type IdentityAuthed_CodeableConcept = {
1304
+ __typename?: 'IdentityAuthed_CodeableConcept';
1305
+ id?: Maybe<Scalars['String']['output']>;
1306
+ text?: Maybe<Scalars['String']['output']>;
1307
+ };
1308
+ export type IdentityAuthed_Meta = {
1309
+ __typename?: 'IdentityAuthed_Meta';
1310
+ cards?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1311
+ navItems?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1312
+ settingsKeys?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1313
+ };
1314
+ /** operation outcome */
1315
+ export type IdentityAuthed_OperationOutcome = {
1316
+ __typename?: 'IdentityAuthed_OperationOutcome';
1317
+ issue?: Maybe<Array<OperationOutcome_Issue>>;
1318
+ resourceType?: Maybe<Scalars['String']['output']>;
1319
+ };
1320
+ /** task meta */
1321
+ export type Identity_Meta = {
1322
+ __typename?: 'Identity_Meta';
1323
+ id?: Maybe<Scalars['String']['output']>;
1324
+ lastUpdated?: Maybe<Scalars['DateTime']['output']>;
1325
+ security?: Maybe<Array<Coding>>;
1326
+ source?: Maybe<Scalars['String']['output']>;
1327
+ tag?: Maybe<Array<Coding>>;
1328
+ versionId?: Maybe<Scalars['String']['output']>;
1329
+ };
1330
+ /** Identity_Resource */
1331
+ export type Identity_Resource = {
1332
+ id: Scalars['String']['output'];
1333
+ implicitRules?: Maybe<Scalars['String']['output']>;
1334
+ language?: Maybe<Scalars['String']['output']>;
1335
+ meta: Identity_Meta;
1336
+ resourceType: Scalars['String']['output'];
1337
+ };
1338
+ /** Identity_ResourceContainer */
1339
+ export type Identity_ResourceContainer = {
1340
+ __typename?: 'Identity_ResourceContainer';
1341
+ id_: Scalars['String']['output'];
1342
+ meta: Identity_Meta;
1343
+ };
1344
+ /** task */
1345
+ export type Identity_Task = {
1346
+ __typename?: 'Identity_Task';
1347
+ For?: Maybe<Identity_Resource>;
1348
+ authoredOn?: Maybe<Scalars['String']['output']>;
1349
+ basedOn?: Maybe<Array<Identity_Resource>>;
1350
+ basedOnV2?: Maybe<Array<TaskBasedOnV2>>;
1351
+ code?: Maybe<CodeableConcept>;
1352
+ contained?: Maybe<Array<Identity_ResourceContainer>>;
1353
+ description?: Maybe<Scalars['String']['output']>;
1354
+ executionPeriod?: Maybe<Period>;
1355
+ extension?: Maybe<Array<Extension>>;
1356
+ focus?: Maybe<Identity_Resource>;
1357
+ focusV2?: Maybe<TaskFocusV2>;
1358
+ forV2?: Maybe<TaskForV2>;
1359
+ id?: Maybe<Scalars['String']['output']>;
1360
+ identifier?: Maybe<Array<Identifier>>;
1361
+ implicitRules?: Maybe<Scalars['String']['output']>;
1362
+ instantiatesCanonical?: Maybe<Scalars['String']['output']>;
1363
+ instantiatesUri?: Maybe<Scalars['String']['output']>;
1364
+ intent?: Maybe<Scalars['String']['output']>;
1365
+ language?: Maybe<Scalars['String']['output']>;
1366
+ lastModified?: Maybe<Scalars['String']['output']>;
1367
+ meta?: Maybe<Identity_Meta>;
1368
+ modifierExtension?: Maybe<Array<Extension>>;
1369
+ priority?: Maybe<Scalars['String']['output']>;
1370
+ resourceType?: Maybe<Scalars['String']['output']>;
1371
+ status?: Maybe<Scalars['String']['output']>;
1372
+ };
1373
+ export type ImmunizationGroup = ResourceGroup & {
1374
+ __typename?: 'ImmunizationGroup';
1375
+ /** Coding representing the kind of immunizations in this composition */
1376
+ coding?: Maybe<Coding>;
1377
+ id?: Maybe<Scalars['ID']['output']>;
1378
+ /** Human readable name of the immunization */
1379
+ name?: Maybe<Scalars['String']['output']>;
1380
+ /** The date and time when the vaccine was administered. */
1381
+ occurrenceDateTime?: Maybe<Scalars['DateTime']['output']>;
1382
+ /** Array of immunization id references in the Composition */
1383
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1384
+ /** Array of Strings representing the source of the data */
1385
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1386
+ };
1387
+ export type ImmunizationGroupQueryRequest = {
1388
+ page?: InputMaybe<Scalars['Int']['input']>;
1389
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1390
+ };
1391
+ export type ImmunizationGroupQueryResults = PagedQueryResults & {
1392
+ __typename?: 'ImmunizationGroupQueryResults';
1393
+ paging_info?: Maybe<PagingResults>;
1394
+ resources: Array<ImmunizationGroup>;
1395
+ };
1396
+ export type ImmunizationQueryResults = PagedQueryResults & {
1397
+ __typename?: 'ImmunizationQueryResults';
1398
+ paging_info?: Maybe<PagingResults>;
1399
+ resources: Array<ImmunizationResource>;
1400
+ };
1401
+ /** Input type for specifying the search criteria for immunization records. */
1402
+ export type ImmunizationRequest = {
1403
+ groupCode?: InputMaybe<SearchToken>;
1404
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
1405
+ /** Filters based on the meta.lastUpdated date of the resource */
1406
+ lastUpdated?: InputMaybe<SearchDate>;
1407
+ page?: InputMaybe<Scalars['Int']['input']>;
1408
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1409
+ };
1410
+ /** A FHIR Immunization resource representing an administration of a vaccine or a record thereof. */
1411
+ export type ImmunizationResource = {
1412
+ __typename?: 'ImmunizationResource';
1413
+ /** Amount of vaccine administered */
1414
+ doseQuantity?: Maybe<Quantity>;
1415
+ /** The encounter during which the vaccine was administered. */
1416
+ encounter?: Maybe<EncounterResource>;
1417
+ /** The unique identifier for this Immunization resource. */
1418
+ id: Scalars['ID']['output'];
1419
+ /** Where immunization occurred */
1420
+ location?: Maybe<Location>;
1421
+ /** Vaccine lot number */
1422
+ lotNumber?: Maybe<Scalars['String']['output']>;
1423
+ /** The manufacturer of the vaccine. */
1424
+ manufacturer?: Maybe<Organization>;
1425
+ /** Meta information about the Immunization, such as version, tags, etc. */
1426
+ meta?: Maybe<Meta>;
1427
+ /** The date and time when the vaccine was administered. */
1428
+ occurrenceDateTime?: Maybe<Scalars['DateTime']['output']>;
1429
+ /** Who performed event */
1430
+ performer?: Maybe<Array<Maybe<Performer>>>;
1431
+ /** Indicates context the data was recorded in */
1432
+ primarySource?: Maybe<Scalars['Boolean']['output']>;
1433
+ /** Information about the protocol under which the vaccine was administered. */
1434
+ protocolApplied?: Maybe<Array<Maybe<ProtocolApplied>>>;
1435
+ /** Any reactions to the vaccine that were recorded. */
1436
+ reaction?: Maybe<Array<Maybe<Reaction>>>;
1437
+ /** Why immunization occurred */
1438
+ reasonCode?: Maybe<Array<Maybe<CodeableConcept>>>;
1439
+ /** How vaccine entered body */
1440
+ route?: Maybe<CodeableConcept>;
1441
+ /** Body site vaccine was administered */
1442
+ site?: Maybe<CodeableConcept>;
1443
+ status: Code;
1444
+ /** Consumer friendly name for immunization */
1445
+ vaccine?: Maybe<Scalars['String']['output']>;
1446
+ /** The vaccine that was administered. */
1447
+ vaccineCode: CodeableConcept;
1448
+ };
1449
+ export type InitialFill = {
1450
+ __typename?: 'InitialFill';
1451
+ /** The length of time that the first dispense is expected to last. */
1452
+ duration?: Maybe<Quantity>;
1453
+ /** The amount or quantity to provide as part of the first dispense. */
1454
+ quantity?: Maybe<Quantity>;
1455
+ };
1456
+ export type InputCoding = {
1457
+ /** Follows https://www.hl7.org/fhir/datatypes.html#Coding */
1458
+ code?: InputMaybe<Scalars['String']['input']>;
1459
+ display?: InputMaybe<Scalars['String']['input']>;
1460
+ system?: InputMaybe<Scalars['String']['input']>;
1461
+ };
1462
+ export type InputProfile = {
1463
+ active?: InputMaybe<Scalars['Boolean']['input']>;
1464
+ address?: InputMaybe<InputProfileAddress>;
1465
+ birthDate?: InputMaybe<Scalars['String']['input']>;
1466
+ email?: InputMaybe<Scalars['String']['input']>;
1467
+ gender?: InputMaybe<Scalars['String']['input']>;
1468
+ id?: InputMaybe<Scalars['String']['input']>;
1469
+ language?: InputMaybe<Scalars['String']['input']>;
1470
+ name?: InputMaybe<InputProfileName>;
1471
+ phone?: InputMaybe<Scalars['String']['input']>;
1472
+ };
1473
+ export type InputProfileAddress = {
1474
+ city?: InputMaybe<Scalars['String']['input']>;
1475
+ country?: InputMaybe<Scalars['String']['input']>;
1476
+ district?: InputMaybe<Scalars['String']['input']>;
1477
+ line_1?: InputMaybe<Scalars['String']['input']>;
1478
+ line_2?: InputMaybe<Scalars['String']['input']>;
1479
+ postalCode?: InputMaybe<Scalars['String']['input']>;
1480
+ state?: InputMaybe<Scalars['String']['input']>;
1481
+ };
1482
+ export type InputProfileContactPoint = {
1483
+ phone?: InputMaybe<Scalars['String']['input']>;
1484
+ };
1485
+ export type InputProfileName = {
1486
+ first?: InputMaybe<Scalars['String']['input']>;
1487
+ last?: InputMaybe<Scalars['String']['input']>;
1488
+ };
1489
+ export declare enum InteractionType {
1490
+ Clicked = "clicked"
1491
+ }
1492
+ export type Issue = {
1493
+ __typename?: 'Issue';
1494
+ code: Scalars['String']['output'];
1495
+ details: CodeableConcept;
1496
+ severity: Scalars['String']['output'];
1497
+ };
1498
+ export type Job = {
1499
+ __typename?: 'Job';
1500
+ attemptsMade?: Maybe<Scalars['Int']['output']>;
1501
+ data?: Maybe<Scalars['JSON']['output']>;
1502
+ failedReason?: Maybe<Scalars['String']['output']>;
1503
+ finishedOn?: Maybe<Scalars['Int']['output']>;
1504
+ id?: Maybe<Scalars['String']['output']>;
1505
+ name?: Maybe<Scalars['String']['output']>;
1506
+ processedOn?: Maybe<Scalars['Int']['output']>;
1507
+ stacktrace?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1508
+ timestamp?: Maybe<Scalars['Int']['output']>;
1509
+ };
1510
+ export type Job_Input = {
1511
+ data?: InputMaybe<Scalars['JSON']['input']>;
1512
+ name: Scalars['String']['input'];
1513
+ };
1514
+ export type LabGroup = ResourceGroup & {
1515
+ __typename?: 'LabGroup';
1516
+ /** A structured set of codes including a text representation. */
1517
+ category?: Maybe<Array<Maybe<CodeableConcept>>>;
1518
+ /** Coding representing the kind of Conditions in this ResourceGroup */
1519
+ coding?: Maybe<Coding>;
1520
+ /** Component observations as part of this observation. */
1521
+ component?: Maybe<Array<Maybe<Component>>>;
1522
+ /** The single point in time when the observation was made. */
1523
+ effectiveDateTime?: Maybe<Scalars['DateTime']['output']>;
1524
+ id?: Maybe<Scalars['ID']['output']>;
1525
+ /** The interpretation of the observation results. */
1526
+ interpretation?: Maybe<Array<Maybe<CodeableConcept>>>;
1527
+ /** Human readable name of the Lab */
1528
+ name?: Maybe<Scalars['String']['output']>;
1529
+ /** Reference ranges for interpreting the observation value. */
1530
+ referenceRange?: Maybe<Array<Maybe<ReferenceRange>>>;
1531
+ /** Array of immunization id references in the ResourceGroup */
1532
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1533
+ /** Array of Strings representing the source of the data */
1534
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1535
+ value?: Maybe<Value>;
1536
+ };
1537
+ export type LabGroupQueryRequest = {
1538
+ page?: InputMaybe<Scalars['Int']['input']>;
1539
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1540
+ };
1541
+ export type LabGroupQueryResults = PagedQueryResults & {
1542
+ __typename?: 'LabGroupQueryResults';
1543
+ paging_info?: Maybe<PagingResults>;
1544
+ resources: Array<LabGroup>;
1545
+ };
1546
+ /** Type representing detailed information about a Medication */
1547
+ export type LabKnowledgeEntry = {
1548
+ __typename?: 'LabKnowledgeEntry';
1549
+ /** Detailed information about the lab */
1550
+ content: Scalars['String']['output'];
1551
+ };
1552
+ /** Type representing knowledge about a lab, like what it's testing for and what the results mean */
1553
+ export type LabKnowledgeQueryResults = PagedQueryResults & {
1554
+ __typename?: 'LabKnowledgeQueryResults';
1555
+ paging_info?: Maybe<PagingResults>;
1556
+ resources: Array<LabKnowledgeEntry>;
1557
+ };
1558
+ /** Defines input parameters for querying Lab Knowledge resources. */
1559
+ export type LabKnowledgeRequest = {
1560
+ /** ID of the lab */
1561
+ labId: Scalars['ID']['input'];
1562
+ page?: InputMaybe<Scalars['Int']['input']>;
1563
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1564
+ };
1565
+ /** Defines input parameters for querying Lab resources. */
1566
+ export type LabRequest = {
1567
+ groupCode?: InputMaybe<SearchToken>;
1568
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
1569
+ /** Filters based on the meta.lastUpdated date of the resource */
1570
+ lastUpdated?: InputMaybe<SearchDate>;
1571
+ /** Page offset */
1572
+ page?: InputMaybe<Scalars['Int']['input']>;
1573
+ /** The maximum number of results to return (for pagination). */
1574
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1575
+ };
1576
+ export type LegacyConsent = {
1577
+ __typename?: 'LegacyConsent';
1578
+ category?: Maybe<Array<CodeableConcept>>;
1579
+ dateTime?: Maybe<Scalars['dateTime']['output']>;
1580
+ id?: Maybe<Scalars['String']['output']>;
1581
+ organization?: Maybe<Scalars['reference']['output']>;
1582
+ patient?: Maybe<Scalars['reference']['output']>;
1583
+ provision?: Maybe<Scalars['consentProvision']['output']>;
1584
+ resourceType?: Maybe<Scalars['String']['output']>;
1585
+ scope?: Maybe<CodeableConcept>;
1586
+ sourceReference?: Maybe<Scalars['reference']['output']>;
1587
+ status?: Maybe<Scalars['code']['output']>;
1588
+ };
1589
+ /** Represents details and position information for a physical place */
1590
+ export type Location = {
1591
+ __typename?: 'Location';
1592
+ address?: Maybe<Address>;
1593
+ alias?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1594
+ description?: Maybe<Scalars['String']['output']>;
1595
+ distanceInMiles?: Maybe<Scalars['Float']['output']>;
1596
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
1597
+ /**
1598
+ * 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
1602
+ */
1603
+ name?: Maybe<Scalars['String']['output']>;
1604
+ position?: Maybe<Position>;
1605
+ telecom?: Maybe<Array<Maybe<ContactPoint>>>;
1606
+ };
1607
+ export declare enum LogLevel {
1608
+ Debug = "DEBUG",
1609
+ Error = "ERROR",
1610
+ Info = "INFO",
1611
+ Verbose = "VERBOSE",
1612
+ Warn = "WARN"
1613
+ }
1614
+ export type MedStatementCodeableConceptResource = {
1615
+ __typename?: 'MedStatementCodeableConceptResource';
1616
+ medicationCodeableConcept?: Maybe<CodeableConcept>;
1617
+ };
1618
+ export type MedicationGroup = ResourceGroup & {
1619
+ __typename?: 'MedicationGroup';
1620
+ authoredOn?: Maybe<Scalars['DateTime']['output']>;
1621
+ /** Coding representing the kind of Conditions in this ResourceGroup */
1622
+ coding?: Maybe<Coding>;
1623
+ id?: Maybe<Scalars['ID']['output']>;
1624
+ /** Human readable name of the Medication */
1625
+ name?: Maybe<Scalars['String']['output']>;
1626
+ /** Array of medication id references in the resource group */
1627
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1628
+ /** Array of Strings representing the source of the data */
1629
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1630
+ status?: Maybe<Code>;
1631
+ };
1632
+ export type MedicationGroupQueryRequest = {
1633
+ page?: InputMaybe<Scalars['Int']['input']>;
1634
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1635
+ };
1636
+ export type MedicationGroupQueryResults = PagedQueryResults & {
1637
+ __typename?: 'MedicationGroupQueryResults';
1638
+ paging_info?: Maybe<PagingResults>;
1639
+ resources: Array<MedicationGroup>;
1640
+ };
1641
+ /** Type representing detailed information about a Medication */
1642
+ export type MedicationKnowledgeEntry = {
1643
+ __typename?: 'MedicationKnowledgeEntry';
1644
+ /** Detailed information about the medication */
1645
+ content: Scalars['String']['output'];
1646
+ /** The title describing the content in the content */
1647
+ title: Scalars['String']['output'];
1648
+ };
1649
+ /** Type representing knowledge about a medication, such as instructions or clinical information */
1650
+ export type MedicationKnowledgeQueryResults = PagedQueryResults & {
1651
+ __typename?: 'MedicationKnowledgeQueryResults';
1652
+ paging_info?: Maybe<PagingResults>;
1653
+ resources: Array<MedicationKnowledgeEntry>;
1654
+ };
1655
+ /** Input type for querying medication knowledge */
1656
+ export type MedicationKnowledgeRequest = {
1657
+ /** The id of the Medication Statement for which to fetch Medication Knowledge */
1658
+ medicationStatementId: Scalars['ID']['input'];
1659
+ page?: InputMaybe<Scalars['Int']['input']>;
1660
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1661
+ };
1662
+ /** Type representing the pricing information for a medication */
1663
+ export type MedicationPricing = {
1664
+ __typename?: 'MedicationPricing';
1665
+ /** The name of the pharmacy offering the medication at this price */
1666
+ pharmacy: Scalars['String']['output'];
1667
+ /** The price of the medication */
1668
+ price?: Maybe<Money>;
1669
+ /** A URL to the pharmacy's page for the medication, if available */
1670
+ url?: Maybe<Scalars['String']['output']>;
1671
+ };
1672
+ export type MedicationPricingQueryResults = PagedQueryResults & {
1673
+ __typename?: 'MedicationPricingQueryResults';
1674
+ paging_info?: Maybe<PagingResults>;
1675
+ resources: Array<MedicationPricing>;
1676
+ };
1677
+ /** Input type for querying medication knowledge */
1678
+ export type MedicationPricingRequest = {
1679
+ /** The id of the Medication Statement for which to fetch Medication Pricing */
1680
+ medicationStatementId: Scalars['ID']['input'];
1681
+ };
1682
+ export type MedicationStatementQueryRequest = {
1683
+ groupCode?: InputMaybe<SearchToken>;
1684
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
1685
+ /** Filters based on the meta.lastUpdated date of the resource */
1686
+ lastUpdated?: InputMaybe<SearchDate>;
1687
+ page?: InputMaybe<Scalars['Int']['input']>;
1688
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1689
+ };
1690
+ export type MedicationStatementQueryResults = PagedQueryResults & {
1691
+ __typename?: 'MedicationStatementQueryResults';
1692
+ paging_info?: Maybe<PagingResults>;
1693
+ resources: Array<MedicationStatementResource>;
1694
+ };
1695
+ export type MedicationStatementResource = {
1696
+ __typename?: 'MedicationStatementResource';
1697
+ /** Authored on date of the most recent medication request */
1698
+ authoredOn?: Maybe<Scalars['DateTime']['output']>;
1699
+ /**
1700
+ * Medication supply authorization
1701
+ * https://hl7.org/fhir/R4B/medicationrequest-definitions.html#MedicationRequest.dispenseRequest
1702
+ */
1703
+ dispenseRequest?: Maybe<DispenseRequest>;
1704
+ /** Details of how medication is/was taken or should be taken */
1705
+ dosageInstruction?: Maybe<Array<Dosage>>;
1706
+ /** Effective period of the derived medication statement */
1707
+ effectiveDate?: Maybe<Period>;
1708
+ id: Scalars['ID']['output'];
1709
+ /** Codeable concept representing the medication */
1710
+ medication?: Maybe<CodeableConcept>;
1711
+ meta?: Maybe<Meta>;
1712
+ /**
1713
+ * Reason for why the medication is being/was taken
1714
+ * https://hl7.org/fhir/R4B/medicationrequest-definitions.html#MedicationRequest.reasonCode
1715
+ */
1716
+ reasonCode?: Maybe<Array<CodeableConcept>>;
1717
+ /** Requester of the most recent medication request */
1718
+ requester?: Maybe<Actor>;
1719
+ /** Source of medication data */
1720
+ source?: Maybe<Array<Scalars['String']['output']>>;
1721
+ /** Status of the derived medication statment */
1722
+ status?: Maybe<Code>;
1723
+ };
1724
+ /** Meta type containing metadata tags and security labels for the resource. */
1725
+ export type Meta = {
1726
+ __typename?: 'Meta';
1727
+ /** When the resource last changed - e.g. when the version changed. */
1728
+ lastUpdated?: Maybe<Scalars['DateTime']['output']>;
1729
+ /** Security labels for access control. */
1730
+ security?: Maybe<Array<Maybe<Coding>>>;
1731
+ /** A uri that identifies the source system of the resource */
1732
+ source?: Maybe<Scalars['String']['output']>;
1733
+ /** Tags for categorization and classification. */
1734
+ tag?: Maybe<Array<Maybe<Coding>>>;
1735
+ /** The version specific identifier, as it appears in the version portion of the URL */
1736
+ versionId?: Maybe<Scalars['String']['output']>;
1737
+ };
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
+ export type MetadataId = {
1749
+ __typename?: 'MetadataId';
1750
+ bwellPatientId?: Maybe<Scalars['String']['output']>;
1751
+ bwellPersonId?: Maybe<Scalars['String']['output']>;
1752
+ clientPatientId?: Maybe<Scalars['String']['output']>;
1753
+ clientPersonId?: Maybe<Scalars['String']['output']>;
1754
+ };
1755
+ export type MixPanel = {
1756
+ __typename?: 'MixPanel';
1757
+ key: Scalars['String']['output'];
1758
+ };
1759
+ export type Model = {
1760
+ __typename?: 'Model';
1761
+ item?: Maybe<Array<Maybe<QuestionnaireModelItem>>>;
1762
+ resourceType?: Maybe<Questionnaire_Enum_Schema>;
1763
+ status?: Maybe<Scalars['code']['output']>;
1764
+ };
1765
+ /** Represents monetary amounts with value and currency type */
1766
+ export type Money = {
1767
+ __typename?: 'Money';
1768
+ currency?: Maybe<CurrencyCode>;
1769
+ value?: Maybe<Scalars['Float']['output']>;
1770
+ };
1771
+ export type Mutation = {
1772
+ __typename?: 'Mutation';
1773
+ createConnection: Connection;
1774
+ createConsent?: Maybe<Consent>;
1775
+ createMissingConsents?: Maybe<Scalars['String']['output']>;
1776
+ createPersonWithClientId?: Maybe<PersonWithMetadata>;
1777
+ createQuestionnaireResponse?: Maybe<QuestionnaireResponse>;
1778
+ deleteConnection: ConnectionStatusUpdate;
1779
+ deletePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
1780
+ disconnectConnection: DisconnectConnection;
1781
+ extensionRepairProcess?: Maybe<UpdatedPersonMetadata>;
1782
+ interacted?: Maybe<Scalars['Boolean']['output']>;
1783
+ processConsentTasks?: Maybe<Array<Maybe<Job>>>;
1784
+ publishEvent?: Maybe<Notification_OperationOutcome>;
1785
+ redisCacheClean: RedisCacheCleanResponse;
1786
+ redisClearQuestionnairesCache: RedisCacheCleanResponse;
1787
+ /** Un-Authed Mutation */
1788
+ requestConnection?: Maybe<RequestConnectionOutput>;
1789
+ retryConsentJob?: Maybe<Scalars['Void']['output']>;
1790
+ taskUpdateStatus?: Maybe<TaskUpdateStatusResponse>;
1791
+ updateDeviceRegistration?: Maybe<Notification_OperationOutcome>;
1792
+ updatePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
1793
+ updatePersonWithClientId?: Maybe<PersonWithMetadata>;
1794
+ updateProfile?: Maybe<Profile>;
1795
+ updateUserAccountStatus: IdentityAuthed_OperationOutcome;
1796
+ updateUserProfile?: Maybe<Person>;
1797
+ upsertPerson?: Maybe<PersonWithMetadata>;
1798
+ upsertPersonWithRegCode?: Maybe<TaskWithMetadata>;
1799
+ };
1800
+ export type MutationCreateConnectionArgs = {
1801
+ connectionId: Scalars['String']['input'];
1802
+ password: Scalars['String']['input'];
1803
+ username: Scalars['String']['input'];
1804
+ };
1805
+ export type MutationCreateConsentArgs = {
1806
+ consentInput: ConsentInput;
1807
+ };
1808
+ export type MutationCreateMissingConsentsArgs = {
1809
+ endDate?: InputMaybe<Scalars['dateTime']['input']>;
1810
+ patientId?: InputMaybe<Scalars['String']['input']>;
1811
+ questionnaireId?: InputMaybe<Scalars['String']['input']>;
1812
+ questionnaireResponseId?: InputMaybe<Scalars['String']['input']>;
1813
+ startDate?: InputMaybe<Scalars['dateTime']['input']>;
1814
+ };
1815
+ export type MutationCreatePersonWithClientIdArgs = {
1816
+ bwellPatientId?: InputMaybe<Scalars['String']['input']>;
1817
+ bwellPersonId?: InputMaybe<Scalars['String']['input']>;
1818
+ clientPatientId?: InputMaybe<Scalars['String']['input']>;
1819
+ clientPersonId?: InputMaybe<Scalars['String']['input']>;
1820
+ input?: InputMaybe<PersonWithClientIdInput>;
1821
+ };
1822
+ export type MutationCreateQuestionnaireResponseArgs = {
1823
+ input: QuestionnaireResponse_Input;
1824
+ };
1825
+ export type MutationDeleteConnectionArgs = {
1826
+ connectionId: Scalars['String']['input'];
1827
+ };
1828
+ export type MutationDeletePersonAndPatientArgs = {
1829
+ bwellPatientId?: InputMaybe<Scalars['String']['input']>;
1830
+ bwellPersonId?: InputMaybe<Scalars['String']['input']>;
1831
+ clientPatientId?: InputMaybe<Scalars['String']['input']>;
1832
+ clientPersonId?: InputMaybe<Scalars['String']['input']>;
1833
+ };
1834
+ export type MutationDisconnectConnectionArgs = {
1835
+ connectionId: Scalars['String']['input'];
1836
+ };
1837
+ export type MutationInteractedArgs = {
1838
+ interaction?: InputMaybe<InteractionType>;
1839
+ result_id?: InputMaybe<Scalars['String']['input']>;
1840
+ user?: InputMaybe<User>;
1841
+ };
1842
+ export type MutationProcessConsentTasksArgs = {
1843
+ jobs?: InputMaybe<Array<InputMaybe<Job_Input>>>;
1844
+ };
1845
+ export type MutationPublishEventArgs = {
1846
+ input: PublishEventRequest;
1847
+ };
1848
+ export type MutationRedisCacheCleanArgs = {
1849
+ key?: InputMaybe<Scalars['String']['input']>;
1850
+ };
1851
+ export type MutationRequestConnectionArgs = {
1852
+ city?: InputMaybe<Scalars['String']['input']>;
1853
+ institution?: InputMaybe<Scalars['String']['input']>;
1854
+ provider?: InputMaybe<Scalars['String']['input']>;
1855
+ state?: InputMaybe<Scalars['String']['input']>;
1856
+ };
1857
+ export type MutationRetryConsentJobArgs = {
1858
+ jobID?: InputMaybe<Scalars['String']['input']>;
1859
+ };
1860
+ export type MutationTaskUpdateStatusArgs = {
1861
+ input: TaskUpdateStatusRequest;
1862
+ };
1863
+ export type MutationUpdateDeviceRegistrationArgs = {
1864
+ input: UpdateDeviceRegistrationRequest;
1865
+ };
1866
+ export type MutationUpdatePersonAndPatientArgs = {
1867
+ bwellPersonId?: InputMaybe<Scalars['String']['input']>;
1868
+ clientPersonId?: InputMaybe<Scalars['String']['input']>;
1869
+ input?: InputMaybe<PersonInput>;
1870
+ };
1871
+ export type MutationUpdatePersonWithClientIdArgs = {
1872
+ input?: InputMaybe<PersonWithClientIdInput>;
1873
+ };
1874
+ export type MutationUpdateProfileArgs = {
1875
+ id?: InputMaybe<Scalars['String']['input']>;
1876
+ input?: InputMaybe<InputProfile>;
1877
+ };
1878
+ export type MutationUpdateUserAccountStatusArgs = {
1879
+ operation: Operation;
1880
+ };
1881
+ export type MutationUpdateUserProfileArgs = {
1882
+ input?: InputMaybe<FhirPersonInput>;
1883
+ };
1884
+ export type MutationUpsertPersonArgs = {
1885
+ input?: InputMaybe<PersonWithClientIdInput>;
1886
+ };
1887
+ export type MutationUpsertPersonWithRegCodeArgs = {
1888
+ input?: InputMaybe<PersonWithClientIdInput>;
1889
+ regCode?: InputMaybe<Scalars['String']['input']>;
1890
+ };
1891
+ export type Name = {
1892
+ __typename?: 'Name';
1893
+ extension?: Maybe<Array<Maybe<Extension>>>;
1894
+ family?: Maybe<Scalars['String']['output']>;
1895
+ given?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1896
+ id?: Maybe<Scalars['String']['output']>;
1897
+ period?: Maybe<Period>;
1898
+ prefix?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1899
+ suffix?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1900
+ /** Can define enum */
1901
+ text?: Maybe<Scalars['String']['output']>;
1902
+ use?: Maybe<Scalars['String']['output']>;
1903
+ };
1904
+ export type NameInput = {
1905
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
1906
+ family?: InputMaybe<Scalars['String']['input']>;
1907
+ given?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1908
+ id?: InputMaybe<Scalars['String']['input']>;
1909
+ prefix?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1910
+ suffix?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1911
+ /** Can define enum */
1912
+ text?: InputMaybe<Scalars['String']['input']>;
1913
+ use?: InputMaybe<Scalars['String']['input']>;
1914
+ };
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
+ export type NotSearchTokenValue = {
1923
+ code?: InputMaybe<Scalars['String']['input']>;
1924
+ system?: InputMaybe<Scalars['String']['input']>;
1925
+ value?: InputMaybe<Scalars['String']['input']>;
1926
+ values?: InputMaybe<Array<InputMaybe<SearchTokenValue>>>;
1927
+ };
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
+ /** Classification of type of observation */
1941
+ export declare enum ObservationCategory {
1942
+ Activity = "ACTIVITY",
1943
+ Exam = "EXAM",
1944
+ Imaging = "IMAGING",
1945
+ Laboratory = "LABORATORY",
1946
+ Procedure = "PROCEDURE",
1947
+ SocialHistory = "SOCIAL_HISTORY",
1948
+ Survey = "SURVEY",
1949
+ Therapy = "THERAPY",
1950
+ VitalSigns = "VITAL_SIGNS"
1951
+ }
1952
+ export type ObservationQueryResults = PagedQueryResults & {
1953
+ __typename?: 'ObservationQueryResults';
1954
+ paging_info?: Maybe<PagingResults>;
1955
+ resources: Array<ObservationResource>;
1956
+ };
1957
+ /** Defines input parameters for querying Observation resources. */
1958
+ export type ObservationRequest = {
1959
+ /** The type of observation: lab, vital-signs, etc. */
1960
+ category?: InputMaybe<ObservationCategory>;
1961
+ /** Filter for observations with the given code system */
1962
+ groupCode?: InputMaybe<SearchToken>;
1963
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
1964
+ /** Filters based on the meta.lastUpdated date of the resource */
1965
+ lastUpdated?: InputMaybe<SearchDate>;
1966
+ /** Page offset */
1967
+ page?: InputMaybe<Scalars['Int']['input']>;
1968
+ /** The maximum number of results to return (for pagination). */
1969
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1970
+ };
1971
+ /** The Observation resource type containing all the detailed information about a single observation. */
1972
+ export type ObservationResource = {
1973
+ __typename?: 'ObservationResource';
1974
+ /** The code that categorizes the observation. */
1975
+ code: CodeableConcept;
1976
+ /** Component observations as part of this observation. */
1977
+ component?: Maybe<Array<Maybe<Component>>>;
1978
+ /** Consumer friendly name for labs */
1979
+ display?: Maybe<Scalars['String']['output']>;
1980
+ /** The single point in time when the observation was made. */
1981
+ effectiveDateTime?: Maybe<Scalars['DateTime']['output']>;
1982
+ /** The period of time over which the observation was made. */
1983
+ effectivePeriod?: Maybe<Period>;
1984
+ /** The encounter associated with this observation. */
1985
+ encounter?: Maybe<EncounterResource>;
1986
+ /** Unique identifier for the Observation resource. */
1987
+ id: Scalars['ID']['output'];
1988
+ /** The interpretation of the observation results. */
1989
+ interpretation?: Maybe<Array<Maybe<CodeableConcept>>>;
1990
+ /** Metadata about the Observation resource. */
1991
+ meta?: Maybe<Meta>;
1992
+ /** Annotations or notes about the observation. */
1993
+ note?: Maybe<Array<Maybe<Annotation>>>;
1994
+ /** Who is responsible for the observation */
1995
+ performer?: Maybe<Array<Maybe<Performer>>>;
1996
+ /** Reference ranges for interpreting the observation value. */
1997
+ referenceRange?: Maybe<Array<Maybe<ReferenceRange>>>;
1998
+ /** Various types of values that an Observation can have, only one of these would typically be populated. */
1999
+ value?: Maybe<Value>;
2000
+ };
2001
+ export declare enum Operation {
2002
+ CancelDelete = "CANCEL_DELETE",
2003
+ ConfirmDelete = "CONFIRM_DELETE",
2004
+ RequestDelete = "REQUEST_DELETE"
2005
+ }
2006
+ export type OperationOutcomeDetails = {
2007
+ __typename?: 'OperationOutcomeDetails';
2008
+ coding?: Maybe<Array<Notification_Coding>>;
2009
+ text?: Maybe<Scalars['String']['output']>;
2010
+ };
2011
+ export type OperationOutcomeIssue = {
2012
+ __typename?: 'OperationOutcomeIssue';
2013
+ code: Scalars['String']['output'];
2014
+ details?: Maybe<OperationOutcomeDetails>;
2015
+ diagnostics?: Maybe<Scalars['String']['output']>;
2016
+ severity: Scalars['String']['output'];
2017
+ };
2018
+ /** operation outcome issue */
2019
+ export type OperationOutcome_Issue = {
2020
+ __typename?: 'OperationOutcome_Issue';
2021
+ code?: Maybe<Scalars['String']['output']>;
2022
+ details?: Maybe<IdentityAuthed_CodeableConcept>;
2023
+ severity?: Maybe<Scalars['String']['output']>;
2024
+ };
2025
+ export type OrderBy = {
2026
+ field?: InputMaybe<SortField>;
2027
+ order?: InputMaybe<SortOrder>;
2028
+ };
2029
+ /** Represents an organization such as a clinic or manufacturer. */
2030
+ export type Organization = {
2031
+ __typename?: 'Organization';
2032
+ endpoint?: Maybe<Array<Maybe<Endpoint>>>;
2033
+ /** The name of the organization. */
2034
+ name?: Maybe<Scalars['String']['output']>;
2035
+ };
2036
+ export declare enum OrganizationType {
2037
+ C19Vaccine = "C19Vaccine",
2038
+ Device = "Device",
2039
+ Insurance = "Insurance",
2040
+ Laboratory = "Laboratory",
2041
+ Pharmacy = "Pharmacy",
2042
+ Provider = "Provider",
2043
+ Bus = "bus",
2044
+ Cg = "cg",
2045
+ Crs = "crs",
2046
+ Dept = "dept",
2047
+ Edu = "edu",
2048
+ Govt = "govt",
2049
+ Ins = "ins",
2050
+ Other = "other",
2051
+ Pay = "pay",
2052
+ Prov = "prov",
2053
+ Reli = "reli",
2054
+ Team = "team"
2055
+ }
2056
+ /** All queries that return a list of resources return a type that implements this interface. */
2057
+ export type PagedQueryResults = {
2058
+ paging_info?: Maybe<PagingResults>;
2059
+ };
2060
+ export type PagingInfo = {
2061
+ __typename?: 'PagingInfo';
2062
+ page_number: Scalars['Int']['output'];
2063
+ page_size: Scalars['Int']['output'];
2064
+ total_items: Scalars['Int']['output'];
2065
+ total_pages: Scalars['Int']['output'];
2066
+ };
2067
+ export type PagingResults = {
2068
+ __typename?: 'PagingResults';
2069
+ page_number: Scalars['Int']['output'];
2070
+ page_size: Scalars['Int']['output'];
2071
+ total_items: Scalars['Int']['output'];
2072
+ total_pages: Scalars['Int']['output'];
2073
+ };
2074
+ export type Participant = {
2075
+ __typename?: 'Participant';
2076
+ individual?: Maybe<PractitionerReference>;
2077
+ period?: Maybe<Period>;
2078
+ type?: Maybe<CodeableConcept>;
2079
+ };
2080
+ /** A representation of a patient associated with the condition. */
2081
+ export type Patient = {
2082
+ __typename?: 'Patient';
2083
+ /** The name(s) of the patient. */
2084
+ name?: Maybe<Array<HumanName>>;
2085
+ };
2086
+ /** The people who performed the procedure */
2087
+ export type Performer = {
2088
+ __typename?: 'Performer';
2089
+ actor?: Maybe<Actor>;
2090
+ };
2091
+ /** A time period with a defined start and end date and time. */
2092
+ export type Period = {
2093
+ __typename?: 'Period';
2094
+ /** The end of the period. */
2095
+ end?: Maybe<Scalars['DateTime']['output']>;
2096
+ /** The start of the period. */
2097
+ start?: Maybe<Scalars['DateTime']['output']>;
2098
+ };
2099
+ /** A time period with a defined start and end deate and time. */
2100
+ export type PeriodInput = {
2101
+ /** The end of the period. */
2102
+ end?: InputMaybe<Scalars['DateTime']['input']>;
2103
+ /** The start of the period. */
2104
+ start?: InputMaybe<Scalars['DateTime']['input']>;
2105
+ };
2106
+ export type Person = {
2107
+ __typename?: 'Person';
2108
+ active?: Maybe<Scalars['Boolean']['output']>;
2109
+ address?: Maybe<Array<Maybe<Address>>>;
2110
+ birthDate?: Maybe<Scalars['String']['output']>;
2111
+ gender?: Maybe<Scalars['String']['output']>;
2112
+ id?: Maybe<Scalars['String']['output']>;
2113
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
2114
+ implicitRules?: Maybe<Scalars['String']['output']>;
2115
+ language?: Maybe<Scalars['String']['output']>;
2116
+ link?: Maybe<Array<Maybe<PersonLink>>>;
2117
+ managingOrganization?: Maybe<Reference>;
2118
+ meta?: Maybe<PersonMeta>;
2119
+ modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2120
+ name?: Maybe<Array<Maybe<Name>>>;
2121
+ resourceType: Scalars['String']['output'];
2122
+ telecom?: Maybe<Array<Maybe<ContactPoint>>>;
2123
+ };
2124
+ export type PersonBundle = {
2125
+ __typename?: 'PersonBundle';
2126
+ person?: Maybe<PersonEntry>;
2127
+ };
2128
+ export type PersonEntry = {
2129
+ __typename?: 'PersonEntry';
2130
+ entry?: Maybe<Array<Maybe<PersonResource>>>;
2131
+ };
2132
+ export type PersonInfoForLogin = {
2133
+ __typename?: 'PersonInfoForLogin';
2134
+ bwellPatientId?: Maybe<Scalars['String']['output']>;
2135
+ bwellPersonId?: Maybe<Scalars['String']['output']>;
2136
+ clientPatientId?: Maybe<Scalars['String']['output']>;
2137
+ clientPersonId?: Maybe<Scalars['String']['output']>;
2138
+ personExists?: Maybe<Scalars['Boolean']['output']>;
2139
+ };
2140
+ export type PersonInput = {
2141
+ active?: InputMaybe<Scalars['Boolean']['input']>;
2142
+ address?: InputMaybe<Array<InputMaybe<AddressInput>>>;
2143
+ birthDate?: InputMaybe<Scalars['String']['input']>;
2144
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
2145
+ gender?: InputMaybe<Scalars['String']['input']>;
2146
+ id?: InputMaybe<Scalars['String']['input']>;
2147
+ identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
2148
+ implicitRules?: InputMaybe<Scalars['String']['input']>;
2149
+ language?: InputMaybe<Scalars['String']['input']>;
2150
+ link?: InputMaybe<Array<InputMaybe<PersonLinkInput>>>;
2151
+ managingOrganization?: InputMaybe<ReferenceInput>;
2152
+ meta?: InputMaybe<PersonMetaInput>;
2153
+ modifierExtension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
2154
+ name?: InputMaybe<Array<InputMaybe<NameInput>>>;
2155
+ photo?: InputMaybe<AttachmentInput>;
2156
+ telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
2157
+ };
2158
+ export type PersonLink = {
2159
+ __typename?: 'PersonLink';
2160
+ assurance?: Maybe<Scalars['String']['output']>;
2161
+ extension?: Maybe<Array<Maybe<Extension>>>;
2162
+ id: Scalars['String']['output'];
2163
+ /** Can define enum */
2164
+ modifierExtension?: Maybe<Array<Maybe<Extension>>>;
2165
+ target?: Maybe<Target>;
2166
+ };
2167
+ export type PersonLinkInput = {
2168
+ assurance?: InputMaybe<Scalars['String']['input']>;
2169
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
2170
+ id: Scalars['String']['input'];
2171
+ /** Can define enum */
2172
+ modifierExtension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
2173
+ };
2174
+ export type PersonMeta = {
2175
+ __typename?: 'PersonMeta';
2176
+ extension?: Maybe<Array<Maybe<Extension>>>;
2177
+ id?: Maybe<Scalars['String']['output']>;
2178
+ lastUpdated?: Maybe<Scalars['String']['output']>;
2179
+ profile?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2180
+ security?: Maybe<Array<Maybe<Security>>>;
2181
+ source?: Maybe<Scalars['uri']['output']>;
2182
+ tag?: Maybe<Array<Maybe<Coding>>>;
2183
+ versionId?: Maybe<Scalars['String']['output']>;
2184
+ };
2185
+ export type PersonMetaInput = {
2186
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
2187
+ id?: InputMaybe<Scalars['String']['input']>;
2188
+ lastUpdated?: InputMaybe<Scalars['String']['input']>;
2189
+ profile?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2190
+ source?: InputMaybe<Scalars['uri']['input']>;
2191
+ tag?: InputMaybe<Array<InputMaybe<PersonMetaTag>>>;
2192
+ versionId?: InputMaybe<Scalars['String']['input']>;
2193
+ };
2194
+ export type PersonMetaTag = {
2195
+ code?: InputMaybe<Scalars['String']['input']>;
2196
+ display?: InputMaybe<Scalars['String']['input']>;
2197
+ system?: InputMaybe<Scalars['String']['input']>;
2198
+ };
2199
+ export type PersonMetadata = {
2200
+ __typename?: 'PersonMetadata';
2201
+ ids?: Maybe<MetadataId>;
2202
+ /** Return statusCode as 200 in case of get and 201 if the resource was created */
2203
+ statusCode: Scalars['String']['output'];
2204
+ };
2205
+ export type PersonMetadataInput = {
2206
+ id: Scalars['ID']['input'];
2207
+ /** Return statusCode as 200 in case of get and 201 if the resource was created */
2208
+ statusCode: Scalars['String']['input'];
2209
+ };
2210
+ export type PersonResource = {
2211
+ __typename?: 'PersonResource';
2212
+ resource?: Maybe<Person>;
2213
+ };
2214
+ export type PersonWithClientIdInput = {
2215
+ clientSlug: Scalars['String']['input'];
2216
+ person: PersonInput;
2217
+ };
2218
+ export type PersonWithMetadata = {
2219
+ __typename?: 'PersonWithMetadata';
2220
+ metadata?: Maybe<PersonMetadata>;
2221
+ person?: Maybe<Person>;
2222
+ };
2223
+ export type PersonWithMetadataInput = {
2224
+ metadata?: InputMaybe<PersonMetadataInput>;
2225
+ person?: InputMaybe<PersonInput>;
2226
+ };
2227
+ export type Person_MetaSecurity = {
2228
+ __typename?: 'Person_MetaSecurity';
2229
+ code?: Maybe<Scalars['String']['output']>;
2230
+ id?: Maybe<Scalars['String']['output']>;
2231
+ system?: Maybe<Scalars['String']['output']>;
2232
+ version?: Maybe<Scalars['String']['output']>;
2233
+ };
2234
+ export type Person_Patient = {
2235
+ __typename?: 'Person_Patient';
2236
+ id?: Maybe<Scalars['String']['output']>;
2237
+ resourceType: Scalars['String']['output'];
2238
+ };
2239
+ export type Person_Task = {
2240
+ __typename?: 'Person_Task';
2241
+ id?: Maybe<Scalars['String']['output']>;
2242
+ meta?: Maybe<Person_TaskMeta>;
2243
+ resourceType?: Maybe<Scalars['String']['output']>;
2244
+ status?: Maybe<Scalars['String']['output']>;
2245
+ };
2246
+ export type Person_TaskMeta = {
2247
+ __typename?: 'Person_TaskMeta';
2248
+ security?: Maybe<Array<Maybe<Person_MetaSecurity>>>;
2249
+ source?: Maybe<Scalars['String']['output']>;
2250
+ };
2251
+ export type PolicyBasisInput = {
2252
+ reference?: InputMaybe<Scalars['reference']['input']>;
2253
+ uri?: InputMaybe<Scalars['uri']['input']>;
2254
+ };
2255
+ export type Position = {
2256
+ __typename?: 'Position';
2257
+ /**
2258
+ * 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
2260
+ */
2261
+ lat?: Maybe<Scalars['Float']['output']>;
2262
+ lon?: Maybe<Scalars['Float']['output']>;
2263
+ };
2264
+ /** Type representing a practitioner with a human name */
2265
+ export type Practitioner = {
2266
+ __typename?: 'Practitioner';
2267
+ /** The human name of the practitioner */
2268
+ name?: Maybe<Array<HumanName>>;
2269
+ };
2270
+ /** A reference to a practitioner who may be involved in an encounter. */
2271
+ export type PractitionerReference = {
2272
+ __typename?: 'PractitionerReference';
2273
+ id?: Maybe<Scalars['ID']['output']>;
2274
+ /** The human name of the practitioner. */
2275
+ name?: Maybe<Array<HumanName>>;
2276
+ };
2277
+ export type ProcedureGroup = ResourceGroup & {
2278
+ __typename?: 'ProcedureGroup';
2279
+ /** Coding representing the kind of Procedure in this composition */
2280
+ coding?: Maybe<Coding>;
2281
+ id?: Maybe<Scalars['ID']['output']>;
2282
+ /** Human readable name of the procedure */
2283
+ name?: Maybe<Scalars['String']['output']>;
2284
+ /** A time period with a defined start and end date and time. */
2285
+ performedDate?: Maybe<Scalars['DateTime']['output']>;
2286
+ /** The list of individuals involved in the procedure. */
2287
+ performer?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2288
+ /** Array of Procedure id references in the Composition */
2289
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2290
+ /** Array of Strings representing the source of the data */
2291
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2292
+ };
2293
+ export type ProcedureGroupQueryRequest = {
2294
+ page?: InputMaybe<Scalars['Int']['input']>;
2295
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
2296
+ };
2297
+ export type ProcedureGroupQueryResults = PagedQueryResults & {
2298
+ __typename?: 'ProcedureGroupQueryResults';
2299
+ paging_info?: Maybe<PagingResults>;
2300
+ resources: Array<ProcedureGroup>;
2301
+ };
2302
+ export type ProcedureQueryResults = PagedQueryResults & {
2303
+ __typename?: 'ProcedureQueryResults';
2304
+ paging_info?: Maybe<PagingResults>;
2305
+ resources: Array<ProcedureResource>;
2306
+ };
2307
+ /** Input type for the Procedure query arguments */
2308
+ export type ProcedureRequest = {
2309
+ /** Filter procedures with the given system and/or code */
2310
+ groupCode?: InputMaybe<SearchToken>;
2311
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
2312
+ /** Filters based on the meta.lastUpdated date of the resource */
2313
+ lastUpdated?: InputMaybe<SearchDate>;
2314
+ /** Page offset */
2315
+ page?: InputMaybe<Scalars['Int']['input']>;
2316
+ /** Count of procedure in one page */
2317
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
2318
+ };
2319
+ /** Resource type for a procedure */
2320
+ export type ProcedureResource = {
2321
+ __typename?: 'ProcedureResource';
2322
+ /** Bodily location on which the procedure was performed */
2323
+ bodySite?: Maybe<Array<Maybe<CodeableConcept>>>;
2324
+ /** Classification of the procedure */
2325
+ category?: Maybe<CodeableConcept>;
2326
+ /** Identification of the procedure */
2327
+ code?: Maybe<CodeableConcept>;
2328
+ /** Any complications following the procedure */
2329
+ complication?: Maybe<Array<Maybe<CodeableConcept>>>;
2330
+ /** Consumer friendly name for procedures */
2331
+ display?: Maybe<Scalars['String']['output']>;
2332
+ /** Encounter during which the procedure was performed */
2333
+ encounter?: Maybe<EncounterResource>;
2334
+ /** Any follow-up required after the procedure */
2335
+ followUp?: Maybe<Array<Maybe<CodeableConcept>>>;
2336
+ /** Unique identifier for the procedure (non-nullable) */
2337
+ id: Scalars['ID']['output'];
2338
+ /** Meta information about the resource */
2339
+ meta?: Maybe<Meta>;
2340
+ /** Notes about the procedure */
2341
+ note?: Maybe<Array<Maybe<Annotation>>>;
2342
+ /** Outcome of the procedure */
2343
+ outcome?: Maybe<CodeableConcept>;
2344
+ /** Exact date and time when the procedure was performed */
2345
+ performedDateTime?: Maybe<Scalars['DateTime']['output']>;
2346
+ /** The period over which the procedure was performed */
2347
+ performedPeriod?: Maybe<Period>;
2348
+ /** Individuals who performed the procedure */
2349
+ performer?: Maybe<Array<Maybe<Performer>>>;
2350
+ /** Coded reasons procedure was performed */
2351
+ reasonCode?: Maybe<Array<Maybe<CodeableConcept>>>;
2352
+ /**
2353
+ * Status of the procedure
2354
+ * https://hl7.org/fhir/R4B/valueset-event-status.html
2355
+ */
2356
+ status?: Maybe<Code>;
2357
+ };
2358
+ export type Profile = {
2359
+ __typename?: 'Profile';
2360
+ active?: Maybe<Scalars['Boolean']['output']>;
2361
+ address?: Maybe<ProfileAddress>;
2362
+ birthDate?: Maybe<Scalars['String']['output']>;
2363
+ email?: Maybe<Scalars['String']['output']>;
2364
+ gender?: Maybe<Scalars['String']['output']>;
2365
+ id?: Maybe<Scalars['String']['output']>;
2366
+ language?: Maybe<Scalars['String']['output']>;
2367
+ meta?: Maybe<ProfileMeta>;
2368
+ name?: Maybe<ProfileName>;
2369
+ phone?: Maybe<Scalars['String']['output']>;
2370
+ };
2371
+ export type ProfileAddress = {
2372
+ __typename?: 'ProfileAddress';
2373
+ city?: Maybe<Scalars['String']['output']>;
2374
+ country?: Maybe<Scalars['String']['output']>;
2375
+ district?: Maybe<Scalars['String']['output']>;
2376
+ line_1?: Maybe<Scalars['String']['output']>;
2377
+ line_2?: Maybe<Scalars['String']['output']>;
2378
+ postalCode?: Maybe<Scalars['String']['output']>;
2379
+ state?: Maybe<Scalars['String']['output']>;
2380
+ };
2381
+ export type ProfileContactPoint = {
2382
+ __typename?: 'ProfileContactPoint';
2383
+ phone?: Maybe<Scalars['String']['output']>;
2384
+ };
2385
+ export type ProfileMeta = {
2386
+ __typename?: 'ProfileMeta';
2387
+ tag?: Maybe<Array<Maybe<ProfileMetaTag>>>;
2388
+ };
2389
+ export type ProfileMetaTag = {
2390
+ __typename?: 'ProfileMetaTag';
2391
+ code?: Maybe<Scalars['String']['output']>;
2392
+ display?: Maybe<Scalars['String']['output']>;
2393
+ system?: Maybe<Scalars['String']['output']>;
2394
+ };
2395
+ export type ProfileName = {
2396
+ __typename?: 'ProfileName';
2397
+ first?: Maybe<Scalars['String']['output']>;
2398
+ last?: Maybe<Scalars['String']['output']>;
2399
+ };
2400
+ export type ProtocolApplied = {
2401
+ __typename?: 'ProtocolApplied';
2402
+ /** A positive integer representing the dose number. */
2403
+ doseNumberPositiveInt?: Maybe<Scalars['Int']['output']>;
2404
+ /** A string representing the dose number. */
2405
+ doseNumberString?: Maybe<Scalars['String']['output']>;
2406
+ };
2407
+ export type ProviderResult = {
2408
+ __typename?: 'ProviderResult';
2409
+ /** collection of characteristics (attributes) for a provider. */
2410
+ characteristic?: Maybe<Array<Maybe<Coding>>>;
2411
+ /** to show the affiliated organization */
2412
+ content?: Maybe<Scalars['String']['output']>;
2413
+ /** PROA connection information */
2414
+ endpoint?: Maybe<Array<Maybe<Endpoint>>>;
2415
+ /** gender */
2416
+ gender?: Maybe<Gender>;
2417
+ /** File path of organization icon */
2418
+ iconString?: Maybe<Scalars['String']['output']>;
2419
+ /** id of provider. NPI for practitioners. */
2420
+ id?: Maybe<Scalars['String']['output']>;
2421
+ /** locations the provider practices */
2422
+ location?: Maybe<Array<Maybe<Location>>>;
2423
+ /** name structure */
2424
+ name?: Maybe<Array<Maybe<HumanName>>>;
2425
+ /** npi numbers for provider */
2426
+ npi?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2427
+ /** Organizations/Health Systems a Provider has practiced at */
2428
+ organization?: Maybe<Array<Maybe<Organization>>>;
2429
+ /** FHIR types of Organization or PROA categories */
2430
+ organization_type?: Maybe<Array<Maybe<CodeableConcept>>>;
2431
+ /** url to the photo of this provider */
2432
+ photo?: Maybe<Array<Maybe<Attachment>>>;
2433
+ /** qualifications of this provider, using its own class derived from FHIR spec */
2434
+ practitioner_qualification?: Maybe<Array<Maybe<Qualification>>>;
2435
+ /** provider_type */
2436
+ provider_type?: Maybe<ProviderType>;
2437
+ /** specialty of provider */
2438
+ specialty?: Maybe<Array<Maybe<Coding>>>;
2439
+ /** telecom info for email address */
2440
+ telecom?: Maybe<Array<Maybe<ContactPoint>>>;
2441
+ };
2442
+ export type ProviderResults = {
2443
+ __typename?: 'ProviderResults';
2444
+ filter_values?: Maybe<Array<Maybe<FilterValues>>>;
2445
+ paging_info?: Maybe<PagingInfo>;
2446
+ results?: Maybe<Array<Maybe<ProviderResult>>>;
2447
+ };
2448
+ export declare enum ProviderType {
2449
+ Practice = "practice",
2450
+ Practitioner = "practitioner"
2451
+ }
2452
+ export type PublishEventDataField = {
2453
+ key: Scalars['String']['input'];
2454
+ value?: InputMaybe<Scalars['String']['input']>;
2455
+ };
2456
+ export type PublishEventRequest = {
2457
+ bwellPersonId?: InputMaybe<Scalars['String']['input']>;
2458
+ campaignId?: InputMaybe<Scalars['String']['input']>;
2459
+ clientId?: InputMaybe<Scalars['String']['input']>;
2460
+ data?: InputMaybe<Array<InputMaybe<PublishEventDataField>>>;
2461
+ eventName?: InputMaybe<Scalars['String']['input']>;
2462
+ eventType: EventType;
2463
+ messageId?: InputMaybe<Scalars['String']['input']>;
2464
+ templateId?: InputMaybe<Scalars['String']['input']>;
2465
+ };
2466
+ export type Qualification = {
2467
+ __typename?: 'Qualification';
2468
+ code?: Maybe<CodeableConcept>;
2469
+ identifier?: Maybe<Identifier>;
2470
+ issuer?: Maybe<Reference>;
2471
+ period?: Maybe<Period>;
2472
+ };
2473
+ /** A measurable amount, including units, used for any quantifiable observation value. */
2474
+ export type Quantity = {
2475
+ __typename?: 'Quantity';
2476
+ /** The code specifying the unit (according to the system). */
2477
+ code?: Maybe<Scalars['String']['output']>;
2478
+ /** A comparator symbol (<, <=, >=, >) if the value is an approximation. */
2479
+ comparator?: Maybe<Scalars['String']['output']>;
2480
+ /** The system that defines the coded unit. */
2481
+ system?: Maybe<Scalars['String']['output']>;
2482
+ /** The unit of measure for the value. */
2483
+ unit?: Maybe<Scalars['String']['output']>;
2484
+ /** The numerical value measured. */
2485
+ value?: Maybe<Scalars['Float']['output']>;
2486
+ };
2487
+ export type Query = {
2488
+ __typename?: 'Query';
2489
+ Empi?: Maybe<PersonBundle>;
2490
+ accountDeletionStatusByClientPerson?: Maybe<Identity_Task>;
2491
+ bootstrap: BootstrapConfiguration;
2492
+ consent?: Maybe<Array<Maybe<LegacyConsent>>>;
2493
+ consentAsyncTasks?: Maybe<Array<Maybe<Job>>>;
2494
+ findPersonWithClientSlugAndId?: Maybe<PersonInfoForLogin>;
2495
+ getAllergyIntoleranceGroups: AllergyIntoleranceGroupQueryResults;
2496
+ /** Retrieves a list of AllergyIntolerance resources based on the provided search criteria. */
2497
+ getAllergyIntolerances: AllergyIntoleranceQueryResults;
2498
+ getCarePlanGroups: CarePlanGroupQueryResults;
2499
+ /** Retrieves a list of CarePlan resources based on the provided search criteria. */
2500
+ getCarePlans: CarePlanQueryResults;
2501
+ getConditionGroups: ConditionGroupQueryResults;
2502
+ getConditions: ConditionQueryResults;
2503
+ getConsentJob?: Maybe<Job>;
2504
+ getDataSource: DataSource;
2505
+ getEncounterGroups: EncounterGroupQueryResults;
2506
+ /** Retrieves a list of Encounter resources based on the provided search criteria. */
2507
+ getEncounters: EncounterQueryResults;
2508
+ /** Retrieves a list of HealthSummary resources based on the provided search criteria. */
2509
+ getHealthSummary: HealthSummaryQueryResults;
2510
+ getImmunizationGroups: ImmunizationGroupQueryResults;
2511
+ getImmunizations: ImmunizationQueryResults;
2512
+ getLabGroups: LabGroupQueryResults;
2513
+ /** Retrieves knowledge information for a specific lab. */
2514
+ getLabKnowledge: LabKnowledgeQueryResults;
2515
+ /** Retrieves a list of labs based on the provided request parameters. */
2516
+ getLabs: ObservationQueryResults;
2517
+ getMedicationGroups: MedicationGroupQueryResults;
2518
+ /** Retrieves knowledge information for a specific medication. */
2519
+ getMedicationKnowledge: MedicationKnowledgeQueryResults;
2520
+ /** Retrieves pricing information for a specific medication */
2521
+ getMedicationPricing: MedicationPricingQueryResults;
2522
+ getMedicationStatements: MedicationStatementQueryResults;
2523
+ getMemberConnections: Array<Connection>;
2524
+ getOauthUrl: GenerateUrl;
2525
+ /** Retrieves a list of observations based on the provided request parameters. */
2526
+ getObservations: ObservationQueryResults;
2527
+ getPersonById?: Maybe<Person>;
2528
+ getPersonByRegCode?: Maybe<RegCodePersonDto>;
2529
+ getProcedureGroups: ProcedureGroupQueryResults;
2530
+ getProcedures: ProcedureQueryResults;
2531
+ /** Query to search for tasks. This query is the preferred method for searching for tasks. */
2532
+ getTasks?: Maybe<TaskQueryResults>;
2533
+ getToken: AuthTokens;
2534
+ getVitalSignGroups: VitalSignGroupQueryResults;
2535
+ /** Retrieves a list of vital signs based on the provided request parameters. */
2536
+ getVitalSigns: ObservationQueryResults;
2537
+ initSdk: SdkConfiguration;
2538
+ person?: Maybe<Person>;
2539
+ placeholderQuery?: Maybe<Scalars['String']['output']>;
2540
+ profile?: Maybe<Profile>;
2541
+ /** Searches providers based on filters. */
2542
+ providers: ProviderResults;
2543
+ questionnaire?: Maybe<FhirFormQuestionnaire>;
2544
+ questionnaireResponse?: Maybe<QuestionnaireResponse>;
2545
+ questionnaireResponses?: Maybe<QuestionnaireResponse>;
2546
+ refresh: RefreshToken;
2547
+ /** Un-Authed Queries */
2548
+ requestConnection?: Maybe<RequestConnectionOutput>;
2549
+ search?: Maybe<Array<Maybe<Consent>>>;
2550
+ status?: Maybe<Scalars['String']['output']>;
2551
+ subscription_subscription?: Maybe<Subscription_SubscriptionBundle>;
2552
+ /**
2553
+ * Legacy query to search for tasks. This query is deprecated and will be
2554
+ * removed in a future release. Use getTasks instead.
2555
+ */
2556
+ taskSearch?: Maybe<Array<Maybe<Task>>>;
2557
+ userProfile?: Maybe<Person>;
2558
+ who?: Maybe<Scalars['String']['output']>;
2559
+ };
2560
+ export type QueryEmpiArgs = {
2561
+ empiType?: InputMaybe<EmpiType>;
2562
+ id?: InputMaybe<Scalars['String']['input']>;
2563
+ };
2564
+ export type QueryAccountDeletionStatusByClientPersonArgs = {
2565
+ clientPersonId: Scalars['String']['input'];
2566
+ };
2567
+ export type QueryBootstrapArgs = {
2568
+ clientKey: Scalars['String']['input'];
2569
+ };
2570
+ export type QueryConsentArgs = {
2571
+ patientId: Scalars['String']['input'];
2572
+ questionnaireId?: InputMaybe<Scalars['String']['input']>;
2573
+ questionnaireName?: InputMaybe<Scalars['String']['input']>;
2574
+ searchParams?: InputMaybe<Scalars['String']['input']>;
2575
+ };
2576
+ export type QueryConsentAsyncTasksArgs = {
2577
+ asc?: InputMaybe<Scalars['Boolean']['input']>;
2578
+ end?: InputMaybe<Scalars['Int']['input']>;
2579
+ start?: InputMaybe<Scalars['Int']['input']>;
2580
+ status: Array<InputMaybe<Scalars['String']['input']>>;
2581
+ };
2582
+ export type QueryFindPersonWithClientSlugAndIdArgs = {
2583
+ input?: InputMaybe<ClientSlugAndIdentifierInput>;
2584
+ };
2585
+ export type QueryGetAllergyIntoleranceGroupsArgs = {
2586
+ request?: InputMaybe<AllergyIntoleranceGroupQueryRequest>;
2587
+ };
2588
+ export type QueryGetAllergyIntolerancesArgs = {
2589
+ request?: InputMaybe<AllergyIntolerancesRequest>;
2590
+ };
2591
+ export type QueryGetCarePlanGroupsArgs = {
2592
+ request?: InputMaybe<CarePlanGroupQueryRequest>;
2593
+ };
2594
+ export type QueryGetCarePlansArgs = {
2595
+ request?: InputMaybe<CarePlanRequest>;
2596
+ };
2597
+ export type QueryGetConditionGroupsArgs = {
2598
+ request?: InputMaybe<ConditionGroupQueryRequest>;
2599
+ };
2600
+ export type QueryGetConditionsArgs = {
2601
+ request?: InputMaybe<ConditionRequest>;
2602
+ };
2603
+ export type QueryGetConsentJobArgs = {
2604
+ jobID?: InputMaybe<Scalars['String']['input']>;
2605
+ };
2606
+ export type QueryGetDataSourceArgs = {
2607
+ connectionId: Scalars['String']['input'];
2608
+ };
2609
+ export type QueryGetEncounterGroupsArgs = {
2610
+ request?: InputMaybe<EncounterGroupQueryRequest>;
2611
+ };
2612
+ export type QueryGetEncountersArgs = {
2613
+ request?: InputMaybe<EncounterRequest>;
2614
+ };
2615
+ export type QueryGetImmunizationGroupsArgs = {
2616
+ request?: InputMaybe<ImmunizationGroupQueryRequest>;
2617
+ };
2618
+ export type QueryGetImmunizationsArgs = {
2619
+ request?: InputMaybe<ImmunizationRequest>;
2620
+ };
2621
+ export type QueryGetLabGroupsArgs = {
2622
+ request?: InputMaybe<LabGroupQueryRequest>;
2623
+ };
2624
+ export type QueryGetLabKnowledgeArgs = {
2625
+ request?: InputMaybe<LabKnowledgeRequest>;
2626
+ };
2627
+ export type QueryGetLabsArgs = {
2628
+ request?: InputMaybe<LabRequest>;
2629
+ };
2630
+ export type QueryGetMedicationGroupsArgs = {
2631
+ request?: InputMaybe<MedicationGroupQueryRequest>;
2632
+ };
2633
+ export type QueryGetMedicationKnowledgeArgs = {
2634
+ request?: InputMaybe<MedicationKnowledgeRequest>;
2635
+ };
2636
+ export type QueryGetMedicationPricingArgs = {
2637
+ request?: InputMaybe<MedicationPricingRequest>;
2638
+ };
2639
+ export type QueryGetMedicationStatementsArgs = {
2640
+ request?: InputMaybe<MedicationStatementQueryRequest>;
2641
+ };
2642
+ export type QueryGetOauthUrlArgs = {
2643
+ connectionId: Scalars['String']['input'];
2644
+ };
2645
+ export type QueryGetObservationsArgs = {
2646
+ request?: InputMaybe<ObservationRequest>;
2647
+ };
2648
+ export type QueryGetPersonByIdArgs = {
2649
+ id: Scalars['ID']['input'];
2650
+ };
2651
+ export type QueryGetPersonByRegCodeArgs = {
2652
+ regCode?: InputMaybe<Scalars['String']['input']>;
2653
+ };
2654
+ export type QueryGetProcedureGroupsArgs = {
2655
+ request?: InputMaybe<ProcedureGroupQueryRequest>;
2656
+ };
2657
+ export type QueryGetProceduresArgs = {
2658
+ request?: InputMaybe<ProcedureRequest>;
2659
+ };
2660
+ export type QueryGetTasksArgs = {
2661
+ request?: InputMaybe<TaskRequest>;
2662
+ };
2663
+ export type QueryGetVitalSignGroupsArgs = {
2664
+ request?: InputMaybe<VitalSignGroupQueryRequest>;
2665
+ };
2666
+ export type QueryGetVitalSignsArgs = {
2667
+ request?: InputMaybe<VitalSignRequest>;
2668
+ };
2669
+ export type QueryInitSdkArgs = {
2670
+ clientKey: Scalars['String']['input'];
2671
+ };
2672
+ export type QueryPersonArgs = {
2673
+ id: Scalars['ID']['input'];
2674
+ };
2675
+ export type QueryProfileArgs = {
2676
+ id: Scalars['ID']['input'];
2677
+ };
2678
+ export type QueryProvidersArgs = {
2679
+ client?: InputMaybe<Array<InputMaybe<Client>>>;
2680
+ filter_values?: InputMaybe<Array<InputMaybe<FilterField>>>;
2681
+ gender?: InputMaybe<Gender>;
2682
+ id_?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2683
+ include_inactive?: InputMaybe<Scalars['Boolean']['input']>;
2684
+ include_populated_PROA_only?: InputMaybe<Scalars['Boolean']['input']>;
2685
+ order_by?: InputMaybe<Array<InputMaybe<OrderBy>>>;
2686
+ organization_type?: InputMaybe<Array<InputMaybe<OrganizationType>>>;
2687
+ page_number?: InputMaybe<Scalars['Int']['input']>;
2688
+ page_size?: InputMaybe<Scalars['Int']['input']>;
2689
+ search?: InputMaybe<Scalars['String']['input']>;
2690
+ search_position?: InputMaybe<SearchPosition>;
2691
+ specialty?: InputMaybe<Array<InputMaybe<InputCoding>>>;
2692
+ user?: InputMaybe<User>;
2693
+ };
2694
+ export type QueryQuestionnaireArgs = {
2695
+ id?: InputMaybe<Scalars['ID']['input']>;
2696
+ name?: InputMaybe<Scalars['String']['input']>;
2697
+ };
2698
+ export type QueryQuestionnaireResponseArgs = {
2699
+ patientId: Scalars['String']['input'];
2700
+ questionnaireId?: InputMaybe<Scalars['String']['input']>;
2701
+ questionnaireName?: InputMaybe<Scalars['String']['input']>;
2702
+ searchParams?: InputMaybe<Scalars['String']['input']>;
2703
+ };
2704
+ export type QueryQuestionnaireResponsesArgs = {
2705
+ patientId: Scalars['String']['input'];
2706
+ questionnaireId?: InputMaybe<Scalars['String']['input']>;
2707
+ questionnaireName?: InputMaybe<Scalars['String']['input']>;
2708
+ searchParams?: InputMaybe<Scalars['String']['input']>;
2709
+ };
2710
+ export type QueryRequestConnectionArgs = {
2711
+ input?: InputMaybe<RequestConnectionInput>;
2712
+ };
2713
+ export type QuerySearchArgs = {
2714
+ params: ConsentSearch;
2715
+ };
2716
+ export type QuerySubscription_SubscriptionArgs = {
2717
+ _count?: InputMaybe<Scalars['Int']['input']>;
2718
+ _debug?: InputMaybe<Scalars['Boolean']['input']>;
2719
+ _explain?: InputMaybe<Scalars['Boolean']['input']>;
2720
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
2721
+ _id?: InputMaybe<SearchString>;
2722
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2723
+ _total?: InputMaybe<TotalType>;
2724
+ };
2725
+ export type QueryTaskSearchArgs = {
2726
+ _count?: InputMaybe<Scalars['Int']['input']>;
2727
+ _debug?: InputMaybe<Scalars['Boolean']['input']>;
2728
+ _explain?: InputMaybe<Scalars['Boolean']['input']>;
2729
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
2730
+ _id?: InputMaybe<SearchString>;
2731
+ _lastUpdated?: InputMaybe<SearchDate>;
2732
+ _profile?: InputMaybe<SearchString>;
2733
+ _security?: InputMaybe<SearchToken>;
2734
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2735
+ _source?: InputMaybe<SearchString>;
2736
+ _tag?: InputMaybe<SearchToken>;
2737
+ _total?: InputMaybe<TotalType>;
2738
+ authored_on?: InputMaybe<SearchDate>;
2739
+ based_on?: InputMaybe<SearchReference>;
2740
+ code?: InputMaybe<SearchToken>;
2741
+ contentLanguage?: InputMaybe<Scalars['String']['input']>;
2742
+ enrichContent?: InputMaybe<Scalars['Boolean']['input']>;
2743
+ focus?: InputMaybe<SearchReference>;
2744
+ id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2745
+ identifier?: InputMaybe<SearchToken>;
2746
+ patient?: InputMaybe<SearchReference>;
2747
+ period?: InputMaybe<SearchDate>;
2748
+ sortMethod?: InputMaybe<Scalars['String']['input']>;
2749
+ status?: InputMaybe<SearchToken>;
2750
+ subject?: InputMaybe<SearchReference>;
2751
+ };
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
+ export type QuestionnaireModelItem = {
2854
+ __typename?: 'QuestionnaireModelItem';
2855
+ answer?: Maybe<Array<Maybe<Scalars['QuestionnaireItemAnswer']['output']>>>;
2856
+ code?: Maybe<Array<Maybe<Coding>>>;
2857
+ extension?: Maybe<Array<Maybe<Extension>>>;
2858
+ id?: Maybe<Scalars['String']['output']>;
2859
+ item?: Maybe<Array<Maybe<QuestionnaireModelItem>>>;
2860
+ linkId?: Maybe<Scalars['String']['output']>;
2861
+ required?: Maybe<Scalars['Boolean']['output']>;
2862
+ text?: Maybe<Scalars['String']['output']>;
2863
+ type?: Maybe<Scalars['code']['output']>;
2864
+ };
2865
+ export type QuestionnaireResponse = {
2866
+ __typename?: 'QuestionnaireResponse';
2867
+ data?: Maybe<Scalars['QuestionnaireResponseData']['output']>;
2868
+ patientId?: Maybe<Scalars['String']['output']>;
2869
+ questionnaireName?: Maybe<Scalars['String']['output']>;
2870
+ };
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
+ export type QuestionnaireResponseModel = {
2907
+ __typename?: 'QuestionnaireResponseModel';
2908
+ author?: Maybe<Reference>;
2909
+ authored?: Maybe<Scalars['dateTime']['output']>;
2910
+ id?: Maybe<Scalars['String']['output']>;
2911
+ identifier?: Maybe<Identifier>;
2912
+ item?: Maybe<Array<Maybe<QuestionnaireResponseModelItem>>>;
2913
+ resourceType?: Maybe<Scalars['String']['output']>;
2914
+ status?: Maybe<Scalars['code']['output']>;
2915
+ subject?: Maybe<Reference>;
2916
+ };
2917
+ export type QuestionnaireResponseModelItem = {
2918
+ __typename?: 'QuestionnaireResponseModelItem';
2919
+ answer?: Maybe<Array<Maybe<Scalars['QuestionnaireItemAnswer']['output']>>>;
2920
+ code?: Maybe<Array<Maybe<Coding>>>;
2921
+ extension?: Maybe<Array<Maybe<Extension>>>;
2922
+ id?: Maybe<Scalars['String']['output']>;
2923
+ item?: Maybe<Array<Maybe<QuestionnaireResponseModelItem>>>;
2924
+ linkId?: Maybe<Scalars['String']['output']>;
2925
+ required?: Maybe<Scalars['Boolean']['output']>;
2926
+ text?: Maybe<Scalars['String']['output']>;
2927
+ type?: Maybe<Scalars['code']['output']>;
2928
+ };
2929
+ export type QuestionnaireResponsePartOf = {
2930
+ id?: Maybe<Scalars['String']['output']>;
2931
+ };
2932
+ export type QuestionnaireResponseSchema = {
2933
+ __typename?: 'QuestionnaireResponseSchema';
2934
+ description?: Maybe<Scalars['String']['output']>;
2935
+ properties?: Maybe<Scalars['schemaProperties']['output']>;
2936
+ required?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2937
+ title?: Maybe<Scalars['String']['output']>;
2938
+ type?: Maybe<Scalars['String']['output']>;
2939
+ };
2940
+ export type QuestionnaireResponseSource = {
2941
+ id?: Maybe<Scalars['String']['output']>;
2942
+ };
2943
+ export type QuestionnaireResponseSubjectV2 = {
2944
+ id?: Maybe<Scalars['String']['output']>;
2945
+ };
2946
+ export type QuestionnaireResponse_Input = {
2947
+ data: Scalars['String']['input'];
2948
+ patientId: Scalars['String']['input'];
2949
+ questionnaireId?: InputMaybe<Scalars['String']['input']>;
2950
+ questionnaireName?: InputMaybe<Scalars['String']['input']>;
2951
+ source?: InputMaybe<Scalars['String']['input']>;
2952
+ subject?: InputMaybe<Scalars['String']['input']>;
2953
+ };
2954
+ export declare enum Questionnaire_Enum_Schema {
2955
+ QuestionnaireResponse = "QuestionnaireResponse"
2956
+ }
2957
+ /** A type defining a range with a low and high boundary, used for observations that have a range of values. */
2958
+ export type Range = {
2959
+ __typename?: 'Range';
2960
+ /** The high end of the range. */
2961
+ high?: Maybe<Quantity>;
2962
+ /** The low end of the range. */
2963
+ low?: Maybe<Quantity>;
2964
+ };
2965
+ /** A type defining a ratio, which is a relationship between two Quantity values. */
2966
+ export type Ratio = {
2967
+ __typename?: 'Ratio';
2968
+ /** The denominator in the ratio. */
2969
+ denominator?: Maybe<Quantity>;
2970
+ /** The numerator in the ratio. */
2971
+ numerator?: Maybe<Quantity>;
2972
+ };
2973
+ export type Reaction = {
2974
+ __typename?: 'Reaction';
2975
+ /** The date on which the reaction occurred. */
2976
+ date?: Maybe<Scalars['DateTime']['output']>;
2977
+ /** Text description of the reaction. */
2978
+ description?: Maybe<Scalars['String']['output']>;
2979
+ /** A detailed description of the reaction. */
2980
+ detail?: Maybe<ObservationResource>;
2981
+ /** The clinical symptoms/signs associated with the event. */
2982
+ manifestation?: Maybe<Array<Maybe<CodeableConcept>>>;
2983
+ /** Text about event not captured in other fields */
2984
+ note?: Maybe<Array<Maybe<Annotation>>>;
2985
+ /** When the reaction started. */
2986
+ onset?: Maybe<Scalars['DateTime']['output']>;
2987
+ /** Whether the reaction was reported by a clinician. */
2988
+ reported?: Maybe<Scalars['Boolean']['output']>;
2989
+ /** The severity of the reaction (e.g., mild, moderate, severe). */
2990
+ severity?: Maybe<Code>;
2991
+ };
2992
+ /** Individual who recorded the record and takes responsibility for its content. */
2993
+ export type Recorder = Patient | Practitioner;
2994
+ export type RedisCacheCleanResponse = {
2995
+ __typename?: 'RedisCacheCleanResponse';
2996
+ cleared: Scalars['Boolean']['output'];
2997
+ message?: Maybe<Scalars['String']['output']>;
2998
+ };
2999
+ export type Reference = {
3000
+ __typename?: 'Reference';
3001
+ display?: Maybe<Scalars['String']['output']>;
3002
+ identifier?: Maybe<Identifier>;
3003
+ reference?: Maybe<Scalars['String']['output']>;
3004
+ type?: Maybe<Scalars['String']['output']>;
3005
+ };
3006
+ export type ReferenceInput = {
3007
+ display?: InputMaybe<Scalars['String']['input']>;
3008
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
3009
+ id: Scalars['String']['input'];
3010
+ identifier?: InputMaybe<IdentifierInput>;
3011
+ reference?: InputMaybe<Scalars['String']['input']>;
3012
+ type?: InputMaybe<Scalars['uri']['input']>;
3013
+ };
3014
+ export type ReferenceRange = {
3015
+ __typename?: 'ReferenceRange';
3016
+ /** The high end of the normal range. */
3017
+ high?: Maybe<Quantity>;
3018
+ /** The low end of the normal range. */
3019
+ low?: Maybe<Quantity>;
3020
+ /** A textual representation or description of the range. */
3021
+ text?: Maybe<Scalars['String']['output']>;
3022
+ };
3023
+ export type RefreshPayload = {
3024
+ __typename?: 'RefreshPayload';
3025
+ token: Scalars['String']['output'];
3026
+ };
3027
+ export type RefreshToken = {
3028
+ __typename?: 'RefreshToken';
3029
+ accessToken: Scalars['String']['output'];
3030
+ idToken: Scalars['String']['output'];
3031
+ };
3032
+ export type RegCodePersonDto = {
3033
+ __typename?: 'RegCodePersonDTO';
3034
+ clientPatient?: Maybe<Person_Patient>;
3035
+ isTaskExpired?: Maybe<Scalars['Boolean']['output']>;
3036
+ masterPerson?: Maybe<Person>;
3037
+ person?: Maybe<Person>;
3038
+ taskExist?: Maybe<Scalars['Boolean']['output']>;
3039
+ };
3040
+ /** Un-Authed schema types */
3041
+ export type RequestConnectionInput = {
3042
+ city?: InputMaybe<Scalars['String']['input']>;
3043
+ institution?: InputMaybe<Scalars['String']['input']>;
3044
+ provider?: InputMaybe<Scalars['String']['input']>;
3045
+ state?: InputMaybe<Scalars['String']['input']>;
3046
+ };
3047
+ export type RequestConnectionOutput = {
3048
+ __typename?: 'RequestConnectionOutput';
3049
+ issue?: Maybe<Array<Maybe<Issue>>>;
3050
+ resourceType?: Maybe<Scalars['String']['output']>;
3051
+ };
3052
+ export type Resource = {
3053
+ id?: Maybe<Scalars['String']['output']>;
3054
+ implicitRules?: Maybe<Scalars['String']['output']>;
3055
+ language?: Maybe<Scalars['String']['output']>;
3056
+ meta?: Maybe<Meta>;
3057
+ resourceType?: Maybe<Scalars['String']['output']>;
3058
+ };
3059
+ export type ResourceContainer = {
3060
+ __typename?: 'ResourceContainer';
3061
+ id_?: Maybe<Scalars['String']['output']>;
3062
+ meta?: Maybe<Meta>;
3063
+ };
3064
+ /** Base type to be implemented by other Group types */
3065
+ export type ResourceGroup = {
3066
+ /** Coding representing the kind of data in this resource group */
3067
+ coding?: Maybe<Coding>;
3068
+ id?: Maybe<Scalars['ID']['output']>;
3069
+ /** Human readable name of the composition data */
3070
+ name?: Maybe<Scalars['String']['output']>;
3071
+ /** Array of id references in the ResourceGroup */
3072
+ references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3073
+ /** Array of Strings representing the source of the data */
3074
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3075
+ };
3076
+ export type Rest = {
3077
+ __typename?: 'Rest';
3078
+ endpoints: RestEndpoints;
3079
+ };
3080
+ export type RestEndpoints = {
3081
+ __typename?: 'RestEndpoints';
3082
+ ats: Scalars['String']['output'];
3083
+ big: Scalars['String']['output'];
3084
+ health: Scalars['String']['output'];
3085
+ healthProgramsGateway: Scalars['String']['output'];
3086
+ user: Scalars['String']['output'];
3087
+ };
3088
+ export type Retry = {
3089
+ __typename?: 'Retry';
3090
+ attempts: Scalars['Float']['output'];
3091
+ interval: Scalars['Float']['output'];
3092
+ };
3093
+ export type RouteDefinition = {
3094
+ __typename?: 'RouteDefinition';
3095
+ children?: Maybe<Array<Maybe<RouteDefinition>>>;
3096
+ elementId?: Maybe<Scalars['String']['output']>;
3097
+ id?: Maybe<Scalars['ID']['output']>;
3098
+ index?: Maybe<Scalars['Boolean']['output']>;
3099
+ meta?: Maybe<IdentityAuthed_Meta>;
3100
+ path?: Maybe<Scalars['String']['output']>;
3101
+ };
3102
+ export type Schema = {
3103
+ __typename?: 'Schema';
3104
+ description?: Maybe<Scalars['String']['output']>;
3105
+ properties?: Maybe<Scalars['schemaProperties']['output']>;
3106
+ required?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3107
+ title?: Maybe<Scalars['String']['output']>;
3108
+ type?: Maybe<Scalars['String']['output']>;
3109
+ };
3110
+ export type SdkConfiguration = {
3111
+ __typename?: 'SdkConfiguration';
3112
+ graphQLClient: GraphQlClientConfig;
3113
+ httpClient: HttpClientConfig;
3114
+ logLevel?: Maybe<LogLevel>;
3115
+ telemetry: TelemetryConfig;
3116
+ };
3117
+ export type SearchDate = {
3118
+ missing?: InputMaybe<Scalars['Boolean']['input']>;
3119
+ searchType?: InputMaybe<Scalars['String']['input']>;
3120
+ value?: InputMaybe<SearchDateValue>;
3121
+ values?: InputMaybe<Array<InputMaybe<SearchDateValue>>>;
3122
+ };
3123
+ /** Search parameter for filtering by date */
3124
+ export type SearchDateValue = {
3125
+ /**
3126
+ * 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
3128
+ */
3129
+ approximately?: InputMaybe<Scalars['date']['input']>;
3130
+ /** the value for the parameter in the resource ends before the provided value */
3131
+ endsBefore?: InputMaybe<Scalars['date']['input']>;
3132
+ /** the value for the parameter in the resource is equal to the provided value */
3133
+ equals?: InputMaybe<Scalars['date']['input']>;
3134
+ /** the value for the parameter in the resource is greater than the provided value */
3135
+ greaterThan?: InputMaybe<Scalars['date']['input']>;
3136
+ /** the value for the parameter in the resource is greater or equal to the provided value */
3137
+ greaterThanOrEqualTo?: InputMaybe<Scalars['date']['input']>;
3138
+ /** the value for the parameter in the resource is less than the provided value */
3139
+ lessThan?: InputMaybe<Scalars['date']['input']>;
3140
+ /** the value for the parameter in the resource is less or equal to the provided value */
3141
+ lessThanOrEqualTo?: InputMaybe<Scalars['date']['input']>;
3142
+ /** the value for the parameter in the resource is not equal to the provided value */
3143
+ notEquals?: InputMaybe<Scalars['date']['input']>;
3144
+ /** the value for the parameter in the resource starts after the provided value */
3145
+ startsAfter?: InputMaybe<Scalars['date']['input']>;
3146
+ };
3147
+ export type SearchPosition = {
3148
+ distance?: InputMaybe<Scalars['Float']['input']>;
3149
+ /**
3150
+ * 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
3152
+ */
3153
+ lat: Scalars['Float']['input'];
3154
+ lon: Scalars['Float']['input'];
3155
+ };
3156
+ export type SearchReference = {
3157
+ missing?: InputMaybe<Scalars['Boolean']['input']>;
3158
+ notEquals?: InputMaybe<SearchReferenceValue>;
3159
+ searchType?: InputMaybe<Scalars['String']['input']>;
3160
+ target?: InputMaybe<Scalars['String']['input']>;
3161
+ value?: InputMaybe<Scalars['String']['input']>;
3162
+ };
3163
+ export type SearchReferenceValue = {
3164
+ target?: InputMaybe<Scalars['String']['input']>;
3165
+ value?: InputMaybe<Scalars['String']['input']>;
3166
+ };
3167
+ export type SearchString = {
3168
+ above?: InputMaybe<Scalars['Boolean']['input']>;
3169
+ below?: InputMaybe<Scalars['Boolean']['input']>;
3170
+ missing?: InputMaybe<Scalars['Boolean']['input']>;
3171
+ notEquals?: InputMaybe<SearchStringValue>;
3172
+ searchType?: InputMaybe<Scalars['String']['input']>;
3173
+ value?: InputMaybe<Scalars['String']['input']>;
3174
+ values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
3175
+ };
3176
+ export type SearchStringValue = {
3177
+ value?: InputMaybe<Scalars['String']['input']>;
3178
+ values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
3179
+ };
3180
+ export type SearchToken = {
3181
+ missing?: InputMaybe<Scalars['Boolean']['input']>;
3182
+ notEquals?: InputMaybe<NotSearchTokenValue>;
3183
+ searchType?: InputMaybe<Scalars['String']['input']>;
3184
+ value?: InputMaybe<SearchTokenValue>;
3185
+ values?: InputMaybe<Array<InputMaybe<SearchTokenValue>>>;
3186
+ };
3187
+ /** A custom scalar type for search tokens, typically used in FHIR for coded elements in searches. */
3188
+ export type SearchTokenValue = {
3189
+ code?: InputMaybe<Scalars['String']['input']>;
3190
+ notEquals?: InputMaybe<NotSearchTokenValue>;
3191
+ system?: InputMaybe<Scalars['String']['input']>;
3192
+ value?: InputMaybe<Scalars['String']['input']>;
3193
+ };
3194
+ export type Security = {
3195
+ __typename?: 'Security';
3196
+ code?: Maybe<Scalars['String']['output']>;
3197
+ id?: Maybe<Scalars['String']['output']>;
3198
+ system?: Maybe<Scalars['String']['output']>;
3199
+ };
3200
+ export declare enum SortField {
3201
+ Content = "content",
3202
+ Distance = "distance",
3203
+ Relevance = "relevance"
3204
+ }
3205
+ export declare enum SortOrder {
3206
+ Asc = "asc",
3207
+ Desc = "desc"
3208
+ }
3209
+ /** Represents the subject (patient or group) of the care plan. */
3210
+ export type Subject = {
3211
+ __typename?: 'Subject';
3212
+ /** The type of the referenced resource. */
3213
+ _resourceType?: Maybe<Scalars['String']['output']>;
3214
+ /** The unique identifier of the subject resource. */
3215
+ id?: Maybe<Scalars['ID']['output']>;
3216
+ };
3217
+ export type Subscription_Subscription = {
3218
+ __typename?: 'Subscription_Subscription';
3219
+ client_person_id?: Maybe<Scalars['String']['output']>;
3220
+ connection_name?: Maybe<Scalars['String']['output']>;
3221
+ connection_type?: Maybe<Scalars['String']['output']>;
3222
+ criteria?: Maybe<Scalars['String']['output']>;
3223
+ end?: Maybe<Scalars['instant']['output']>;
3224
+ error?: Maybe<Scalars['String']['output']>;
3225
+ id?: Maybe<Scalars['id']['output']>;
3226
+ master_person_id?: Maybe<Scalars['String']['output']>;
3227
+ reason?: Maybe<Scalars['String']['output']>;
3228
+ resourceType?: Maybe<Scalars['String']['output']>;
3229
+ service_slug?: Maybe<Scalars['String']['output']>;
3230
+ source_patient_id?: Maybe<Scalars['String']['output']>;
3231
+ status?: Maybe<Scalars['code']['output']>;
3232
+ subscriptionStatus?: Maybe<Array<Maybe<Subscription_SubscriptionStatus>>>;
3233
+ };
3234
+ export type Subscription_SubscriptionBundle = {
3235
+ __typename?: 'Subscription_SubscriptionBundle';
3236
+ entry?: Maybe<Array<Maybe<Subscription_SubscriptionBundleEntry>>>;
3237
+ id?: Maybe<Scalars['String']['output']>;
3238
+ timestamp?: Maybe<Scalars['instant']['output']>;
3239
+ total?: Maybe<Scalars['Int']['output']>;
3240
+ type?: Maybe<Scalars['code']['output']>;
3241
+ };
3242
+ export type Subscription_SubscriptionBundleEntry = {
3243
+ __typename?: 'Subscription_SubscriptionBundleEntry';
3244
+ fullUrl?: Maybe<Scalars['uri']['output']>;
3245
+ id?: Maybe<Scalars['String']['output']>;
3246
+ resource?: Maybe<Subscription_Subscription>;
3247
+ };
3248
+ export type Subscription_SubscriptionStatus = {
3249
+ __typename?: 'Subscription_SubscriptionStatus';
3250
+ error?: Maybe<Array<Maybe<CodeableConcept>>>;
3251
+ extension?: Maybe<Array<Maybe<Fhir_Extension>>>;
3252
+ id?: Maybe<Scalars['id']['output']>;
3253
+ notificationEvent?: Maybe<Array<Maybe<Subscription_SubscriptionStatusNotificationEvent>>>;
3254
+ resourceType?: Maybe<Scalars['String']['output']>;
3255
+ status?: Maybe<Scalars['code']['output']>;
3256
+ subscription?: Maybe<Subscription_Subscription>;
3257
+ subscriptionTopic?: Maybe<Subscription_SubscriptionTopic>;
3258
+ topic?: Maybe<Scalars['canonical']['output']>;
3259
+ type?: Maybe<Scalars['code']['output']>;
3260
+ };
3261
+ export type Subscription_SubscriptionStatusNotificationEvent = {
3262
+ __typename?: 'Subscription_SubscriptionStatusNotificationEvent';
3263
+ eventNumber?: Maybe<Scalars['String']['output']>;
3264
+ id?: Maybe<Scalars['String']['output']>;
3265
+ timestamp?: Maybe<Scalars['instant']['output']>;
3266
+ };
3267
+ export type Subscription_SubscriptionTopic = {
3268
+ __typename?: 'Subscription_SubscriptionTopic';
3269
+ id?: Maybe<Scalars['id']['output']>;
3270
+ resourceTrigger?: Maybe<Array<Maybe<Subscription_SubscriptionTopicResourceTrigger>>>;
3271
+ resourceType?: Maybe<Scalars['String']['output']>;
3272
+ status?: Maybe<Scalars['code']['output']>;
3273
+ title?: Maybe<Scalars['String']['output']>;
3274
+ url?: Maybe<Scalars['uri']['output']>;
3275
+ version?: Maybe<Scalars['String']['output']>;
3276
+ };
3277
+ export type Subscription_SubscriptionTopicResourceTrigger = {
3278
+ __typename?: 'Subscription_SubscriptionTopicResourceTrigger';
3279
+ id?: Maybe<Scalars['String']['output']>;
3280
+ resource?: Maybe<Scalars['uri']['output']>;
3281
+ };
3282
+ export declare enum SyncStatus {
3283
+ Error = "ERROR",
3284
+ Pending = "PENDING",
3285
+ Retrieved = "RETRIEVED",
3286
+ Retrieving = "RETRIEVING"
3287
+ }
3288
+ export type Target = {
3289
+ __typename?: 'Target';
3290
+ id?: Maybe<Scalars['String']['output']>;
3291
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
3292
+ link?: Maybe<Array<Maybe<PersonLink>>>;
3293
+ meta?: Maybe<PersonMeta>;
3294
+ resourceType?: Maybe<Scalars['String']['output']>;
3295
+ };
3296
+ export type Task = {
3297
+ __typename?: 'Task';
3298
+ For?: Maybe<Resource>;
3299
+ authoredOn?: Maybe<Scalars['String']['output']>;
3300
+ basedOn?: Maybe<Array<Maybe<Resource>>>;
3301
+ basedOnV2?: Maybe<Array<Maybe<TaskBasedOnV2>>>;
3302
+ code?: Maybe<CodeableConcept>;
3303
+ contained?: Maybe<Array<Maybe<ResourceContainer>>>;
3304
+ description?: Maybe<Scalars['String']['output']>;
3305
+ executionPeriod?: Maybe<Period>;
3306
+ extension?: Maybe<Array<Maybe<Extension>>>;
3307
+ focus?: Maybe<Resource>;
3308
+ focusV2?: Maybe<TaskFocusV2>;
3309
+ forV2?: Maybe<TaskForV2>;
3310
+ id?: Maybe<Scalars['String']['output']>;
3311
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
3312
+ implicitRules?: Maybe<Scalars['String']['output']>;
3313
+ instantiatesCanonical?: Maybe<Scalars['String']['output']>;
3314
+ /** Below are not used but have simple types so we can just include them */
3315
+ instantiatesUri?: Maybe<Scalars['String']['output']>;
3316
+ intent?: Maybe<Scalars['String']['output']>;
3317
+ language?: Maybe<Scalars['String']['output']>;
3318
+ lastModified?: Maybe<Scalars['String']['output']>;
3319
+ meta?: Maybe<Meta>;
3320
+ modifierExtension?: Maybe<Array<Maybe<Extension>>>;
3321
+ priority?: Maybe<Scalars['String']['output']>;
3322
+ /** Below are all types currently used in the Task resource */
3323
+ resourceType?: Maybe<Scalars['String']['output']>;
3324
+ status?: Maybe<Scalars['String']['output']>;
3325
+ };
3326
+ /** TaskBasedOnV2 */
3327
+ export type TaskBasedOnV2 = {
3328
+ id?: Maybe<Scalars['String']['output']>;
3329
+ };
3330
+ /** TaskFocusV2 */
3331
+ export type TaskFocusV2 = {
3332
+ id?: Maybe<Scalars['String']['output']>;
3333
+ };
3334
+ /** TaskForV2 */
3335
+ export type TaskForV2 = {
3336
+ id?: Maybe<Scalars['String']['output']>;
3337
+ };
3338
+ export type TaskQueryResults = PagedQueryResults & {
3339
+ __typename?: 'TaskQueryResults';
3340
+ paging_info?: Maybe<PagingResults>;
3341
+ resources: Array<TaskResource>;
3342
+ };
3343
+ export type TaskRequest = {
3344
+ code?: InputMaybe<SearchToken>;
3345
+ contentLanguage?: InputMaybe<Scalars['String']['input']>;
3346
+ enrichContent?: InputMaybe<Scalars['Boolean']['input']>;
3347
+ id?: InputMaybe<SearchToken>;
3348
+ identifier?: InputMaybe<SearchToken>;
3349
+ page?: InputMaybe<Scalars['Int']['input']>;
3350
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3351
+ sortMethod?: InputMaybe<Scalars['String']['input']>;
3352
+ status?: InputMaybe<SearchToken>;
3353
+ subject?: InputMaybe<SearchToken>;
3354
+ tag?: InputMaybe<SearchToken>;
3355
+ };
3356
+ export type TaskResource = {
3357
+ __typename?: 'TaskResource';
3358
+ businessStatus?: Maybe<CodeableConcept>;
3359
+ code?: Maybe<CodeableConcept>;
3360
+ description?: Maybe<Scalars['String']['output']>;
3361
+ executionPeriod?: Maybe<Period>;
3362
+ extension?: Maybe<Array<Maybe<Extension>>>;
3363
+ for?: Maybe<Reference>;
3364
+ id: Scalars['ID']['output'];
3365
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
3366
+ instantiatesCanonical?: Maybe<Scalars['String']['output']>;
3367
+ lastModified?: Maybe<Scalars['Date']['output']>;
3368
+ meta?: Maybe<Meta>;
3369
+ resourceType?: Maybe<Scalars['String']['output']>;
3370
+ status?: Maybe<Code>;
3371
+ statusReason?: Maybe<CodeableConcept>;
3372
+ };
3373
+ export declare enum TaskStatus {
3374
+ Accepted = "ACCEPTED",
3375
+ Cancelled = "CANCELLED",
3376
+ Completed = "COMPLETED",
3377
+ Draft = "DRAFT",
3378
+ EnteredInError = "ENTERED_IN_ERROR",
3379
+ Failed = "FAILED",
3380
+ InProgress = "IN_PROGRESS",
3381
+ OnHold = "ON_HOLD",
3382
+ Ready = "READY",
3383
+ Received = "RECEIVED",
3384
+ Rejected = "REJECTED",
3385
+ Requested = "REQUESTED"
3386
+ }
3387
+ export type TaskUpdateStatusRequest = {
3388
+ newStatus: TaskStatus;
3389
+ taskId: Scalars['String']['input'];
3390
+ };
3391
+ export type TaskUpdateStatusResponse = {
3392
+ __typename?: 'TaskUpdateStatusResponse';
3393
+ id?: Maybe<Scalars['String']['output']>;
3394
+ status?: Maybe<TaskStatus>;
3395
+ };
3396
+ export type TaskWithMetadata = {
3397
+ __typename?: 'TaskWithMetadata';
3398
+ metadata?: Maybe<PersonMetadata>;
3399
+ task?: Maybe<Person_Task>;
3400
+ };
3401
+ export type TelemetryConfig = {
3402
+ __typename?: 'TelemetryConfig';
3403
+ collectorUrl: Scalars['String']['output'];
3404
+ enabled?: Maybe<Scalars['Boolean']['output']>;
3405
+ };
3406
+ export type Timing = {
3407
+ __typename?: 'Timing';
3408
+ code?: Maybe<CodeableConcept>;
3409
+ event?: Maybe<Array<Scalars['DateTime']['output']>>;
3410
+ id?: Maybe<Scalars['ID']['output']>;
3411
+ repeat?: Maybe<TimingRepeat>;
3412
+ };
3413
+ export type TimingRepeat = {
3414
+ __typename?: 'TimingRepeat';
3415
+ boundsDuration?: Maybe<Quantity>;
3416
+ boundsPeriod?: Maybe<Period>;
3417
+ boundsRange?: Maybe<Range>;
3418
+ count?: Maybe<Scalars['Int']['output']>;
3419
+ countMax?: Maybe<Scalars['Int']['output']>;
3420
+ dayOfWeek?: Maybe<Array<Code>>;
3421
+ duration?: Maybe<Scalars['Float']['output']>;
3422
+ durationMax?: Maybe<Scalars['Float']['output']>;
3423
+ durationUnit?: Maybe<Code>;
3424
+ frequency?: Maybe<Scalars['Int']['output']>;
3425
+ frequencyMax?: Maybe<Scalars['Int']['output']>;
3426
+ id?: Maybe<Scalars['ID']['output']>;
3427
+ offset?: Maybe<Scalars['Int']['output']>;
3428
+ period?: Maybe<Scalars['Float']['output']>;
3429
+ periodMax?: Maybe<Scalars['Float']['output']>;
3430
+ periodUnit?: Maybe<Code>;
3431
+ /** https://hl7.org/fhir/R4B/datatypes.html#time */
3432
+ timeOfDay?: Maybe<Array<Scalars['String']['output']>>;
3433
+ when?: Maybe<Array<Code>>;
3434
+ };
3435
+ export type TokenPayload = {
3436
+ __typename?: 'TokenPayload';
3437
+ jwtToken: Scalars['String']['output'];
3438
+ };
3439
+ export declare enum TotalType {
3440
+ Accurate = "accurate",
3441
+ Estimate = "estimate"
3442
+ }
3443
+ export type UpdateDeviceRegistrationRequest = {
3444
+ applicationName: Scalars['String']['input'];
3445
+ bwellPersonId?: InputMaybe<Scalars['String']['input']>;
3446
+ clientId?: InputMaybe<Scalars['String']['input']>;
3447
+ deviceToken: Scalars['String']['input'];
3448
+ notificationPreference: Scalars['Boolean']['input'];
3449
+ platform: Scalars['String']['input'];
3450
+ };
3451
+ export type UpdatedPersonMetadata = {
3452
+ __typename?: 'UpdatedPersonMetadata';
3453
+ statusCode?: Maybe<Scalars['String']['output']>;
3454
+ };
3455
+ export type User = {
3456
+ app_id?: InputMaybe<Scalars['String']['input']>;
3457
+ email?: InputMaybe<Scalars['String']['input']>;
3458
+ id?: InputMaybe<Scalars['String']['input']>;
3459
+ ip?: InputMaybe<Scalars['String']['input']>;
3460
+ referring_url?: InputMaybe<Scalars['String']['input']>;
3461
+ request_id?: InputMaybe<Scalars['String']['input']>;
3462
+ session_id?: InputMaybe<Scalars['String']['input']>;
3463
+ };
3464
+ export type Value = {
3465
+ __typename?: 'Value';
3466
+ /** A boolean value for the Observation. */
3467
+ valueBoolean?: Maybe<Scalars['Boolean']['output']>;
3468
+ /** A coded value for the Observation. */
3469
+ valueCodeableConcept?: Maybe<CodeableConcept>;
3470
+ /** A date and time value for the Observation. */
3471
+ valueDateTime?: Maybe<Scalars['DateTime']['output']>;
3472
+ /** An integer value for the Observation. */
3473
+ valueInteger?: Maybe<Scalars['Int']['output']>;
3474
+ /** A period or interval of time for the Observation. */
3475
+ valuePeriod?: Maybe<Period>;
3476
+ /** Numerical value with units for the Observation. */
3477
+ valueQuantity?: Maybe<Quantity>;
3478
+ /** A range of values (with low and high bounds) for the Observation. */
3479
+ valueRange?: Maybe<Range>;
3480
+ /** A ratio of two Quantity values for the Observation. */
3481
+ valueRatio?: Maybe<Ratio>;
3482
+ /** A string value for the Observation. */
3483
+ valueString?: Maybe<Scalars['String']['output']>;
3484
+ /** A time value for the Observation (without date). */
3485
+ valueTime?: Maybe<Scalars['String']['output']>;
3486
+ };
3487
+ export type Variant = {
3488
+ __typename?: 'Variant';
3489
+ name: Scalars['String']['output'];
3490
+ percent: Scalars['Float']['output'];
3491
+ value: Scalars['String']['output'];
3492
+ };
3493
+ export type VitalSignGroup = ResourceGroup & {
3494
+ __typename?: 'VitalSignGroup';
3495
+ /** A structured set of codes including a text representation. */
3496
+ category?: Maybe<Array<Maybe<CodeableConcept>>>;
3497
+ /** Coding representing the kind of Vital Sign in this ResourceGroup */
3498
+ coding?: Maybe<Coding>;
3499
+ /** Component observations as part of this observation. */
3500
+ component?: Maybe<Array<Maybe<Component>>>;
3501
+ /** The single point in time when the observation was made. */
3502
+ effectiveDateTime?: Maybe<Scalars['DateTime']['output']>;
3503
+ id?: Maybe<Scalars['ID']['output']>;
3504
+ /** The interpretation of the observation results. */
3505
+ interpretation?: Maybe<Array<Maybe<CodeableConcept>>>;
3506
+ /** Human readable name of the Vital Sign */
3507
+ name?: Maybe<Scalars['String']['output']>;
3508
+ /** Reference ranges for interpreting the observation value. */
3509
+ referenceRange?: Maybe<Array<Maybe<ReferenceRange>>>;
3510
+ /** Array of immunization id references in the ResourceGroup */
3511
+ references?: Maybe<Array<Scalars['String']['output']>>;
3512
+ /** Array of Strings representing the source of the data */
3513
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3514
+ /** The value of the observation. At most, one ObservationValue type will be returned per Observation */
3515
+ value?: Maybe<Value>;
3516
+ };
3517
+ export type VitalSignGroupQueryRequest = {
3518
+ page?: InputMaybe<Scalars['Int']['input']>;
3519
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3520
+ };
3521
+ export type VitalSignGroupQueryResults = PagedQueryResults & {
3522
+ __typename?: 'VitalSignGroupQueryResults';
3523
+ paging_info?: Maybe<PagingResults>;
3524
+ resources: Array<VitalSignGroup>;
3525
+ };
3526
+ /** Defines input parameters for querying Vital Sign resources. */
3527
+ export type VitalSignRequest = {
3528
+ /** Filter for vital signs with the given code system */
3529
+ groupCode?: InputMaybe<SearchToken>;
3530
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
3531
+ /** Filters based on the meta.lastUpdated date of the resource */
3532
+ lastUpdated?: InputMaybe<SearchDate>;
3533
+ /** Page offset */
3534
+ page?: InputMaybe<Scalars['Int']['input']>;
3535
+ /** The maximum number of results to return (for pagination). */
3536
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3537
+ };
3538
+ export type Zendesk = {
3539
+ __typename?: 'Zendesk';
3540
+ key?: Maybe<Scalars['String']['output']>;
3541
+ uri: Scalars['String']['output'];
3542
+ };