@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1757362315 → 2.0.0-alpha.0-rc.1757440654
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.
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/health-data/health-data-request.d.ts +3 -0
- package/dist/api/base/health-data/health-manager.d.ts +25 -1
- package/dist/api/base/requests/field-sort-order.d.ts +11 -0
- package/dist/api/base/requests/field-sort-order.js +1 -0
- package/dist/api/base/requests/index.d.ts +1 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +3 -11
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +3 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +42 -0
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +13 -1
- package/dist/graphql/operations/index.d.ts +44 -5
- package/dist/graphql/operations/index.js +690 -33
- package/dist/graphql/operations/types.d.ts +4999 -2248
- package/dist/models/common/contact-point.d.ts +4 -0
- package/dist/models/common/index.d.ts +6 -1
- package/dist/models/common/location.d.ts +5 -0
- package/dist/models/common/organization.d.ts +22 -0
- package/dist/models/common/patient.d.ts +13 -0
- package/dist/models/common/patient.js +1 -0
- package/dist/models/common/practitioner.d.ts +15 -0
- package/dist/models/common/practitioner.js +1 -0
- package/dist/models/common/service-request.d.ts +21 -0
- package/dist/models/common/service-request.js +1 -0
- package/dist/models/common/specimen.d.ts +13 -0
- package/dist/models/common/specimen.js +1 -0
- package/dist/models/common/timing.d.ts +107 -0
- package/dist/models/common/timing.js +1 -0
- package/dist/models/common/value.d.ts +22 -0
- package/dist/models/common/value.js +1 -0
- package/dist/models/health-data/care-plan.d.ts +134 -0
- package/dist/models/health-data/care-plan.js +1 -0
- package/dist/models/health-data/condition.d.ts +107 -0
- package/dist/models/health-data/condition.js +1 -0
- package/dist/models/health-data/immunization.d.ts +149 -0
- package/dist/models/health-data/immunization.js +1 -0
- package/dist/models/health-data/index.d.ts +4 -0
- package/dist/models/health-data/observation.d.ts +101 -0
- package/dist/models/health-data/observation.js +1 -0
- package/dist/models/search/health-resources.d.ts +2 -2
- package/package.json +1 -1
|
@@ -21,6 +21,33 @@ export const PagingFieldsFragmentDoc = `
|
|
|
21
21
|
total_items
|
|
22
22
|
}
|
|
23
23
|
`;
|
|
24
|
+
export const CodingFieldsFragmentDoc = `
|
|
25
|
+
fragment CodingFields on Coding {
|
|
26
|
+
id
|
|
27
|
+
system
|
|
28
|
+
code
|
|
29
|
+
display
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
export const CodeableConceptFieldsFragmentDoc = `
|
|
33
|
+
fragment CodeableConceptFields on CodeableConcept {
|
|
34
|
+
id
|
|
35
|
+
text
|
|
36
|
+
coding {
|
|
37
|
+
...CodingFields
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
${CodingFieldsFragmentDoc}`;
|
|
41
|
+
export const IdentifierFieldsFragmentDoc = `
|
|
42
|
+
fragment IdentifierFields on Identifier {
|
|
43
|
+
id
|
|
44
|
+
type {
|
|
45
|
+
...CodeableConceptFields
|
|
46
|
+
}
|
|
47
|
+
system
|
|
48
|
+
value
|
|
49
|
+
}
|
|
50
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
24
51
|
export const AddressFieldsFragmentDoc = `
|
|
25
52
|
fragment AddressFields on Address {
|
|
26
53
|
use
|
|
@@ -34,23 +61,58 @@ export const AddressFieldsFragmentDoc = `
|
|
|
34
61
|
country
|
|
35
62
|
}
|
|
36
63
|
`;
|
|
37
|
-
export const
|
|
38
|
-
fragment
|
|
64
|
+
export const PositionFieldsFragmentDoc = `
|
|
65
|
+
fragment PositionFields on LocationPosition {
|
|
66
|
+
latitude
|
|
67
|
+
longitude
|
|
68
|
+
}
|
|
69
|
+
`;
|
|
70
|
+
export const ContactPointFieldsFragmentDoc = `
|
|
71
|
+
fragment ContactPointFields on ContactPoint {
|
|
39
72
|
id
|
|
40
73
|
system
|
|
41
|
-
|
|
42
|
-
|
|
74
|
+
value
|
|
75
|
+
use
|
|
76
|
+
rank
|
|
43
77
|
}
|
|
44
78
|
`;
|
|
45
|
-
export const
|
|
46
|
-
fragment
|
|
79
|
+
export const LocationFieldsFragmentDoc = `
|
|
80
|
+
fragment LocationFields on Location {
|
|
81
|
+
name
|
|
82
|
+
identifier {
|
|
83
|
+
...IdentifierFields
|
|
84
|
+
}
|
|
85
|
+
alias
|
|
86
|
+
description
|
|
87
|
+
address {
|
|
88
|
+
...AddressFields
|
|
89
|
+
}
|
|
90
|
+
position {
|
|
91
|
+
...PositionFields
|
|
92
|
+
}
|
|
93
|
+
telecom {
|
|
94
|
+
...ContactPointFields
|
|
95
|
+
}
|
|
96
|
+
type {
|
|
97
|
+
...CodeableConceptFields
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
${IdentifierFieldsFragmentDoc}
|
|
101
|
+
${AddressFieldsFragmentDoc}
|
|
102
|
+
${PositionFieldsFragmentDoc}
|
|
103
|
+
${ContactPointFieldsFragmentDoc}
|
|
104
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
105
|
+
export const ExtensionFieldsFragmentDoc = `
|
|
106
|
+
fragment ExtensionFields on Extension {
|
|
47
107
|
id
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
...
|
|
108
|
+
url
|
|
109
|
+
valueCodeableConcept {
|
|
110
|
+
...CodeableConceptFields
|
|
51
111
|
}
|
|
112
|
+
valueString
|
|
113
|
+
valueInteger
|
|
52
114
|
}
|
|
53
|
-
${
|
|
115
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
54
116
|
export const QuantityFieldsFragmentDoc = `
|
|
55
117
|
fragment QuantityFields on Quantity {
|
|
56
118
|
value
|
|
@@ -146,12 +208,80 @@ export const ComponentFieldsFragmentDoc = `
|
|
|
146
208
|
${CodeableConceptFieldsFragmentDoc}
|
|
147
209
|
${ValueFieldsFragmentDoc}
|
|
148
210
|
${ReferenceRangeFieldsFragmentDoc}`;
|
|
149
|
-
export const
|
|
150
|
-
fragment
|
|
151
|
-
|
|
211
|
+
export const TimingRepeatFieldsFragmentDoc = `
|
|
212
|
+
fragment TimingRepeatFields on TimingRepeat {
|
|
213
|
+
id
|
|
214
|
+
boundsDuration {
|
|
215
|
+
...QuantityFields
|
|
216
|
+
}
|
|
217
|
+
boundsPeriod {
|
|
218
|
+
...PeriodFields
|
|
219
|
+
}
|
|
220
|
+
boundsRange {
|
|
221
|
+
...RangeFields
|
|
222
|
+
}
|
|
223
|
+
count
|
|
224
|
+
countMax
|
|
225
|
+
dayOfWeek
|
|
226
|
+
duration
|
|
227
|
+
durationMax
|
|
228
|
+
durationUnit
|
|
229
|
+
frequency
|
|
230
|
+
frequencyMax
|
|
231
|
+
offset
|
|
232
|
+
period
|
|
233
|
+
periodMax
|
|
234
|
+
periodUnit
|
|
235
|
+
timeOfDay
|
|
236
|
+
when
|
|
237
|
+
}
|
|
238
|
+
${QuantityFieldsFragmentDoc}
|
|
239
|
+
${PeriodFieldsFragmentDoc}
|
|
240
|
+
${RangeFieldsFragmentDoc}`;
|
|
241
|
+
export const TimingFieldsFragmentDoc = `
|
|
242
|
+
fragment TimingFields on Timing {
|
|
243
|
+
id
|
|
244
|
+
code {
|
|
245
|
+
...CodeableConceptFields
|
|
246
|
+
}
|
|
247
|
+
event
|
|
248
|
+
repeat {
|
|
249
|
+
...TimingRepeatFields
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
253
|
+
${TimingRepeatFieldsFragmentDoc}`;
|
|
254
|
+
export const CarePlanDetailFieldsFragmentDoc = `
|
|
255
|
+
fragment CarePlanDetailFields on CarePlanDetail {
|
|
256
|
+
kind
|
|
257
|
+
code {
|
|
258
|
+
...CodeableConceptFields
|
|
259
|
+
}
|
|
152
260
|
status
|
|
261
|
+
scheduledPeriod {
|
|
262
|
+
...PeriodFields
|
|
263
|
+
}
|
|
264
|
+
scheduledString
|
|
265
|
+
scheduledTiming {
|
|
266
|
+
...TimingFields
|
|
267
|
+
}
|
|
153
268
|
}
|
|
154
|
-
|
|
269
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
270
|
+
${PeriodFieldsFragmentDoc}
|
|
271
|
+
${TimingFieldsFragmentDoc}`;
|
|
272
|
+
export const MetaFieldsFragmentDoc = `
|
|
273
|
+
fragment MetaFields on Meta {
|
|
274
|
+
versionId
|
|
275
|
+
lastUpdated
|
|
276
|
+
source
|
|
277
|
+
security {
|
|
278
|
+
...CodingFields
|
|
279
|
+
}
|
|
280
|
+
tag {
|
|
281
|
+
...CodingFields
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
${CodingFieldsFragmentDoc}`;
|
|
155
285
|
export const HumanNameFieldsFragmentDoc = `
|
|
156
286
|
fragment HumanNameFields on HumanName {
|
|
157
287
|
text
|
|
@@ -161,16 +291,13 @@ export const HumanNameFieldsFragmentDoc = `
|
|
|
161
291
|
suffix
|
|
162
292
|
}
|
|
163
293
|
`;
|
|
164
|
-
export const
|
|
165
|
-
fragment
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
...CodeableConceptFields
|
|
294
|
+
export const PatientFieldsFragmentDoc = `
|
|
295
|
+
fragment PatientFields on Patient {
|
|
296
|
+
name {
|
|
297
|
+
...HumanNameFields
|
|
169
298
|
}
|
|
170
|
-
system
|
|
171
|
-
value
|
|
172
299
|
}
|
|
173
|
-
${
|
|
300
|
+
${HumanNameFieldsFragmentDoc}`;
|
|
174
301
|
export const PractitionerFieldsFragmentDoc = `
|
|
175
302
|
fragment PractitionerFields on Practitioner {
|
|
176
303
|
id
|
|
@@ -183,6 +310,102 @@ export const PractitionerFieldsFragmentDoc = `
|
|
|
183
310
|
}
|
|
184
311
|
${HumanNameFieldsFragmentDoc}
|
|
185
312
|
${IdentifierFieldsFragmentDoc}`;
|
|
313
|
+
export const RecorderFieldsFragmentDoc = `
|
|
314
|
+
fragment RecorderFields on ConditionRecorder {
|
|
315
|
+
...PatientFields
|
|
316
|
+
...PractitionerFields
|
|
317
|
+
}
|
|
318
|
+
${PatientFieldsFragmentDoc}
|
|
319
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
320
|
+
export const ConditionFieldsFragmentDoc = `
|
|
321
|
+
fragment ConditionFields on Condition {
|
|
322
|
+
id
|
|
323
|
+
meta {
|
|
324
|
+
...MetaFields
|
|
325
|
+
}
|
|
326
|
+
code {
|
|
327
|
+
...CodeableConceptFields
|
|
328
|
+
}
|
|
329
|
+
clinicalStatus {
|
|
330
|
+
...CodeableConceptFields
|
|
331
|
+
}
|
|
332
|
+
onsetDateTime
|
|
333
|
+
recordedDate
|
|
334
|
+
recorder {
|
|
335
|
+
resource {
|
|
336
|
+
...RecorderFields
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
note {
|
|
340
|
+
authorString
|
|
341
|
+
time
|
|
342
|
+
text
|
|
343
|
+
}
|
|
344
|
+
onsetPeriod {
|
|
345
|
+
...PeriodFields
|
|
346
|
+
}
|
|
347
|
+
abatementDateTime
|
|
348
|
+
abatementPeriod {
|
|
349
|
+
...PeriodFields
|
|
350
|
+
}
|
|
351
|
+
category {
|
|
352
|
+
...CodeableConceptFields
|
|
353
|
+
}
|
|
354
|
+
severity {
|
|
355
|
+
...CodeableConceptFields
|
|
356
|
+
}
|
|
357
|
+
verificationStatus {
|
|
358
|
+
...CodeableConceptFields
|
|
359
|
+
}
|
|
360
|
+
bodySite {
|
|
361
|
+
...CodeableConceptFields
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
${MetaFieldsFragmentDoc}
|
|
365
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
366
|
+
${RecorderFieldsFragmentDoc}
|
|
367
|
+
${PeriodFieldsFragmentDoc}`;
|
|
368
|
+
export const EndpointFieldsFragmentDoc = `
|
|
369
|
+
fragment EndpointFields on Endpoint {
|
|
370
|
+
identifier {
|
|
371
|
+
...IdentifierFields
|
|
372
|
+
}
|
|
373
|
+
name
|
|
374
|
+
status
|
|
375
|
+
connectionType {
|
|
376
|
+
...CodingFields
|
|
377
|
+
}
|
|
378
|
+
address
|
|
379
|
+
}
|
|
380
|
+
${IdentifierFieldsFragmentDoc}
|
|
381
|
+
${CodingFieldsFragmentDoc}`;
|
|
382
|
+
export const OrganizationFieldsFragmentDoc = `
|
|
383
|
+
fragment OrganizationFields on Organization {
|
|
384
|
+
resourceType
|
|
385
|
+
identifier {
|
|
386
|
+
...IdentifierFields
|
|
387
|
+
}
|
|
388
|
+
endpoint {
|
|
389
|
+
id
|
|
390
|
+
reference
|
|
391
|
+
type
|
|
392
|
+
resource {
|
|
393
|
+
...EndpointFields
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
name
|
|
397
|
+
telecom {
|
|
398
|
+
system
|
|
399
|
+
value
|
|
400
|
+
rank
|
|
401
|
+
}
|
|
402
|
+
address {
|
|
403
|
+
...AddressFields
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
${IdentifierFieldsFragmentDoc}
|
|
407
|
+
${EndpointFieldsFragmentDoc}
|
|
408
|
+
${AddressFieldsFragmentDoc}`;
|
|
186
409
|
export const AnnotationFieldsFragmentDoc = `
|
|
187
410
|
fragment AnnotationFields on Annotation {
|
|
188
411
|
id
|
|
@@ -206,19 +429,278 @@ export const ReactionFieldsFragmentDoc = `
|
|
|
206
429
|
}
|
|
207
430
|
${CodeableConceptFieldsFragmentDoc}
|
|
208
431
|
${AnnotationFieldsFragmentDoc}`;
|
|
209
|
-
export const
|
|
210
|
-
fragment
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
432
|
+
export const NarrativeFieldsFragmentDoc = `
|
|
433
|
+
fragment NarrativeFields on Narrative {
|
|
434
|
+
div
|
|
435
|
+
status
|
|
436
|
+
}
|
|
437
|
+
`;
|
|
438
|
+
export const ObservationBasedOnFieldsFragmentDoc = `
|
|
439
|
+
fragment ObservationBasedOnFields on ObservationBasedOn {
|
|
440
|
+
... on ServiceRequest {
|
|
441
|
+
resourceType
|
|
442
|
+
id
|
|
443
|
+
reasonCode {
|
|
444
|
+
...CodeableConceptFields
|
|
445
|
+
}
|
|
216
446
|
}
|
|
217
|
-
|
|
218
|
-
|
|
447
|
+
}
|
|
448
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
449
|
+
export const ObservationValueFieldsFragmentDoc = `
|
|
450
|
+
fragment ObservationValueFields on Observation {
|
|
451
|
+
valueQuantity {
|
|
452
|
+
...QuantityFields
|
|
453
|
+
}
|
|
454
|
+
valueCodeableConcept {
|
|
455
|
+
...CodeableConceptFields
|
|
456
|
+
}
|
|
457
|
+
valueString
|
|
458
|
+
valueBoolean
|
|
459
|
+
valueInteger
|
|
460
|
+
valueRatio {
|
|
461
|
+
...RatioFields
|
|
462
|
+
}
|
|
463
|
+
valueRange {
|
|
464
|
+
...RangeFields
|
|
465
|
+
}
|
|
466
|
+
valueTime
|
|
467
|
+
valueDateTime
|
|
468
|
+
valuePeriod {
|
|
469
|
+
...PeriodFields
|
|
219
470
|
}
|
|
220
471
|
}
|
|
221
|
-
${
|
|
472
|
+
${QuantityFieldsFragmentDoc}
|
|
473
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
474
|
+
${RatioFieldsFragmentDoc}
|
|
475
|
+
${RangeFieldsFragmentDoc}
|
|
476
|
+
${PeriodFieldsFragmentDoc}`;
|
|
477
|
+
export const ObservationReferenceRangeFieldsFragmentDoc = `
|
|
478
|
+
fragment ObservationReferenceRangeFields on ObservationReferenceRange {
|
|
479
|
+
low {
|
|
480
|
+
...QuantityFields
|
|
481
|
+
}
|
|
482
|
+
high {
|
|
483
|
+
...QuantityFields
|
|
484
|
+
}
|
|
485
|
+
text
|
|
486
|
+
}
|
|
487
|
+
${QuantityFieldsFragmentDoc}`;
|
|
488
|
+
export const ObservationComponentValueFieldsFragmentDoc = `
|
|
489
|
+
fragment ObservationComponentValueFields on ObservationComponent {
|
|
490
|
+
valueQuantity {
|
|
491
|
+
...QuantityFields
|
|
492
|
+
}
|
|
493
|
+
valueCodeableConcept {
|
|
494
|
+
...CodeableConceptFields
|
|
495
|
+
}
|
|
496
|
+
valueString
|
|
497
|
+
valueBoolean
|
|
498
|
+
valueInteger
|
|
499
|
+
valueRatio {
|
|
500
|
+
...RatioFields
|
|
501
|
+
}
|
|
502
|
+
valueRange {
|
|
503
|
+
...RangeFields
|
|
504
|
+
}
|
|
505
|
+
valueTime
|
|
506
|
+
valueDateTime
|
|
507
|
+
valuePeriod {
|
|
508
|
+
...PeriodFields
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
${QuantityFieldsFragmentDoc}
|
|
512
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
513
|
+
${RatioFieldsFragmentDoc}
|
|
514
|
+
${RangeFieldsFragmentDoc}
|
|
515
|
+
${PeriodFieldsFragmentDoc}`;
|
|
516
|
+
export const ObservationComponentFieldsFragmentDoc = `
|
|
517
|
+
fragment ObservationComponentFields on ObservationComponent {
|
|
518
|
+
code {
|
|
519
|
+
...CodeableConceptFields
|
|
520
|
+
}
|
|
521
|
+
...ObservationComponentValueFields
|
|
522
|
+
referenceRange {
|
|
523
|
+
...ObservationReferenceRangeFields
|
|
524
|
+
}
|
|
525
|
+
interpretation {
|
|
526
|
+
...CodeableConceptFields
|
|
527
|
+
}
|
|
528
|
+
dataAbsentReason {
|
|
529
|
+
...CodeableConceptFields
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
533
|
+
${ObservationComponentValueFieldsFragmentDoc}
|
|
534
|
+
${ObservationReferenceRangeFieldsFragmentDoc}`;
|
|
535
|
+
export const ObservationPerformerFieldsFragmentDoc = `
|
|
536
|
+
fragment ObservationPerformerFields on ObservationPerformer {
|
|
537
|
+
... on Practitioner {
|
|
538
|
+
name {
|
|
539
|
+
...HumanNameFields
|
|
540
|
+
}
|
|
541
|
+
identifier {
|
|
542
|
+
...IdentifierFields
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
... on Patient {
|
|
546
|
+
name {
|
|
547
|
+
...HumanNameFields
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
... on Organization {
|
|
551
|
+
organizationName: name
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
${HumanNameFieldsFragmentDoc}
|
|
555
|
+
${IdentifierFieldsFragmentDoc}`;
|
|
556
|
+
export const SpecimenResourceFieldsFragmentDoc = `
|
|
557
|
+
fragment SpecimenResourceFields on Specimen {
|
|
558
|
+
identifier {
|
|
559
|
+
...IdentifierFields
|
|
560
|
+
}
|
|
561
|
+
accessionIdentifier {
|
|
562
|
+
...IdentifierFields
|
|
563
|
+
}
|
|
564
|
+
type {
|
|
565
|
+
...CodeableConceptFields
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
${IdentifierFieldsFragmentDoc}
|
|
569
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
570
|
+
export const ObservationFieldsFragmentDoc = `
|
|
571
|
+
fragment ObservationFields on Observation {
|
|
572
|
+
id
|
|
573
|
+
meta {
|
|
574
|
+
...MetaFields
|
|
575
|
+
}
|
|
576
|
+
resourceType
|
|
577
|
+
text {
|
|
578
|
+
...NarrativeFields
|
|
579
|
+
}
|
|
580
|
+
identifier {
|
|
581
|
+
...IdentifierFields
|
|
582
|
+
}
|
|
583
|
+
subject {
|
|
584
|
+
id
|
|
585
|
+
reference
|
|
586
|
+
type
|
|
587
|
+
resource {
|
|
588
|
+
... on Patient {
|
|
589
|
+
name {
|
|
590
|
+
...HumanNameFields
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
issued
|
|
596
|
+
basedOn {
|
|
597
|
+
id
|
|
598
|
+
reference
|
|
599
|
+
type
|
|
600
|
+
resource {
|
|
601
|
+
...ObservationBasedOnFields
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
...ObservationValueFields
|
|
605
|
+
code {
|
|
606
|
+
...CodeableConceptFields
|
|
607
|
+
}
|
|
608
|
+
category {
|
|
609
|
+
...CodeableConceptFields
|
|
610
|
+
}
|
|
611
|
+
referenceRange {
|
|
612
|
+
...ObservationReferenceRangeFields
|
|
613
|
+
}
|
|
614
|
+
interpretation {
|
|
615
|
+
...CodeableConceptFields
|
|
616
|
+
}
|
|
617
|
+
component {
|
|
618
|
+
...ObservationComponentFields
|
|
619
|
+
}
|
|
620
|
+
effectiveDateTime
|
|
621
|
+
effectivePeriod {
|
|
622
|
+
...PeriodFields
|
|
623
|
+
}
|
|
624
|
+
note {
|
|
625
|
+
...AnnotationFields
|
|
626
|
+
}
|
|
627
|
+
performer {
|
|
628
|
+
id
|
|
629
|
+
reference
|
|
630
|
+
type
|
|
631
|
+
resource {
|
|
632
|
+
...ObservationPerformerFields
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
hasMember {
|
|
636
|
+
id
|
|
637
|
+
reference
|
|
638
|
+
type
|
|
639
|
+
resource {
|
|
640
|
+
... on Observation {
|
|
641
|
+
id
|
|
642
|
+
code {
|
|
643
|
+
...CodeableConceptFields
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
specimen {
|
|
649
|
+
id
|
|
650
|
+
reference
|
|
651
|
+
type
|
|
652
|
+
resource {
|
|
653
|
+
...SpecimenResourceFields
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
status
|
|
657
|
+
dataAbsentReason {
|
|
658
|
+
...CodeableConceptFields
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
${MetaFieldsFragmentDoc}
|
|
662
|
+
${NarrativeFieldsFragmentDoc}
|
|
663
|
+
${IdentifierFieldsFragmentDoc}
|
|
664
|
+
${HumanNameFieldsFragmentDoc}
|
|
665
|
+
${ObservationBasedOnFieldsFragmentDoc}
|
|
666
|
+
${ObservationValueFieldsFragmentDoc}
|
|
667
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
668
|
+
${ObservationReferenceRangeFieldsFragmentDoc}
|
|
669
|
+
${ObservationComponentFieldsFragmentDoc}
|
|
670
|
+
${PeriodFieldsFragmentDoc}
|
|
671
|
+
${AnnotationFieldsFragmentDoc}
|
|
672
|
+
${ObservationPerformerFieldsFragmentDoc}
|
|
673
|
+
${SpecimenResourceFieldsFragmentDoc}`;
|
|
674
|
+
export const ImmunizationReactionFieldsFragmentDoc = `
|
|
675
|
+
fragment ImmunizationReactionFields on ImmunizationReaction {
|
|
676
|
+
date
|
|
677
|
+
detail {
|
|
678
|
+
id
|
|
679
|
+
reference
|
|
680
|
+
type
|
|
681
|
+
resource {
|
|
682
|
+
...ObservationFields
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
reported
|
|
686
|
+
}
|
|
687
|
+
${ObservationFieldsFragmentDoc}`;
|
|
688
|
+
export const ImmunizationProtocolAppliedFieldsFragmentDoc = `
|
|
689
|
+
fragment ImmunizationProtocolAppliedFields on ImmunizationProtocolApplied {
|
|
690
|
+
doseNumberString
|
|
691
|
+
doseNumberPositiveInt
|
|
692
|
+
}
|
|
693
|
+
`;
|
|
694
|
+
export const ImmunizationPerformerActorFieldsFragmentDoc = `
|
|
695
|
+
fragment ImmunizationPerformerActorFields on ImmunizationPerformerActor {
|
|
696
|
+
... on Practitioner {
|
|
697
|
+
...PractitionerFields
|
|
698
|
+
}
|
|
699
|
+
... on Organization {
|
|
700
|
+
organizationName: name
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
222
704
|
export const QuestionnaireResponseItemFieldsFragmentDoc = `
|
|
223
705
|
fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {
|
|
224
706
|
linkId
|
|
@@ -616,13 +1098,16 @@ export const GetAllergyIntoleranceGroupsDocument = `
|
|
|
616
1098
|
${PagingFieldsFragmentDoc}
|
|
617
1099
|
${CodingFieldsFragmentDoc}`;
|
|
618
1100
|
export const GetAllergyIntolerancesDocument = `
|
|
619
|
-
query getAllergyIntolerances($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate) {
|
|
1101
|
+
query getAllergyIntolerances($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
|
|
620
1102
|
allergyIntolerances(
|
|
621
1103
|
_count: $pageSize
|
|
622
1104
|
_getpagesoffset: $page
|
|
623
1105
|
code: $code
|
|
624
1106
|
id: $id
|
|
625
1107
|
_lastUpdated: $lastUpdated
|
|
1108
|
+
_sort: $sort
|
|
1109
|
+
verification_status: $status
|
|
1110
|
+
_total: $total
|
|
626
1111
|
) {
|
|
627
1112
|
id
|
|
628
1113
|
entry {
|
|
@@ -703,6 +1188,73 @@ export const GetCarePlanGroupsDocument = `
|
|
|
703
1188
|
${PagingFieldsFragmentDoc}
|
|
704
1189
|
${CodingFieldsFragmentDoc}
|
|
705
1190
|
${PeriodFieldsFragmentDoc}`;
|
|
1191
|
+
export const GetCarePlansDocument = `
|
|
1192
|
+
query getCarePlans($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
|
|
1193
|
+
carePlans(
|
|
1194
|
+
_count: $pageSize
|
|
1195
|
+
_getpagesoffset: $page
|
|
1196
|
+
category: $code
|
|
1197
|
+
id: $id
|
|
1198
|
+
_lastUpdated: $lastUpdated
|
|
1199
|
+
_sort: $sort
|
|
1200
|
+
status: $status
|
|
1201
|
+
_total: $total
|
|
1202
|
+
) {
|
|
1203
|
+
id
|
|
1204
|
+
entry {
|
|
1205
|
+
resource {
|
|
1206
|
+
resourceType
|
|
1207
|
+
id
|
|
1208
|
+
identifier {
|
|
1209
|
+
...IdentifierFields
|
|
1210
|
+
}
|
|
1211
|
+
meta {
|
|
1212
|
+
...MetaFields
|
|
1213
|
+
}
|
|
1214
|
+
title
|
|
1215
|
+
category {
|
|
1216
|
+
...CodeableConceptFields
|
|
1217
|
+
}
|
|
1218
|
+
description
|
|
1219
|
+
period {
|
|
1220
|
+
...PeriodFields
|
|
1221
|
+
}
|
|
1222
|
+
created
|
|
1223
|
+
text {
|
|
1224
|
+
...NarrativeFields
|
|
1225
|
+
}
|
|
1226
|
+
note {
|
|
1227
|
+
...AnnotationFields
|
|
1228
|
+
}
|
|
1229
|
+
status
|
|
1230
|
+
intent
|
|
1231
|
+
activity {
|
|
1232
|
+
detail {
|
|
1233
|
+
...CarePlanDetailFields
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
addresses {
|
|
1237
|
+
resource {
|
|
1238
|
+
...ConditionFields
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
subject {
|
|
1242
|
+
id
|
|
1243
|
+
reference
|
|
1244
|
+
type
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
${IdentifierFieldsFragmentDoc}
|
|
1251
|
+
${MetaFieldsFragmentDoc}
|
|
1252
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1253
|
+
${PeriodFieldsFragmentDoc}
|
|
1254
|
+
${NarrativeFieldsFragmentDoc}
|
|
1255
|
+
${AnnotationFieldsFragmentDoc}
|
|
1256
|
+
${CarePlanDetailFieldsFragmentDoc}
|
|
1257
|
+
${ConditionFieldsFragmentDoc}`;
|
|
706
1258
|
export const GetConditionGroupsDocument = `
|
|
707
1259
|
query getConditionGroups($request: ConditionGroupQueryRequest) {
|
|
708
1260
|
getConditionGroups(request: $request) {
|
|
@@ -806,6 +1358,105 @@ export const GetImmunizationGroupsDocument = `
|
|
|
806
1358
|
}
|
|
807
1359
|
${PagingFieldsFragmentDoc}
|
|
808
1360
|
${CodingFieldsFragmentDoc}`;
|
|
1361
|
+
export const GetImmunizationsDocument = `
|
|
1362
|
+
query getImmunizations($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
|
|
1363
|
+
immunizations(
|
|
1364
|
+
_count: $pageSize
|
|
1365
|
+
_getpagesoffset: $page
|
|
1366
|
+
vaccine_code: $code
|
|
1367
|
+
id: $id
|
|
1368
|
+
_lastUpdated: $lastUpdated
|
|
1369
|
+
_sort: $sort
|
|
1370
|
+
status: $status
|
|
1371
|
+
_total: $total
|
|
1372
|
+
) {
|
|
1373
|
+
id
|
|
1374
|
+
entry {
|
|
1375
|
+
id
|
|
1376
|
+
resource {
|
|
1377
|
+
resourceType
|
|
1378
|
+
id
|
|
1379
|
+
identifier {
|
|
1380
|
+
...IdentifierFields
|
|
1381
|
+
}
|
|
1382
|
+
meta {
|
|
1383
|
+
...MetaFields
|
|
1384
|
+
}
|
|
1385
|
+
text {
|
|
1386
|
+
...NarrativeFields
|
|
1387
|
+
}
|
|
1388
|
+
status
|
|
1389
|
+
expirationDate
|
|
1390
|
+
reportOrigin {
|
|
1391
|
+
...CodeableConceptFields
|
|
1392
|
+
}
|
|
1393
|
+
vaccineCode {
|
|
1394
|
+
...CodeableConceptFields
|
|
1395
|
+
}
|
|
1396
|
+
statusReason {
|
|
1397
|
+
...CodeableConceptFields
|
|
1398
|
+
}
|
|
1399
|
+
occurrenceDateTime
|
|
1400
|
+
primarySource
|
|
1401
|
+
doseQuantity {
|
|
1402
|
+
...QuantityFields
|
|
1403
|
+
}
|
|
1404
|
+
reaction {
|
|
1405
|
+
...ImmunizationReactionFields
|
|
1406
|
+
}
|
|
1407
|
+
protocolApplied {
|
|
1408
|
+
...ImmunizationProtocolAppliedFields
|
|
1409
|
+
}
|
|
1410
|
+
manufacturer {
|
|
1411
|
+
id
|
|
1412
|
+
reference
|
|
1413
|
+
type
|
|
1414
|
+
resource {
|
|
1415
|
+
...OrganizationFields
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
lotNumber
|
|
1419
|
+
site {
|
|
1420
|
+
...CodeableConceptFields
|
|
1421
|
+
}
|
|
1422
|
+
route {
|
|
1423
|
+
...CodeableConceptFields
|
|
1424
|
+
}
|
|
1425
|
+
performer {
|
|
1426
|
+
actor {
|
|
1427
|
+
id
|
|
1428
|
+
reference
|
|
1429
|
+
type
|
|
1430
|
+
resource {
|
|
1431
|
+
...ImmunizationPerformerActorFields
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
location {
|
|
1436
|
+
id
|
|
1437
|
+
reference
|
|
1438
|
+
type
|
|
1439
|
+
resource {
|
|
1440
|
+
...LocationFields
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
reasonCode {
|
|
1444
|
+
...CodeableConceptFields
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
${IdentifierFieldsFragmentDoc}
|
|
1451
|
+
${MetaFieldsFragmentDoc}
|
|
1452
|
+
${NarrativeFieldsFragmentDoc}
|
|
1453
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1454
|
+
${QuantityFieldsFragmentDoc}
|
|
1455
|
+
${ImmunizationReactionFieldsFragmentDoc}
|
|
1456
|
+
${ImmunizationProtocolAppliedFieldsFragmentDoc}
|
|
1457
|
+
${OrganizationFieldsFragmentDoc}
|
|
1458
|
+
${ImmunizationPerformerActorFieldsFragmentDoc}
|
|
1459
|
+
${LocationFieldsFragmentDoc}`;
|
|
809
1460
|
export const GetProcedureGroupsDocument = `
|
|
810
1461
|
query getProcedureGroups($request: ProcedureGroupQueryRequest) {
|
|
811
1462
|
getProcedureGroups(request: $request) {
|
|
@@ -1462,6 +2113,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1462
2113
|
getCarePlanGroups(variables, requestHeaders) {
|
|
1463
2114
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlanGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlanGroups', 'query', variables);
|
|
1464
2115
|
},
|
|
2116
|
+
getCarePlans(variables, requestHeaders) {
|
|
2117
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlansDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlans', 'query', variables);
|
|
2118
|
+
},
|
|
1465
2119
|
getConditionGroups(variables, requestHeaders) {
|
|
1466
2120
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditionGroups', 'query', variables);
|
|
1467
2121
|
},
|
|
@@ -1477,6 +2131,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1477
2131
|
getImmunizationGroups(variables, requestHeaders) {
|
|
1478
2132
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizationGroups', 'query', variables);
|
|
1479
2133
|
},
|
|
2134
|
+
getImmunizations(variables, requestHeaders) {
|
|
2135
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizations', 'query', variables);
|
|
2136
|
+
},
|
|
1480
2137
|
getProcedureGroups(variables, requestHeaders) {
|
|
1481
2138
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProcedureGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedureGroups', 'query', variables);
|
|
1482
2139
|
},
|