@icanbwell/bwell-sdk-ts 1.35.0 → 1.36.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 (111) hide show
  1. package/dist/__version__.d.ts +1 -1
  2. package/dist/__version__.js +1 -1
  3. package/dist/api/api-provider-factory.d.ts +1 -1
  4. package/dist/api/api-provider-factory.js +2 -1
  5. package/dist/api/base/api-provider.d.ts +8 -14
  6. package/dist/api/base/connection/connection-manager.d.ts +0 -2
  7. package/dist/api/base/health-data/health-manager.d.ts +4 -227
  8. package/dist/api/base/health-data/index.d.ts +1 -1
  9. package/dist/api/base/index.d.ts +0 -4
  10. package/dist/api/base/index.js +4 -4
  11. package/dist/api/base/user/index.d.ts +1 -2
  12. package/dist/api/base/user/index.js +4 -1
  13. package/dist/api/base/user/user-manager.d.ts +1 -7
  14. package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +1 -3
  15. package/dist/api/graphql-api/connection/graphql-connection-manager.js +23 -21
  16. package/dist/api/graphql-api/connection/index.d.ts +0 -1
  17. package/dist/api/graphql-api/connection/index.js +1 -1
  18. package/dist/api/graphql-api/graphql-api-provider.d.ts +4 -13
  19. package/dist/api/graphql-api/graphql-api-provider.js +10 -9
  20. package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js +1 -1
  21. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +3 -27
  22. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +26 -328
  23. package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +12 -0
  24. package/dist/api/graphql-api/healthdata/health-data-request-factory.js +12 -0
  25. package/dist/api/graphql-api/user/graphql-user-manager.d.ts +3 -6
  26. package/dist/api/graphql-api/user/graphql-user-manager.js +68 -46
  27. package/dist/bwell-sdk/bwell-sdk.d.ts +2 -13
  28. package/dist/bwell-sdk/bwell-sdk.js +27 -27
  29. package/dist/config/sdk-config.js +3 -3
  30. package/dist/graphql/operations/index.d.ts +11 -282
  31. package/dist/graphql/operations/index.js +227 -2410
  32. package/dist/graphql/operations/types.d.ts +2349 -15206
  33. package/dist/graphql/schema.d.ts +68178 -4822
  34. package/dist/graphql/schema.js +7 -63
  35. package/package.json +4 -2
  36. package/dist/api/base/activity/activity-manager.d.ts +0 -35
  37. package/dist/api/base/activity/activity-manager.js +0 -1
  38. package/dist/api/base/activity/get-tasks-request.d.ts +0 -49
  39. package/dist/api/base/activity/get-tasks-request.js +0 -35
  40. package/dist/api/base/activity/index.d.ts +0 -4
  41. package/dist/api/base/activity/index.js +0 -2
  42. package/dist/api/base/activity/types.d.ts +0 -3
  43. package/dist/api/base/activity/types.js +0 -5
  44. package/dist/api/base/activity/update-task-status-request.d.ts +0 -18
  45. package/dist/api/base/activity/update-task-status-request.js +0 -15
  46. package/dist/api/base/device/device-manager.d.ts +0 -22
  47. package/dist/api/base/device/device-manager.js +0 -5
  48. package/dist/api/base/device/device-request.d.ts +0 -62
  49. package/dist/api/base/device/device-request.js +0 -71
  50. package/dist/api/base/device/index.d.ts +0 -2
  51. package/dist/api/base/device/index.js +0 -2
  52. package/dist/api/base/event/event-manager.d.ts +0 -16
  53. package/dist/api/base/event/event-manager.js +0 -1
  54. package/dist/api/base/event/event-request.d.ts +0 -35
  55. package/dist/api/base/event/event-request.js +0 -64
  56. package/dist/api/base/event/index.d.ts +0 -2
  57. package/dist/api/base/event/index.js +0 -1
  58. package/dist/api/base/search/index.d.ts +0 -4
  59. package/dist/api/base/search/index.js +0 -3
  60. package/dist/api/base/search/request-connection-request.d.ts +0 -24
  61. package/dist/api/base/search/request-connection-request.js +0 -3
  62. package/dist/api/base/search/search-health-resources-request.d.ts +0 -87
  63. package/dist/api/base/search/search-health-resources-request.js +0 -20
  64. package/dist/api/base/search/search-manager.d.ts +0 -58
  65. package/dist/api/base/search/search-manager.js +0 -1
  66. package/dist/api/base/search/search-request.d.ts +0 -84
  67. package/dist/api/base/search/search-request.js +0 -78
  68. package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +0 -14
  69. package/dist/api/base/user/create-data-export-direct-download-url-request.js +0 -21
  70. package/dist/api/graphql-api/activity/activity-request-factories.d.ts +0 -13
  71. package/dist/api/graphql-api/activity/activity-request-factories.js +0 -66
  72. package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +0 -14
  73. package/dist/api/graphql-api/activity/graphql-activity-manager.js +0 -72
  74. package/dist/api/graphql-api/activity/index.d.ts +0 -1
  75. package/dist/api/graphql-api/activity/index.js +0 -1
  76. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +0 -18
  77. package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +0 -40
  78. package/dist/api/graphql-api/device/device-request-factory.d.ts +0 -9
  79. package/dist/api/graphql-api/device/device-request-factory.js +0 -15
  80. package/dist/api/graphql-api/device/graphql-device-manager.d.ts +0 -13
  81. package/dist/api/graphql-api/device/graphql-device-manager.js +0 -73
  82. package/dist/api/graphql-api/device/index.d.ts +0 -1
  83. package/dist/api/graphql-api/device/index.js +0 -1
  84. package/dist/api/graphql-api/event/event-request-factory.d.ts +0 -6
  85. package/dist/api/graphql-api/event/event-request-factory.js +0 -11
  86. package/dist/api/graphql-api/event/graphql-event-manager.d.ts +0 -15
  87. package/dist/api/graphql-api/event/graphql-event-manager.js +0 -65
  88. package/dist/api/graphql-api/event/index.d.ts +0 -1
  89. package/dist/api/graphql-api/event/index.js +0 -1
  90. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +0 -10
  91. package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +0 -35
  92. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +0 -10
  93. package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +0 -35
  94. package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +0 -7
  95. package/dist/api/graphql-api/search/connection-search-request-factory.js +0 -21
  96. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +0 -17
  97. package/dist/api/graphql-api/search/graphql-search-manager.js +0 -133
  98. package/dist/api/graphql-api/search/index.d.ts +0 -1
  99. package/dist/api/graphql-api/search/index.js +0 -1
  100. package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +0 -7
  101. package/dist/api/graphql-api/search/provider-search-request-factory.js +0 -21
  102. package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +0 -6
  103. package/dist/api/graphql-api/search/request-connection-request-factory.js +0 -12
  104. package/dist/api/graphql-api/search/search-health-resources-request-factory.d.ts +0 -14
  105. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +0 -28
  106. package/dist/api/graphql-api/search/search-request-factory.d.ts +0 -6
  107. package/dist/api/graphql-api/search/search-request-factory.js +0 -44
  108. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +0 -6
  109. package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +0 -9
  110. package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +0 -6
  111. package/dist/api/graphql-api/user/get-consent-request-factory.js +0 -8
@@ -13,6 +13,27 @@
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
+ `;
16
37
  export const CodingFieldsFragmentDoc = `
17
38
  fragment CodingFields on Coding {
18
39
  system
@@ -28,17 +49,6 @@ export const CodeableConceptFieldsFragmentDoc = `
28
49
  }
29
50
  }
30
51
  ${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}`;
42
52
  export const QuantityFieldsFragmentDoc = `
43
53
  fragment QuantityFields on Quantity {
44
54
  value
@@ -48,925 +58,76 @@ export const QuantityFieldsFragmentDoc = `
48
58
  system
49
59
  }
50
60
  `;
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 {
64
- ...QuantityFields
65
- }
66
- denominator {
67
- ...QuantityFields
68
- }
69
- }
70
- ${QuantityFieldsFragmentDoc}`;
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 {
362
- ...QuantityFields
363
- }
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
64
+ ...QuantityFields
880
65
  }
