@icanbwell/bwell-sdk-ts 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. package/README.md +3 -19
  2. package/dist/__version__.d.ts +1 -1
  3. package/dist/__version__.js +1 -1
  4. package/dist/api/api-provider-factory.d.ts +1 -1
  5. package/dist/api/api-provider-factory.js +1 -2
  6. package/dist/api/base/activity/activity-manager.d.ts +25 -18
  7. package/dist/api/base/activity/get-tasks-request.d.ts +49 -29
  8. package/dist/api/base/activity/get-tasks-request.js +15 -42
  9. package/dist/api/base/activity/index.d.ts +4 -2
  10. package/dist/api/base/activity/index.js +1 -0
  11. package/dist/api/base/activity/types.d.ts +3 -0
  12. package/dist/api/base/activity/types.js +5 -0
  13. package/dist/api/base/activity/update-task-status-request.d.ts +18 -0
  14. package/dist/api/base/activity/update-task-status-request.js +15 -0
  15. package/dist/api/base/api-provider.d.ts +14 -12
  16. package/dist/api/base/connection/connection-manager.d.ts +51 -68
  17. package/dist/api/base/connection/connection-manager.js +0 -3
  18. package/dist/api/base/connection/connection-request.d.ts +1 -15
  19. package/dist/api/base/connection/connection-request.js +0 -8
  20. package/dist/api/base/connection/index.d.ts +1 -1
  21. package/dist/api/base/device/device-manager.d.ts +12 -34
  22. package/dist/api/base/device/device-manager.js +5 -1
  23. package/dist/api/base/device/device-request.d.ts +42 -35
  24. package/dist/api/base/device/device-request.js +42 -30
  25. package/dist/api/base/device/index.d.ts +2 -2
  26. package/dist/api/base/device/index.js +2 -2
  27. package/dist/api/base/event/event-manager.d.ts +16 -0
  28. package/dist/api/base/event/event-request.d.ts +35 -0
  29. package/dist/api/base/event/event-request.js +64 -0
  30. package/dist/api/base/event/index.d.ts +2 -0
  31. package/dist/api/base/event/index.js +1 -0
  32. package/dist/api/base/financial/coverage-request.d.ts +6 -5
  33. package/dist/api/base/financial/coverage-request.js +7 -7
  34. package/dist/api/base/financial/{explanation-of-benefit-request.d.ts → explanation-of-benefit.d.ts} +9 -15
  35. package/dist/api/base/financial/{explanation-of-benefit-request.js → explanation-of-benefit.js} +18 -8
  36. package/dist/api/base/financial/financial-manager.d.ts +14 -46
  37. package/dist/api/base/financial/index.d.ts +2 -3
  38. package/dist/api/base/financial/index.js +2 -2
  39. package/dist/api/base/health-data/health-data-request.d.ts +8 -116
  40. package/dist/api/base/health-data/health-data-request.js +2 -83
  41. package/dist/api/base/health-data/health-manager.d.ts +243 -293
  42. package/dist/api/base/health-data/index.d.ts +3 -2
  43. package/dist/api/base/health-data/index.js +2 -0
  44. package/dist/api/base/health-data/lab-knowledge-request.d.ts +0 -9
  45. package/dist/api/base/health-data/lab-knowledge-request.js +0 -3
  46. package/dist/api/base/health-data/medication-knowledge-request.d.ts +0 -9
  47. package/dist/api/base/health-data/medication-knowledge-request.js +0 -3
  48. package/dist/api/base/health-data/medication-pricing-request.d.ts +21 -0
  49. package/dist/api/base/health-data/medication-pricing-request.js +26 -0
  50. package/dist/api/base/health-data/medication-statement-request.d.ts +29 -0
  51. package/dist/api/base/health-data/medication-statement-request.js +35 -0
  52. package/dist/api/base/health-space/add-care-team-member-request.d.ts +33 -0
  53. package/dist/api/base/health-space/add-care-team-member-request.js +36 -0
  54. package/dist/api/base/health-space/add-care-team-members-request.d.ts +35 -0
  55. package/dist/api/base/health-space/add-care-team-members-request.js +61 -0
  56. package/dist/api/base/health-space/appointments-request.d.ts +0 -9
  57. package/dist/api/base/health-space/appointments-request.js +0 -3
  58. package/dist/api/base/health-space/cancel-appointment-request.d.ts +1 -8
  59. package/dist/api/base/health-space/cancel-appointment-request.js +0 -4
  60. package/dist/api/base/health-space/cancelationReasons-request.d.ts +16 -0
  61. package/dist/api/base/health-space/{cancellation-reasons-request.js → cancelationReasons-request.js} +4 -10
  62. package/dist/api/base/health-space/care-team-members-request.d.ts +31 -0
  63. package/dist/api/base/health-space/care-team-members-request.js +33 -0
  64. package/dist/api/base/health-space/health-space-manager.d.ts +116 -29
  65. package/dist/api/base/health-space/index.d.ts +7 -2
  66. package/dist/api/base/health-space/index.js +6 -1
  67. package/dist/api/base/health-space/remove-care-team-member-request.d.ts +34 -0
  68. package/dist/api/base/health-space/remove-care-team-member-request.js +36 -0
  69. package/dist/api/base/health-space/update-care-team-member-request.d.ts +55 -0
  70. package/dist/api/base/health-space/update-care-team-member-request.js +71 -0
  71. package/dist/api/base/identity/identity-manager.d.ts +11 -98
  72. package/dist/api/base/index.d.ts +3 -1
  73. package/dist/api/base/index.js +3 -2
  74. package/dist/api/base/questionnaire/index.d.ts +4 -1
  75. package/dist/api/base/questionnaire/index.js +3 -0
  76. package/dist/api/base/questionnaire/next-question-request.d.ts +2 -8
  77. package/dist/api/base/questionnaire/next-question-request.js +1 -4
  78. package/dist/api/base/questionnaire/questionnaire-manager.d.ts +42 -24
  79. package/dist/api/base/questionnaire/questionnaire-responses-request.d.ts +30 -0
  80. package/dist/api/base/questionnaire/questionnaire-responses-request.js +49 -0
  81. package/dist/api/base/questionnaire/questionnaires-request.d.ts +18 -0
  82. package/dist/api/base/questionnaire/questionnaires-request.js +42 -0
  83. package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +22 -0
  84. package/dist/api/base/questionnaire/save-questionnaire-response-request.js +33 -0
  85. package/dist/api/base/requests/index.d.ts +0 -2
  86. package/dist/api/base/requests/search-date.d.ts +0 -12
  87. package/dist/api/base/requests/search-reference.d.ts +1 -9
  88. package/dist/api/base/requests/search-string.d.ts +0 -6
  89. package/dist/api/base/requests/search-token.d.ts +0 -18
  90. package/dist/api/base/requests/search-token.js +17 -17
  91. package/dist/api/base/search/index.d.ts +5 -3
  92. package/dist/api/base/search/index.js +3 -1
  93. package/dist/api/base/search/request-connection-request.d.ts +24 -0
  94. package/dist/api/base/search/request-connection-request.js +3 -0
  95. package/dist/api/base/search/search-health-resources-request.d.ts +44 -33
  96. package/dist/api/base/search/search-health-resources-request.js +0 -3
  97. package/dist/api/base/search/search-manager.d.ts +42 -39
  98. package/dist/api/base/search/search-request.d.ts +84 -0
  99. package/dist/api/base/search/search-request.js +78 -0
  100. package/dist/api/base/support/create-support-comment-request.d.ts +13 -0
  101. package/dist/api/base/support/create-support-comment-request.js +18 -0
  102. package/dist/api/base/support/create-support-request-request.d.ts +22 -0
  103. package/dist/api/base/support/create-support-request-request.js +20 -0
  104. package/dist/api/base/support/delete-support-attachment-request.d.ts +11 -0
  105. package/dist/api/base/support/delete-support-attachment-request.js +14 -0
  106. package/dist/api/base/support/get-support-articles-request.d.ts +14 -0
  107. package/dist/api/base/support/get-support-articles-request.js +12 -0
  108. package/dist/api/base/support/get-support-attachment-request.d.ts +14 -0
  109. package/dist/api/base/support/get-support-attachment-request.js +18 -0
  110. package/dist/api/base/support/get-support-comments-request.d.ts +14 -0
  111. package/dist/api/base/support/get-support-comments-request.js +15 -0
  112. package/dist/api/base/support/get-support-requests-request.d.ts +16 -0
  113. package/dist/api/base/support/get-support-requests-request.js +14 -0
  114. package/dist/api/base/support/index.d.ts +9 -0
  115. package/dist/api/base/support/index.js +9 -0
  116. package/dist/api/base/support/support-manager.d.ts +78 -0
  117. package/dist/api/base/support/upload-support-attachment-request.d.ts +25 -0
  118. package/dist/api/base/support/upload-support-attachment-request.js +27 -0
  119. package/dist/api/base/user/create-consent-request.d.ts +1 -13
  120. package/dist/api/base/user/create-consent-request.js +5 -10
  121. package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +0 -9
  122. package/dist/api/base/user/create-data-export-direct-download-url-request.js +0 -3
  123. package/dist/api/base/user/create-verification-url-request.d.ts +0 -12
  124. package/dist/api/base/user/create-verification-url-request.js +0 -6
  125. package/dist/api/base/user/get-consents-request.d.ts +1 -19
  126. package/dist/api/base/user/get-consents-request.js +1 -13
  127. package/dist/api/base/user/index.d.ts +2 -1
  128. package/dist/api/base/user/types.d.ts +9 -0
  129. package/dist/api/base/user/types.js +17 -0
  130. package/dist/api/base/user/update-profile-request.d.ts +3 -11
  131. package/dist/api/base/user/update-profile-request.js +3 -5
  132. package/dist/api/base/user/user-manager.d.ts +49 -100
  133. package/dist/api/graphql-api/activity/{get-tasks-request-factory.d.ts → activity-request-factories.d.ts} +7 -0
  134. package/dist/api/graphql-api/activity/activity-request-factories.js +70 -0
  135. package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +8 -6
  136. package/dist/api/graphql-api/activity/graphql-activity-manager.js +30 -19
  137. package/dist/api/graphql-api/activity/index.d.ts +1 -1
  138. package/dist/api/graphql-api/activity/index.js +1 -1
  139. package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +9 -9
  140. package/dist/api/graphql-api/connection/graphql-connection-manager.js +5 -7
  141. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +18 -0
  142. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +40 -0
  143. package/dist/api/graphql-api/connection/index.d.ts +1 -0
  144. package/dist/api/graphql-api/connection/index.js +1 -1
  145. package/dist/api/graphql-api/device/graphql-device-manager.d.ts +1 -2
  146. package/dist/api/graphql-api/device/graphql-device-manager.js +2 -4
  147. package/dist/api/graphql-api/errors/errors.js +1 -1
  148. package/dist/api/graphql-api/event/event-request-factory.d.ts +6 -0
  149. package/dist/api/graphql-api/event/event-request-factory.js +11 -0
  150. package/dist/api/graphql-api/event/graphql-event-manager.d.ts +15 -0
  151. package/dist/api/graphql-api/event/graphql-event-manager.js +65 -0
  152. package/dist/api/graphql-api/event/index.d.ts +1 -0
  153. package/dist/api/graphql-api/event/index.js +1 -0
  154. package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.d.ts +6 -0
  155. package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.js +17 -0
  156. package/dist/api/graphql-api/financial/{explanation-of-benefit-request-factory.d.ts → graphql-explanation-of-benefits-factory.d.ts} +3 -3
  157. package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +23 -0
  158. package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +12 -4
  159. package/dist/api/graphql-api/financial/graphql-financial-manager.js +19 -32
  160. package/dist/api/graphql-api/financial/index.d.ts +1 -3
  161. package/dist/api/graphql-api/financial/index.js +1 -3
  162. package/dist/api/graphql-api/graphql-api-provider.d.ts +14 -6
  163. package/dist/api/graphql-api/graphql-api-provider.js +7 -6
  164. package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.d.ts +20 -0
  165. package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.js +29 -0
  166. package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.d.ts +16 -0
  167. package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.js +23 -0
  168. package/dist/api/graphql-api/health-space/cancel-appointment-request-factory.js +2 -1
  169. package/dist/api/graphql-api/health-space/care-team-factory-utils.d.ts +23 -0
  170. package/dist/api/graphql-api/health-space/care-team-factory-utils.js +30 -0
  171. package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +12 -0
  172. package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +17 -0
  173. package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +62 -5
  174. package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +163 -9
  175. package/dist/api/graphql-api/health-space/index.d.ts +4 -0
  176. package/dist/api/graphql-api/health-space/index.js +4 -0
  177. package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.d.ts +16 -0
  178. package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.js +24 -0
  179. package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.d.ts +16 -0
  180. package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.js +20 -0
  181. package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.d.ts +6 -0
  182. package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.js +12 -0
  183. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +10 -0
  184. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +35 -0
  185. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +10 -0
  186. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +35 -0
  187. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +41 -30
  188. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +256 -311
  189. package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +6 -0
  190. package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +11 -0
  191. package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +1 -2
  192. package/dist/api/graphql-api/identity/graphql-identity-manager.js +3 -5
  193. package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.d.ts +9 -0
  194. package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.js +22 -0
  195. package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.d.ts +6 -0
  196. package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.js +16 -0
  197. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +22 -4
  198. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +69 -4
  199. package/dist/api/graphql-api/questionnaire/index.d.ts +2 -0
  200. package/dist/api/graphql-api/questionnaire/index.js +2 -0
  201. package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +7 -0
  202. package/dist/api/graphql-api/search/connection-search-request-factory.js +21 -0
  203. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +6 -4
  204. package/dist/api/graphql-api/search/graphql-search-manager.js +71 -9
  205. package/dist/api/graphql-api/search/index.d.ts +1 -0
  206. package/dist/api/graphql-api/search/index.js +1 -0
  207. package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +7 -0
  208. package/dist/api/graphql-api/search/provider-search-request-factory.js +21 -0
  209. package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +6 -0
  210. package/dist/api/graphql-api/search/{submit-provider-for-review-request-factory.js → request-connection-request-factory.js} +1 -1
  211. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +11 -12
  212. package/dist/api/graphql-api/search/search-request-factory.d.ts +6 -0
  213. package/dist/api/graphql-api/search/search-request-factory.js +44 -0
  214. package/dist/api/graphql-api/support/create-support-comment-request-factory.d.ts +6 -0
  215. package/dist/api/graphql-api/support/create-support-comment-request-factory.js +12 -0
  216. package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +6 -0
  217. package/dist/api/graphql-api/support/create-support-request-request-factory.js +19 -0
  218. package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +6 -0
  219. package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +10 -0
  220. package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.d.ts +6 -0
  221. package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.js +15 -0
  222. package/dist/api/graphql-api/support/get-support-attachment-request-factory.d.ts +6 -0
  223. package/dist/api/graphql-api/support/get-support-attachment-request-factory.js +11 -0
  224. package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.d.ts +6 -0
  225. package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.js +14 -0
  226. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +6 -0
  227. package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +16 -0
  228. package/dist/api/graphql-api/support/graphql-support-manager.d.ts +28 -0
  229. package/dist/api/graphql-api/support/graphql-support-manager.js +210 -0
  230. package/dist/api/graphql-api/support/index.d.ts +1 -0
  231. package/dist/api/graphql-api/support/index.js +1 -0
  232. package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +6 -0
  233. package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +11 -0
  234. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +6 -0
  235. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +9 -0
  236. package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +2 -1
  237. package/dist/api/graphql-api/user/get-consent-request-factory.js +1 -5
  238. package/dist/api/graphql-api/user/graphql-user-manager.d.ts +11 -10
  239. package/dist/api/graphql-api/user/graphql-user-manager.js +10 -11
  240. package/dist/api/graphql-api/user/update-profile-request-factory.js +2 -1
  241. package/dist/api/identity-manager-factory.js +1 -1
  242. package/dist/auth/auth-code-strategy.d.ts +1 -2
  243. package/dist/auth/auth-strategy.d.ts +1 -1
  244. package/dist/auth/credentials.d.ts +1 -1
  245. package/dist/auth/credentials.js +2 -2
  246. package/dist/auth/oauth-strategy.d.ts +1 -2
  247. package/dist/auth/username-password-strategy.d.ts +1 -2
  248. package/dist/auth/username-password-strategy.js +2 -2
  249. package/dist/bwell-sdk/bwell-sdk.d.ts +48 -319
  250. package/dist/bwell-sdk/bwell-sdk.js +53 -368
  251. package/dist/config/bwell-config.d.ts +12 -12
  252. package/dist/config/bwell-config.js +5 -2
  253. package/dist/config/sdk-config.d.ts +3 -2
  254. package/dist/config/sdk-config.js +6 -4
  255. package/dist/errors/authentication-error.d.ts +0 -7
  256. package/dist/errors/authentication-error.js +0 -7
  257. package/dist/errors/bwell-error.d.ts +2 -12
  258. package/dist/errors/bwell-error.js +2 -5
  259. package/dist/errors/illegal-argument-error.d.ts +0 -7
  260. package/dist/errors/illegal-argument-error.js +0 -7
  261. package/dist/errors/illegal-state-error.d.ts +0 -7
  262. package/dist/errors/illegal-state-error.js +0 -7
  263. package/dist/errors/invalid-client-key-error.d.ts +0 -7
  264. package/dist/errors/invalid-client-key-error.js +0 -7
  265. package/dist/errors/invalid-credentials-type-error.d.ts +0 -7
  266. package/dist/errors/invalid-credentials-type-error.js +0 -7
  267. package/dist/errors/invalid-token-error.d.ts +1 -4
  268. package/dist/errors/invalid-token-error.js +1 -4
  269. package/dist/errors/network-error.d.ts +0 -7
  270. package/dist/errors/network-error.js +0 -7
  271. package/dist/errors/operation-outcome-error.d.ts +1 -8
  272. package/dist/errors/operation-outcome-error.js +0 -7
  273. package/dist/errors/unknown-error.d.ts +0 -7
  274. package/dist/errors/unknown-error.js +0 -7
  275. package/dist/errors/validation-error.d.ts +0 -7
  276. package/dist/errors/validation-error.js +0 -7
  277. package/dist/graphql/operations/index.d.ts +315 -116
  278. package/dist/graphql/operations/index.js +2235 -1815
  279. package/dist/graphql/operations/types.d.ts +17800 -15757
  280. package/dist/graphql/schema.d.ts +5904 -68232
  281. package/dist/graphql/schema.js +484 -1
  282. package/dist/index.d.ts +5 -7
  283. package/dist/index.js +4 -5
  284. package/dist/language/language-manager.d.ts +10 -25
  285. package/dist/language/language-manager.js +0 -5
  286. package/dist/models/coding.d.ts +5 -0
  287. package/dist/models/fhir-error.d.ts +9 -0
  288. package/dist/models/index.d.ts +4 -12
  289. package/dist/models/index.js +4 -12
  290. package/dist/models/user.d.ts +4 -0
  291. package/dist/requests/paged-request.d.ts +0 -35
  292. package/dist/requests/paged-request.js +0 -22
  293. package/dist/requests/request.d.ts +0 -16
  294. package/dist/requests/request.js +0 -8
  295. package/dist/requests/validator.d.ts +0 -15
  296. package/dist/requests/validator.js +0 -7
  297. package/dist/results/bwell-query-result.d.ts +0 -5
  298. package/dist/results/bwell-query-result.js +0 -5
  299. package/dist/results/bwell-transaction-result.d.ts +3 -17
  300. package/dist/results/bwell-transaction-result.js +1 -15
  301. package/dist/results/index.d.ts +0 -1
  302. package/dist/results/index.js +0 -1
  303. package/dist/telemetry/open-telemetry-instrumentation.js +4 -1
  304. package/dist/tokens/index.d.ts +0 -2
  305. package/dist/tokens/index.js +0 -2
  306. package/dist/tokens/jwt-token-manager.d.ts +7 -3
  307. package/dist/tokens/jwt-token-manager.js +8 -9
  308. package/dist/tokens/token-storage.d.ts +0 -20
  309. package/dist/tokens/token-storage.js +0 -19
  310. package/dist/utils/date-utils.d.ts +6 -0
  311. package/dist/utils/date-utils.js +8 -0
  312. package/dist/utils/index.d.ts +1 -1
  313. package/dist/utils/index.js +1 -1
  314. package/dist/utils/parsing-utils.d.ts +1 -11
  315. package/dist/utils/parsing-utils.js +1 -33
  316. package/package.json +19 -23
  317. package/dist/api/base/device/constants.d.ts +0 -3
  318. package/dist/api/base/device/constants.js +0 -3
  319. package/dist/api/base/health-data/health-data-response-factory.d.ts +0 -27
  320. package/dist/api/base/health-space/cancellation-reasons-request.d.ts +0 -28
  321. package/dist/api/base/requests/field-sort-order.d.ts +0 -11
  322. package/dist/api/base/search/submit-provider-for-review-request.d.ts +0 -33
  323. package/dist/api/base/search/submit-provider-for-review-request.js +0 -9
  324. package/dist/api/base/user/validators.d.ts +0 -5
  325. package/dist/api/base/user/validators.js +0 -13
  326. package/dist/api/graphql-api/activity/get-tasks-request-factory.js +0 -56
  327. package/dist/api/graphql-api/connection/connection-response-factory.d.ts +0 -7
  328. package/dist/api/graphql-api/connection/connection-response-factory.js +0 -101
  329. package/dist/api/graphql-api/financial/coverage-request-factory.d.ts +0 -9
  330. package/dist/api/graphql-api/financial/coverage-request-factory.js +0 -19
  331. package/dist/api/graphql-api/financial/explanation-of-benefit-request-factory.js +0 -19
  332. package/dist/api/graphql-api/healthdata/get-encounters-request-factory.d.ts +0 -7
  333. package/dist/api/graphql-api/healthdata/get-encounters-request-factory.js +0 -76
  334. package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +0 -6
  335. package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +0 -25
  336. package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +0 -18
  337. package/dist/api/graphql-api/healthdata/health-data-request-factory.js +0 -25
  338. package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +0 -8
  339. package/dist/api/graphql-api/healthdata/health-data-response-factory.js +0 -58
  340. package/dist/api/graphql-api/search/submit-provider-for-review-request-factory.d.ts +0 -6
  341. package/dist/models/activity/index.d.ts +0 -1
  342. package/dist/models/activity/task.d.ts +0 -77
  343. package/dist/models/activity/task.js +0 -1
  344. package/dist/models/common/address.d.ts +0 -41
  345. package/dist/models/common/address.js +0 -1
  346. package/dist/models/common/annotation.d.ts +0 -18
  347. package/dist/models/common/annotation.js +0 -1
  348. package/dist/models/common/attachment.d.ts +0 -18
  349. package/dist/models/common/attachment.js +0 -1
  350. package/dist/models/common/bundle.d.ts +0 -83
  351. package/dist/models/common/bundle.js +0 -1
  352. package/dist/models/common/codeable-concept.d.ts +0 -17
  353. package/dist/models/common/codeable-concept.js +0 -1
  354. package/dist/models/common/coding.d.ts +0 -18
  355. package/dist/models/common/component.d.ts +0 -23
  356. package/dist/models/common/component.js +0 -1
  357. package/dist/models/common/contact-point.d.ts +0 -32
  358. package/dist/models/common/contact-point.js +0 -1
  359. package/dist/models/common/dispense-request.d.ts +0 -67
  360. package/dist/models/common/dispense-request.js +0 -1
  361. package/dist/models/common/dosage.d.ts +0 -68
  362. package/dist/models/common/dosage.js +0 -1
  363. package/dist/models/common/endpoint.d.ts +0 -23
  364. package/dist/models/common/endpoint.js +0 -1
  365. package/dist/models/common/expression.d.ts +0 -20
  366. package/dist/models/common/expression.js +0 -1
  367. package/dist/models/common/extension.d.ts +0 -49
  368. package/dist/models/common/extension.js +0 -1
  369. package/dist/models/common/fhir-error.d.ts +0 -23
  370. package/dist/models/common/human-name.d.ts +0 -20
  371. package/dist/models/common/human-name.js +0 -1
  372. package/dist/models/common/identifier.d.ts +0 -19
  373. package/dist/models/common/identifier.js +0 -1
  374. package/dist/models/common/index.d.ts +0 -38
  375. package/dist/models/common/index.js +0 -2
  376. package/dist/models/common/location.d.ts +0 -51
  377. package/dist/models/common/location.js +0 -1
  378. package/dist/models/common/medication.d.ts +0 -42
  379. package/dist/models/common/medication.js +0 -1
  380. package/dist/models/common/meta.d.ts +0 -21
  381. package/dist/models/common/meta.js +0 -1
  382. package/dist/models/common/money.d.ts +0 -15
  383. package/dist/models/common/money.js +0 -1
  384. package/dist/models/common/narrative.d.ts +0 -14
  385. package/dist/models/common/narrative.js +0 -1
  386. package/dist/models/common/operation-outcome.d.ts +0 -48
  387. package/dist/models/common/operation-outcome.js +0 -1
  388. package/dist/models/common/organization.d.ts +0 -46
  389. package/dist/models/common/organization.js +0 -1
  390. package/dist/models/common/paging-info.d.ts +0 -18
  391. package/dist/models/common/paging-info.js +0 -1
  392. package/dist/models/common/patient.d.ts +0 -13
  393. package/dist/models/common/patient.js +0 -1
  394. package/dist/models/common/period.d.ts +0 -14
  395. package/dist/models/common/period.js +0 -1
  396. package/dist/models/common/practitioner-role.d.ts +0 -42
  397. package/dist/models/common/practitioner-role.js +0 -1
  398. package/dist/models/common/practitioner.d.ts +0 -17
  399. package/dist/models/common/practitioner.js +0 -1
  400. package/dist/models/common/quantity.d.ts +0 -20
  401. package/dist/models/common/quantity.js +0 -1
  402. package/dist/models/common/range.d.ts +0 -15
  403. package/dist/models/common/range.js +0 -1
  404. package/dist/models/common/ratio.d.ts +0 -15
  405. package/dist/models/common/ratio.js +0 -1
  406. package/dist/models/common/reference-range.d.ts +0 -13
  407. package/dist/models/common/reference-range.js +0 -1
  408. package/dist/models/common/reference.d.ts +0 -27
  409. package/dist/models/common/reference.js +0 -1
  410. package/dist/models/common/related-person.d.ts +0 -34
  411. package/dist/models/common/related-person.js +0 -1
  412. package/dist/models/common/score.d.ts +0 -16
  413. package/dist/models/common/score.js +0 -1
  414. package/dist/models/common/service-request.d.ts +0 -21
  415. package/dist/models/common/service-request.js +0 -1
  416. package/dist/models/common/specimen.d.ts +0 -30
  417. package/dist/models/common/specimen.js +0 -7
  418. package/dist/models/common/timing.d.ts +0 -107
  419. package/dist/models/common/timing.js +0 -1
  420. package/dist/models/common/value.d.ts +0 -22
  421. package/dist/models/common/value.js +0 -1
  422. package/dist/models/connection/base-connection.d.ts +0 -27
  423. package/dist/models/connection/base-connection.js +0 -1
  424. package/dist/models/connection/connection-status.d.ts +0 -15
  425. package/dist/models/connection/connection-status.js +0 -1
  426. package/dist/models/connection/connection.d.ts +0 -32
  427. package/dist/models/connection/connection.js +0 -1
  428. package/dist/models/connection/data-source.d.ts +0 -27
  429. package/dist/models/connection/data-source.js +0 -1
  430. package/dist/models/connection/index.d.ts +0 -6
  431. package/dist/models/connection/index.js +0 -1
  432. package/dist/models/connection/member-connection.d.ts +0 -37
  433. package/dist/models/connection/member-connection.js +0 -1
  434. package/dist/models/connection/oauth-url.d.ts +0 -12
  435. package/dist/models/connection/oauth-url.js +0 -1
  436. package/dist/models/device/device-registration-results.d.ts +0 -12
  437. package/dist/models/device/device-registration-results.js +0 -1
  438. package/dist/models/device/index.d.ts +0 -1
  439. package/dist/models/device/index.js +0 -1
  440. package/dist/models/enums/category-code.d.ts +0 -11
  441. package/dist/models/enums/category-code.js +0 -13
  442. package/dist/models/enums/connection-category.d.ts +0 -9
  443. package/dist/models/enums/connection-category.js +0 -1
  444. package/dist/models/enums/consent-provision-type.d.ts +0 -11
  445. package/dist/models/enums/consent-provision-type.js +0 -2
  446. package/dist/models/enums/consent-status.d.ts +0 -11
  447. package/dist/models/enums/consent-status.js +0 -9
  448. package/dist/models/enums/data-connection-status.d.ts +0 -9
  449. package/dist/models/enums/data-connection-status.js +0 -1
  450. package/dist/models/enums/data-connection-type.d.ts +0 -9
  451. package/dist/models/enums/data-connection-type.js +0 -1
  452. package/dist/models/enums/data-set.d.ts +0 -10
  453. package/dist/models/enums/data-set.js +0 -1
  454. package/dist/models/enums/device-platform.d.ts +0 -11
  455. package/dist/models/enums/device-platform.js +0 -2
  456. package/dist/models/enums/endpoint-status.d.ts +0 -9
  457. package/dist/models/enums/endpoint-status.js +0 -1
  458. package/dist/models/enums/filter-field.d.ts +0 -9
  459. package/dist/models/enums/filter-field.js +0 -1
  460. package/dist/models/enums/gender.d.ts +0 -9
  461. package/dist/models/enums/gender.js +0 -1
  462. package/dist/models/enums/index.d.ts +0 -18
  463. package/dist/models/enums/index.js +0 -5
  464. package/dist/models/enums/log-level.d.ts +0 -8
  465. package/dist/models/enums/log-level.js +0 -1
  466. package/dist/models/enums/person-gender.d.ts +0 -11
  467. package/dist/models/enums/person-gender.js +0 -7
  468. package/dist/models/enums/search-context.d.ts +0 -10
  469. package/dist/models/enums/search-context.js +0 -1
  470. package/dist/models/enums/search-result-type.d.ts +0 -9
  471. package/dist/models/enums/search-result-type.js +0 -1
  472. package/dist/models/enums/sort-field.d.ts +0 -10
  473. package/dist/models/enums/sort-field.js +0 -1
  474. package/dist/models/enums/sort-order.d.ts +0 -9
  475. package/dist/models/enums/sort-order.js +0 -1
  476. package/dist/models/enums/sync-status.d.ts +0 -9
  477. package/dist/models/enums/sync-status.js +0 -1
  478. package/dist/models/financial/coverage-bundle.d.ts +0 -18
  479. package/dist/models/financial/coverage-bundle.js +0 -1
  480. package/dist/models/financial/coverage.d.ts +0 -65
  481. package/dist/models/financial/coverage.js +0 -1
  482. package/dist/models/financial/explanation-of-benefit-bundle.d.ts +0 -26
  483. package/dist/models/financial/explanation-of-benefit-bundle.js +0 -1
  484. package/dist/models/financial/explanation-of-benefit.d.ts +0 -274
  485. package/dist/models/financial/explanation-of-benefit.js +0 -1
  486. package/dist/models/financial/index.d.ts +0 -4
  487. package/dist/models/financial/index.js +0 -4
  488. package/dist/models/health-data/allergy-intolerance-bundle.d.ts +0 -11
  489. package/dist/models/health-data/allergy-intolerance-bundle.js +0 -1
  490. package/dist/models/health-data/allergy-intolerance-group.d.ts +0 -44
  491. package/dist/models/health-data/allergy-intolerance-group.js +0 -1
  492. package/dist/models/health-data/allergy-intolerance-reaction.d.ts +0 -23
  493. package/dist/models/health-data/allergy-intolerance-reaction.js +0 -1
  494. package/dist/models/health-data/allergy-intolerance.d.ts +0 -54
  495. package/dist/models/health-data/allergy-intolerance.js +0 -1
  496. package/dist/models/health-data/care-plan-group.d.ts +0 -42
  497. package/dist/models/health-data/care-plan-group.js +0 -1
  498. package/dist/models/health-data/care-plan.d.ts +0 -134
  499. package/dist/models/health-data/care-plan.js +0 -1
  500. package/dist/models/health-data/care-team.d.ts +0 -77
  501. package/dist/models/health-data/care-team.js +0 -1
  502. package/dist/models/health-data/condition-group.d.ts +0 -42
  503. package/dist/models/health-data/condition-group.js +0 -1
  504. package/dist/models/health-data/condition.d.ts +0 -104
  505. package/dist/models/health-data/condition.js +0 -1
  506. package/dist/models/health-data/diagnostic-report-lab-group.d.ts +0 -45
  507. package/dist/models/health-data/diagnostic-report-lab-group.js +0 -1
  508. package/dist/models/health-data/diagnostic-report.d.ts +0 -90
  509. package/dist/models/health-data/diagnostic-report.js +0 -1
  510. package/dist/models/health-data/encounter-group.d.ts +0 -48
  511. package/dist/models/health-data/encounter-group.js +0 -1
  512. package/dist/models/health-data/encounter.d.ts +0 -79
  513. package/dist/models/health-data/encounter.js +0 -1
  514. package/dist/models/health-data/health-summary.d.ts +0 -18
  515. package/dist/models/health-data/health-summary.js +0 -1
  516. package/dist/models/health-data/immunization-group.d.ts +0 -41
  517. package/dist/models/health-data/immunization-group.js +0 -1
  518. package/dist/models/health-data/immunization.d.ts +0 -150
  519. package/dist/models/health-data/immunization.js +0 -1
  520. package/dist/models/health-data/index.d.ts +0 -30
  521. package/dist/models/health-data/index.js +0 -1
  522. package/dist/models/health-data/lab-bundle.d.ts +0 -26
  523. package/dist/models/health-data/lab-bundle.js +0 -1
  524. package/dist/models/health-data/lab-group.d.ts +0 -51
  525. package/dist/models/health-data/lab-group.js +0 -1
  526. package/dist/models/health-data/lab-knowledge.d.ts +0 -28
  527. package/dist/models/health-data/lab-knowledge.js +0 -1
  528. package/dist/models/health-data/medication-dispense.d.ts +0 -108
  529. package/dist/models/health-data/medication-dispense.js +0 -1
  530. package/dist/models/health-data/medication-group.d.ts +0 -43
  531. package/dist/models/health-data/medication-group.js +0 -1
  532. package/dist/models/health-data/medication-knowledge.d.ts +0 -30
  533. package/dist/models/health-data/medication-knowledge.js +0 -1
  534. package/dist/models/health-data/medication-pricing.d.ts +0 -28
  535. package/dist/models/health-data/medication-pricing.js +0 -1
  536. package/dist/models/health-data/medication-request.d.ts +0 -107
  537. package/dist/models/health-data/medication-request.js +0 -1
  538. package/dist/models/health-data/medication-statement.d.ts +0 -68
  539. package/dist/models/health-data/medication-statement.js +0 -1
  540. package/dist/models/health-data/observation.d.ts +0 -102
  541. package/dist/models/health-data/observation.js +0 -1
  542. package/dist/models/health-data/procedure-group.d.ts +0 -43
  543. package/dist/models/health-data/procedure-group.js +0 -1
  544. package/dist/models/health-data/procedure.d.ts +0 -84
  545. package/dist/models/health-data/procedure.js +0 -1
  546. package/dist/models/health-data/vital-sign-bundle.d.ts +0 -18
  547. package/dist/models/health-data/vital-sign-bundle.js +0 -1
  548. package/dist/models/health-data/vital-sign-group.d.ts +0 -51
  549. package/dist/models/health-data/vital-sign-group.js +0 -1
  550. package/dist/models/health-space/appointment-bundle.d.ts +0 -11
  551. package/dist/models/health-space/appointment-bundle.js +0 -1
  552. package/dist/models/health-space/appointment-participant.d.ts +0 -17
  553. package/dist/models/health-space/appointment-participant.js +0 -1
  554. package/dist/models/health-space/appointment-update.d.ts +0 -14
  555. package/dist/models/health-space/appointment-update.js +0 -1
  556. package/dist/models/health-space/appointment.d.ts +0 -30
  557. package/dist/models/health-space/appointment.js +0 -1
  558. package/dist/models/health-space/cancellation-reasons.d.ts +0 -32
  559. package/dist/models/health-space/cancellation-reasons.js +0 -1
  560. package/dist/models/health-space/index.d.ts +0 -5
  561. package/dist/models/health-space/index.js +0 -1
  562. package/dist/models/identity/auth-tokens.d.ts +0 -25
  563. package/dist/models/identity/auth-tokens.js +0 -1
  564. package/dist/models/identity/create-guest-access-token-results.d.ts +0 -12
  565. package/dist/models/identity/create-guest-access-token-results.js +0 -1
  566. package/dist/models/identity/index.d.ts +0 -4
  567. package/dist/models/identity/index.js +0 -1
  568. package/dist/models/identity/refresh-token-results.d.ts +0 -8
  569. package/dist/models/identity/refresh-token-results.js +0 -1
  570. package/dist/models/identity/sdk-configuration-result.d.ts +0 -26
  571. package/dist/models/identity/sdk-configuration-result.js +0 -1
  572. package/dist/models/questionnaire/index.d.ts +0 -5
  573. package/dist/models/questionnaire/index.js +0 -1
  574. package/dist/models/questionnaire/questionnaire-item.d.ts +0 -38
  575. package/dist/models/questionnaire/questionnaire-item.js +0 -1
  576. package/dist/models/questionnaire/questionnaire-response-answer.d.ts +0 -33
  577. package/dist/models/questionnaire/questionnaire-response-answer.js +0 -1
  578. package/dist/models/questionnaire/questionnaire-response-item.d.ts +0 -19
  579. package/dist/models/questionnaire/questionnaire-response-item.js +0 -1
  580. package/dist/models/questionnaire/questionnaire-response.d.ts +0 -29
  581. package/dist/models/questionnaire/questionnaire-response.js +0 -1
  582. package/dist/models/questionnaire/questionnaire.d.ts +0 -30
  583. package/dist/models/questionnaire/questionnaire.js +0 -1
  584. package/dist/models/search/health-resources.d.ts +0 -133
  585. package/dist/models/search/health-resources.js +0 -1
  586. package/dist/models/search/index.d.ts +0 -2
  587. package/dist/models/search/index.js +0 -1
  588. package/dist/models/search/provider-review-result.d.ts +0 -15
  589. package/dist/models/search/provider-review-result.js +0 -1
  590. package/dist/models/user/consent.d.ts +0 -100
  591. package/dist/models/user/consent.js +0 -1
  592. package/dist/models/user/index.d.ts +0 -4
  593. package/dist/models/user/index.js +0 -1
  594. package/dist/models/user/person.d.ts +0 -43
  595. package/dist/models/user/person.js +0 -1
  596. package/dist/models/user/user.d.ts +0 -12
  597. package/dist/models/user/user.js +0 -1
  598. package/dist/models/user/verification-result.d.ts +0 -30
  599. package/dist/models/user/verification-result.js +0 -1
  600. package/dist/tokens/load-auth-tokens.d.ts +0 -6
  601. package/dist/tokens/load-auth-tokens.js +0 -43
  602. package/dist/tokens/token-manager.d.ts +0 -12
  603. package/dist/tokens/token-manager.js +0 -5
  604. package/dist/utils/search-token-utils.d.ts +0 -8
  605. package/dist/utils/search-token-utils.js +0 -23
  606. /package/dist/api/base/{health-data/health-data-response-factory.js → event/event-manager.js} +0 -0
  607. /package/dist/api/base/{requests/field-sort-order.js → support/support-manager.js} +0 -0
  608. /package/dist/models/{common/coding.js → coding.js} +0 -0
  609. /package/dist/models/{common/fhir-error.js → fhir-error.js} +0 -0
  610. /package/dist/{results → models}/operation-outcome.d.ts +0 -0
  611. /package/dist/{results → models}/operation-outcome.js +0 -0
  612. /package/dist/models/{activity/index.js → user.js} +0 -0
