@icanbwell/bwell-sdk-ts 1.36.2 → 1.36.4-rc.1752561352

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 (112) hide show
  1. package/README.md +2 -2
  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 +35 -0
  7. package/dist/api/base/activity/activity-manager.js +1 -0
  8. package/dist/api/base/activity/get-tasks-request.d.ts +49 -0
  9. package/dist/api/base/activity/get-tasks-request.js +35 -0
  10. package/dist/api/base/activity/index.d.ts +4 -0
  11. package/dist/api/base/activity/index.js +2 -0
  12. package/dist/api/base/activity/types.d.ts +3 -0
  13. package/dist/api/base/activity/types.js +5 -0
  14. package/dist/api/base/activity/update-task-status-request.d.ts +18 -0
  15. package/dist/api/base/activity/update-task-status-request.js +15 -0
  16. package/dist/api/base/api-provider.d.ts +14 -8
  17. package/dist/api/base/connection/connection-manager.d.ts +2 -0
  18. package/dist/api/base/device/device-manager.d.ts +22 -0
  19. package/dist/api/base/device/device-manager.js +5 -0
  20. package/dist/api/base/device/device-request.d.ts +62 -0
  21. package/dist/api/base/device/device-request.js +71 -0
  22. package/dist/api/base/device/index.d.ts +2 -0
  23. package/dist/api/base/device/index.js +2 -0
  24. package/dist/api/base/event/event-manager.d.ts +16 -0
  25. package/dist/api/base/event/event-manager.js +1 -0
  26. package/dist/api/base/event/event-request.d.ts +35 -0
  27. package/dist/api/base/event/event-request.js +64 -0
  28. package/dist/api/base/event/index.d.ts +2 -0
  29. package/dist/api/base/event/index.js +1 -0
  30. package/dist/api/base/health-data/health-manager.d.ts +227 -4
  31. package/dist/api/base/health-data/index.d.ts +1 -1
  32. package/dist/api/base/index.d.ts +4 -0
  33. package/dist/api/base/index.js +4 -4
  34. package/dist/api/base/search/index.d.ts +4 -0
  35. package/dist/api/base/search/index.js +3 -0
  36. package/dist/api/base/search/request-connection-request.d.ts +24 -0
  37. package/dist/api/base/search/request-connection-request.js +3 -0
  38. package/dist/api/base/search/search-health-resources-request.d.ts +87 -0
  39. package/dist/api/base/search/search-health-resources-request.js +20 -0
  40. package/dist/api/base/search/search-manager.d.ts +58 -0
  41. package/dist/api/base/search/search-manager.js +1 -0
  42. package/dist/api/base/search/search-request.d.ts +84 -0
  43. package/dist/api/base/search/search-request.js +78 -0
  44. package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +14 -0
  45. package/dist/api/base/user/create-data-export-direct-download-url-request.js +21 -0
  46. package/dist/api/base/user/index.d.ts +2 -1
  47. package/dist/api/base/user/index.js +1 -4
  48. package/dist/api/base/user/user-manager.d.ts +7 -1
  49. package/dist/api/graphql-api/activity/activity-request-factories.d.ts +13 -0
  50. package/dist/api/graphql-api/activity/activity-request-factories.js +66 -0
  51. package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +14 -0
  52. package/dist/api/graphql-api/activity/graphql-activity-manager.js +72 -0
  53. package/dist/api/graphql-api/activity/index.d.ts +1 -0
  54. package/dist/api/graphql-api/activity/index.js +1 -0
  55. package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +3 -1
  56. package/dist/api/graphql-api/connection/graphql-connection-manager.js +21 -23
  57. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +18 -0
  58. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +40 -0
  59. package/dist/api/graphql-api/connection/index.d.ts +1 -0
  60. package/dist/api/graphql-api/connection/index.js +1 -1
  61. package/dist/api/graphql-api/device/device-request-factory.d.ts +9 -0
  62. package/dist/api/graphql-api/device/device-request-factory.js +15 -0
  63. package/dist/api/graphql-api/device/graphql-device-manager.d.ts +13 -0
  64. package/dist/api/graphql-api/device/graphql-device-manager.js +73 -0
  65. package/dist/api/graphql-api/device/index.d.ts +1 -0
  66. package/dist/api/graphql-api/device/index.js +1 -0
  67. package/dist/api/graphql-api/event/event-request-factory.d.ts +6 -0
  68. package/dist/api/graphql-api/event/event-request-factory.js +11 -0
  69. package/dist/api/graphql-api/event/graphql-event-manager.d.ts +15 -0
  70. package/dist/api/graphql-api/event/graphql-event-manager.js +65 -0
  71. package/dist/api/graphql-api/event/index.d.ts +1 -0
  72. package/dist/api/graphql-api/event/index.js +1 -0
  73. package/dist/api/graphql-api/graphql-api-provider.d.ts +13 -4
  74. package/dist/api/graphql-api/graphql-api-provider.js +9 -10
  75. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js +1 -1
  76. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +10 -0
  77. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +35 -0
  78. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +10 -0
  79. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +35 -0
  80. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +27 -3
  81. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +328 -26
  82. package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +7 -0
  83. package/dist/api/graphql-api/search/connection-search-request-factory.js +21 -0
  84. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +17 -0
  85. package/dist/api/graphql-api/search/graphql-search-manager.js +133 -0
  86. package/dist/api/graphql-api/search/index.d.ts +1 -0
  87. package/dist/api/graphql-api/search/index.js +1 -0
  88. package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +7 -0
  89. package/dist/api/graphql-api/search/provider-search-request-factory.js +21 -0
  90. package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +6 -0
  91. package/dist/api/graphql-api/search/request-connection-request-factory.js +12 -0
  92. package/dist/api/graphql-api/search/search-health-resources-request-factory.d.ts +14 -0
  93. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +28 -0
  94. package/dist/api/graphql-api/search/search-request-factory.d.ts +6 -0
  95. package/dist/api/graphql-api/search/search-request-factory.js +44 -0
  96. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +6 -0
  97. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +9 -0
  98. package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +6 -0
  99. package/dist/api/graphql-api/user/get-consent-request-factory.js +8 -0
  100. package/dist/api/graphql-api/user/graphql-user-manager.d.ts +6 -3
  101. package/dist/api/graphql-api/user/graphql-user-manager.js +46 -68
  102. package/dist/bwell-sdk/bwell-sdk.d.ts +13 -2
  103. package/dist/bwell-sdk/bwell-sdk.js +27 -27
  104. package/dist/config/sdk-config.js +3 -3
  105. package/dist/graphql/operations/index.d.ts +285 -14
  106. package/dist/graphql/operations/index.js +2425 -222
  107. package/dist/graphql/operations/types.d.ts +15259 -2314
  108. package/dist/graphql/schema.d.ts +4804 -68150
  109. package/dist/graphql/schema.js +63 -7
  110. package/package.json +2 -4
  111. package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +0 -12
  112. package/dist/api/graphql-api/healthdata/health-data-request-factory.js +0 -12
@@ -13,27 +13,6 @@
13
13
  *
14
14
  ********************************************************************************
15
15
  */
16
- export const PagingFieldsFragmentDoc = `
17
- fragment PagingFields on PagingResults {
18
- page_number
19
- page_size
20
- total_pages
21
- total_items
22
- }
23
- `;
24
- export const AddressFieldsFragmentDoc = `
25
- fragment AddressFields on Address {
26
- use
27
- type
28
- text
29
- line
30
- city
31
- district
32
- state
33
- postalCode
34
- country
35
- }
36
- `;
37
16
  export const CodingFieldsFragmentDoc = `
38
17
  fragment CodingFields on Coding {
39
18
  system
@@ -49,6 +28,17 @@ export const CodeableConceptFieldsFragmentDoc = `
49
28
  }
50
29
  }
51
30
  ${CodingFieldsFragmentDoc}`;
31
+ export const ExtensionFieldsFragmentDoc = `
32
+ fragment ExtensionFields on Extension {
33
+ id
34
+ url
35
+ valueCodeableConcept {
36
+ ...CodeableConceptFields
37
+ }
38
+ valueString
39
+ valueInteger
40
+ }
41
+ ${CodeableConceptFieldsFragmentDoc}`;
52
42
  export const QuantityFieldsFragmentDoc = `
53
43
  fragment QuantityFields on Quantity {
54
44
  value
@@ -58,6 +48,16 @@ export const QuantityFieldsFragmentDoc = `
58
48
  system
59
49
  }
60
50
  `;
51
+ export const RangeFieldsFragmentDoc = `
52
+ fragment RangeFields on Range {
53
+ low {
54
+ ...QuantityFields
55
+ }
56
+ high {
57
+ ...QuantityFields
58
+ }
59
+ }
60
+ ${QuantityFieldsFragmentDoc}`;
61
61
  export const RatioFieldsFragmentDoc = `
62
62
  fragment RatioFields on Ratio {
63
63
  numerator {
@@ -68,66 +68,905 @@ export const RatioFieldsFragmentDoc = `
68
68
  }
69
69
  }