881
- hospitalization {
882
- dischargeDisposition {
883
- ...CodeableConceptFields
884
- }
66
+ denominator {
67
+ ...QuantityFields
885
68
  }
886
69
  }
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
- }
70
+ ${QuantityFieldsFragmentDoc}`;
71
+ export const RangeFieldsFragmentDoc = `
72
+ fragment RangeFields on Range {
73
+ low {
74
+ ...QuantityFields
911
75
  }
912
- ... on Organization {
913
- organizationName: name
76
+ high {
77
+ ...QuantityFields
914
78
  }
915
79
  }
916
- ${HumanNameFieldsFragmentDoc}
917
- ${IdentifierFieldsFragmentDoc}`;
918
- export const PerformerFieldsFragmentDoc = `
919
- fragment PerformerFields on Performer {
920
- actor {
921
- ...ActorFields
922
- }
80
+ ${QuantityFieldsFragmentDoc}`;
81
+ export const PeriodFieldsFragmentDoc = `
82
+ fragment PeriodFields on Period {
83
+ start
84
+ end
923
85
  }
924
- ${ActorFieldsFragmentDoc}`;
925
- export const SpecimenResourceFieldsFragmentDoc = `
926
- fragment SpecimenResourceFields on SpecimenResource {
927
- identifier {
928
- ...IdentifierFields
929
- }
930
- accessionIdentifier {
931
- ...IdentifierFields
86
+ `;
87
+ export const ValueFieldsFragmentDoc = `
88
+ fragment ValueFields on Value {
89
+ valueQuantity {
90
+ ...QuantityFields
932
91
  }
933
- type {
92
+ valueCodeableConcept {
934
93
  ...CodeableConceptFields
935
94
  }
936
- }
937
- ${IdentifierFieldsFragmentDoc}
938
- ${CodeableConceptFieldsFragmentDoc}`;
939
- export const ObservationFieldsFragmentDoc = `
940
- fragment ObservationFields on ObservationResource {
941
- id
942
- meta {
943
- ...MetaFields
95
+ valueString
96
+ valueBoolean
97
+ valueInteger
98
+ valueRatio {
99
+ ...RatioFields
944
100
  }
945
- resourceType
946
- text {
947
- ...NarrativeFields
101
+ valueRange {
102
+ ...RangeFields
948
103
  }
949
- identifier {
950
- ...IdentifierFields
104
+ valueTime
105
+ valueDateTime
106
+ valuePeriod {
107
+ ...PeriodFields
951
108
  }
952
- subject {
953
- __typename
954
- ... on Patient {
955
- name {
956
- ...HumanNameFields
957
- }
958
- }
109
+ }
110
+ ${QuantityFieldsFragmentDoc}
111
+ ${CodeableConceptFieldsFragmentDoc}
112
+ ${RatioFieldsFragmentDoc}
113
+ ${RangeFieldsFragmentDoc}
114
+ ${PeriodFieldsFragmentDoc}`;
115
+ export const ReferenceRangeFieldsFragmentDoc = `
116
+ fragment ReferenceRangeFields on ReferenceRange {
117
+ low {
118
+ ...QuantityFields
959
119
  }
960
- issued
961
- basedOn {
962
- ...ObservationBasedOnFields
120
+ high {
121
+ ...QuantityFields
963
122
  }
123
+ text
124
+ }
125
+ ${QuantityFieldsFragmentDoc}`;
126
+ export const ComponentFieldsFragmentDoc = `
127
+ fragment ComponentFields on Component {
964
128
  code {
965
129
  ...CodeableConceptFields
966
130
  }
967
- category {
968
- ...CodeableConceptFields
969
- }
970
131
  value {
971
132
  ...ValueFields
972
133
  }
@@ -976,80 +137,38 @@ export const ObservationFieldsFragmentDoc = `
976
137
  interpretation {
977
138
  ...CodeableConceptFields
978
139
  }
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
- }
1012
140
  dataAbsentReason {
1013
141
  ...CodeableConceptFields
1014
142
  }
1015
143
  }
1016
- ${MetaFieldsFragmentDoc}
1017
- ${NarrativeFieldsFragmentDoc}
1018
- ${IdentifierFieldsFragmentDoc}
1019
- ${HumanNameFieldsFragmentDoc}
1020
- ${ObservationBasedOnFieldsFragmentDoc}
1021
- ${CodeableConceptFieldsFragmentDoc}
144
+ ${CodeableConceptFieldsFragmentDoc}
1022
145
  ${ValueFieldsFragmentDoc}
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 {
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 {
1033
166
  ...CodeableConceptFields
1034
167
  }
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
168
+ system
169
+ value
1050
170
  }
1051
- ${CodeableConceptFieldsFragmentDoc}
1052
- ${ObservationFieldsFragmentDoc}`;
171
+ ${CodeableConceptFieldsFragmentDoc}`;
1053
172
  export const PractitionerFieldsFragmentDoc = `
1054
173
  fragment PractitionerFields on Practitioner {
1055
174
  id
@@ -1062,44 +181,36 @@ export const PractitionerFieldsFragmentDoc = `
1062
181
  }
1063
182
  ${HumanNameFieldsFragmentDoc}
1064
183
  ${IdentifierFieldsFragmentDoc}`;
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
- }
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
1080
198
  }
1081
199
  }
1082
- ${MetaFieldsFragmentDoc}
1083
- ${PractitionerFieldsFragmentDoc}`;
1084
- export const AsserterFieldsFragmentDoc = `
1085
- fragment AsserterFields on Asserter {
1086
- __typename
1087
- ... on Patient {
1088
- name {
1089
- ...HumanNameFields
1090
- }
200
+ ${CodeableConceptFieldsFragmentDoc}`;
201
+ export const MetaFieldsFragmentDoc = `
202
+ fragment MetaFields on Meta {
203
+ versionId
204
+ lastUpdated
205
+ source
206
+ security {
207
+ ...CodingFields
1091
208
  }
1092
- ... on Practitioner {
1093
- name {
1094
- ...HumanNameFields
1095
- }
1096
- identifier {
1097
- ...IdentifierFields
1098
- }
209
+ tag {
210
+ ...CodingFields
1099
211
  }
1100
212
  }
1101
- ${HumanNameFieldsFragmentDoc}
1102
- ${IdentifierFieldsFragmentDoc}`;
213
+ ${CodingFieldsFragmentDoc}`;
1103
214
  export const QuestionnaireResponseItemFieldsFragmentDoc = `
1104
215
  fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {
1105
216
  linkId
@@ -1387,57 +498,6 @@ export const QuestionnaireResponseFieldsFragmentDoc = `
1387
498
  ${IdentifierFieldsFragmentDoc}
1388
499
  ${QuestionnaireResponseItemFieldsFragmentDoc}
1389
500
  ${QuestionnaireFieldsFragmentDoc}`;
1390
- export const GetTasksDocument = `
1391
- query getTasks($request: TaskRequest) {
1392
- getTasks(request: $request) {
1393
- paging_info {
1394
- ...PagingFields
1395
- }
1396
- resources {
1397
- id
1398
- meta {
1399
- ...MetaFields
1400
- }
1401
- identifier {
1402
- id
1403
- system
1404
- value
1405
- }
1406
- code {
1407
- ...CodeableConceptFields
1408
- }
1409
- instantiatesCanonical
1410
- description
1411
- executionPeriod {
1412
- ...PeriodFields
1413
- }
1414
- status {
1415
- code
1416
- display
1417
- }
1418
- lastModified
1419
- for {
1420
- reference
1421
- }
1422
- extension {
1423
- ...ExtensionFields
1424
- }
1425
- }
1426
- }
1427
- }
1428
- ${PagingFieldsFragmentDoc}
1429
- ${MetaFieldsFragmentDoc}
1430
- ${CodeableConceptFieldsFragmentDoc}
1431
- ${PeriodFieldsFragmentDoc}
1432
- ${ExtensionFieldsFragmentDoc}`;
1433
- export const TaskUpdateStatusDocument = `
1434
- mutation taskUpdateStatus($taskId: String!, $newStatus: TaskStatus!) {
1435
- taskUpdateStatus(input: {taskId: $taskId, newStatus: $newStatus}) {
1436
- id
1437
- status
1438
- }
1439
- }
1440
- `;
1441
501
  export const CreateConnectionDocument = `
1442
502
  mutation createConnection($connectionId: String!, $username: String!, $password: String!) {
1443
503
  createConnection(
@@ -1450,7 +510,6 @@ export const CreateConnectionDocument = `
1450
510
  name
1451
511
  category
1452
512
  type
1453
- isDirect
1454
513
  syncStatus
1455
514
  statusUpdated
1456
515
  lastSynced
@@ -1462,158 +521,35 @@ export const DeleteConnectionDocument = `
1462
521
  mutation deleteConnection($connectionId: String!) {
1463
522
  deleteConnection(connectionId: $connectionId) {
1464
523
  status
1465
- statusUpdated
1466
- }
1467
- }
1468
- `;
1469
- export const DisconnectConnectionDocument = `
1470
- mutation disconnectConnection($connectionId: String!) {
1471
- disconnectConnection(connectionId: $connectionId) {
1472
- status
1473
- statusUpdated
1474
- }
1475
- }
1476
- `;
1477
- export const GetDataSourceDocument = `
1478
- query getDataSource($connectionId: String!) {
1479
- getDataSource(connectionId: $connectionId) {
1480
- id
1481
- name
1482
- category
1483
- type
1484
- isDirect
1485
- }
1486
- }
1487
- `;
1488
- export const GetMemberConnectionsDocument = `
1489
- query getMemberConnections {
1490
- getMemberConnections {
1491
- id
1492
- name
1493
- category
1494
- type
1495
- status
1496
- syncStatus
1497
- statusUpdated
1498
- lastSynced
1499
- created
1500
- isDirect
1501
- }
1502
- subscription_subscription {
1503
- entry {
1504
- resource {
1505
- service_slug
1506
- subscriptionStatus {
1507
- error {
1508
- ...CodeableConceptFields
1509
- }
1510
- extension {
1511
- id
1512
- url
1513
- valueString
1514
- }
1515
- }
1516
- }
1517
- }
1518
- }
1519
- }
1520
- ${CodeableConceptFieldsFragmentDoc}`;
1521
- export const GetOauthUrlDocument = `
1522
- query getOauthUrl($connectionId: String!) {
1523
- getOauthUrl(connectionId: $connectionId) {
1524
- redirectUrl
524
+ statusUpdated
1525
525
  }
1526
526
  }
1527
527
  `;
1528
- export const UpdateDeviceRegistrationDocument = `
1529
- mutation updateDeviceRegistration($deviceToken: String!, $platformName: String!, $applicationName: String!, $notificationPreference: Boolean!) {
1530
- updateDeviceRegistration(
1531
- input: {deviceToken: $deviceToken, platform: $platformName, applicationName: $applicationName, notificationPreference: $notificationPreference}
1532
- ) {
1533
- id
528
+ export const DisconnectConnectionDocument = `
529
+ mutation disconnectConnection($connectionId: String!) {
530
+ disconnectConnection(connectionId: $connectionId) {
531
+ status
532
+ statusUpdated
1534
533
  }
1535
534
  }
1536
535
  `;
1537
- export const PublishEventDocument = `
1538
- mutation publishEvent($eventType: EventType!, $messageId: String, $notificationId: String) {
1539
- publishEvent(
1540
- input: {eventType: $eventType, campaignId: $notificationId, messageId: $messageId}
1541
- ) {
536
+ export const GetDataSourceDocument = `
537
+ query getDataSource($connectionId: String!) {
538
+ getDataSource(connectionId: $connectionId) {
1542
539
  id
540
+ name
541
+ category
542
+ type
1543
543
  }
1544
544
  }
1545
545
  `;
1546
- export const GetBinaryDocument = `
1547
- query getBinary($request: BinaryRequest!) {
1548
- getBinary(request: $request) {
1549
- paging_info {
1550
- ...PagingFields
1551
- }
1552
- resources {
1553
- resourceType
1554
- id
1555
- data
1556
- contentType
1557
- }
1558
- }
1559
- }
1560
- ${PagingFieldsFragmentDoc}`;
1561
- export const GetFhirDocument = `
1562
- query getFHIR($request: ResourceRequest!) {
1563
- getFHIR(request: $request) {
1564
- paging_info {
1565
- ...PagingFields
1566
- }
1567
- resources
1568
- }
1569
- }
1570
- ${PagingFieldsFragmentDoc}`;
1571
- export const GetDiagnosticReportsDocument = `
1572
- query getDiagnosticReports($_count: Int, $_getpagesoffset: Int, $id: SearchString) {
1573
- diagnosticReports(_count: $_count, _getpagesoffset: $_getpagesoffset, id: $id) {
1574
- entry {
1575
- resource {
1576
- id
1577
- meta {
1578
- ...MetaFields
1579
- }
1580
- basedOn {
1581
- reference
1582
- display
1583
- }
1584
- category {
1585
- ...CodeableConceptFields
1586
- }
1587
- code {
1588
- ...CodeableConceptFields
1589
- }
1590
- effectiveDateTime
1591
- encounter {
1592
- reference
1593
- display
1594
- }
1595
- issued
1596
- performer {
1597
- reference
1598
- display
1599
- }
1600
- presentedForm {
1601
- data
1602
- }
1603
- resourceType
1604
- result {
1605
- ... on DiagnosticReportResultReference {
1606
- display
1607
- reference
1608
- }
1609
- }
1610
- status
1611
- }
1612
- }
546
+ export const GetOauthUrlDocument = `
547
+ query getOauthUrl($connectionId: String!) {
548
+ getOauthUrl(connectionId: $connectionId) {
549
+ redirectUrl
1613
550
  }
1614
551
  }
1615
- ${MetaFieldsFragmentDoc}
1616
- ${CodeableConceptFieldsFragmentDoc}`;
552
+ `;
1617
553
  export const GetAllergyIntoleranceGroupsDocument = `
1618
554
  query getAllergyIntoleranceGroups($request: AllergyIntoleranceGroupQueryRequest) {
1619
555
  getAllergyIntoleranceGroups(request: $request) {
@@ -1640,84 +576,78 @@ export const GetAllergyIntoleranceGroupsDocument = `
1640
576
  ${PagingFieldsFragmentDoc}
1641
577
  ${CodingFieldsFragmentDoc}`;
1642
578
  export const GetAllergyIntolerancesDocument = `
1643
- query getAllergyIntolerances($request: AllergyIntolerancesRequest) {
1644
- getAllergyIntolerances(request: $request) {
1645
- paging_info {
1646
- ...PagingFields
1647
- }
1648
- resources {
1649
- resourceType
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 {
1650
588
  id
1651
- meta {
1652
- ...MetaFields
1653
- }
1654
- category {
1655
- code
1656
- display
1657
- }
1658
- code {
1659
- coding {
1660
- system
1661
- code
1662
- display
589
+ resource {
590
+ id
591
+ meta {
592
+ ...MetaFields
1663
593
  }
1664
- text
1665
- }
1666
- criticality {
1667
- code
1668
- display
1669
- }
1670
- onsetDateTime
1671
- onsetPeriod {
1672
- start
1673
- end
1674
- }
1675
- text {
1676
- ...NarrativeFields
1677
- }
1678
- typeCoding {
1679
- code
1680
- display
1681
- }
1682
- recorder {
1683
- ... on Practitioner {
1684
- ...PractitionerFields
594
+ resourceType
595
+ category
596
+ code {
597
+ id
598
+ text
599
+ coding {
600
+ id
601
+ system
602
+ display
603
+ code
604
+ }
1685
605
  }
1686
- }
1687
- lastOccurrence
1688
- reaction {
1689
- ...ReactionFields
1690
- }
1691
- recordedDate
1692
- note {
1693
- authorString
1694
- time
1695
- text
1696
- }
1697
- verificationStatus {
1698
- coding {
1699
- system
1700
- code
1701
- display
606
+ criticality
607
+ onsetDateTime
608
+ onsetPeriod {
609
+ start
610
+ end
1702
611
  }
1703
- text
1704
- }
1705
- clinicalStatus {
1706
- coding {
1707
- system
1708
- code
1709
- display
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
629
+ }
630
+ recordedDate
631
+ note {
632
+ authorString
633
+ time
634
+ text
635
+ }
636
+ verificationStatus {
637
+ ...CodeableConceptFields
638
+ }
639
+ clinicalStatus {
640
+ ...CodeableConceptFields
1710
641
  }
1711
- text
1712
642
  }
1713
643
  }
1714
644
  }
1715
645
  }
1716
- ${PagingFieldsFragmentDoc}
1717
- ${MetaFieldsFragmentDoc}
646
+ ${MetaFieldsFragmentDoc}
1718
647
  ${NarrativeFieldsFragmentDoc}
1719
648
  ${PractitionerFieldsFragmentDoc}
1720
- ${ReactionFieldsFragmentDoc}`;
649
+ ${ReactionFieldsFragmentDoc}
650
+ ${CodeableConceptFieldsFragmentDoc}`;
1721
651
  export const GetCarePlanGroupsDocument = `
1722
652
  query getCarePlanGroups($request: CarePlanGroupQueryRequest) {
1723
653
  getCarePlanGroups(request: $request) {
@@ -1742,100 +672,6 @@ export const GetCarePlanGroupsDocument = `
1742
672
  ${PagingFieldsFragmentDoc}
1743
673
  ${CodingFieldsFragmentDoc}
1744
674
  ${PeriodFieldsFragmentDoc}`;
1745
- export const GetCarePlansDocument = `
1746
- query getCarePlans($request: CarePlanRequest) {
1747
- getCarePlans(request: $request) {
1748
- paging_info {
1749
- ...PagingFields
1750
- }
1751
- resources {
1752
- meta {
1753
- ...MetaFields
1754
- }
1755
- id
1756
- title
1757
- resourceType
1758
- description
1759
- encounter {
1760
- ...EncounterFields
1761
- }
1762
- addresses {
1763
- ...ConditionFields
1764
- }
1765
- identifier {
1766
- ...IdentifierFields
1767
- }
1768
- category {
1769
- ...CodeableConceptFields
1770
- }
1771
- text {
1772
- ...NarrativeFields
1773
- }
1774
- status {
1775
- display
1776
- code
1777
- }
1778
- intent {
1779
- display
1780
- code
1781
- }
1782
- subject {
1783
- _resourceType
1784
- id
1785
- }
1786
- period {
1787
- ...PeriodFields
1788
- }
1789
- created
1790
- activity {
1791
- ...ActivityFields
1792
- }
1793
- note {
1794
- authorString
1795
- time
1796
- text
1797
- }
1798
- }
1799
- }
1800
- }
1801
- ${PagingFieldsFragmentDoc}
1802
- ${MetaFieldsFragmentDoc}
1803
- ${EncounterFieldsFragmentDoc}
1804
- ${ConditionFieldsFragmentDoc}
1805
- ${IdentifierFieldsFragmentDoc}
1806
- ${CodeableConceptFieldsFragmentDoc}
1807
- ${NarrativeFieldsFragmentDoc}
1808
- ${PeriodFieldsFragmentDoc}
1809
- ${ActivityFieldsFragmentDoc}`;
1810
- export const GetCareTeamsDocument = `
1811
- query getCareTeams($request: CareTeamRequest) {
1812
- getCareTeams(request: $request) {
1813
- paging_info {
1814
- ...PagingFields
1815
- }
1816
- resources {
1817
- id
1818
- name
1819
- meta {
1820
- ...MetaFields
1821
- }
1822
- identifier {
1823
- ...IdentifierFields
1824
- }
1825
- category {
1826
- ...CodeableConceptFields
1827
- }
1828
- participant {
1829
- ...CareTeamParticipantFields
1830
- }
1831
- }
1832
- }
1833
- }
1834
- ${PagingFieldsFragmentDoc}
1835
- ${MetaFieldsFragmentDoc}
1836
- ${IdentifierFieldsFragmentDoc}
1837
- ${CodeableConceptFieldsFragmentDoc}
1838
- ${CareTeamParticipantFieldsFragmentDoc}`;
1839
675
  export const GetConditionGroupsDocument = `
1840
676
  query getConditionGroups($request: ConditionGroupQueryRequest) {
1841
677
  getConditionGroups(request: $request) {
@@ -1857,99 +693,6 @@ export const GetConditionGroupsDocument = `
1857
693
  }
1858
694
  ${PagingFieldsFragmentDoc}
1859
695
  ${CodingFieldsFragmentDoc}`;
1860
- export const GetConditionsDocument = `
1861
- query getConditions($request: ConditionRequest) {
1862
- getConditions(request: $request) {
1863
- paging_info {
1864
- ...PagingFields
1865
- }
1866
- resources {
1867
- resourceType
1868
- identifier {
1869
- ...IdentifierFields
1870
- }
1871
- text {
1872
- ...NarrativeFields
1873
- }
1874
- extension {
1875
- id
1876
- url
1877
- valueCodeableConcept {
1878
- ...CodeableConceptFields
1879
- }
1880
- valueString
1881
- valueInteger
1882
- valueDateTime
1883
- }
1884
- id
1885
- meta {
1886
- ...MetaFields
1887
- }
1888
- code {
1889
- ...CodeableConceptFields
1890
- }
1891
- clinicalStatus {
1892
- ...CodeableConceptFields
1893
- }
1894
- onsetDateTime
1895
- recordedDate
1896
- recorder {
1897
- ...RecorderFields
1898
- }
1899
- note {
1900
- authorString
1901
- time
1902
- text
1903
- }
1904
- onsetPeriod {
1905
- ...PeriodFields
1906
- }
1907
- abatementDateTime
1908
- abatementPeriod {
1909
- ...PeriodFields
1910
- }
1911
- subject {
1912
- __typename
1913
- ... on Patient {
1914
- name {
1915
- ...HumanNameFields
1916
- }
1917
- }
1918
- }
1919
- category {
1920
- ...CodeableConceptFields
1921
- }
1922
- severity {
1923
- ...CodeableConceptFields
1924
- }
1925
- verificationStatus {
1926
- ...CodeableConceptFields
1927
- }
1928
- bodySite {
1929
- ...CodeableConceptFields
1930
- }
1931
- asserter {
1932
- ... on Practitioner {
1933
- name {
1934
- ...HumanNameFields
1935
- }
1936
- }
1937
- }
1938
- encounter {
1939
- ...EncounterFields
1940
- }
1941
- }
1942
- }
1943
- }
1944
- ${PagingFieldsFragmentDoc}
1945
- ${IdentifierFieldsFragmentDoc}
1946
- ${NarrativeFieldsFragmentDoc}
1947
- ${CodeableConceptFieldsFragmentDoc}
1948
- ${MetaFieldsFragmentDoc}
1949
- ${RecorderFieldsFragmentDoc}
1950
- ${PeriodFieldsFragmentDoc}
1951
- ${HumanNameFieldsFragmentDoc}
1952
- ${EncounterFieldsFragmentDoc}`;
1953
696
  export const GetDiagnosticReportLabGroupsDocument = `
1954
697
  query getDiagnosticReportLabGroups($request: DiagnosticReportLabGroupQueryRequest) {
1955
698
  getDiagnosticReportLabGroups(request: $request) {
@@ -1972,20 +715,7 @@ export const GetDiagnosticReportLabGroupsDocument = `
1972
715
  }
1973
716
  }
1974
717
  ${CodingFieldsFragmentDoc}
1975
- ${PagingFieldsFragmentDoc}`;
1976
- export const GetDocumentReferencesDocument = `
1977
- query getDocumentReferences($request: DocumentReferenceRequest) {
1978
- getDocumentReferences(request: $request) {
1979
- paging_info {
1980
- ...PagingFields
1981
- }
1982
- resources {
1983
- ...DocumentReferenceFields
1984
- }
1985
- }
1986
- }
1987
- ${PagingFieldsFragmentDoc}
1988
- ${DocumentReferenceFieldsFragmentDoc}`;
718
+ ${PagingFieldsFragmentDoc}`;
1989
719
  export const GetEncountersGroupDocument = `
1990
720
  query getEncountersGroup($request: EncounterGroupQueryRequest) {
1991
721
  getEncounterGroups(request: $request) {
@@ -2014,29 +744,6 @@ export const GetEncountersGroupDocument = `
2014
744
  }
2015
745
  ${PagingFieldsFragmentDoc}
2016
746
  ${CodingFieldsFragmentDoc}`;
2017
- export const GetEncounterQueryDocument = `
2018
- query getEncounterQuery($request: EncounterRequest) {
2019
- getEncounters(request: $request) {
2020
- paging_info {
2021
- ...PagingFields
2022
- }
2023
- resources {
2024
- ...EncounterFields
2025
- }
2026
- }
2027
- }
2028
- ${PagingFieldsFragmentDoc}
2029
- ${EncounterFieldsFragmentDoc}`;
2030
- export const GetHealthSummaryDocument = `
2031
- query GetHealthSummary {
2032
- getHealthSummary {
2033
- resources {
2034
- category
2035
- total
2036
- }
2037
- }
2038
- }
2039
- `;
2040
747
  export const GetImmunizationGroupsDocument = `
2041
748
  query getImmunizationGroups($request: ImmunizationGroupQueryRequest) {
2042
749
  getImmunizationGroups(request: $request) {
@@ -2058,86 +765,6 @@ export const GetImmunizationGroupsDocument = `
2058
765
  }
2059
766
  ${PagingFieldsFragmentDoc}
2060
767
  ${CodingFieldsFragmentDoc}`;
2061
- export const GetImmunizationsDocument = `
2062
- query getImmunizations($request: ImmunizationRequest) {
2063
- getImmunizations(request: $request) {
2064
- paging_info {
2065
- ...PagingFields
2066
- }
2067
- resources {
2068
- resourceType
2069
- id
2070
- status {
2071
- code
2072
- display
2073
- }
2074
- expirationDate
2075
- identifier {
2076
- ...IdentifierFields
2077
- }
2078
- reportOrigin {
2079
- ...CodeableConceptFields
2080
- }
2081
- text {
2082
- ...NarrativeFields
2083
- }
2084
- meta {
2085
- ...MetaFields
2086
- }
2087
- vaccineCode {
2088
- ...CodeableConceptFields
2089
- }
2090
- statusReason {
2091
- ...CodeableConceptFields
2092
- }
2093
- occurrenceDateTime
2094
- primarySource
2095
- doseQuantity {
2096
- ...QuantityFields
2097
- }
2098
- encounter {
2099
- ...EncounterFields
2100
- }
2101
- reaction {
2102
- ...ReactionFields
2103
- }
2104
- protocolApplied {
2105
- ...ProtocolAppliedFields
2106
- }
2107
- manufacturer {
2108
- ...OrganizationFields
2109
- }
2110
- lotNumber
2111
- site {
2112
- ...CodeableConceptFields
2113
- }
2114
- route {
2115
- ...CodeableConceptFields
2116
- }
2117
- performer {
2118
- ...PerformerFields
2119
- }
2120
- location {
2121
- ...LocationFields
2122
- }
2123
- reasonCode {
2124
- ...CodeableConceptFields
2125
- }
2126
- }
2127
- }
2128
- }
2129
- ${PagingFieldsFragmentDoc}
2130
- ${IdentifierFieldsFragmentDoc}
2131
- ${CodeableConceptFieldsFragmentDoc}
2132
- ${NarrativeFieldsFragmentDoc}
2133
- ${MetaFieldsFragmentDoc}
2134
- ${QuantityFieldsFragmentDoc}
2135
- ${EncounterFieldsFragmentDoc}
2136
- ${ReactionFieldsFragmentDoc}
2137
- ${ProtocolAppliedFieldsFragmentDoc}
2138
- ${OrganizationFieldsFragmentDoc}
2139
- ${PerformerFieldsFragmentDoc}
2140
- ${LocationFieldsFragmentDoc}`;
2141
768
  export const GetProcedureGroupsDocument = `
2142
769
  query getProcedureGroups($request: ProcedureGroupQueryRequest) {
2143
770
  getProcedureGroups(request: $request) {
@@ -2160,97 +787,6 @@ export const GetProcedureGroupsDocument = `
2160
787
  }
2161
788
  ${PagingFieldsFragmentDoc}
2162
789
  ${CodingFieldsFragmentDoc}`;
2163
- export const GetProceduresDocument = `
2164
- query GetProcedures($request: ProcedureRequest) {
2165
- getProcedures(request: $request) {
2166
- paging_info {
2167
- ...PagingFields
2168
- }
2169
- resources {
2170
- id
2171
- resourceType
2172
- identifier {
2173
- ...IdentifierFields
2174
- }
2175
- location {
2176
- ...LocationFields
2177
- }
2178
- subject {
2179
- __typename
2180
- ... on Patient {
2181
- name {
2182
- ...HumanNameFields
2183
- }
2184
- }
2185
- }
2186
- recorder {
2187
- ...RecorderFields
2188
- }
2189
- asserter {
2190
- ...AsserterFields
2191
- }
2192
- text {
2193
- ...NarrativeFields
2194
- }
2195
- code {
2196
- ...CodeableConceptFields
2197
- }
2198
- category {
2199
- ...CodeableConceptFields
2200
- }
2201
- meta {
2202
- ...MetaFields
2203
- }
2204
- performedDateTime
2205
- performedPeriod {
2206
- ...PeriodFields
2207
- }
2208
- performedString
2209
- performer {
2210
- ...PerformerFields
2211
- }
2212
- encounter {
2213
- ...EncounterFields
2214
- }
2215
- reasonCode {
2216
- ...CodeableConceptFields
2217
- }
2218
- bodySite {
2219
- ...CodeableConceptFields
2220
- }
2221
- outcome {
2222
- ...CodeableConceptFields
2223
- }
2224
- followUp {
2225
- ...CodeableConceptFields
2226
- }
2227
- complication {
2228
- ...CodeableConceptFields
2229
- }
2230
- note {
2231
- authorString
2232
- time
2233
- text
2234
- }
2235
- status {
2236
- code
2237
- display
2238
- }
2239
- }
2240
- }
2241
- }
2242
- ${PagingFieldsFragmentDoc}
2243
- ${IdentifierFieldsFragmentDoc}
2244
- ${LocationFieldsFragmentDoc}
2245
- ${HumanNameFieldsFragmentDoc}
2246
- ${RecorderFieldsFragmentDoc}
2247
- ${AsserterFieldsFragmentDoc}
2248
- ${NarrativeFieldsFragmentDoc}
2249
- ${CodeableConceptFieldsFragmentDoc}
2250
- ${MetaFieldsFragmentDoc}
2251
- ${PeriodFieldsFragmentDoc}
2252
- ${PerformerFieldsFragmentDoc}
2253
- ${EncounterFieldsFragmentDoc}`;
2254
790
  export const GetVitalSignGroupsDocument = `
2255
791
  query getVitalSignGroups($request: VitalSignGroupQueryRequest) {
2256
792
  getVitalSignGroups(request: $request) {
@@ -2292,19 +828,6 @@ ${CodingFieldsFragmentDoc}
2292
828
  ${ValueFieldsFragmentDoc}
2293
829
  ${ReferenceRangeFieldsFragmentDoc}
2294
830
  ${ComponentFieldsFragmentDoc}`;
2295
- export const GetVitalSignsDocument = `
2296
- query getVitalSigns($request: VitalSignRequest) {
2297
- getVitalSigns(request: $request) {
2298
- paging_info {
2299
- ...PagingFields
2300
- }
2301
- resources {
2302
- ...ObservationFields
2303
- }
2304
- }
2305
- }
2306
- ${PagingFieldsFragmentDoc}
2307
- ${ObservationFieldsFragmentDoc}`;
2308
831
  export const GetLabGroupsDocument = `
2309
832
  query getLabGroups($request: LabGroupQueryRequest) {
2310
833
  getLabGroups(request: $request) {
@@ -2313,357 +836,63 @@ export const GetLabGroupsDocument = `
2313
836
  }
2314
837
  resources {
2315
838
  id
2316
- name
2317
- source
2318
- sourceDisplay
2319
- category {
2320
- ...CodeableConceptFields
2321
- }
2322
- coding {
2323
- ...CodingFields
2324
- }
2325
- effectiveDateTime
2326
- referenceRange {
2327
- ...ReferenceRangeFields
2328
- }
2329
- value {
2330
- ...ValueFields
2331
- }
2332
- interpretation {
2333
- ...CodeableConceptFields
2334
- }
2335
- component {
2336
- ...ComponentFields
2337
- }
2338
- references
2339
- }
2340
- }
2341
- }
2342
- ${PagingFieldsFragmentDoc}
2343
- ${CodeableConceptFieldsFragmentDoc}
2344
- ${CodingFieldsFragmentDoc}
2345
- ${ReferenceRangeFieldsFragmentDoc}
2346
- ${ValueFieldsFragmentDoc}
2347
- ${ComponentFieldsFragmentDoc}`;
2348
- export const GetLabKnowledgeDocument = `
2349
- query getLabKnowledge($request: LabKnowledgeRequest) {
2350
- getLabKnowledge(request: $request) {
2351
- paging_info {
2352
- ...PagingFields
2353
- }
2354
- resources {
2355
- content
2356
- }
2357
- }
2358
- }
2359
- ${PagingFieldsFragmentDoc}`;
2360
- export const GetLabsDocument = `
2361
- query getLabs($request: LabRequest) {
2362
- getLabs(request: $request) {
2363
- paging_info {
2364
- ...PagingFields
2365
- }
2366
- resources {
2367
- ...ObservationFields
2368
- }
2369
- }
2370
- }
2371
- ${PagingFieldsFragmentDoc}
2372
- ${ObservationFieldsFragmentDoc}`;
2373
- export const GetMedicationDispenseDocument = `
2374
- query getMedicationDispense($request: MedicationDispenseQueryRequest) {
2375
- getMedicationDispense(request: $request) {
2376
- paging_info {
2377
- ...PagingFields
2378
- }
2379
- resources {
2380
- resourceType
2381
- id
2382
- meta {
2383
- ...MetaFields
2384
- }
2385
- status {
2386
- code
2387
- display
2388
- }
2389
- category {
2390
- ...CodeableConceptFields
2391
- }
2392
- identifier {
2393
- ...IdentifierFields
2394
- }
2395
- medicationCodeableConcept {
2396
- ...CodeableConceptFields
2397
- }
2398
- daysSupply {
2399
- ...QuantityFields
2400
- }
2401
- medicationReference {
2402
- ...MedicationReferenceFields
2403
- }
2404
- medication {
2405
- ...MedicationReferenceResourceFields
2406
- }
2407
- subject {
2408
- ... on Patient {
2409
- name {
2410
- ...HumanNameFields
2411
- }
2412
- }
2413
- }
2414
- context {
2415
- ...EncounterFields
2416
- }
2417
- performer {
2418
- ...PerformerFields
2419
- }
2420
- type {
2421
- ...CodeableConceptFields
2422
- }
2423
- quantity {
2424
- ...QuantityFields
2425
- }
2426
- location {
2427
- ...LocationFields
2428
- }
2429
- whenPrepared
2430
- whenHandedOver
2431
- dosageInstruction {
2432
- ...DosageFields
2433
- }
2434
- authorizingPrescription {
2435
- reference
2436
- type
2437
- }
2438
- }
2439
- }
2440
- }
2441
- ${PagingFieldsFragmentDoc}
2442
- ${MetaFieldsFragmentDoc}
2443
- ${CodeableConceptFieldsFragmentDoc}
2444
- ${IdentifierFieldsFragmentDoc}
2445
- ${QuantityFieldsFragmentDoc}
2446
- ${MedicationReferenceFieldsFragmentDoc}
2447
- ${MedicationReferenceResourceFieldsFragmentDoc}
2448
- ${HumanNameFieldsFragmentDoc}
2449
- ${EncounterFieldsFragmentDoc}
2450
- ${PerformerFieldsFragmentDoc}
2451
- ${LocationFieldsFragmentDoc}
2452
- ${DosageFieldsFragmentDoc}`;
2453
- export const GetMedicationGroupsDocument = `
2454
- query getMedicationGroups($request: MedicationGroupQueryRequest) {
2455
- getMedicationGroups(request: $request) {
2456
- paging_info {
2457
- ...PagingFields
2458
- }
2459
- resources {
2460
- id
2461
- name
2462
- source
2463
- sourceDisplay
2464
- coding {
2465
- ...CodingFields
2466
- }
2467
- references
2468
- status {
2469
- code
2470
- display
2471
- }
2472
- authoredOn
2473
- }
2474
- }
2475
- }
2476
- ${PagingFieldsFragmentDoc}
2477
- ${CodingFieldsFragmentDoc}`;
2478
- export const GetMedicationKnowledgeDocument = `
2479
- query getMedicationKnowledge($request: MedicationKnowledgeRequest) {
2480
- getMedicationKnowledge(request: $request) {
2481
- paging_info {
2482
- ...PagingFields
2483
- }
2484
- resources {
2485
- __typename
2486
- title
2487
- content
2488
- }
2489
- }
2490
- }
2491
- ${PagingFieldsFragmentDoc}`;
2492
- export const GetMedicationPricingDocument = `
2493
- query getMedicationPricing($request: MedicationPricingRequest) {
2494
- getMedicationPricing(request: $request) {
2495
- resources {
2496
- pharmacy
2497
- couponUrl
2498
- drugUrl
2499
- price {
2500
- ...MoneyResourceFields
2501
- }
2502
- }
2503
- }
2504
- }
2505
- ${MoneyResourceFieldsFragmentDoc}`;
2506
- export const GetMedicationRequestDocument = `
2507
- query getMedicationRequest($request: MedicationRequestQueryRequest) {
2508
- getMedicationRequest(request: $request) {
2509
- paging_info {
2510
- ...PagingFields
2511
- }
2512
- resources {
2513
- resourceType
2514
- id
2515
- meta {
2516
- ...MetaFields
2517
- }
2518
- status {
2519
- code
2520
- display
2521
- }
2522
- category {
2523
- ...CodeableConceptFields
2524
- }
2525
- identifier {
2526
- ...IdentifierFields
2527
- }
2528
- intent {
2529
- code
2530
- display
2531
- }
2532
- language
2533
- medicationCodeableConcept {
839
+ name
840
+ source
841
+ sourceDisplay
842
+ category {
2534
843
  ...CodeableConceptFields
2535
844
  }
2536
- medicationReference {
2537
- ...MedicationReferenceFields
2538
- }
2539
- medication {
2540
- ...MedicationReferenceResourceFields
2541
- }
2542
- text {
2543
- ...NarrativeFields
2544
- }
2545
- subject {
2546
- ... on Patient {
2547
- name {
2548
- ...HumanNameFields
2549
- }
2550
- }
2551
- }
2552
- requester {
2553
- ... on Practitioner {
2554
- ...PractitionerFields
2555
- }
2556
- }
2557
- recorder {
2558
- ... on Practitioner {
2559
- ...PractitionerFields
2560
- }
2561
- }
2562
- encounter {
2563
- ...EncounterFields
845
+ coding {
846
+ ...CodingFields
2564
847
  }
2565
- authoredOn
2566
- dosageInstruction {
2567
- ...DosageFields
848
+ effectiveDateTime
849
+ referenceRange {
850
+ ...ReferenceRangeFields
2568
851
  }
2569
- dispenseRequest {
2570
- ...MedicationDispenseFields
852
+ value {
853
+ ...ValueFields
2571
854
  }
2572
- reasonCode {
855
+ interpretation {
2573
856
  ...CodeableConceptFields
2574
857
  }
2575
- courseOfTherapyType {
2576
- ...CodeableConceptFields
858
+ component {
859
+ ...ComponentFields
2577
860
  }
861
+ references
2578
862
  }
2579
863
  }
2580
864
  }
2581
865
  ${PagingFieldsFragmentDoc}
2582
- ${MetaFieldsFragmentDoc}
2583
866
  ${CodeableConceptFieldsFragmentDoc}
2584
- ${IdentifierFieldsFragmentDoc}
2585
- ${MedicationReferenceFieldsFragmentDoc}
2586
- ${MedicationReferenceResourceFieldsFragmentDoc}
2587
- ${NarrativeFieldsFragmentDoc}
2588
- ${HumanNameFieldsFragmentDoc}
2589
- ${PractitionerFieldsFragmentDoc}
2590
- ${EncounterFieldsFragmentDoc}
2591
- ${DosageFieldsFragmentDoc}
2592
- ${MedicationDispenseFieldsFragmentDoc}`;
2593
- export const GetMedicationStatementsDocument = `
2594
- query getMedicationStatements($request: MedicationStatementQueryRequest) {
2595
- getMedicationStatements(request: $request) {
867
+ ${CodingFieldsFragmentDoc}
868
+ ${ReferenceRangeFieldsFragmentDoc}
869
+ ${ValueFieldsFragmentDoc}
870
+ ${ComponentFieldsFragmentDoc}`;
871
+ export const GetMedicationGroupsDocument = `
872
+ query getMedicationGroups($request: MedicationGroupQueryRequest) {
873
+ getMedicationGroups(request: $request) {
2596
874
  paging_info {
2597
875
  ...PagingFields
2598
876
  }
2599
877
  resources {
2600
878
  id
2601
- meta {
2602
- ...MetaFields
879
+ name
880
+ source
881
+ sourceDisplay
882
+ coding {
883
+ ...CodingFields
2603
884
  }
885
+ references
2604
886
  status {
2605
887
  code
2606
888
  display
2607
889
  }
2608
- medication {
2609
- ...CodeableConceptFields
2610
- }
2611
- reasonCode {
2612
- ...CodeableConceptFields
2613
- }
2614
890
  authoredOn
2615
- requester {
2616
- ...ActorFields
2617
- }
2618
- effectiveDate {
2619
- start
2620
- end
2621
- }
2622
- dosageInstruction {
2623
- ...DosageFields
2624
- }
2625
- dispenseRequest {
2626
- id
2627
- dispenseInterval {
2628
- ...QuantityFields
2629
- }
2630
- expectedSupplyDuration {
2631
- ...QuantityFields
2632
- }
2633
- initialFill {
2634
- duration {
2635
- ...QuantityFields
2636
- }
2637
- quantity {
2638
- ...QuantityFields
2639
- }
2640
- }
2641
- numberOfRepeatsAllowed
2642
- performer {
2643
- name
2644
- }
2645
- validityPeriod {
2646
- start
2647
- end
2648
- }
2649
- quantity {
2650
- ...QuantityFields
2651
- }
2652
- }
2653
- source
2654
- derivedFrom {
2655
- reference
2656
- type
2657
- }
2658
891
  }
2659
892
  }
2660
893
  }
2661
894
  ${PagingFieldsFragmentDoc}
2662
- ${MetaFieldsFragmentDoc}
2663
- ${CodeableConceptFieldsFragmentDoc}
2664
- ${ActorFieldsFragmentDoc}
2665
- ${DosageFieldsFragmentDoc}
2666
- ${QuantityFieldsFragmentDoc}`;
895
+ ${CodingFieldsFragmentDoc}`;
2667
896
  export const AppointmentsDocument = `
2668
897
  query appointments($source: SearchString, $id: SearchString, $count: Int, $getPagesOffset: Int, $date: SearchDate, $supportingInformation: SearchReference, $sort: [String], $status: SearchToken) {
2669
898
  appointments(
@@ -2877,292 +1106,6 @@ export const NextQuestionDocument = `
2877
1106
  }
2878
1107
  }
2879
1108
  ${QuestionnaireResponseFieldsFragmentDoc}`;
2880
- export const ProviderSearchDocument = `
2881
- query providerSearch($client: [Client], $searchTerm: String, $includePopulatedPROAonly: Boolean, $specialtyFilters: [InputCoding], $organizationTypeFilters: [OrganizationType], $gender: Gender, $location: SearchPosition, $sortBy: [OrderBy], $filterFields: [FilterField], $page: Int, $pageSize: Int) {
2882
- providers(
2883
- client: $client
2884
- search: $searchTerm
2885
- specialty: $specialtyFilters
2886
- organization_type: $organizationTypeFilters
2887
- include_populated_PROA_only: $includePopulatedPROAonly
2888
- gender: $gender
2889
- search_position: $location
2890
- order_by: $sortBy
2891
- filter_values: $filterFields
2892
- page_number: $page
2893
- page_size: $pageSize
2894
- ) {
2895
- paging_info {
2896
- page_number
2897
- page_size
2898
- total_items
2899
- total_pages
2900
- }
2901
- filter_values {
2902
- field
2903
- values {
2904
- value
2905
- count
2906
- }
2907
- }
2908
- results {
2909
- endpoint {
2910
- identifier {
2911
- type {
2912
- coding {
2913
- code
2914
- system
2915
- display
2916
- }
2917
- text
2918
- }
2919
- value
2920
- system
2921
- }
2922
- name
2923
- status
2924
- connectionType {
2925
- code
2926
- system
2927
- display
2928
- }
2929
- address
2930
- }
2931
- iconString
2932
- organization_type {
2933
- coding {
2934
- code
2935
- system
2936
- display
2937
- }
2938
- text
2939
- }
2940
- content
2941
- gender
2942
- location {
2943
- name
2944
- identifier {
2945
- type {
2946
- text
2947
- coding {
2948
- system
2949
- code
2950
- display
2951
- }
2952
- }
2953
- value
2954
- system
2955
- }
2956
- alias
2957
- description
2958
- address {
2959
- use
2960
- type
2961
- text
2962
- line
2963
- city
2964
- district
2965
- state
2966
- postalCode
2967
- country
2968
- }
2969
- position {
2970
- lat
2971
- lon
2972
- }
2973
- distanceInMiles
2974
- telecom {
2975
- system
2976
- value
2977
- rank
2978
- }
2979
- }
2980
- specialty {
2981
- code
2982
- system
2983
- display
2984
- }
2985
- id
2986
- photo {
2987
- contentType
2988
- url
2989
- title
2990
- }
2991
- name {
2992
- ...HumanNameFields
2993
- }
2994
- telecom {
2995
- system
2996
- value
2997
- rank
2998
- }
2999
- practitioner_qualification {
3000
- identifier {
3001
- type {
3002
- coding {
3003
- code
3004
- system
3005
- display
3006
- }
3007
- text
3008
- }
3009
- value
3010
- system
3011
- }
3012
- code {
3013
- coding {
3014
- code
3015
- system
3016
- display
3017
- }
3018
- text
3019
- }
3020
- period {
3021
- start
3022
- end
3023
- }
3024
- issuer {
3025
- reference
3026
- display
3027
- }
3028
- }
3029
- provider_type
3030
- characteristic {
3031
- code
3032
- system
3033
- display
3034
- }
3035
- organization {
3036
- name
3037
- endpoint {
3038
- identifier {
3039
- type {
3040
- coding {
3041
- code
3042
- system
3043
- display
3044
- }
3045
- text
3046
- }
3047
- value
3048
- system
3049
- }
3050
- name
3051
- status
3052
- connectionType {
3053
- code
3054
- system
3055
- display
3056
- }
3057
- address
3058
- }
3059
- }
3060
- }
3061
- }
3062
- }
3063
- ${HumanNameFieldsFragmentDoc}`;
3064
- export const RequestConnectionDocument = `
3065
- mutation requestConnection($city: String, $institution: String, $provider: String, $state: String) {
3066
- requestConnection(
3067
- city: $city
3068
- institution: $institution
3069
- provider: $provider
3070
- state: $state
3071
- ) {
3072
- resourceType
3073
- issue {
3074
- severity
3075
- code
3076
- details {
3077
- text
3078
- }
3079
- }
3080
- }
3081
- }
3082
- `;
3083
- export const SearchHealthResourcesDocument = `
3084
- query SearchHealthResources($searchInput: SearchHealthResourcesInput) {
3085
- searchHealthResources(searchInput: $searchInput) {
3086
- pagingInfo {
3087
- pageNumber
3088
- pageSize
3089
- totalItems
3090
- totalPages
3091
- }
3092
- filterValues {
3093
- field
3094
- values {
3095
- value
3096
- count
3097
- }
3098
- }
3099
- results {
3100
- type
3101
- id
3102
- content
3103
- specialty {
3104
- code
3105
- system
3106
- display
3107
- }
3108
- location {
3109
- name
3110
- address {
3111
- line
3112
- city
3113
- state
3114
- postalCode
3115
- country
3116
- }
3117
- position {
3118
- latitude
3119
- longitude
3120
- }
3121
- distanceInMiles
3122
- }
3123
- organization {
3124
- name
3125
- endpoint {
3126
- name
3127
- status
3128
- address
3129
- }
3130
- }
3131
- npi
3132
- gender
3133
- iconString
3134
- endpoint {
3135
- identifier {
3136
- type {
3137
- coding {
3138
- code
3139
- system
3140
- display
3141
- }
3142
- text
3143
- }
3144
- value
3145
- system
3146
- }
3147
- name
3148
- status
3149
- connectionType {
3150
- code
3151
- system
3152
- display
3153
- }
3154
- address
3155
- }
3156
- score
3157
- scores {
3158
- value
3159
- description
3160
- calculation
3161
- }
3162
- }
3163
- }
3164
- }
3165
- `;
3166
1109
  export const CreateConsentDocument = `
3167
1110
  mutation createConsent($consentInput: ConsentInput!) {
3168
1111
  createConsent(consentInput: $consentInput) {
@@ -3248,11 +1191,6 @@ export const CreateConsentDocument = `
3248
1191
  }
3249
1192
  ${CodingFieldsFragmentDoc}
3250
1193
  ${PeriodFieldsFragmentDoc}`;
3251
- export const CreateDataExportDirectDownloadUrlDocument = `
3252
- mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {
3253
- createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)
3254
- }
3255
- `;
3256
1194
  export const CreateVerificationUrlDocument = `
3257
1195
  mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {
3258
1196
  createVerificationUrl(
@@ -3300,40 +1238,6 @@ export const GetProfileDocument = `
3300
1238
  }
3301
1239
  }
3302
1240
  `;
3303
- export const SearchConsentDocument = `
3304
- query searchConsent($categoryCode: CategoryCode) {
3305
- search(params: {category: $categoryCode}) {
3306
- resourceType
3307
- id
3308
- meta {
3309
- ...MetaFields
3310
- }
3311
- status
3312
- scope {
3313
- text
3314
- coding {
3315
- code
3316
- system
3317
- display
3318
- }
3319
- }
3320
- category {
3321
- text
3322
- coding {
3323
- code
3324
- system
3325
- display
3326
- }
3327
- }
3328
- patient {
3329
- reference
3330
- }
3331
- provision {
3332
- type
3333
- }
3334
- }
3335
- }
3336
- ${MetaFieldsFragmentDoc}`;
3337
1241
  export const UpdateUserProfileDocument = `
3338
1242
  mutation updateUserProfile($person: FHIRPersonInput) {
3339
1243
  updateUserProfile(input: $person) {
@@ -3373,12 +1277,6 @@ export const VerificationStatusDocument = `
3373
1277
  const defaultWrapper = (action, _operationName, _operationType, _variables) => action();
3374
1278
  export function getSdk(client, withWrapper = defaultWrapper) {
3375
1279
  return {
3376
- getTasks(variables, requestHeaders) {
3377
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetTasksDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getTasks', 'query', variables);
3378
- },
3379
- taskUpdateStatus(variables, requestHeaders) {
3380
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(TaskUpdateStatusDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'taskUpdateStatus', 'mutation', variables);
3381
- },
3382
1280
  createConnection(variables, requestHeaders) {
3383
1281
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConnectionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConnection', 'mutation', variables);
3384
1282
  },
@@ -3391,27 +1289,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3391
1289
  getDataSource(variables, requestHeaders) {
3392
1290
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDataSourceDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDataSource', 'query', variables);
3393
1291
  },
3394
- getMemberConnections(variables, requestHeaders) {
3395
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMemberConnectionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMemberConnections', 'query', variables);
3396
- },
3397
1292
  getOauthUrl(variables, requestHeaders) {
3398
1293
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetOauthUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOauthUrl', 'query', variables);
3399
1294
  },
3400
- updateDeviceRegistration(variables, requestHeaders) {
3401
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateDeviceRegistrationDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateDeviceRegistration', 'mutation', variables);
3402
- },
3403
- publishEvent(variables, requestHeaders) {
3404
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(PublishEventDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'publishEvent', 'mutation', variables);
3405
- },
3406
- getBinary(variables, requestHeaders) {
3407
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetBinaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getBinary', 'query', variables);
3408
- },
3409
- getFHIR(variables, requestHeaders) {
3410
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetFhirDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getFHIR', 'query', variables);
3411
- },
3412
- getDiagnosticReports(variables, requestHeaders) {
3413
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReports', 'query', variables);
3414
- },
3415
1295
  getAllergyIntoleranceGroups(variables, requestHeaders) {
3416
1296
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetAllergyIntoleranceGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getAllergyIntoleranceGroups', 'query', variables);
3417
1297
  },
@@ -3421,78 +1301,30 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3421
1301
  getCarePlanGroups(variables, requestHeaders) {
3422
1302
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlanGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlanGroups', 'query', variables);
3423
1303
  },
3424
- getCarePlans(variables, requestHeaders) {
3425
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlansDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlans', 'query', variables);
3426
- },
3427
- getCareTeams(variables, requestHeaders) {
3428
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCareTeamsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCareTeams', 'query', variables);
3429
- },
3430
1304
  getConditionGroups(variables, requestHeaders) {
3431
1305
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditionGroups', 'query', variables);
3432
1306
  },
3433
- getConditions(variables, requestHeaders) {
3434
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditions', 'query', variables);
3435
- },
3436
1307
  getDiagnosticReportLabGroups(variables, requestHeaders) {
3437
1308
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReportLabGroups', 'query', variables);
3438
1309
  },
3439
- getDocumentReferences(variables, requestHeaders) {
3440
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDocumentReferencesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDocumentReferences', 'query', variables);
3441
- },
3442
1310
  getEncountersGroup(variables, requestHeaders) {
3443
1311
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetEncountersGroupDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getEncountersGroup', 'query', variables);
3444
1312
  },
3445
- getEncounterQuery(variables, requestHeaders) {
3446
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetEncounterQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getEncounterQuery', 'query', variables);
3447
- },
3448
- GetHealthSummary(variables, requestHeaders) {
3449
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetHealthSummaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetHealthSummary', 'query', variables);
3450
- },
3451
1313
  getImmunizationGroups(variables, requestHeaders) {
3452
1314
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizationGroups', 'query', variables);
3453
1315
  },
3454
- getImmunizations(variables, requestHeaders) {
3455
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizations', 'query', variables);
3456
- },
3457
1316
  getProcedureGroups(variables, requestHeaders) {
3458
1317
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProcedureGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedureGroups', 'query', variables);
3459
1318
  },
3460
- GetProcedures(variables, requestHeaders) {
3461
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProceduresDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetProcedures', 'query', variables);
3462
- },
3463
1319
  getVitalSignGroups(variables, requestHeaders) {
3464
1320
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSignGroups', 'query', variables);
3465
1321
  },
3466
- getVitalSigns(variables, requestHeaders) {
3467
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSigns', 'query', variables);
3468
- },
3469
1322
  getLabGroups(variables, requestHeaders) {
3470
1323
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabGroups', 'query', variables);
3471
1324
  },
3472
- getLabKnowledge(variables, requestHeaders) {
3473
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabKnowledge', 'query', variables);
3474
- },
3475
- getLabs(variables, requestHeaders) {
3476
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabs', 'query', variables);
3477
- },
3478
- getMedicationDispense(variables, requestHeaders) {
3479
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationDispenseDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationDispense', 'query', variables);
3480
- },
3481
1325
  getMedicationGroups(variables, requestHeaders) {
3482
1326
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationGroups', 'query', variables);
3483
1327
  },
3484
- getMedicationKnowledge(variables, requestHeaders) {
3485
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationKnowledge', 'query', variables);
3486
- },
3487
- getMedicationPricing(variables, requestHeaders) {
3488
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationPricingDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationPricing', 'query', variables);
3489
- },
3490
- getMedicationRequest(variables, requestHeaders) {
3491
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationRequestDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationRequest', 'query', variables);
3492
- },
3493
- getMedicationStatements(variables, requestHeaders) {
3494
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationStatementsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationStatements', 'query', variables);
3495
- },
3496
1328
  appointments(variables, requestHeaders) {
3497
1329
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(AppointmentsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'appointments', 'query', variables);
3498
1330
  },
@@ -3523,21 +1355,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3523
1355
  nextQuestion(variables, requestHeaders) {
3524
1356
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(NextQuestionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'nextQuestion', 'mutation', variables);
3525
1357
  },
3526
- providerSearch(variables, requestHeaders) {
3527
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(ProviderSearchDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'providerSearch', 'query', variables);
3528
- },
3529
- requestConnection(variables, requestHeaders) {
3530
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(RequestConnectionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'requestConnection', 'mutation', variables);
3531
- },
3532
- SearchHealthResources(variables, requestHeaders) {
3533
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchHealthResourcesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'SearchHealthResources', 'query', variables);
3534
- },
3535
1358
  createConsent(variables, requestHeaders) {
3536
1359
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConsent', 'mutation', variables);
3537
1360
  },
3538
- CreateDataExportDirectDownloadUrl(variables, requestHeaders) {
3539
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateDataExportDirectDownloadUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateDataExportDirectDownloadUrl', 'mutation', variables);
3540
- },
3541
1361
  CreateVerificationUrl(variables, requestHeaders) {
3542
1362
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateVerificationUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateVerificationUrl', 'mutation', variables);
3543
1363
  },
@@ -3547,9 +1367,6 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3547
1367
  getProfile(variables, requestHeaders) {
3548
1368
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProfileDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProfile', 'query', variables);
3549
1369
  },
3550
- searchConsent(variables, requestHeaders) {
3551
- return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'searchConsent', 'query', variables);
3552
- },
3553
1370
  updateUserProfile(variables, requestHeaders) {
3554
1371
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateUserProfileDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateUserProfile', 'mutation', variables);
3555
1372
  },