@@ -1,49 +0,0 @@
1
- import { CodeableConcept } from "./codeable-concept.js";
2
- import { Expression } from "./expression.js";
3
- import { Period } from "./period.js";
4
- import { Quantity } from "./quantity.js";
5
- import { Range } from "./range.js";
6
- import { Ratio } from "./ratio.js";
7
- import { Reference } from "./reference.js";
8
- /**
9
- * Represents an extension to FHIR resources.
10
- * Used to add additional data elements beyond the base resource definition.
11
- *
12
- * @category Models
13
- * @title Extension
14
- * @excerpt Represents an extension to FHIR resources
15
- */
16
- export type Extension = {
17
- /** Extension identifier */
18
- id: string | null;
19
- /** Extension URL */
20
- url: string | null;
21
- /** Boolean extension value */
22
- valueBoolean: boolean | null;
23
- /** Integer extension value */
24
- valueInteger: number | null;
25
- /** String extension value */
26
- valueString: string | null;
27
- /** DateTime extension value */
28
- valueDateTime: string | null;
29
- /** Code extension value */
30
- valueCode: string | null;
31
- /** URI extension value */
32
- valueUri: string | null;
33
- /** Expression extension value */
34
- valueExpression: Expression | null;
35
- /** CodeableConcept extension value */
36
- valueCodeableConcept: CodeableConcept | null;
37
- /** Reference extension value */
38
- valueReference: Reference | null;
39
- /** Quantity extension value */
40
- valueQuantity: Quantity | null;
41
- /** Ratio extension value */
42
- valueRatio: Ratio | null;
43
- /** Range extension value */
44
- valueRange: Range | null;
45
- /** Period extension value */
46
- valuePeriod: Period | null;
47
- /** Time extension value */
48
- valueTime: string | null;
49
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- import { OperationOutcomeIssue } from "../../graphql/schema.js";
2
- /**
3
- * FhirError model for the b.well SDK
4
- *
5
- * @category Models
6
- * @title FhirError
7
- * @excerpt FhirError model
8
- */
9
- export type FhirError = {
10
- code: string;
11
- resource: FhirErrorResource;
12
- };
13
- /**
14
- * FhirErrorResource model for the b.well SDK
15
- *
16
- * @category Models
17
- * @title FhirErrorResource
18
- * @excerpt FhirErrorResource model
19
- */
20
- export type FhirErrorResource = {
21
- resourceType: string;
22
- issue: OperationOutcomeIssue[];
23
- };
@@ -1,20 +0,0 @@
1
- /**
2
- * Represents a human name with various components.
3
- * Used across all models to represent person names with full FHIR compatibility.
4
- *
5
- * @category Models
6
- * @title HumanName
7
- * @excerpt Represents a human name with various components
8
- */
9
- export type HumanName = {
10
- /** Full name as text */
11
- text: string | null;
12
- /** Family name (surname) */
13
- family: string | null;
14
- /** Given names (first name, middle names) */
15
- given: (string | null)[] | null;
16
- /** Name prefixes (titles) */
17
- prefix: (string | null)[] | null;
18
- /** Name suffixes */
19
- suffix: (string | null)[] | null;
20
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,19 +0,0 @@
1
- import { CodeableConcept } from "./codeable-concept.js";
2
- /**
3
- * Represents an identifier for uniquely identifying resources.
4
- * Used to provide business identifiers for FHIR resources.
5
- *
6
- * @category Models
7
- * @title Identifier
8
- * @excerpt Represents an identifier for uniquely identifying resources
9
- */
10
- export type Identifier = {
11
- /** Unique id for the identifier */
12
- id: string | null;
13
- /** The namespace for the identifier value */
14
- system: string | null;
15
- /** The value that is unique within the system */
16
- value: string | null;
17
- /** Type of identifier */
18
- type: CodeableConcept | null;
19
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,38 +0,0 @@
1
- export * from "./fhir-error.js";
2
- export * from "./coding.js";
3
- export type { OperationOutcome } from "./operation-outcome.js";
4
- export type { Meta } from "./meta.js";
5
- export type { Identifier } from "./identifier.js";
6
- export type { CodeableConcept } from "./codeable-concept.js";
7
- export type { Quantity } from "./quantity.js";
8
- export type { Money } from "./money.js";
9
- export type { Attachment } from "./attachment.js";
10
- export type { Reference } from "./reference.js";
11
- export type { Extension } from "./extension.js";
12
- export type { Expression } from "./expression.js";
13
- export type { PagingInfo } from "./paging-info.js";
14
- export type { Period } from "./period.js";
15
- export type { HumanName } from "./human-name.js";
16
- export type { Narrative } from "./narrative.js";
17
- export type { Annotation } from "./annotation.js";
18
- export type { Address } from "./address.js";
19
- export type { ContactPoint } from "./contact-point.js";
20
- export type { ResourceBundle, EntryBundle, IdentifiedResourceEntry, SDKPagingInfo, HealthDataResponse, GroupedHealthDataResponse, } from "./bundle.js";
21
- export type { Location } from "./location.js";
22
- export type { Range } from "./range.js";
23
- export type { Ratio } from "./ratio.js";
24
- export type { Dosage, DoseAndRate } from "./dosage.js";
25
- export type { ReferenceRange } from "./reference-range.js";
26
- export type { Component } from "./component.js";
27
- export type { Score } from "./score.js";
28
- export type { Endpoint } from "./endpoint.js";
29
- export type { Organization, SearchResponseOrganization, } from "./organization.js";
30
- export type { Timing } from "./timing.js";
31
- export type { Specimen } from "./specimen.js";
32
- export type { ServiceRequest } from "./service-request.js";
33
- export type { Practitioner } from "./practitioner.js";
34
- export type { Patient } from "./patient.js";
35
- export type { PractitionerRole } from "./practitioner-role.js";
36
- export type { RelatedPerson } from "./related-person.js";
37
- export type { Medication } from "./medication.js";
38
- export type { DispenseRequest, InitialFill } from "./dispense-request.js";
@@ -1,2 +0,0 @@
1
- export * from "./fhir-error.js";
2
- export * from "./coding.js";
@@ -1,51 +0,0 @@
1
- import { Address } from "./address.js";
2
- import { CodeableConcept } from "./codeable-concept.js";
3
- import { ContactPoint } from "./contact-point.js";
4
- import { Identifier } from "./identifier.js";
5
- import { Reference } from "./reference.js";
6
- /**
7
- * Geographic position coordinates.
8
- * Used for location-based services and mapping.
9
- *
10
- * @category Models
11
- * @title LocationPosition
12
- * @excerpt Geographic position coordinates
13
- */
14
- export type LocationPosition = {
15
- /** Latitude coordinate */
16
- latitude: number | null;
17
- /** Longitude coordinate */
18
- longitude: number | null;
19
- };
20
- /**
21
- * Represents a physical location or place.
22
- * Contains details about a location including contact information, address, and managing organization.
23
- *
24
- * @category Models
25
- * @title Location
26
- * @excerpt Represents a physical location or place
27
- */
28
- export type Location = {
29
- /** Unique resource identifier */
30
- id: string;
31
- /** Display name */
32
- name: string | null;
33
- /** Alternate names */
34
- alias: (string | null)[] | null;
35
- /** Resource description */
36
- description: string | null;
37
- /** Business identifiers */
38
- identifier: (Identifier | null)[] | null;
39
- /** Contact information */
40
- telecom: (ContactPoint | null)[] | null;
41
- /** Address information */
42
- address: Address | null;
43
- /** Geographic position */
44
- position: LocationPosition | null;
45
- /** Managing organization reference */
46
- managingOrganization: Reference;
47
- /** Indicates the type of function performed at the location. */
48
- type: (CodeableConcept | null)[] | null;
49
- /** Operational status of the location. */
50
- status: string | null;
51
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,42 +0,0 @@
1
- import { CodeableConcept } from "./codeable-concept.js";
2
- import { Identifier } from "./identifier.js";
3
- import { Ratio } from "./ratio.js";
4
- import { Reference } from "./reference.js";
5
- /**
6
- * Represents a medication resource.
7
- *
8
- * @category Models
9
- * @title Medication
10
- * @excerpt Represents a medication resource.
11
- */
12
- export type Medication = {
13
- /** Resource type */
14
- resourceType: string | null;
15
- /** Logical id of the resource */
16
- id: string;
17
- /** Identifiers for this medication */
18
- identifier: (Identifier | null)[] | null;
19
- /** Medication code */
20
- code: CodeableConcept | null;
21
- /** Ingredients */
22
- ingredient: (MedicationIngredient | null)[] | null;
23
- /** Form of the medication */
24
- form: CodeableConcept | null;
25
- };
26
- /**
27
- * A Medication Ingredient resource
28
- *
29
- * @category Models
30
- * @title MedicationIngredient
31
- * @excerpt A Medication Ingredient resource
32
- */
33
- export type MedicationIngredient = {
34
- /** Ingredient codes */
35
- itemCodeableConcept: CodeableConcept | null;
36
- /** Reference to a substance or medication type */
37
- itemReference: Reference<Medication> | null;
38
- /** Ingredient strength */
39
- strength: Ratio | null;
40
- /** Indication of whether this ingredient affects the therapeutic action of the drug.*/
41
- isActive: boolean | null;
42
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,21 +0,0 @@
1
- import type { Coding } from "./coding.js";
2
- /**
3
- * Represents a Meta object containing version and audit information.
4
- * Used in FHIR resources to track versioning, source, and security tags.
5
- *
6
- * @category Models
7
- * @title Meta
8
- * @excerpt Represents a Meta object containing version and audit...
9
- */
10
- export type Meta = {
11
- /** Version identifier for this resource */
12
- versionId: string | null;
13
- /** When this resource was last updated */
14
- lastUpdated: string | null;
15
- /** The source system for this resource */
16
- source: string | null;
17
- /** Security tags applied to this resource */
18
- security: (Coding | null)[] | null;
19
- /** General tags applied to this resource */
20
- tag: (Coding | null)[] | null;
21
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- /**
2
- * Represents a monetary amount with currency.
3
- * An amount of economic utility in some recognized currency.
4
- *
5
- * @category Models
6
- * @title Money
7
- * @excerpt Monetary amount with currency
8
- * @see https://www.hl7.org/fhir/datatypes.html#Money
9
- */
10
- export type Money = {
11
- /** Numerical value (with implicit precision) */
12
- value: number | null;
13
- /** ISO 4217 Currency Code */
14
- currency: string | null;
15
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Represents a text narrative with status.
3
- * Used in FHIR resources to provide human-readable content.
4
- *
5
- * @category Models
6
- * @title Narrative
7
- * @excerpt Represents a text narrative with status
8
- */
9
- export type Narrative = {
10
- /** The narrative status */
11
- status: string | null;
12
- /** The XHTML content */
13
- div: string | null;
14
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,48 +0,0 @@
1
- /**
2
- * Outcome of an operation that doesn't result in a resource or bundle being returned.
3
- * Information about the success/failure of an action.
4
- *
5
- * @category Models
6
- * @title OperationOutcome
7
- * @excerpt Outcome of an operation that doesn't result in...
8
- */
9
- export type OperationOutcome = {
10
- /**
11
- * The type of resource being returned.
12
- */
13
- resourceType: string | null;
14
- /**
15
- * An error, warning, or information message that results from a system action.
16
- */
17
- issue: OperationOutcomeIssue[] | null;
18
- };
19
- /**
20
- * A single issue associated with the action.
21
- * @title OperationOutcomeIssue
22
- * @excerpt A single issue associated with the action
23
- */
24
- export type OperationOutcomeIssue = {
25
- /**
26
- * Error or warning code.
27
- */
28
- code: string | null;
29
- /**
30
- * Indicates how relevant the issue is to the overall success of the action.
31
- */
32
- severity: string | null;
33
- /**
34
- * Additional details about the error.
35
- */
36
- details: OperationOutcomeIssueDetails | null;
37
- };
38
- /**
39
- * Additional details about the error.
40
- * @title OperationOutcomeIssueDetails
41
- * @excerpt Additional details about the error
42
- */
43
- export type OperationOutcomeIssueDetails = {
44
- /**
45
- * A human readable description of the error issue.
46
- */
47
- text: string | null;
48
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,46 +0,0 @@
1
- import { Endpoint } from "./endpoint.js";
2
- import { Address, CodeableConcept, ContactPoint, Identifier, Meta, Reference } from "./index.js";
3
- /**
4
- * Represents a healthcare organization.
5
- *
6
- * @category Models
7
- * @title Organization
8
- * @excerpt Healthcare organization with name and endpoints
9
- */
10
- export type Organization = {
11
- /** Resource type */
12
- resourceType: string | null;
13
- /** Organization identifiers */
14
- identifier: (Identifier | null)[] | null;
15
- /** Organization name */
16
- name: string | null;
17
- /** Organization endpoints */
18
- endpoint: (Reference<Endpoint> | null)[] | null;
19
- /** Organization alias (equivalent to connection slug) */
20
- alias: (string | null) | null;
21
- /** Organization address */
22
- address: (Address | null)[] | null;
23
- /** Contact information */
24
- telecom: (ContactPoint | null)[] | null;
25
- /** Active status of the organization */
26
- active: boolean | null;
27
- /** The unique identifier for the organization resource */
28
- id: string;
29
- /** The type of the organization */
30
- type: (CodeableConcept | null)[] | null;
31
- /** Metadata about the resource */
32
- meta: Meta | null;
33
- };
34
- /**
35
- * Represents a healthcare organization.
36
- *
37
- * @category Models
38
- * @title SearchResponseOrganization
39
- * @excerpt Healthcare organization with name and endpoints
40
- */
41
- export type SearchResponseOrganization = {
42
- /** Organization name */
43
- name: string | null;
44
- /** Organization endpoints */
45
- endpoint: (Endpoint | null)[] | null;
46
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,18 +0,0 @@
1
- /**
2
- * Paging information for paginated GraphQL responses.
3
- * Contains metadata about the current page and total results.
4
- *
5
- * @category Models
6
- * @title PagingInfo
7
- * @excerpt Metadata for paginated GraphQL responses
8
- */
9
- export type PagingInfo = {
10
- /** Current page number (1-based) */
11
- page_number: number;
12
- /** Number of items per page */
13
- page_size: number;
14
- /** Total number of pages */
15
- total_pages: number;
16
- /** Total number of items across all pages */
17
- total_items: number;
18
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- import { HumanName } from "./index.js";
2
- /**
3
- * Represents a patient resource.
4
- * @category Models
5
- * @type Patient
6
- * @excerpt Patient Resource
7
- */
8
- export type Patient = {
9
- /** The GraphQL typename for the patient. */
10
- __typename: "Patient";
11
- /** Name(s) of the patient. */
12
- name: (HumanName | null)[] | null;
13
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Represents a period of time with optional start and end dates.
3
- * Used in FHIR resources to specify time ranges.
4
- *
5
- * @category Models
6
- * @title Period
7
- * @excerpt Represents a period of time with optional start...
8
- */
9
- export type Period = {
10
- /** Start date/time */
11
- start: string | null;
12
- /** End date/time */
13
- end: string | null;
14
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,42 +0,0 @@
1
- import { CodeableConcept } from "./codeable-concept.js";
2
- import { ContactPoint } from "./contact-point.js";
3
- import { Endpoint } from "./endpoint.js";
4
- import { Identifier } from "./identifier.js";
5
- import { Location } from "./location.js";
6
- import { Organization } from "./organization.js";
7
- import { Period } from "./period.js";
8
- import { Practitioner } from "./practitioner.js";
9
- import { Reference } from "./reference.js";
10
- /**
11
- * The types of services that may be provided by a practitioner for a organization.
12
- *
13
- * @category Models
14
- * @title PractitionerRole
15
- * @excerpt The types of services that may be provided by a practitioner for a organization.
16
- */
17
- export type PractitionerRole = {
18
- /** The type of resource, always "PractitionerRole". */
19
- resourceType: "PractitionerRole";
20
- /** Logical id of the practitioner role resource. */
21
- id: string;
22
- /** Business identifiers for the practitioner role. */
23
- identifier: (Identifier | null)[] | null;
24
- /** Reference to the practitioner who is performing the role. */
25
- practitioner: Reference<Practitioner> | null;
26
- /** Reference to the organization where the practitioner is performing the role. */
27
- organization: Reference<Organization> | null;
28
- /** Roles which this practitioner is authorized to perform (e.g., doctor, nurse). */
29
- code: (CodeableConcept | null)[] | null;
30
- /** Specific specialties practiced by the practitioner in this role. */
31
- specialty: (CodeableConcept | null)[] | null;
32
- /** Locations where the practitioner provides care. */
33
- location: (Reference<Location> | null)[] | null;
34
- /** Contact details for the practitioner relevant to this role. */
35
- telecom: (ContactPoint | null)[] | null;
36
- /** Whether this practitioner role record is in active use. */
37
- active: boolean | null;
38
- /** Endpoints associated with the practitioner for this role. */
39
- endpoint: (Reference<Endpoint> | null)[] | null;
40
- /** The period during which the practitioner is authorized to perform the role. */
41
- period: Period | null;
42
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,17 +0,0 @@
1
- import { HumanName, Identifier } from "./index.js";
2
- /**
3
- * Represents a practitioner resource.
4
- * @category Models
5
- * @type Practitioner
6
- * @excerpt Practitioner Resource
7
- */
8
- export type Practitioner = {
9
- /** The GraphQL typename for the practitioner. */
10
- __typename: "Practitioner";
11
- /** Logical id of the resource. */
12
- id: string;
13
- /** Name(s) of the practitioner. */
14
- name: (HumanName | null)[] | null;
15
- /** Identifiers for the practitioner. */
16
- identifier: (Identifier | null)[] | null;
17
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- /**
2
- * Represents a measured amount with units.
3
- * Used for numeric values with associated units.
4
- *
5
- * @category Models
6
- * @title Quantity
7
- * @excerpt Measured amount with units representation
8
- */
9
- export type Quantity = {
10
- /** The value of the measured amount */
11
- value: number | null;
12
- /** Unit representation */
13
- unit: string | null;
14
- /** Coded form of the unit */
15
- code: string | null;
16
- /** Comparator for the value */
17
- comparator: string | null;
18
- /** System that defines the coded unit form */
19
- system: string | null;
20
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Quantity } from "./quantity.js";
2
- /**
3
- * Represents a range of values with low and high boundaries.
4
- * Used to specify a range of quantities in FHIR resources.
5
- *
6
- * @category Models
7
- * @title Range
8
- * @excerpt Value range with low and high boundaries
9
- */
10
- export type Range = {
11
- /** The low boundary of the range */
12
- low: Quantity;
13
- /** The high boundary of the range */
14
- high: Quantity;
15
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { Quantity } from "./quantity.js";
2
- /**
3
- * Represents a ratio of two quantities.
4
- * Used to express proportional relationships between two values in FHIR resources.
5
- *
6
- * @category Models
7
- * @title Ratio
8
- * @excerpt Represents a ratio of two quantities
9
- */
10
- export type Ratio = {
11
- /** The numerator of the ratio */
12
- numerator: Quantity;
13
- /** The denominator of the ratio */
14
- denominator: Quantity;
15
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- import type { Range } from "./range.js";
2
- /**
3
- * Represents a reference range with text description and low/high boundaries.
4
- * Extends the base Range type with additional text field.
5
- *
6
- * @category Models
7
- * @title ReferenceRange
8
- * @excerpt Represents a reference range with text description and...
9
- */
10
- export type ReferenceRange = Range & {
11
- /** Text description of the reference range */
12
- text: string;
13
- };
@@ -1 +0,0 @@
1
- export {};