70
70
  ${QuantityFieldsFragmentDoc}`;
71
- export const RangeFieldsFragmentDoc = `
72
- fragment RangeFields on Range {
73
- low {
71
+ export const DoseAndRateFieldsFragmentDoc = `
72
+ fragment DoseAndRateFields on DoseAndRate {
73
+ id
74
+ type {
75
+ ...CodeableConceptFields
76
+ }
77
+ doseRange {
78
+ ...RangeFields
79
+ }
80
+ doseQuantity {
81
+ ...QuantityFields
82
+ }
83
+ rateQuantity {
84
+ ...QuantityFields
85
+ }
86
+ rateRange {
87
+ ...RangeFields
88
+ }
89
+ rateRatio {
90
+ ...RatioFields
91
+ }
92
+ }
93
+ ${CodeableConceptFieldsFragmentDoc}
94
+ ${RangeFieldsFragmentDoc}
95
+ ${QuantityFieldsFragmentDoc}
96
+ ${RatioFieldsFragmentDoc}`;
97
+ export const PeriodFieldsFragmentDoc = `
98
+ fragment PeriodFields on Period {
99
+ start
100
+ end
101
+ }
102
+ `;
103
+ export const TimingRepeatFieldsFragmentDoc = `
104
+ fragment TimingRepeatFields on TimingRepeat {
105
+ id
106
+ boundsDuration {
107
+ ...QuantityFields
108
+ }
109
+ boundsPeriod {
110
+ ...PeriodFields
111
+ }
112
+ boundsRange {
113
+ ...RangeFields
114
+ }
115
+ count
116
+ countMax
117
+ dayOfWeek {
118
+ code
119
+ display
120
+ }
121
+ duration
122
+ durationMax
123
+ durationUnit {
124
+ code
125
+ display
126
+ }
127
+ frequency
128
+ frequencyMax
129
+ offset
130
+ period
131
+ periodMax
132
+ periodUnit {
133
+ display
134
+ code
135
+ }
136
+ timeOfDay
137
+ when {
138
+ code
139
+ display
140
+ }
141
+ }
142
+ ${QuantityFieldsFragmentDoc}
143
+ ${PeriodFieldsFragmentDoc}
144
+ ${RangeFieldsFragmentDoc}`;
145
+ export const TimingFieldsFragmentDoc = `
146
+ fragment TimingFields on Timing {
147
+ id
148
+ code {
149
+ ...CodeableConceptFields
150
+ }
151
+ event
152
+ repeat {
153
+ ...TimingRepeatFields
154
+ }
155
+ }
156
+ ${CodeableConceptFieldsFragmentDoc}
157
+ ${TimingRepeatFieldsFragmentDoc}`;
158
+ export const DosageFieldsFragmentDoc = `
159
+ fragment DosageFields on Dosage {
160
+ id
161
+ additionalInstruction {
162
+ ...CodeableConceptFields
163
+ }
164
+ asNeededBoolean
165
+ asNeededCodeableConcept {
166
+ ...CodeableConceptFields
167
+ }
168
+ doseAndRate {
169
+ ...DoseAndRateFields
170
+ }
171
+ maxDosePerAdministration {
172
+ ...QuantityFields
173
+ }
174
+ maxDosePerLifetime {
175
+ ...QuantityFields
176
+ }
177
+ maxDosePerPeriod {
178
+ ...RatioFields
179
+ }
180
+ method {
181
+ ...CodeableConceptFields
182
+ }
183
+ patientInstruction
184
+ route {
185
+ ...CodeableConceptFields
186
+ }
187
+ sequence
188
+ site {
189
+ ...CodeableConceptFields
190
+ }
191
+ text
192
+ timing {
193
+ ...TimingFields
194
+ }
195
+ }
196
+ ${CodeableConceptFieldsFragmentDoc}
197
+ ${DoseAndRateFieldsFragmentDoc}
198
+ ${QuantityFieldsFragmentDoc}
199
+ ${RatioFieldsFragmentDoc}
200
+ ${TimingFieldsFragmentDoc}`;
201
+ export const PagingFieldsFragmentDoc = `
202
+ fragment PagingFields on PagingResults {
203
+ page_number
204
+ page_size
205
+ total_pages
206
+ total_items
207
+ }
208
+ `;
209
+ export const MoneyResourceFieldsFragmentDoc = `
210
+ fragment MoneyResourceFields on Money {
211
+ value
212
+ currency
213
+ }
214
+ `;
215
+ export const InitialFillFieldsFragmentDoc = `
216
+ fragment InitialFillFields on InitialFill {
217
+ duration {
218
+ ...QuantityFields
219
+ }
220
+ quantity {
221
+ ...QuantityFields
222
+ }
223
+ }
224
+ ${QuantityFieldsFragmentDoc}`;
225
+ export const MedicationDispenseFieldsFragmentDoc = `
226
+ fragment MedicationDispenseFields on DispenseRequest {
227
+ id
228
+ dispenseInterval {
229
+ ...QuantityFields
230
+ }
231
+ expectedSupplyDuration {
232
+ ...QuantityFields
233
+ }
234
+ initialFill {
235
+ ...InitialFillFields
236
+ }
237
+ numberOfRepeatsAllowed
238
+ performer {
239
+ name
240
+ }
241
+ validityPeriod {
242
+ ...PeriodFields
243
+ }
244
+ quantity {
245
+ ...QuantityFields
246
+ }
247
+ }
248
+ ${QuantityFieldsFragmentDoc}
249
+ ${InitialFillFieldsFragmentDoc}
250
+ ${PeriodFieldsFragmentDoc}`;
251
+ export const IdentifierFieldsFragmentDoc = `
252
+ fragment IdentifierFields on Identifier {
253
+ id
254
+ type {
255
+ ...CodeableConceptFields
256
+ }
257
+ system
258
+ value
259
+ }
260
+ ${CodeableConceptFieldsFragmentDoc}`;
261
+ export const EndpointFieldsFragmentDoc = `
262
+ fragment EndpointFields on Endpoint {
263
+ identifier {
264
+ ...IdentifierFields
265
+ }
266
+ name
267
+ status
268
+ connectionType {
269
+ ...CodingFields
270
+ }
271
+ address
272
+ }
273
+ ${IdentifierFieldsFragmentDoc}
274
+ ${CodingFieldsFragmentDoc}`;
275
+ export const AddressFieldsFragmentDoc = `
276
+ fragment AddressFields on Address {
277
+ use
278
+ type
279
+ text
280
+ line
281
+ city
282
+ district
283
+ state
284
+ postalCode
285
+ country
286
+ }
287
+ `;
288
+ export const OrganizationFieldsFragmentDoc = `
289
+ fragment OrganizationFields on Organization {
290
+ resourceType
291
+ identifier {
292
+ ...IdentifierFields
293
+ }
294
+ endpoint {
295
+ ...EndpointFields
296
+ }
297
+ name
298
+ telecom {
299
+ system
300
+ value
301
+ rank
302
+ }
303
+ address {
304
+ ...AddressFields
305
+ }
306
+ }
307
+ ${IdentifierFieldsFragmentDoc}
308
+ ${EndpointFieldsFragmentDoc}
309
+ ${AddressFieldsFragmentDoc}`;
310
+ export const MedicationReferenceFieldsFragmentDoc = `
311
+ fragment MedicationReferenceFields on USCoreMedicationProfile {
312
+ resourceType
313
+ identifier {
314
+ ...IdentifierFields
315
+ }
316
+ form {
317
+ ...CodeableConceptFields
318
+ }
319
+ code {
320
+ ...CodeableConceptFields
321
+ }
322
+ }
323
+ ${IdentifierFieldsFragmentDoc}
324
+ ${CodeableConceptFieldsFragmentDoc}`;
325
+ export const MedicationIngredientItemReferenceMedicationIngredientFieldsFragmentDoc = `
326
+ fragment MedicationIngredientItemReferenceMedicationIngredientFields on MedicationIngredient {
327
+ itemCodeableConcept {
328
+ ...CodeableConceptFields
329
+ }
330
+ strength {
331
+ ...RatioFields
332
+ }
333
+ isActive
334
+ }
335
+ ${CodeableConceptFieldsFragmentDoc}
336
+ ${RatioFieldsFragmentDoc}`;
337
+ export const MedicationIngredientItemReferenceMedicationFieldsFragmentDoc = `
338
+ fragment MedicationIngredientItemReferenceMedicationFields on Medication {
339
+ resourceType
340
+ identifier {
341
+ ...IdentifierFields
342
+ }
343
+ code {
344
+ ...CodeableConceptFields
345
+ }
346
+ }
347
+ ${IdentifierFieldsFragmentDoc}
348
+ ${CodeableConceptFieldsFragmentDoc}`;
349
+ export const NarrativeFieldsFragmentDoc = `
350
+ fragment NarrativeFields on Narrative {
351
+ div
352
+ status
353
+ }
354
+ `;
355
+ export const SubstanceInstanceFieldsFragmentDoc = `
356
+ fragment SubstanceInstanceFields on SubstanceInstance {
357
+ identifier {
358
+ ...IdentifierFields
359
+ }
360
+ expiry
361
+ quantity {
74
362
  ...QuantityFields
75
363
  }
76
- high {
77
- ...QuantityFields
364
+ }
365
+ ${IdentifierFieldsFragmentDoc}
366
+ ${QuantityFieldsFragmentDoc}`;
367
+ export const MedicationIngredientItemReferenceSubstanceFieldsFragmentDoc = `
368
+ fragment MedicationIngredientItemReferenceSubstanceFields on Substance {
369
+ resourceType
370
+ id
371
+ text {
372
+ ...NarrativeFields
373
+ }
374
+ identifier {
375
+ ...IdentifierFields
376
+ }
377
+ status
378
+ category {
379
+ ...CodeableConceptFields
380
+ }
381
+ code {
382
+ ...CodeableConceptFields
383
+ }
384
+ description
385
+ instance {
386
+ ...SubstanceInstanceFields
387
+ }
388
+ }
389
+ ${NarrativeFieldsFragmentDoc}
390
+ ${IdentifierFieldsFragmentDoc}
391
+ ${CodeableConceptFieldsFragmentDoc}
392
+ ${SubstanceInstanceFieldsFragmentDoc}`;
393
+ export const MedicationIngredientItemReferenceFieldsFragmentDoc = `
394
+ fragment MedicationIngredientItemReferenceFields on MedicationIngredientItemReference {
395
+ ... on Medication {
396
+ ...MedicationIngredientItemReferenceMedicationFields
397
+ }
398
+ ... on Substance {
399
+ ...MedicationIngredientItemReferenceSubstanceFields
400
+ }
401
+ }
402
+ ${MedicationIngredientItemReferenceMedicationFieldsFragmentDoc}
403
+ ${MedicationIngredientItemReferenceSubstanceFieldsFragmentDoc}`;
404
+ export const MedicationIngredientItemReferenceResourceFieldsFragmentDoc = `
405
+ fragment MedicationIngredientItemReferenceResourceFields on MedicationIngredientItemReferenceReference {
406
+ itemReferenceResource: resource {
407
+ ...MedicationIngredientItemReferenceFields
408
+ }
409
+ }
410
+ ${MedicationIngredientItemReferenceFieldsFragmentDoc}`;
411
+ export const MedicationIngredientFieldsFragmentDoc = `
412
+ fragment MedicationIngredientFields on MedicationIngredient {
413
+ itemCodeableConcept {
414
+ ...CodeableConceptFields
415
+ }
416
+ strength {
417
+ ...RatioFields
418
+ }
419
+ itemReference {
420
+ ...MedicationIngredientItemReferenceResourceFields
421
+ }
422
+ isActive
423
+ }
424
+ ${CodeableConceptFieldsFragmentDoc}
425
+ ${RatioFieldsFragmentDoc}
426
+ ${MedicationIngredientItemReferenceResourceFieldsFragmentDoc}`;
427
+ export const MedicationFieldsFragmentDoc = `
428
+ fragment MedicationFields on Medication {
429
+ resourceType
430
+ id
431
+ identifier {
432
+ ...IdentifierFields
433
+ }
434
+ code {
435
+ ...CodeableConceptFields
436
+ }
437
+ ingredient {
438
+ ...MedicationIngredientFields
439
+ }
440
+ form {
441
+ ...CodeableConceptFields
442
+ }
443
+ }
444
+ ${IdentifierFieldsFragmentDoc}
445
+ ${CodeableConceptFieldsFragmentDoc}
446
+ ${MedicationIngredientFieldsFragmentDoc}`;
447
+ export const MedicationReferenceResourceFieldsFragmentDoc = `
448
+ fragment MedicationReferenceResourceFields on MedicationReference {
449
+ resource {
450
+ ...MedicationFields
451
+ }
452
+ }
453
+ ${MedicationFieldsFragmentDoc}`;
454
+ export const SubstanceIngredientFieldsFragmentDoc = `
455
+ fragment SubstanceIngredientFields on SubstanceIngredient {
456
+ id
457
+ quantity {
458
+ ...RatioFields
459
+ }
460
+ substanceCodeableConcept {
461
+ ...CodeableConceptFields
462
+ }
463
+ }
464
+ ${RatioFieldsFragmentDoc}
465
+ ${CodeableConceptFieldsFragmentDoc}`;
466
+ export const SubstanceFieldsFragmentDoc = `
467
+ fragment SubstanceFields on Substance {
468
+ resourceType
469
+ id
470
+ text {
471
+ ...NarrativeFields
472
+ }
473
+ identifier {
474
+ ...IdentifierFields
475
+ }
476
+ status
477
+ category {
478
+ ...CodeableConceptFields
479
+ }
480
+ code {
481
+ ...CodeableConceptFields
482
+ }
483
+ description
484
+ instance {
485
+ ...SubstanceInstanceFields
486
+ }
487
+ ingredient {
488
+ ...SubstanceIngredientFields
489
+ }
490
+ }
491
+ ${NarrativeFieldsFragmentDoc}
492
+ ${IdentifierFieldsFragmentDoc}
493
+ ${CodeableConceptFieldsFragmentDoc}
494
+ ${SubstanceInstanceFieldsFragmentDoc}
495
+ ${SubstanceIngredientFieldsFragmentDoc}`;
496
+ export const MetaFieldsFragmentDoc = `
497
+ fragment MetaFields on Meta {
498
+ versionId
499
+ lastUpdated
500
+ source
501
+ security {
502
+ ...CodingFields
503
+ }
504
+ tag {
505
+ ...CodingFields
506
+ }
507
+ }
508
+ ${CodingFieldsFragmentDoc}`;
509
+ export const DocumentReferenceContextFieldsFragmentDoc = `
510
+ fragment DocumentReferenceContextFields on DocumentReferenceContext {
511
+ encounter {
512
+ reference
513
+ display
514
+ }
515
+ period {
516
+ ...PeriodFields
517
+ }
518
+ }
519
+ ${PeriodFieldsFragmentDoc}`;
520
+ export const DocumentReferenceFieldsFragmentDoc = `
521
+ fragment DocumentReferenceFields on DocumentReferenceResource {
522
+ id
523
+ resourceType
524
+ meta {
525
+ ...MetaFields
526
+ }
527
+ language
528
+ text {
529
+ div
530
+ status
531
+ }
532
+ identifier {
533
+ ...IdentifierFields
534
+ }
535
+ status
536
+ subject {
537
+ reference
538
+ display
539
+ }
540
+ type {
541
+ ...CodeableConceptFields
542
+ }
543
+ category {
544
+ ...CodeableConceptFields
545
+ }
546
+ date
547
+ author {
548
+ reference
549
+ display
550
+ }
551
+ description
552
+ content {
553
+ attachment {
554
+ contentType
555
+ data
556
+ url
557
+ }
558
+ format {
559
+ ...CodingFields
560
+ }
561
+ }
562
+ context {
563
+ ...DocumentReferenceContextFields
564
+ }
565
+ }
566
+ ${MetaFieldsFragmentDoc}
567
+ ${IdentifierFieldsFragmentDoc}
568
+ ${CodeableConceptFieldsFragmentDoc}
569
+ ${CodingFieldsFragmentDoc}
570
+ ${DocumentReferenceContextFieldsFragmentDoc}`;
571
+ export const ProtocolAppliedFieldsFragmentDoc = `
572
+ fragment ProtocolAppliedFields on ProtocolApplied {
573
+ doseNumberString
574
+ doseNumberPositiveInt
575
+ }
576
+ `;
577
+ export const DetailFieldsFragmentDoc = `
578
+ fragment DetailFields on Detail {
579
+ kind {
580
+ display
581
+ code
582
+ }
583
+ code {
584
+ ...CodeableConceptFields
585
+ }
586
+ status {
587
+ display
588
+ code
589
+ }
590
+ scheduledPeriod {
591
+ ...PeriodFields
592
+ }
593
+ scheduledString
594
+ scheduledTiming {
595
+ ...TimingFields
596
+ }
597
+ }
598
+ ${CodeableConceptFieldsFragmentDoc}
599
+ ${PeriodFieldsFragmentDoc}
600
+ ${TimingFieldsFragmentDoc}`;
601
+ export const ActivityFieldsFragmentDoc = `
602
+ fragment ActivityFields on Activity {
603
+ detail {
604
+ ...DetailFields
605
+ }
606
+ }
607
+ ${DetailFieldsFragmentDoc}`;
608
+ export const HumanNameFieldsFragmentDoc = `
609
+ fragment HumanNameFields on HumanName {
610
+ text
611
+ family
612
+ given
613
+ prefix
614
+ suffix
615
+ }
616
+ `;
617
+ export const ObservationBasedOnFieldsFragmentDoc = `
618
+ fragment ObservationBasedOnFields on ObservationBasedOn {
619
+ ... on ServiceRequest {
620
+ resourceType
621
+ id
622
+ reasonCode {
623
+ ...CodeableConceptFields
624
+ }
625
+ }
626
+ }
627
+ ${CodeableConceptFieldsFragmentDoc}`;
628
+ export const ValueFieldsFragmentDoc = `
629
+ fragment ValueFields on Value {
630
+ valueQuantity {
631
+ ...QuantityFields
632
+ }
633
+ valueCodeableConcept {
634
+ ...CodeableConceptFields
635
+ }
636
+ valueString
637
+ valueBoolean
638
+ valueInteger
639
+ valueRatio {
640
+ ...RatioFields
641
+ }
642
+ valueRange {
643
+ ...RangeFields
644
+ }
645
+ valueTime
646
+ valueDateTime
647
+ valuePeriod {
648
+ ...PeriodFields
649
+ }
650
+ }
651
+ ${QuantityFieldsFragmentDoc}
652
+ ${CodeableConceptFieldsFragmentDoc}
653
+ ${RatioFieldsFragmentDoc}
654
+ ${RangeFieldsFragmentDoc}
655
+ ${PeriodFieldsFragmentDoc}`;
656
+ export const ReferenceRangeFieldsFragmentDoc = `
657
+ fragment ReferenceRangeFields on ReferenceRange {
658
+ low {
659
+ ...QuantityFields
660
+ }
661
+ high {
662
+ ...QuantityFields
663
+ }
664
+ text
665
+ }
666
+ ${QuantityFieldsFragmentDoc}`;
667
+ export const ComponentFieldsFragmentDoc = `
668
+ fragment ComponentFields on Component {
669
+ code {
670
+ ...CodeableConceptFields
671
+ }
672
+ value {
673
+ ...ValueFields
674
+ }
675
+ referenceRange {
676
+ ...ReferenceRangeFields
677
+ }
678
+ interpretation {
679
+ ...CodeableConceptFields
680
+ }
681
+ dataAbsentReason {
682
+ ...CodeableConceptFields
683
+ }
684
+ }
685
+ ${CodeableConceptFieldsFragmentDoc}
686
+ ${ValueFieldsFragmentDoc}
687
+ ${ReferenceRangeFieldsFragmentDoc}`;
688
+ export const LocationFieldsFragmentDoc = `
689
+ fragment LocationFields on Location {
690
+ name
691
+ identifier {
692
+ ...IdentifierFields
693
+ }
694
+ alias
695
+ description
696
+ address {
697
+ ...AddressFields
698
+ }
699
+ position {
700
+ lat
701
+ lon
702
+ }
703
+ distanceInMiles
704
+ telecom {
705
+ system
706
+ value
707
+ rank
708
+ }
709
+ type {
710
+ ...CodeableConceptFields
711
+ }
712
+ }
713
+ ${IdentifierFieldsFragmentDoc}
714
+ ${AddressFieldsFragmentDoc}
715
+ ${CodeableConceptFieldsFragmentDoc}`;
716
+ export const ParticipantFieldsFragmentDoc = `
717
+ fragment ParticipantFields on Participant {
718
+ individual {
719
+ id
720
+ name {
721
+ ...HumanNameFields
722
+ }
723
+ identifier {
724
+ ...IdentifierFields
725
+ }
726
+ }
727
+ type {
728
+ ...CodeableConceptFields
729
+ }
730
+ period {
731
+ ...PeriodFields
732
+ }
733
+ }
734
+ ${HumanNameFieldsFragmentDoc}
735
+ ${IdentifierFieldsFragmentDoc}
736
+ ${CodeableConceptFieldsFragmentDoc}
737
+ ${PeriodFieldsFragmentDoc}`;
738
+ export const RecorderFieldsFragmentDoc = `
739
+ fragment RecorderFields on Recorder {
740
+ __typename
741
+ ... on Patient {
742
+ name {
743
+ ...HumanNameFields
744
+ }
745
+ }
746
+ ... on Practitioner {
747
+ name {
748
+ ...HumanNameFields
749
+ }
750
+ identifier {
751
+ ...IdentifierFields
752
+ }
753
+ }
754
+ }
755
+ ${HumanNameFieldsFragmentDoc}
756
+ ${IdentifierFieldsFragmentDoc}`;
757
+ export const ConditionFieldsFragmentDoc = `
758
+ fragment ConditionFields on ConditionResource {
759
+ id
760
+ meta {
761
+ ...MetaFields
762
+ }
763
+ code {
764
+ ...CodeableConceptFields
765
+ }
766
+ clinicalStatus {
767
+ ...CodeableConceptFields
768
+ }
769
+ onsetDateTime
770
+ recordedDate
771
+ recorder {
772
+ ...RecorderFields
773
+ }
774
+ note {
775
+ authorString
776
+ time
777
+ text
778
+ }
779
+ onsetPeriod {
780
+ ...PeriodFields
781
+ }
782
+ abatementDateTime
783
+ abatementPeriod {
784
+ ...PeriodFields
785
+ }
786
+ category {
787
+ ...CodeableConceptFields
788
+ }
789
+ severity {
790
+ ...CodeableConceptFields
791
+ }
792
+ verificationStatus {
793
+ ...CodeableConceptFields
794
+ }
795
+ bodySite {
796
+ ...CodeableConceptFields
797
+ }
798
+ }
799
+ ${MetaFieldsFragmentDoc}
800
+ ${CodeableConceptFieldsFragmentDoc}
801
+ ${RecorderFieldsFragmentDoc}
802
+ ${PeriodFieldsFragmentDoc}`;
803
+ export const EncounterFieldsFragmentDoc = `
804
+ fragment EncounterFields on EncounterResource {
805
+ meta {
806
+ ...MetaFields
807
+ }
808
+ id
809
+ resourceType
810
+ text {
811
+ ...NarrativeFields
812
+ }
813
+ encounterLocations: locations {
814
+ location {
815
+ ...LocationFields
816
+ }
817
+ status
818
+ physicalType {
819
+ ...CodeableConceptFields
820
+ }
821
+ period {
822
+ ...PeriodFields
823
+ }
824
+ }
825
+ identifier {
826
+ ...IdentifierFields
827
+ }
828
+ type {
829
+ ...CodeableConceptFields
830
+ }
831
+ status {
832
+ display
833
+ code
834
+ }
835
+ participant {
836
+ ...ParticipantFields
837
+ }
838
+ period {
839
+ ...PeriodFields
840
+ }
841
+ reasonCode {
842
+ ...CodeableConceptFields
843
+ }
844
+ class {
845
+ system
846
+ code
847
+ display
848
+ }
849
+ location {
850
+ ...LocationFields
851
+ }
852
+ serviceProvider {
853
+ name
854
+ endpoint {
855
+ name
856
+ status
857
+ connectionType {
858
+ system
859
+ code
860
+ display
861
+ }
862
+ address
863
+ }
864
+ }
865
+ subject {
866
+ id
867
+ name {
868
+ ...HumanNameFields
869
+ }
870
+ gender
871
+ birthDate
872
+ communication {
873
+ language {
874
+ ...CodeableConceptFields
875
+ }
876
+ }
877
+ }
878
+ reasonReference {
879
+ ...ConditionFields
880
+ }
881
+ hospitalization {
882
+ dischargeDisposition {
883
+ ...CodeableConceptFields
884
+ }
885
+ }
886
+ }
887
+ ${MetaFieldsFragmentDoc}
888
+ ${NarrativeFieldsFragmentDoc}
889
+ ${LocationFieldsFragmentDoc}
890
+ ${CodeableConceptFieldsFragmentDoc}
891
+ ${PeriodFieldsFragmentDoc}
892
+ ${IdentifierFieldsFragmentDoc}
893
+ ${ParticipantFieldsFragmentDoc}
894
+ ${HumanNameFieldsFragmentDoc}
895
+ ${ConditionFieldsFragmentDoc}`;
896
+ export const ActorFieldsFragmentDoc = `
897
+ fragment ActorFields on Actor {
898
+ __typename
899
+ ... on Practitioner {
900
+ name {
901
+ ...HumanNameFields
902
+ }
903
+ identifier {
904
+ ...IdentifierFields
905
+ }
906
+ }
907
+ ... on Patient {
908
+ name {
909
+ ...HumanNameFields
910
+ }
911
+ }
912
+ ... on Organization {
913
+ organizationName: name
78
914
  }
79
915
  }
80
- ${QuantityFieldsFragmentDoc}`;
81
- export const PeriodFieldsFragmentDoc = `
82
- fragment PeriodFields on Period {
83
- start
84
- end
916
+ ${HumanNameFieldsFragmentDoc}
917
+ ${IdentifierFieldsFragmentDoc}`;
918
+ export const PerformerFieldsFragmentDoc = `
919
+ fragment PerformerFields on Performer {
920
+ actor {
921
+ ...ActorFields
922
+ }
85
923
  }
86
- `;
87
- export const ValueFieldsFragmentDoc = `
88
- fragment ValueFields on Value {
89
- valueQuantity {
90
- ...QuantityFields
924
+ ${ActorFieldsFragmentDoc}`;
925
+ export const SpecimenResourceFieldsFragmentDoc = `
926
+ fragment SpecimenResourceFields on SpecimenResource {
927
+ identifier {
928
+ ...IdentifierFields
91
929
  }
92
- valueCodeableConcept {
930
+ accessionIdentifier {
931
+ ...IdentifierFields
932
+ }
933
+ type {
93
934
  ...CodeableConceptFields
94
935
  }
95
- valueString
96
- valueBoolean
97
- valueInteger
98
- valueRatio {
99
- ...RatioFields
936
+ }
937
+ ${IdentifierFieldsFragmentDoc}
938
+ ${CodeableConceptFieldsFragmentDoc}`;
939
+ export const ObservationFieldsFragmentDoc = `
940
+ fragment ObservationFields on ObservationResource {
941
+ id
942
+ meta {
943
+ ...MetaFields
100
944
  }
101
- valueRange {
102
- ...RangeFields
945
+ resourceType
946
+ text {
947
+ ...NarrativeFields
103
948
  }
104
- valueTime
105
- valueDateTime
106
- valuePeriod {
107
- ...PeriodFields
949
+ identifier {
950
+ ...IdentifierFields
108
951
  }
109
- }
110
- ${QuantityFieldsFragmentDoc}
111
- ${CodeableConceptFieldsFragmentDoc}
112
- ${RatioFieldsFragmentDoc}
113
- ${RangeFieldsFragmentDoc}
114
- ${PeriodFieldsFragmentDoc}`;
115
- export const ReferenceRangeFieldsFragmentDoc = `
116
- fragment ReferenceRangeFields on ReferenceRange {
117
- low {
118
- ...QuantityFields
952
+ subject {
953
+ __typename
954
+ ... on Patient {
955
+ name {
956
+ ...HumanNameFields
957
+ }
958
+ }
119
959
  }
120
- high {
121
- ...QuantityFields
960
+ issued
961
+ basedOn {
962
+ ...ObservationBasedOnFields
122
963
  }
123
- text
124
- }
125
- ${QuantityFieldsFragmentDoc}`;
126
- export const ComponentFieldsFragmentDoc = `
127
- fragment ComponentFields on Component {
128
964
  code {
129
965
  ...CodeableConceptFields
130
966
  }
967
+ category {
968
+ ...CodeableConceptFields
969
+ }
131
970
  value {
132
971
  ...ValueFields
133
972
  }
@@ -137,38 +976,80 @@ export const ComponentFieldsFragmentDoc = `
137
976
  interpretation {
138
977
  ...CodeableConceptFields
139
978
  }
979
+ component {
980
+ ...ComponentFields
981
+ }
982
+ effectiveDateTime
983
+ effectivePeriod {
984
+ ...PeriodFields
985
+ }
986
+ note {
987
+ authorString
988
+ time
989
+ text
990
+ }
991
+ encounter {
992
+ ...EncounterFields
993
+ }
994
+ performer {
995
+ ...PerformerFields
996
+ }
997
+ hasMember {
998
+ ... on ObservationResource {
999
+ id
1000
+ code {
1001
+ ...CodeableConceptFields
1002
+ }
1003
+ }
1004
+ }
1005
+ specimen {
1006
+ ...SpecimenResourceFields
1007
+ }
1008
+ status {
1009
+ display
1010
+ code
1011
+ }
140
1012
  dataAbsentReason {
141
1013
  ...CodeableConceptFields
142
1014
  }
143
1015
  }
144
- ${CodeableConceptFieldsFragmentDoc}
1016
+ ${MetaFieldsFragmentDoc}
1017
+ ${NarrativeFieldsFragmentDoc}
1018
+ ${IdentifierFieldsFragmentDoc}
1019
+ ${HumanNameFieldsFragmentDoc}
1020
+ ${ObservationBasedOnFieldsFragmentDoc}
1021
+ ${CodeableConceptFieldsFragmentDoc}
145
1022
  ${ValueFieldsFragmentDoc}
146
- ${ReferenceRangeFieldsFragmentDoc}`;
147
- export const NarrativeFieldsFragmentDoc = `
148
- fragment NarrativeFields on Narrative {
149
- div
150
- status
151
- }
152
- `;
153
- export const HumanNameFieldsFragmentDoc = `
154
- fragment HumanNameFields on HumanName {
155
- text
156
- family
157
- given
158
- prefix
159
- suffix
160
- }
161
- `;
162
- export const IdentifierFieldsFragmentDoc = `
163
- fragment IdentifierFields on Identifier {
164
- id
165
- type {
1023
+ ${ReferenceRangeFieldsFragmentDoc}
1024
+ ${ComponentFieldsFragmentDoc}
1025
+ ${PeriodFieldsFragmentDoc}
1026
+ ${EncounterFieldsFragmentDoc}
1027
+ ${PerformerFieldsFragmentDoc}
1028
+ ${SpecimenResourceFieldsFragmentDoc}`;
1029
+ export const ReactionFieldsFragmentDoc = `
1030
+ fragment ReactionFields on Reaction {
1031
+ description
1032
+ manifestation {
166
1033
  ...CodeableConceptFields
167
1034
  }
168
- system
169
- value
1035
+ onset
1036
+ severity {
1037
+ code
1038
+ display
1039
+ }
1040
+ note {
1041
+ authorString
1042
+ time
1043
+ text
1044
+ }
1045
+ date
1046
+ detail {
1047
+ ...ObservationFields
1048
+ }
1049
+ reported
170
1050
  }
171
- ${CodeableConceptFieldsFragmentDoc}`;
1051
+ ${CodeableConceptFieldsFragmentDoc}
1052
+ ${ObservationFieldsFragmentDoc}`;
172
1053
  export const PractitionerFieldsFragmentDoc = `
173
1054
  fragment PractitionerFields on Practitioner {
174
1055
  id
@@ -181,36 +1062,44 @@ export const PractitionerFieldsFragmentDoc = `
181
1062
  }
182
1063
  ${HumanNameFieldsFragmentDoc}
183
1064
  ${IdentifierFieldsFragmentDoc}`;
184
- export const ReactionFieldsFragmentDoc = `
185
- fragment ReactionFields on AllergyIntoleranceReaction {
186
- id
187
- onset
188
- severity
189
- description
190
- manifestation {
191
- ...CodeableConceptFields
192
- }
193
- note {
194
- id
195
- authorString
196
- time
197
- text
1065
+ export const CareTeamParticipantFieldsFragmentDoc = `
1066
+ fragment CareTeamParticipantFields on CareTeamParticipant {
1067
+ member {
1068
+ __typename
1069
+ ... on Organization {
1070
+ id
1071
+ organizationName: name
1072
+ alias
1073
+ meta {
1074
+ ...MetaFields
1075
+ }
1076
+ }
1077
+ ... on Practitioner {
1078
+ ...PractitionerFields
1079
+ }
198
1080
  }
199
1081
  }
200
- ${CodeableConceptFieldsFragmentDoc}`;
201
- export const MetaFieldsFragmentDoc = `
202
- fragment MetaFields on Meta {
203
- versionId
204
- lastUpdated
205
- source
206
- security {
207
- ...CodingFields
1082
+ ${MetaFieldsFragmentDoc}
1083
+ ${PractitionerFieldsFragmentDoc}`;
1084
+ export const AsserterFieldsFragmentDoc = `
1085
+ fragment AsserterFields on Asserter {
1086
+ __typename
1087
+ ... on Patient {
1088
+ name {
1089
+ ...HumanNameFields
1090
+ }
208
1091
  }
209
- tag {
210
- ...CodingFields
1092
+ ... on Practitioner {
1093
+ name {
1094
+ ...HumanNameFields
1095
+ }
1096
+ identifier {
1097
+ ...IdentifierFields
1098
+ }
211
1099
  }
212
1100
  }
213
- ${CodingFieldsFragmentDoc}`;
1101
+ ${HumanNameFieldsFragmentDoc}
1102
+ ${IdentifierFieldsFragmentDoc}`;
214
1103
  export const QuestionnaireResponseItemFieldsFragmentDoc = `
215
1104
  fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {
216
1105
  linkId
@@ -454,6 +1343,20 @@ export const QuestionnaireFieldsFragmentDoc = `
454
1343
  }
455
1344
  name
456
1345
  title
1346
+ useContext {
1347
+ id
1348
+ code {
1349
+ ...CodingFields
1350
+ }
1351
+ valueReference {
1352
+ id
1353
+ reference
1354
+ identifier {
1355
+ ...IdentifierFields
1356
+ }
1357
+ display
1358
+ }
1359
+ }
457
1360
  status
458
1361
  description
459
1362
  item {
@@ -468,6 +1371,7 @@ export const QuestionnaireFieldsFragmentDoc = `
468
1371
  }
469
1372
  ${MetaFieldsFragmentDoc}
470
1373
  ${IdentifierFieldsFragmentDoc}
1374
+ ${CodingFieldsFragmentDoc}
471
1375
  ${QuestionnaireItemFieldsFragmentDoc}`;
472
1376
  export const QuestionnaireResponseFieldsFragmentDoc = `
473
1377
  fragment QuestionnaireResponseFields on QuestionnaireResponse {
@@ -493,11 +1397,67 @@ export const QuestionnaireResponseFieldsFragmentDoc = `
493
1397
  contained {
494
1398
  ...QuestionnaireFields
495
1399
  }
1400
+ subject {
1401
+ reference
1402
+ type
1403
+ display
1404
+ }
496
1405
  }
497
1406
  ${MetaFieldsFragmentDoc}
498
1407
  ${IdentifierFieldsFragmentDoc}
499
1408
  ${QuestionnaireResponseItemFieldsFragmentDoc}
500
1409
  ${QuestionnaireFieldsFragmentDoc}`;
1410
+ export const GetTasksDocument = `
1411
+ query getTasks($request: TaskRequest) {
1412
+ getTasks(request: $request) {
1413
+ paging_info {
1414
+ ...PagingFields
1415
+ }
1416
+ resources {
1417
+ id
1418
+ meta {
1419
+ ...MetaFields
1420
+ }
1421
+ identifier {
1422
+ id
1423
+ system
1424
+ value
1425
+ }
1426
+ code {
1427
+ ...CodeableConceptFields
1428
+ }
1429
+ instantiatesCanonical
1430
+ description
1431
+ executionPeriod {
1432
+ ...PeriodFields
1433
+ }
1434
+ status {
1435
+ code
1436
+ display
1437
+ }
1438
+ lastModified
1439
+ for {
1440
+ reference
1441
+ }
1442
+ extension {
1443
+ ...ExtensionFields
1444
+ }
1445
+ }
1446
+ }
1447
+ }
1448
+ ${PagingFieldsFragmentDoc}
1449
+ ${MetaFieldsFragmentDoc}
1450
+ ${CodeableConceptFieldsFragmentDoc}
1451
+ ${PeriodFieldsFragmentDoc}
1452
+ ${ExtensionFieldsFragmentDoc}`;
1453
+ export const TaskUpdateStatusDocument = `
1454
+ mutation taskUpdateStatus($taskId: String!, $newStatus: TaskStatus!) {
1455
+ taskUpdateStatus(input: {taskId: $taskId, newStatus: $newStatus}) {
1456
+ id
1457
+ status
1458
+ }
1459
+ }
1460
+ `;
501
1461
  export const CreateConnectionDocument = `
502
1462
  mutation createConnection($connectionId: String!, $username: String!, $password: String!) {
503
1463
  createConnection(
@@ -510,46 +1470,170 @@ export const CreateConnectionDocument = `
510
1470
  name
511
1471
  category
512
1472
  type
1473
+ isDirect
1474
+ syncStatus
1475
+ statusUpdated
1476
+ lastSynced
1477
+ created
1478
+ }
1479
+ }
1480
+ `;
1481
+ export const DeleteConnectionDocument = `
1482
+ mutation deleteConnection($connectionId: String!) {
1483
+ deleteConnection(connectionId: $connectionId) {
1484
+ status
1485
+ statusUpdated
1486
+ }
1487
+ }
1488
+ `;
1489
+ export const DisconnectConnectionDocument = `
1490
+ mutation disconnectConnection($connectionId: String!) {
1491
+ disconnectConnection(connectionId: $connectionId) {
1492
+ status
1493
+ statusUpdated
1494
+ }
1495
+ }
1496
+ `;
1497
+ export const GetDataSourceDocument = `
1498
+ query getDataSource($connectionId: String!) {
1499
+ getDataSource(connectionId: $connectionId) {
1500
+ id
1501
+ name
1502
+ category
1503
+ type
1504
+ isDirect
1505
+ }
1506
+ }
1507
+ `;
1508
+ export const GetMemberConnectionsDocument = `
1509
+ query getMemberConnections {
1510
+ getMemberConnections {
1511
+ id
1512
+ name
1513
+ category
1514
+ type
1515
+ status
513
1516
  syncStatus
514
1517
  statusUpdated
515
1518
  lastSynced
516
1519
  created
1520
+ isDirect
1521
+ }
1522
+ subscription_subscription {
1523
+ entry {
1524
+ resource {
1525
+ service_slug
1526
+ subscriptionStatus {
1527
+ error {
1528
+ ...CodeableConceptFields
1529
+ }
1530
+ extension {
1531
+ id
1532
+ url
1533
+ valueString
1534
+ }
1535
+ }
1536
+ }
1537
+ }
517
1538
  }
518
1539
  }
519
- `;
520
- export const DeleteConnectionDocument = `
521
- mutation deleteConnection($connectionId: String!) {
522
- deleteConnection(connectionId: $connectionId) {
523
- status
524
- statusUpdated
1540
+ ${CodeableConceptFieldsFragmentDoc}`;
1541
+ export const GetOauthUrlDocument = `
1542
+ query getOauthUrl($connectionId: String!) {
1543
+ getOauthUrl(connectionId: $connectionId) {
1544
+ redirectUrl
525
1545
  }
526
1546
  }
527
1547
  `;
528
- export const DisconnectConnectionDocument = `
529
- mutation disconnectConnection($connectionId: String!) {
530
- disconnectConnection(connectionId: $connectionId) {
531
- status
532
- statusUpdated
1548
+ export const UpdateDeviceRegistrationDocument = `
1549
+ mutation updateDeviceRegistration($deviceToken: String!, $platformName: String!, $applicationName: String!, $notificationPreference: Boolean!) {
1550
+ updateDeviceRegistration(
1551
+ input: {deviceToken: $deviceToken, platform: $platformName, applicationName: $applicationName, notificationPreference: $notificationPreference}
1552
+ ) {
1553
+ id
533
1554
  }
534
1555
  }
535
1556
  `;
536
- export const GetDataSourceDocument = `
537
- query getDataSource($connectionId: String!) {
538
- getDataSource(connectionId: $connectionId) {
1557
+ export const PublishEventDocument = `
1558
+ mutation publishEvent($eventType: EventType!, $messageId: String, $notificationId: String) {
1559
+ publishEvent(
1560
+ input: {eventType: $eventType, campaignId: $notificationId, messageId: $messageId}
1561
+ ) {
539
1562
  id
540
- name
541
- category
542
- type
543
1563
  }
544
1564
  }
545
1565
  `;
546
- export const GetOauthUrlDocument = `
547
- query getOauthUrl($connectionId: String!) {
548
- getOauthUrl(connectionId: $connectionId) {
549
- redirectUrl
1566
+ export const GetBinaryDocument = `
1567
+ query getBinary($request: BinaryRequest!) {
1568
+ getBinary(request: $request) {
1569
+ paging_info {
1570
+ ...PagingFields
1571
+ }
1572
+ resources {
1573
+ resourceType
1574
+ id
1575
+ data
1576
+ contentType
1577
+ }
550
1578
  }
551
1579
  }
552
- `;
1580
+ ${PagingFieldsFragmentDoc}`;
1581
+ export const GetFhirDocument = `
1582
+ query getFHIR($request: ResourceRequest!) {
1583
+ getFHIR(request: $request) {
1584
+ paging_info {
1585
+ ...PagingFields
1586
+ }
1587
+ resources
1588
+ }
1589
+ }
1590
+ ${PagingFieldsFragmentDoc}`;
1591
+ export const GetDiagnosticReportsDocument = `
1592
+ query getDiagnosticReports($_count: Int, $_getpagesoffset: Int, $id: SearchString) {
1593
+ diagnosticReports(_count: $_count, _getpagesoffset: $_getpagesoffset, id: $id) {
1594
+ entry {
1595
+ resource {
1596
+ id
1597
+ meta {
1598
+ ...MetaFields
1599
+ }
1600
+ basedOn {
1601
+ reference
1602
+ display
1603
+ }
1604
+ category {
1605
+ ...CodeableConceptFields
1606
+ }
1607
+ code {
1608
+ ...CodeableConceptFields
1609
+ }
1610
+ effectiveDateTime
1611
+ encounter {
1612
+ reference
1613
+ display
1614
+ }
1615
+ issued
1616
+ performer {
1617
+ reference
1618
+ display
1619
+ }
1620
+ presentedForm {
1621
+ data
1622
+ }
1623
+ resourceType
1624
+ result {
1625
+ ... on DiagnosticReportResultReference {
1626
+ display
1627
+ reference
1628
+ }
1629
+ }
1630
+ status
1631
+ }
1632
+ }
1633
+ }
1634
+ }
1635
+ ${MetaFieldsFragmentDoc}
1636
+ ${CodeableConceptFieldsFragmentDoc}`;
553
1637
  export const GetAllergyIntoleranceGroupsDocument = `
554
1638
  query getAllergyIntoleranceGroups($request: AllergyIntoleranceGroupQueryRequest) {
555
1639
  getAllergyIntoleranceGroups(request: $request) {
@@ -576,78 +1660,84 @@ export const GetAllergyIntoleranceGroupsDocument = `
576
1660
  ${PagingFieldsFragmentDoc}
577
1661
  ${CodingFieldsFragmentDoc}`;
578
1662
  export const GetAllergyIntolerancesDocument = `
579
- query getAllergyIntolerances($page: Int, $pageSize: Int, $code: SearchToken, $lastUpdated: SearchDate) {
580
- allergyIntolerances(
581
- _count: $pageSize
582
- _getpagesoffset: $page
583
- code: $code
584
- _lastUpdated: $lastUpdated
585
- ) {
586
- id
587
- entry {
1663
+ query getAllergyIntolerances($request: AllergyIntolerancesRequest) {
1664
+ getAllergyIntolerances(request: $request) {
1665
+ paging_info {
1666
+ ...PagingFields
1667
+ }
1668
+ resources {
1669
+ resourceType
588
1670
  id
589
- resource {
590
- id
591
- meta {
592
- ...MetaFields
593
- }
594
- resourceType
595
- category
596
- code {
597
- id
598
- text
599
- coding {
600
- id
601
- system
602
- display
603
- code
604
- }
605
- }
606
- criticality
607
- onsetDateTime
608
- onsetPeriod {
609
- start
610
- end
611
- }
612
- text {
613
- ...NarrativeFields
614
- }
615
- type
616
- recorder {
617
- id
618
- reference
619
- type
620
- resource {
621
- ... on Practitioner {
622
- ...PractitionerFields
623
- }
624
- }
625
- }
626
- lastOccurrence
627
- reaction {
628
- ...ReactionFields
1671
+ meta {
1672
+ ...MetaFields
1673
+ }
1674
+ category {
1675
+ code
1676
+ display
1677
+ }
1678
+ code {
1679
+ coding {
1680
+ system
1681
+ code
1682
+ display
629
1683
  }
630
- recordedDate
631
- note {
632
- authorString
633
- time
634
- text
1684
+ text
1685
+ }
1686
+ criticality {
1687
+ code
1688
+ display
1689
+ }
1690
+ onsetDateTime
1691
+ onsetPeriod {
1692
+ start
1693
+ end
1694
+ }
1695
+ text {
1696
+ ...NarrativeFields
1697
+ }
1698
+ typeCoding {
1699
+ code
1700
+ display
1701
+ }
1702
+ recorder {
1703
+ ... on Practitioner {
1704
+ ...PractitionerFields
635
1705
  }
636
- verificationStatus {
637
- ...CodeableConceptFields
1706
+ }
1707
+ lastOccurrence
1708
+ reaction {
1709
+ ...ReactionFields
1710
+ }
1711
+ recordedDate
1712
+ note {
1713
+ authorString
1714
+ time
1715
+ text
1716
+ }
1717
+ verificationStatus {
1718
+ coding {
1719
+ system
1720
+ code
1721
+ display
638
1722
  }
639
- clinicalStatus {
640
- ...CodeableConceptFields
1723
+ text
1724
+ }
1725
+ clinicalStatus {
1726
+ coding {
1727
+ system
1728
+ code
1729
+ display
641
1730
  }
1731
+ text
642
1732
  }
643
1733
  }
644
1734
  }
645
1735
  }
646
- ${MetaFieldsFragmentDoc}
1736
+ ${PagingFieldsFragmentDoc}
1737
+ ${MetaFieldsFragmentDoc}
647
1738
  ${NarrativeFieldsFragmentDoc}
648
1739
  ${PractitionerFieldsFragmentDoc}
649
- ${ReactionFieldsFragmentDoc}
650
- ${CodeableConceptFieldsFragmentDoc}`;
1740
+ ${ReactionFieldsFragmentDoc}`;
651
1741
  export const GetCarePlanGroupsDocument = `
652
1742
  query getCarePlanGroups($request: CarePlanGroupQueryRequest) {
653
1743
  getCarePlanGroups(request: $request) {
@@ -672,6 +1762,100 @@ export const GetCarePlanGroupsDocument = `
672
1762
  ${PagingFieldsFragmentDoc}
673
1763
  ${CodingFieldsFragmentDoc}
674
1764
  ${PeriodFieldsFragmentDoc}`;
1765
+ export const GetCarePlansDocument = `
1766
+ query getCarePlans($request: CarePlanRequest) {
1767
+ getCarePlans(request: $request) {
1768
+ paging_info {
1769
+ ...PagingFields
1770
+ }
1771
+ resources {
1772
+ meta {
1773
+ ...MetaFields
1774
+ }
1775
+ id
1776
+ title
1777
+ resourceType
1778
+ description
1779
+ encounter {
1780
+ ...EncounterFields
1781
+ }
1782
+ addresses {
1783
+ ...ConditionFields
1784
+ }
1785
+ identifier {
1786
+ ...IdentifierFields
1787
+ }
1788
+ category {
1789
+ ...CodeableConceptFields
1790
+ }
1791
+ text {
1792
+ ...NarrativeFields
1793
+ }
1794
+ status {
1795
+ display
1796
+ code
1797
+ }
1798
+ intent {
1799
+ display
1800
+ code
1801
+ }
1802
+ subject {
1803
+ _resourceType
1804
+ id
1805
+ }
1806
+ period {
1807
+ ...PeriodFields
1808
+ }
1809
+ created
1810
+ activity {
1811
+ ...ActivityFields
1812
+ }
1813
+ note {
1814
+ authorString
1815
+ time
1816
+ text
1817
+ }
1818
+ }
1819
+ }
1820
+ }
1821
+ ${PagingFieldsFragmentDoc}
1822
+ ${MetaFieldsFragmentDoc}
1823
+ ${EncounterFieldsFragmentDoc}
1824
+ ${ConditionFieldsFragmentDoc}
1825
+ ${IdentifierFieldsFragmentDoc}
1826
+ ${CodeableConceptFieldsFragmentDoc}
1827
+ ${NarrativeFieldsFragmentDoc}
1828
+ ${PeriodFieldsFragmentDoc}
1829
+ ${ActivityFieldsFragmentDoc}`;
1830
+ export const GetCareTeamsDocument = `
1831
+ query getCareTeams($request: CareTeamRequest) {
1832
+ getCareTeams(request: $request) {
1833
+ paging_info {
1834
+ ...PagingFields
1835
+ }
1836
+ resources {
1837
+ id
1838
+ name
1839
+ meta {
1840
+ ...MetaFields
1841
+ }
1842
+ identifier {
1843
+ ...IdentifierFields
1844
+ }
1845
+ category {
1846
+ ...CodeableConceptFields
1847
+ }
1848
+ participant {
1849
+ ...CareTeamParticipantFields
1850
+ }
1851
+ }
1852
+ }
1853
+ }
1854
+ ${PagingFieldsFragmentDoc}
1855
+ ${MetaFieldsFragmentDoc}
1856
+ ${IdentifierFieldsFragmentDoc}
1857
+ ${CodeableConceptFieldsFragmentDoc}
1858
+ ${CareTeamParticipantFieldsFragmentDoc}`;
675
1859
  export const GetConditionGroupsDocument = `
676
1860
  query getConditionGroups($request: ConditionGroupQueryRequest) {
677
1861
  getConditionGroups(request: $request) {
@@ -693,6 +1877,99 @@ export const GetConditionGroupsDocument = `
693
1877
  }
694
1878
  ${PagingFieldsFragmentDoc}
695
1879
  ${CodingFieldsFragmentDoc}`;
1880
+ export const GetConditionsDocument = `
1881
+ query getConditions($request: ConditionRequest) {
1882
+ getConditions(request: $request) {
1883
+ paging_info {
1884
+ ...PagingFields
1885
+ }
1886
+ resources {
1887
+ resourceType
1888
+ identifier {
1889
+ ...IdentifierFields
1890
+ }
1891
+ text {
1892
+ ...NarrativeFields
1893
+ }
1894
+ extension {
1895
+ id
1896
+ url
1897
+ valueCodeableConcept {
1898
+ ...CodeableConceptFields
1899
+ }
1900
+ valueString
1901
+ valueInteger
1902
+ valueDateTime
1903
+ }
1904
+ id
1905
+ meta {
1906
+ ...MetaFields
1907
+ }
1908
+ code {
1909
+ ...CodeableConceptFields
1910
+ }
1911
+ clinicalStatus {
1912
+ ...CodeableConceptFields
1913
+ }
1914
+ onsetDateTime
1915
+ recordedDate
1916
+ recorder {
1917
+ ...RecorderFields
1918
+ }
1919
+ note {
1920
+ authorString
1921
+ time
1922
+ text
1923
+ }
1924
+ onsetPeriod {
1925
+ ...PeriodFields
1926
+ }
1927
+ abatementDateTime
1928
+ abatementPeriod {
1929
+ ...PeriodFields
1930
+ }
1931
+ subject {
1932
+ __typename
1933
+ ... on Patient {
1934
+ name {
1935
+ ...HumanNameFields
1936
+ }
1937
+ }
1938
+ }
1939
+ category {
1940
+ ...CodeableConceptFields
1941
+ }
1942
+ severity {
1943
+ ...CodeableConceptFields
1944
+ }
1945
+ verificationStatus {
1946
+ ...CodeableConceptFields
1947
+ }
1948
+ bodySite {
1949
+ ...CodeableConceptFields
1950
+ }
1951
+ asserter {
1952
+ ... on Practitioner {
1953
+ name {
1954
+ ...HumanNameFields
1955
+ }
1956
+ }
1957
+ }
1958
+ encounter {
1959
+ ...EncounterFields
1960
+ }
1961
+ }
1962
+ }
1963
+ }
1964
+ ${PagingFieldsFragmentDoc}
1965
+ ${IdentifierFieldsFragmentDoc}
1966
+ ${NarrativeFieldsFragmentDoc}
1967
+ ${CodeableConceptFieldsFragmentDoc}
1968
+ ${MetaFieldsFragmentDoc}
1969
+ ${RecorderFieldsFragmentDoc}
1970
+ ${PeriodFieldsFragmentDoc}
1971
+ ${HumanNameFieldsFragmentDoc}
1972
+ ${EncounterFieldsFragmentDoc}`;
696
1973
  export const GetDiagnosticReportLabGroupsDocument = `
697
1974
  query getDiagnosticReportLabGroups($request: DiagnosticReportLabGroupQueryRequest) {
698
1975
  getDiagnosticReportLabGroups(request: $request) {
@@ -716,6 +1993,19 @@ export const GetDiagnosticReportLabGroupsDocument = `
716
1993
  }
717
1994
  ${CodingFieldsFragmentDoc}
718
1995
  ${PagingFieldsFragmentDoc}`;
1996
+ export const GetDocumentReferencesDocument = `
1997
+ query getDocumentReferences($request: DocumentReferenceRequest) {
1998
+ getDocumentReferences(request: $request) {
1999
+ paging_info {
2000
+ ...PagingFields
2001
+ }
2002
+ resources {
2003
+ ...DocumentReferenceFields
2004
+ }
2005
+ }
2006
+ }
2007
+ ${PagingFieldsFragmentDoc}
2008
+ ${DocumentReferenceFieldsFragmentDoc}`;
719
2009
  export const GetEncountersGroupDocument = `
720
2010
  query getEncountersGroup($request: EncounterGroupQueryRequest) {
721
2011
  getEncounterGroups(request: $request) {
@@ -744,6 +2034,29 @@ export const GetEncountersGroupDocument = `
744
2034
  }
745
2035
  ${PagingFieldsFragmentDoc}
746
2036
  ${CodingFieldsFragmentDoc}`;
2037
+ export const GetEncounterQueryDocument = `
2038
+ query getEncounterQuery($request: EncounterRequest) {
2039
+ getEncounters(request: $request) {
2040
+ paging_info {
2041
+ ...PagingFields
2042
+ }
2043
+ resources {
2044
+ ...EncounterFields
2045
+ }
2046
+ }
2047
+ }
2048
+ ${PagingFieldsFragmentDoc}
2049
+ ${EncounterFieldsFragmentDoc}`;
2050
+ export const GetHealthSummaryDocument = `
2051
+ query GetHealthSummary {
2052
+ getHealthSummary {
2053
+ resources {
2054
+ category
2055
+ total
2056
+ }
2057
+ }
2058
+ }
2059
+ `;
747
2060
  export const GetImmunizationGroupsDocument = `
748
2061
  query getImmunizationGroups($request: ImmunizationGroupQueryRequest) {
749
2062
  getImmunizationGroups(request: $request) {
@@ -765,6 +2078,86 @@ export const GetImmunizationGroupsDocument = `
765
2078
  }
766
2079
  ${PagingFieldsFragmentDoc}
767
2080
  ${CodingFieldsFragmentDoc}`;
2081
+ export const GetImmunizationsDocument = `
2082
+ query getImmunizations($request: ImmunizationRequest) {
2083
+ getImmunizations(request: $request) {
2084
+ paging_info {
2085
+ ...PagingFields
2086
+ }
2087
+ resources {
2088
+ resourceType
2089
+ id
2090
+ status {
2091
+ code
2092
+ display
2093
+ }
2094
+ expirationDate
2095
+ identifier {
2096
+ ...IdentifierFields
2097
+ }
2098
+ reportOrigin {
2099
+ ...CodeableConceptFields
2100
+ }
2101
+ text {
2102
+ ...NarrativeFields
2103
+ }
2104
+ meta {
2105
+ ...MetaFields
2106
+ }
2107
+ vaccineCode {
2108
+ ...CodeableConceptFields
2109
+ }
2110
+ statusReason {
2111
+ ...CodeableConceptFields
2112
+ }
2113
+ occurrenceDateTime
2114
+ primarySource
2115
+ doseQuantity {
2116
+ ...QuantityFields
2117
+ }
2118
+ encounter {
2119
+ ...EncounterFields
2120
+ }
2121
+ reaction {
2122
+ ...ReactionFields
2123
+ }
2124
+ protocolApplied {
2125
+ ...ProtocolAppliedFields
2126
+ }
2127
+ manufacturer {
2128
+ ...OrganizationFields
2129
+ }
2130
+ lotNumber
2131
+ site {
2132
+ ...CodeableConceptFields
2133
+ }
2134
+ route {
2135
+ ...CodeableConceptFields
2136
+ }
2137
+ performer {
2138
+ ...PerformerFields
2139
+ }
2140
+ location {
2141
+ ...LocationFields
2142
+ }
2143
+ reasonCode {
2144
+ ...CodeableConceptFields
2145
+ }
2146
+ }
2147
+ }
2148
+ }
2149
+ ${PagingFieldsFragmentDoc}
2150
+ ${IdentifierFieldsFragmentDoc}
2151
+ ${CodeableConceptFieldsFragmentDoc}
2152
+ ${NarrativeFieldsFragmentDoc}
2153
+ ${MetaFieldsFragmentDoc}
2154
+ ${QuantityFieldsFragmentDoc}
2155
+ ${EncounterFieldsFragmentDoc}
2156
+ ${ReactionFieldsFragmentDoc}
2157
+ ${ProtocolAppliedFieldsFragmentDoc}
2158
+ ${OrganizationFieldsFragmentDoc}
2159
+ ${PerformerFieldsFragmentDoc}
2160
+ ${LocationFieldsFragmentDoc}`;
768
2161
  export const GetProcedureGroupsDocument = `
769
2162
  query getProcedureGroups($request: ProcedureGroupQueryRequest) {
770
2163
  getProcedureGroups(request: $request) {
@@ -787,6 +2180,97 @@ export const GetProcedureGroupsDocument = `
787
2180
  }
788
2181
  ${PagingFieldsFragmentDoc}
789
2182
  ${CodingFieldsFragmentDoc}`;
2183
+ export const GetProceduresDocument = `
2184
+ query GetProcedures($request: ProcedureRequest) {
2185
+ getProcedures(request: $request) {
2186
+ paging_info {
2187
+ ...PagingFields
2188
+ }
2189
+ resources {
2190
+ id
2191
+ resourceType
2192
+ identifier {
2193
+ ...IdentifierFields
2194
+ }
2195
+ location {
2196
+ ...LocationFields
2197
+ }
2198
+ subject {
2199
+ __typename
2200
+ ... on Patient {
2201
+ name {
2202
+ ...HumanNameFields
2203
+ }
2204
+ }
2205
+ }
2206
+ recorder {
2207
+ ...RecorderFields
2208
+ }
2209
+ asserter {
2210
+ ...AsserterFields
2211
+ }
2212
+ text {
2213
+ ...NarrativeFields
2214
+ }
2215
+ code {
2216
+ ...CodeableConceptFields
2217
+ }
2218
+ category {
2219
+ ...CodeableConceptFields
2220
+ }
2221
+ meta {
2222
+ ...MetaFields
2223
+ }
2224
+ performedDateTime
2225
+ performedPeriod {
2226
+ ...PeriodFields
2227
+ }
2228
+ performedString
2229
+ performer {
2230
+ ...PerformerFields
2231
+ }
2232
+ encounter {
2233
+ ...EncounterFields
2234
+ }
2235
+ reasonCode {
2236
+ ...CodeableConceptFields
2237
+ }
2238
+ bodySite {
2239
+ ...CodeableConceptFields
2240
+ }
2241
+ outcome {
2242
+ ...CodeableConceptFields
2243
+ }
2244
+ followUp {
2245
+ ...CodeableConceptFields
2246
+ }
2247
+ complication {
2248
+ ...CodeableConceptFields
2249
+ }
2250
+ note {
2251
+ authorString
2252
+ time
2253
+ text
2254
+ }
2255
+ status {
2256
+ code
2257
+ display
2258
+ }
2259
+ }
2260
+ }
2261
+ }
2262
+ ${PagingFieldsFragmentDoc}
2263
+ ${IdentifierFieldsFragmentDoc}
2264
+ ${LocationFieldsFragmentDoc}
2265
+ ${HumanNameFieldsFragmentDoc}
2266
+ ${RecorderFieldsFragmentDoc}
2267
+ ${AsserterFieldsFragmentDoc}
2268
+ ${NarrativeFieldsFragmentDoc}
2269
+ ${CodeableConceptFieldsFragmentDoc}
2270
+ ${MetaFieldsFragmentDoc}
2271
+ ${PeriodFieldsFragmentDoc}
2272
+ ${PerformerFieldsFragmentDoc}
2273
+ ${EncounterFieldsFragmentDoc}`;
790
2274
  export const GetVitalSignGroupsDocument = `
791
2275
  query getVitalSignGroups($request: VitalSignGroupQueryRequest) {
792
2276
  getVitalSignGroups(request: $request) {
@@ -828,6 +2312,19 @@ ${CodingFieldsFragmentDoc}
828
2312
  ${ValueFieldsFragmentDoc}
829
2313
  ${ReferenceRangeFieldsFragmentDoc}
830
2314
  ${ComponentFieldsFragmentDoc}`;
2315
+ export const GetVitalSignsDocument = `
2316
+ query getVitalSigns($request: VitalSignRequest) {
2317
+ getVitalSigns(request: $request) {
2318
+ paging_info {
2319
+ ...PagingFields
2320
+ }
2321
+ resources {
2322
+ ...ObservationFields
2323
+ }
2324
+ }
2325
+ }
2326
+ ${PagingFieldsFragmentDoc}
2327
+ ${ObservationFieldsFragmentDoc}`;
831
2328
  export const GetLabGroupsDocument = `
832
2329
  query getLabGroups($request: LabGroupQueryRequest) {
833
2330
  getLabGroups(request: $request) {
@@ -842,57 +2339,351 @@ export const GetLabGroupsDocument = `
842
2339
  category {
843
2340
  ...CodeableConceptFields
844
2341
  }
845
- coding {
846
- ...CodingFields
2342
+ coding {
2343
+ ...CodingFields
2344
+ }
2345
+ effectiveDateTime
2346
+ referenceRange {
2347
+ ...ReferenceRangeFields
2348
+ }
2349
+ value {
2350
+ ...ValueFields
2351
+ }
2352
+ interpretation {
2353
+ ...CodeableConceptFields
2354
+ }
2355
+ component {
2356
+ ...ComponentFields
2357
+ }
2358
+ references
2359
+ }
2360
+ }
2361
+ }
2362
+ ${PagingFieldsFragmentDoc}
2363
+ ${CodeableConceptFieldsFragmentDoc}
2364
+ ${CodingFieldsFragmentDoc}
2365
+ ${ReferenceRangeFieldsFragmentDoc}
2366
+ ${ValueFieldsFragmentDoc}
2367
+ ${ComponentFieldsFragmentDoc}`;
2368
+ export const GetLabKnowledgeDocument = `
2369
+ query getLabKnowledge($request: LabKnowledgeRequest) {
2370
+ getLabKnowledge(request: $request) {
2371
+ paging_info {
2372
+ ...PagingFields
2373
+ }
2374
+ resources {
2375
+ content
2376
+ }
2377
+ }
2378
+ }
2379
+ ${PagingFieldsFragmentDoc}`;
2380
+ export const GetLabsDocument = `
2381
+ query getLabs($request: LabRequest) {
2382
+ getLabs(request: $request) {
2383
+ paging_info {
2384
+ ...PagingFields
2385
+ }
2386
+ resources {
2387
+ ...ObservationFields
2388
+ }
2389
+ }
2390
+ }
2391
+ ${PagingFieldsFragmentDoc}
2392
+ ${ObservationFieldsFragmentDoc}`;
2393
+ export const GetMedicationDispenseDocument = `
2394
+ query getMedicationDispense($request: MedicationDispenseQueryRequest) {
2395
+ getMedicationDispense(request: $request) {
2396
+ paging_info {
2397
+ ...PagingFields
2398
+ }
2399
+ resources {
2400
+ resourceType
2401
+ id
2402
+ meta {
2403
+ ...MetaFields
2404
+ }
2405
+ status {
2406
+ code
2407
+ display
2408
+ }
2409
+ category {
2410
+ ...CodeableConceptFields
2411
+ }
2412
+ identifier {
2413
+ ...IdentifierFields
2414
+ }
2415
+ medicationCodeableConcept {
2416
+ ...CodeableConceptFields
2417
+ }
2418
+ daysSupply {
2419
+ ...QuantityFields
2420
+ }
2421
+ medicationReference {
2422
+ ...MedicationReferenceFields
2423
+ }
2424
+ medication {
2425
+ ...MedicationReferenceResourceFields
2426
+ }
2427
+ subject {
2428
+ ... on Patient {
2429
+ name {
2430
+ ...HumanNameFields
2431
+ }
2432
+ }
2433
+ }
2434
+ context {
2435
+ ...EncounterFields
2436
+ }
2437
+ performer {
2438
+ ...PerformerFields
2439
+ }
2440
+ type {
2441
+ ...CodeableConceptFields
2442
+ }
2443
+ quantity {
2444
+ ...QuantityFields
2445
+ }
2446
+ location {
2447
+ ...LocationFields
2448
+ }
2449
+ whenPrepared
2450
+ whenHandedOver
2451
+ dosageInstruction {
2452
+ ...DosageFields
2453
+ }
2454
+ authorizingPrescription {
2455
+ reference
2456
+ type
2457
+ }
2458
+ }
2459
+ }
2460
+ }
2461
+ ${PagingFieldsFragmentDoc}
2462
+ ${MetaFieldsFragmentDoc}
2463
+ ${CodeableConceptFieldsFragmentDoc}
2464
+ ${IdentifierFieldsFragmentDoc}
2465
+ ${QuantityFieldsFragmentDoc}
2466
+ ${MedicationReferenceFieldsFragmentDoc}
2467
+ ${MedicationReferenceResourceFieldsFragmentDoc}
2468
+ ${HumanNameFieldsFragmentDoc}
2469
+ ${EncounterFieldsFragmentDoc}
2470
+ ${PerformerFieldsFragmentDoc}
2471
+ ${LocationFieldsFragmentDoc}
2472
+ ${DosageFieldsFragmentDoc}`;
2473
+ export const GetMedicationGroupsDocument = `
2474
+ query getMedicationGroups($request: MedicationGroupQueryRequest) {
2475
+ getMedicationGroups(request: $request) {
2476
+ paging_info {
2477
+ ...PagingFields
2478
+ }
2479
+ resources {
2480
+ id
2481
+ name
2482
+ source
2483
+ sourceDisplay
2484
+ coding {
2485
+ ...CodingFields
2486
+ }
2487
+ references
2488
+ status {
2489
+ code
2490
+ display
2491
+ }
2492
+ authoredOn
2493
+ }
2494
+ }
2495
+ }
2496
+ ${PagingFieldsFragmentDoc}
2497
+ ${CodingFieldsFragmentDoc}`;
2498
+ export const GetMedicationKnowledgeDocument = `
2499
+ query getMedicationKnowledge($request: MedicationKnowledgeRequest) {
2500
+ getMedicationKnowledge(request: $request) {
2501
+ paging_info {
2502
+ ...PagingFields
2503
+ }
2504
+ resources {
2505
+ __typename
2506
+ title
2507
+ content
2508
+ }
2509
+ }
2510
+ }
2511
+ ${PagingFieldsFragmentDoc}`;
2512
+ export const GetMedicationPricingDocument = `
2513
+ query getMedicationPricing($request: MedicationPricingRequest) {
2514
+ getMedicationPricing(request: $request) {
2515
+ resources {
2516
+ pharmacy
2517
+ couponUrl
2518
+ drugUrl
2519
+ price {
2520
+ ...MoneyResourceFields
2521
+ }
2522
+ }
2523
+ }
2524
+ }
2525
+ ${MoneyResourceFieldsFragmentDoc}`;
2526
+ export const GetMedicationRequestDocument = `
2527
+ query getMedicationRequest($request: MedicationRequestQueryRequest) {
2528
+ getMedicationRequest(request: $request) {
2529
+ paging_info {
2530
+ ...PagingFields
2531
+ }
2532
+ resources {
2533
+ resourceType
2534
+ id
2535
+ meta {
2536
+ ...MetaFields
2537
+ }
2538
+ status {
2539
+ code
2540
+ display
2541
+ }
2542
+ category {
2543
+ ...CodeableConceptFields
2544
+ }
2545
+ identifier {
2546
+ ...IdentifierFields
2547
+ }
2548
+ intent {
2549
+ code
2550
+ display
2551
+ }
2552
+ language
2553
+ medicationCodeableConcept {
2554
+ ...CodeableConceptFields
2555
+ }
2556
+ medicationReference {
2557
+ ...MedicationReferenceFields
847
2558
  }
848
- effectiveDateTime
849
- referenceRange {
850
- ...ReferenceRangeFields
2559
+ medication {
2560
+ ...MedicationReferenceResourceFields
851
2561
  }
852
- value {
853
- ...ValueFields
2562
+ text {
2563
+ ...NarrativeFields
854
2564
  }
855
- interpretation {
2565
+ subject {
2566
+ ... on Patient {
2567
+ name {
2568
+ ...HumanNameFields
2569
+ }
2570
+ }
2571
+ }
2572
+ requester {
2573
+ ... on Practitioner {
2574
+ ...PractitionerFields
2575
+ }
2576
+ }
2577
+ recorder {
2578
+ ... on Practitioner {
2579
+ ...PractitionerFields
2580
+ }
2581
+ }
2582
+ encounter {
2583
+ ...EncounterFields
2584
+ }
2585
+ authoredOn
2586
+ dosageInstruction {
2587
+ ...DosageFields
2588
+ }
2589
+ dispenseRequest {
2590
+ ...MedicationDispenseFields
2591
+ }
2592
+ reasonCode {
856
2593
  ...CodeableConceptFields
857
2594
  }
858
- component {
859
- ...ComponentFields
2595
+ courseOfTherapyType {
2596
+ ...CodeableConceptFields
860
2597
  }
861
- references
862
2598
  }
863
2599
  }
864
2600
  }
865
2601
  ${PagingFieldsFragmentDoc}
2602
+ ${MetaFieldsFragmentDoc}
866
2603
  ${CodeableConceptFieldsFragmentDoc}
867
- ${CodingFieldsFragmentDoc}
868
- ${ReferenceRangeFieldsFragmentDoc}
869
- ${ValueFieldsFragmentDoc}
870
- ${ComponentFieldsFragmentDoc}`;
871
- export const GetMedicationGroupsDocument = `
872
- query getMedicationGroups($request: MedicationGroupQueryRequest) {
873
- getMedicationGroups(request: $request) {
2604
+ ${IdentifierFieldsFragmentDoc}
2605
+ ${MedicationReferenceFieldsFragmentDoc}
2606
+ ${MedicationReferenceResourceFieldsFragmentDoc}
2607
+ ${NarrativeFieldsFragmentDoc}
2608
+ ${HumanNameFieldsFragmentDoc}
2609
+ ${PractitionerFieldsFragmentDoc}
2610
+ ${EncounterFieldsFragmentDoc}
2611
+ ${DosageFieldsFragmentDoc}
2612
+ ${MedicationDispenseFieldsFragmentDoc}`;
2613
+ export const GetMedicationStatementsDocument = `
2614
+ query getMedicationStatements($request: MedicationStatementQueryRequest) {
2615
+ getMedicationStatements(request: $request) {
874
2616
  paging_info {
875
2617
  ...PagingFields
876
2618
  }
877
2619
  resources {
878
2620
  id
879
- name
880
- source
881
- sourceDisplay
882
- coding {
883
- ...CodingFields
2621
+ meta {
2622
+ ...MetaFields
884
2623
  }
885
- references
886
2624
  status {
887
2625
  code
888
2626
  display
889
2627
  }
2628
+ medication {
2629
+ ...CodeableConceptFields
2630
+ }
2631
+ reasonCode {
2632
+ ...CodeableConceptFields
2633
+ }
890
2634
  authoredOn
2635
+ requester {
2636
+ ...ActorFields
2637
+ }
2638
+ effectiveDate {
2639
+ start
2640
+ end
2641
+ }
2642
+ dosageInstruction {
2643
+ ...DosageFields
2644
+ }
2645
+ dispenseRequest {
2646
+ id
2647
+ dispenseInterval {
2648
+ ...QuantityFields
2649
+ }
2650
+ expectedSupplyDuration {
2651
+ ...QuantityFields
2652
+ }
2653
+ initialFill {
2654
+ duration {
2655
+ ...QuantityFields
2656
+ }
2657
+ quantity {
2658
+ ...QuantityFields
2659
+ }
2660
+ }
2661
+ numberOfRepeatsAllowed
2662
+ performer {
2663
+ name
2664
+ }
2665
+ validityPeriod {
2666
+ start
2667
+ end
2668
+ }
2669
+ quantity {
2670
+ ...QuantityFields
2671
+ }
2672
+ }
2673
+ source
2674
+ derivedFrom {
2675
+ reference
2676
+ type
2677
+ }
891
2678
  }
892
2679
  }
893
2680
  }
894
2681
  ${PagingFieldsFragmentDoc}
895
- ${CodingFieldsFragmentDoc}`;
2682
+ ${MetaFieldsFragmentDoc}
2683
+ ${CodeableConceptFieldsFragmentDoc}
2684
+ ${ActorFieldsFragmentDoc}
2685
+ ${DosageFieldsFragmentDoc}
2686
+ ${QuantityFieldsFragmentDoc}`;
896
2687
  export const AppointmentsDocument = `
897
2688
  query appointments($source: SearchString, $id: SearchString, $count: Int, $getPagesOffset: Int, $date: SearchDate, $supportingInformation: SearchReference, $sort: [String], $status: SearchToken) {
898
2689
  appointments(
@@ -1106,6 +2897,292 @@ export const NextQuestionDocument = `
1106
2897
  }
1107
2898
  }
1108
2899
  ${QuestionnaireResponseFieldsFragmentDoc}`;
2900
+ export const ProviderSearchDocument = `
2901
+ query providerSearch($client: [Client], $searchTerm: String, $includePopulatedPROAonly: Boolean, $specialtyFilters: [InputCoding], $organizationTypeFilters: [OrganizationType], $gender: Gender, $location: SearchPosition, $sortBy: [OrderBy], $filterFields: [FilterField], $page: Int, $pageSize: Int) {
2902
+ providers(
2903
+ client: $client
2904
+ search: $searchTerm
2905
+ specialty: $specialtyFilters
2906
+ organization_type: $organizationTypeFilters
2907
+ include_populated_PROA_only: $includePopulatedPROAonly
2908
+ gender: $gender
2909
+ search_position: $location
2910
+ order_by: $sortBy
2911
+ filter_values: $filterFields
2912
+ page_number: $page
2913
+ page_size: $pageSize
2914
+ ) {
2915
+ paging_info {
2916
+ page_number
2917
+ page_size
2918
+ total_items
2919
+ total_pages
2920
+ }
2921
+ filter_values {
2922
+ field
2923
+ values {
2924
+ value
2925
+ count
2926
+ }
2927
+ }
2928
+ results {
2929
+ endpoint {
2930
+ identifier {
2931
+ type {
2932
+ coding {
2933
+ code
2934
+ system
2935
+ display
2936
+ }
2937
+ text
2938
+ }
2939
+ value
2940
+ system
2941
+ }
2942
+ name
2943
+ status
2944
+ connectionType {
2945
+ code
2946
+ system
2947
+ display
2948
+ }
2949
+ address
2950
+ }
2951
+ iconString
2952
+ organization_type {
2953
+ coding {
2954
+ code
2955
+ system
2956
+ display
2957
+ }
2958
+ text
2959
+ }
2960
+ content
2961
+ gender
2962
+ location {
2963
+ name
2964
+ identifier {
2965
+ type {
2966
+ text
2967
+ coding {
2968
+ system
2969
+ code
2970
+ display
2971
+ }
2972
+ }
2973
+ value
2974
+ system
2975
+ }
2976
+ alias
2977
+ description
2978
+ address {
2979
+ use
2980
+ type
2981
+ text
2982
+ line
2983
+ city
2984
+ district
2985
+ state
2986
+ postalCode
2987
+ country
2988
+ }
2989
+ position {
2990
+ lat
2991
+ lon
2992
+ }
2993
+ distanceInMiles
2994
+ telecom {
2995
+ system
2996
+ value
2997
+ rank
2998
+ }
2999
+ }
3000
+ specialty {
3001
+ code
3002
+ system
3003
+ display
3004
+ }
3005
+ id
3006
+ photo {
3007
+ contentType
3008
+ url
3009
+ title
3010
+ }
3011
+ name {
3012
+ ...HumanNameFields
3013
+ }
3014
+ telecom {
3015
+ system
3016
+ value
3017
+ rank
3018
+ }
3019
+ practitioner_qualification {
3020
+ identifier {
3021
+ type {
3022
+ coding {
3023
+ code
3024
+ system
3025
+ display
3026
+ }
3027
+ text
3028
+ }
3029
+ value
3030
+ system
3031
+ }
3032
+ code {
3033
+ coding {
3034
+ code
3035
+ system
3036
+ display
3037
+ }
3038
+ text
3039
+ }
3040
+ period {
3041
+ start
3042
+ end
3043
+ }
3044
+ issuer {
3045
+ reference
3046
+ display
3047
+ }
3048
+ }
3049
+ provider_type
3050
+ characteristic {
3051
+ code
3052
+ system
3053
+ display
3054
+ }
3055
+ organization {
3056
+ name
3057
+ endpoint {
3058
+ identifier {
3059
+ type {
3060
+ coding {
3061
+ code
3062
+ system
3063
+ display
3064
+ }
3065
+ text
3066
+ }
3067
+ value
3068
+ system
3069
+ }
3070
+ name
3071
+ status
3072
+ connectionType {
3073
+ code
3074
+ system
3075
+ display
3076
+ }
3077
+ address
3078
+ }
3079
+ }
3080
+ }
3081
+ }
3082
+ }
3083
+ ${HumanNameFieldsFragmentDoc}`;
3084
+ export const RequestConnectionDocument = `
3085
+ mutation requestConnection($city: String, $institution: String, $provider: String, $state: String) {
3086
+ requestConnection(
3087
+ city: $city
3088
+ institution: $institution
3089
+ provider: $provider
3090
+ state: $state
3091
+ ) {
3092
+ resourceType
3093
+ issue {
3094
+ severity
3095
+ code
3096
+ details {
3097
+ text
3098
+ }
3099
+ }
3100
+ }
3101
+ }
3102
+ `;
3103
+ export const SearchHealthResourcesDocument = `
3104
+ query SearchHealthResources($searchInput: SearchHealthResourcesInput) {
3105
+ searchHealthResources(searchInput: $searchInput) {
3106
+ pagingInfo {
3107
+ pageNumber
3108
+ pageSize
3109
+ totalItems
3110
+ totalPages
3111
+ }
3112
+ filterValues {
3113
+ field
3114
+ values {
3115
+ value
3116
+ count
3117
+ }
3118
+ }
3119
+ results {
3120
+ type
3121
+ id
3122
+ content
3123
+ specialty {
3124
+ code
3125
+ system
3126
+ display
3127
+ }
3128
+ location {
3129
+ name
3130
+ address {
3131
+ line
3132
+ city
3133
+ state
3134
+ postalCode
3135
+ country
3136
+ }
3137
+ position {
3138
+ latitude
3139
+ longitude
3140
+ }
3141
+ distanceInMiles
3142
+ }
3143
+ organization {
3144
+ name
3145
+ endpoint {
3146
+ name
3147
+ status
3148
+ address
3149
+ }
3150
+ }
3151
+ npi
3152
+ gender
3153
+ iconString
3154
+ endpoint {
3155
+ identifier {
3156
+ type {
3157
+ coding {
3158
+ code
3159
+ system
3160
+ display
3161
+ }
3162
+ text
3163
+ }
3164
+ value
3165
+ system
3166
+ }
3167
+ name
3168
+ status
3169
+ connectionType {
3170
+ code
3171
+ system
3172
+ display
3173
+ }
3174
+ address
3175
+ }
3176
+ score
3177
+ scores {
3178
+ value
3179
+ description
3180
+ calculation
3181
+ }
3182
+ }
3183
+ }
3184
+ }
3185
+ `;
1109
3186
  export const CreateConsentDocument = `
1110
3187
  mutation createConsent($consentInput: ConsentInput!) {
1111
3188
  createConsent(consentInput: $consentInput) {
@@ -1191,6 +3268,11 @@ export const CreateConsentDocument = `
1191
3268
  }
1192
3269
  ${CodingFieldsFragmentDoc}
1193
3270
  ${PeriodFieldsFragmentDoc}`;
3271
+ export const CreateDataExportDirectDownloadUrlDocument = `
3272
+ mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {
3273
+ createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)
3274
+ }
3275
+ `;
1194
3276
  export const CreateVerificationUrlDocument = `
1195
3277
  mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {
1196
3278
  createVerificationUrl(
@@ -1238,6 +3320,40 @@ export const GetProfileDocument = `
1238
3320
  }
1239
3321
  }
1240
3322
  `;
3323
+ export const SearchConsentDocument = `
3324
+ query searchConsent($categoryCode: CategoryCode) {
3325
+ search(params: {category: $categoryCode}) {
3326
+ resourceType
3327
+ id
3328
+ meta {
3329
+ ...MetaFields
3330
+ }
3331
+ status
3332
+ scope {
3333
+ text
3334
+ coding {
3335
+ code
3336
+ system
3337
+ display
3338
+ }
3339
+ }
3340
+ category {
3341
+ text
3342
+ coding {
3343
+ code
3344
+ system
3345
+ display
3346
+ }
3347
+ }
3348
+ patient {
3349
+ reference
3350
+ }
3351
+ provision {
3352
+ type
3353
+ }
3354
+ }
3355
+ }
3356
+ ${MetaFieldsFragmentDoc}`;
1241
3357
  export const UpdateUserProfileDocument = `
1242
3358
  mutation updateUserProfile($person: FHIRPersonInput) {
1243
3359
  updateUserProfile(input: $person) {
@@ -1277,6 +3393,12 @@ export const VerificationStatusDocument = `
1277
3393
  const defaultWrapper = (action, _operationName, _operationType, _variables) => action();
1278
3394
  export function getSdk(client, withWrapper = defaultWrapper) {
1279
3395
  return {
3396
+ getTasks(variables, requestHeaders) {
3397
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetTasksDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getTasks', 'query', variables);
3398
+ },
3399
+ taskUpdateStatus(variables, requestHeaders) {
3400
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(TaskUpdateStatusDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'taskUpdateStatus', 'mutation', variables);
3401
+ },
1280
3402
  createConnection(variables, requestHeaders) {
1281
3403
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConnectionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConnection', 'mutation', variables);
1282
3404
  },
@@ -1289,9 +3411,27 @@ export function getSdk(client, withWrapper = defaultWrapper) {
1289
3411
  getDataSource(variables, requestHeaders) {
1290
3412
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDataSourceDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDataSource', 'query', variables);
1291
3413
  },
3414
+ getMemberConnections(variables, requestHeaders) {
3415
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMemberConnectionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMemberConnections', 'query', variables);
3416
+ },
1292
3417
  getOauthUrl(variables, requestHeaders) {
1293
3418
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetOauthUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOauthUrl', 'query', variables);
1294
3419
  },
3420
+ updateDeviceRegistration(variables, requestHeaders) {
3421
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateDeviceRegistrationDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateDeviceRegistration', 'mutation', variables);
3422
+ },
3423
+ publishEvent(variables, requestHeaders) {
3424
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(PublishEventDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'publishEvent', 'mutation', variables);
3425
+ },
3426
+ getBinary(variables, requestHeaders) {
3427
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetBinaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getBinary', 'query', variables);
3428
+ },
3429
+ getFHIR(variables, requestHeaders) {
3430
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetFhirDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getFHIR', 'query', variables);
3431
+ },
3432
+ getDiagnosticReports(variables, requestHeaders) {
3433
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReports', 'query', variables);
3434
+ },
1295
3435
  getAllergyIntoleranceGroups(variables, requestHeaders) {
1296
3436
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetAllergyIntoleranceGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getAllergyIntoleranceGroups', 'query', variables);
1297
3437
  },
@@ -1301,30 +3441,78 @@ export function getSdk(client, withWrapper = defaultWrapper) {
1301
3441
  getCarePlanGroups(variables, requestHeaders) {
1302
3442
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlanGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlanGroups', 'query', variables);
1303
3443
  },
3444
+ getCarePlans(variables, requestHeaders) {
3445
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlansDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlans', 'query', variables);
3446
+ },
3447
+ getCareTeams(variables, requestHeaders) {
3448
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCareTeamsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCareTeams', 'query', variables);
3449
+ },
1304
3450
  getConditionGroups(variables, requestHeaders) {
1305
3451
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditionGroups', 'query', variables);
1306
3452
  },
3453
+ getConditions(variables, requestHeaders) {
3454
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditions', 'query', variables);
3455
+ },
1307
3456
  getDiagnosticReportLabGroups(variables, requestHeaders) {
1308
3457
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReportLabGroups', 'query', variables);
1309
3458
  },
3459
+ getDocumentReferences(variables, requestHeaders) {
3460
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDocumentReferencesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDocumentReferences', 'query', variables);
3461
+ },
1310
3462
  getEncountersGroup(variables, requestHeaders) {
1311
3463
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetEncountersGroupDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getEncountersGroup', 'query', variables);
1312
3464
  },
3465
+ getEncounterQuery(variables, requestHeaders) {
3466
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetEncounterQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getEncounterQuery', 'query', variables);
3467
+ },
3468
+ GetHealthSummary(variables, requestHeaders) {
3469
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetHealthSummaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetHealthSummary', 'query', variables);
3470
+ },
1313
3471
  getImmunizationGroups(variables, requestHeaders) {
1314
3472
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizationGroups', 'query', variables);
1315
3473
  },
3474
+ getImmunizations(variables, requestHeaders) {
3475
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizations', 'query', variables);
3476
+ },
1316
3477
  getProcedureGroups(variables, requestHeaders) {
1317
3478
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProcedureGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedureGroups', 'query', variables);
1318
3479
  },
3480
+ GetProcedures(variables, requestHeaders) {
3481
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProceduresDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetProcedures', 'query', variables);
3482
+ },
1319
3483
  getVitalSignGroups(variables, requestHeaders) {
1320
3484
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSignGroups', 'query', variables);
1321
3485
  },
3486
+ getVitalSigns(variables, requestHeaders) {
3487
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSigns', 'query', variables);
3488
+ },
1322
3489
  getLabGroups(variables, requestHeaders) {
1323
3490
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabGroups', 'query', variables);
1324
3491
  },
3492
+ getLabKnowledge(variables, requestHeaders) {
3493
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabKnowledge', 'query', variables);
3494
+ },
3495
+ getLabs(variables, requestHeaders) {
3496
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabs', 'query', variables);
3497
+ },
3498
+ getMedicationDispense(variables, requestHeaders) {
3499
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationDispenseDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationDispense', 'query', variables);
3500
+ },
1325
3501
  getMedicationGroups(variables, requestHeaders) {
1326
3502
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationGroups', 'query', variables);
1327
3503
  },
3504
+ getMedicationKnowledge(variables, requestHeaders) {
3505
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationKnowledge', 'query', variables);
3506
+ },
3507
+ getMedicationPricing(variables, requestHeaders) {
3508
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationPricingDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationPricing', 'query', variables);
3509
+ },
3510
+ getMedicationRequest(variables, requestHeaders) {
3511
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationRequestDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationRequest', 'query', variables);
3512
+ },
3513
+ getMedicationStatements(variables, requestHeaders) {
3514
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationStatementsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationStatements', 'query', variables);
3515
+ },
1328
3516
  appointments(variables, requestHeaders) {
1329
3517
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(AppointmentsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'appointments', 'query', variables);
1330
3518
  },
@@ -1355,9 +3543,21 @@ export function getSdk(client, withWrapper = defaultWrapper) {
1355
3543
  nextQuestion(variables, requestHeaders) {
1356
3544
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(NextQuestionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'nextQuestion', 'mutation', variables);
1357
3545
  },
3546
+ providerSearch(variables, requestHeaders) {
3547
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(ProviderSearchDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'providerSearch', 'query', variables);
3548
+ },
3549
+ requestConnection(variables, requestHeaders) {
3550
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(RequestConnectionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'requestConnection', 'mutation', variables);
3551
+ },
3552
+ SearchHealthResources(variables, requestHeaders) {
3553
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchHealthResourcesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'SearchHealthResources', 'query', variables);
3554
+ },
1358
3555
  createConsent(variables, requestHeaders) {
1359
3556
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConsent', 'mutation', variables);
1360
3557
  },
3558
+ CreateDataExportDirectDownloadUrl(variables, requestHeaders) {
3559
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateDataExportDirectDownloadUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateDataExportDirectDownloadUrl', 'mutation', variables);
3560
+ },
1361
3561
  CreateVerificationUrl(variables, requestHeaders) {
1362
3562
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateVerificationUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateVerificationUrl', 'mutation', variables);
1363
3563
  },
@@ -1367,6 +3567,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
1367
3567
  getProfile(variables, requestHeaders) {
1368
3568
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProfileDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProfile', 'query', variables);
1369
3569
  },
3570
+ searchConsent(variables, requestHeaders) {
3571
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'searchConsent', 'query', variables);
3572
+ },
1370
3573
  updateUserProfile(variables, requestHeaders) {
1371
3574
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateUserProfileDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateUserProfile', 'mutation', variables);
1372
3575
  },