@icanbwell/bwell-sdk-ts 1.36.2 → 1.36.4
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/README.md +2 -2
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/api-provider-factory.d.ts +1 -1
- package/dist/api/api-provider-factory.js +1 -2
- package/dist/api/base/activity/activity-manager.d.ts +35 -0
- package/dist/api/base/activity/activity-manager.js +1 -0
- package/dist/api/base/activity/get-tasks-request.d.ts +49 -0
- package/dist/api/base/activity/get-tasks-request.js +35 -0
- package/dist/api/base/activity/index.d.ts +4 -0
- package/dist/api/base/activity/index.js +2 -0
- package/dist/api/base/activity/types.d.ts +3 -0
- package/dist/api/base/activity/types.js +5 -0
- package/dist/api/base/activity/update-task-status-request.d.ts +18 -0
- package/dist/api/base/activity/update-task-status-request.js +15 -0
- package/dist/api/base/api-provider.d.ts +14 -8
- package/dist/api/base/connection/connection-manager.d.ts +2 -0
- package/dist/api/base/device/device-manager.d.ts +22 -0
- package/dist/api/base/device/device-manager.js +5 -0
- package/dist/api/base/device/device-request.d.ts +62 -0
- package/dist/api/base/device/device-request.js +71 -0
- package/dist/api/base/device/index.d.ts +2 -0
- package/dist/api/base/device/index.js +2 -0
- package/dist/api/base/event/event-manager.d.ts +16 -0
- package/dist/api/base/event/event-manager.js +1 -0
- package/dist/api/base/event/event-request.d.ts +35 -0
- package/dist/api/base/event/event-request.js +64 -0
- package/dist/api/base/event/index.d.ts +2 -0
- package/dist/api/base/event/index.js +1 -0
- package/dist/api/base/health-data/health-manager.d.ts +227 -4
- package/dist/api/base/health-data/index.d.ts +1 -1
- package/dist/api/base/index.d.ts +4 -0
- package/dist/api/base/index.js +4 -4
- package/dist/api/base/search/index.d.ts +4 -0
- package/dist/api/base/search/index.js +3 -0
- package/dist/api/base/search/request-connection-request.d.ts +24 -0
- package/dist/api/base/search/request-connection-request.js +3 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +87 -0
- package/dist/api/base/search/search-health-resources-request.js +20 -0
- package/dist/api/base/search/search-manager.d.ts +58 -0
- package/dist/api/base/search/search-manager.js +1 -0
- package/dist/api/base/search/search-request.d.ts +84 -0
- package/dist/api/base/search/search-request.js +78 -0
- package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +14 -0
- package/dist/api/base/user/create-data-export-direct-download-url-request.js +21 -0
- package/dist/api/base/user/index.d.ts +2 -1
- package/dist/api/base/user/index.js +1 -4
- package/dist/api/base/user/user-manager.d.ts +7 -1
- package/dist/api/graphql-api/activity/activity-request-factories.d.ts +13 -0
- package/dist/api/graphql-api/activity/activity-request-factories.js +66 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +14 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.js +72 -0
- package/dist/api/graphql-api/activity/index.d.ts +1 -0
- package/dist/api/graphql-api/activity/index.js +1 -0
- package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +3 -1
- package/dist/api/graphql-api/connection/graphql-connection-manager.js +21 -23
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +18 -0
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +40 -0
- package/dist/api/graphql-api/connection/index.d.ts +1 -0
- package/dist/api/graphql-api/connection/index.js +1 -1
- package/dist/api/graphql-api/device/device-request-factory.d.ts +9 -0
- package/dist/api/graphql-api/device/device-request-factory.js +15 -0
- package/dist/api/graphql-api/device/graphql-device-manager.d.ts +13 -0
- package/dist/api/graphql-api/device/graphql-device-manager.js +73 -0
- package/dist/api/graphql-api/device/index.d.ts +1 -0
- package/dist/api/graphql-api/device/index.js +1 -0
- package/dist/api/graphql-api/event/event-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/event/event-request-factory.js +11 -0
- package/dist/api/graphql-api/event/graphql-event-manager.d.ts +15 -0
- package/dist/api/graphql-api/event/graphql-event-manager.js +65 -0
- package/dist/api/graphql-api/event/index.d.ts +1 -0
- package/dist/api/graphql-api/event/index.js +1 -0
- package/dist/api/graphql-api/graphql-api-provider.d.ts +13 -4
- package/dist/api/graphql-api/graphql-api-provider.js +9 -10
- package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js +1 -1
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +27 -3
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +328 -26
- package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/search/connection-search-request-factory.js +21 -0
- package/dist/api/graphql-api/search/graphql-search-manager.d.ts +17 -0
- package/dist/api/graphql-api/search/graphql-search-manager.js +133 -0
- package/dist/api/graphql-api/search/index.d.ts +1 -0
- package/dist/api/graphql-api/search/index.js +1 -0
- package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/search/provider-search-request-factory.js +21 -0
- package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/request-connection-request-factory.js +12 -0
- package/dist/api/graphql-api/search/search-health-resources-request-factory.d.ts +14 -0
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +28 -0
- package/dist/api/graphql-api/search/search-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/search-request-factory.js +44 -0
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +9 -0
- package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/user/get-consent-request-factory.js +8 -0
- package/dist/api/graphql-api/user/graphql-user-manager.d.ts +6 -3
- package/dist/api/graphql-api/user/graphql-user-manager.js +46 -68
- package/dist/bwell-sdk/bwell-sdk.d.ts +13 -2
- package/dist/bwell-sdk/bwell-sdk.js +27 -27
- package/dist/config/sdk-config.js +3 -3
- package/dist/graphql/operations/index.d.ts +285 -14
- package/dist/graphql/operations/index.js +2423 -225
- package/dist/graphql/operations/types.d.ts +15240 -2305
- package/dist/graphql/schema.d.ts +4800 -68156
- package/dist/graphql/schema.js +63 -7
- package/package.json +2 -4
- package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +0 -12
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +0 -12
|
@@ -13,27 +13,6 @@
|
|
|
13
13
|
*
|
|
14
14
|
********************************************************************************
|
|
15
15
|
*/
|
|
16
|
-
export const PagingFieldsFragmentDoc = `
|
|
17
|
-
fragment PagingFields on PagingResults {
|
|
18
|
-
page_number
|
|
19
|
-
page_size
|
|
20
|
-
total_pages
|
|
21
|
-
total_items
|
|
22
|
-
}
|
|
23
|
-
`;
|
|
24
|
-
export const AddressFieldsFragmentDoc = `
|
|
25
|
-
fragment AddressFields on Address {
|
|
26
|
-
use
|
|
27
|
-
type
|
|
28
|
-
text
|
|
29
|
-
line
|
|
30
|
-
city
|
|
31
|
-
district
|
|
32
|
-
state
|
|
33
|
-
postalCode
|
|
34
|
-
country
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
37
16
|
export const CodingFieldsFragmentDoc = `
|
|
38
17
|
fragment CodingFields on Coding {
|
|
39
18
|
system
|
|
@@ -49,6 +28,17 @@ export const CodeableConceptFieldsFragmentDoc = `
|
|
|
49
28
|
}
|
|
50
29
|
}
|
|
51
30
|
${CodingFieldsFragmentDoc}`;
|
|
31
|
+
export const ExtensionFieldsFragmentDoc = `
|
|
32
|
+
fragment ExtensionFields on Extension {
|
|
33
|
+
id
|
|
34
|
+
url
|
|
35
|
+
valueCodeableConcept {
|
|
36
|
+
...CodeableConceptFields
|
|
37
|
+
}
|
|
38
|
+
valueString
|
|
39
|
+
valueInteger
|
|
40
|
+
}
|
|
41
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
52
42
|
export const QuantityFieldsFragmentDoc = `
|
|
53
43
|
fragment QuantityFields on Quantity {
|
|
54
44
|
value
|
|
@@ -58,6 +48,16 @@ export const QuantityFieldsFragmentDoc = `
|
|
|
58
48
|
system
|
|
59
49
|
}
|
|
60
50
|
`;
|
|
51
|
+
export const RangeFieldsFragmentDoc = `
|
|
52
|
+
fragment RangeFields on Range {
|
|
53
|
+
low {
|
|
54
|
+
...QuantityFields
|
|
55
|
+
}
|
|
56
|
+
high {
|
|
57
|
+
...QuantityFields
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
${QuantityFieldsFragmentDoc}`;
|
|
61
61
|
export const RatioFieldsFragmentDoc = `
|
|
62
62
|
fragment RatioFields on Ratio {
|
|
63
63
|
numerator {
|
|
@@ -66,68 +66,907 @@ export const RatioFieldsFragmentDoc = `
|
|
|
66
66
|
denominator {
|
|
67
67
|
...QuantityFields
|
|
68
68
|
}
|
|
69
|
-
}
|
|
70
|
-
${QuantityFieldsFragmentDoc}`;
|
|
71
|
-
export const
|
|
72
|
-
fragment
|
|
73
|
-
|
|
74
|
-
|
|
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
|
|
880
|
+
}
|
|
881
|
+
hospitalization {
|
|
882
|
+
dischargeDisposition {
|
|
883
|
+
...CodeableConceptFields
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
${MetaFieldsFragmentDoc}
|
|
888
|
+
${NarrativeFieldsFragmentDoc}
|
|
889
|
+
${LocationFieldsFragmentDoc}
|
|
890
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
891
|
+
${PeriodFieldsFragmentDoc}
|
|
892
|
+
${IdentifierFieldsFragmentDoc}
|
|
893
|
+
${ParticipantFieldsFragmentDoc}
|
|
894
|
+
${HumanNameFieldsFragmentDoc}
|
|
895
|
+
${ConditionFieldsFragmentDoc}`;
|
|
896
|
+
export const ActorFieldsFragmentDoc = `
|
|
897
|
+
fragment ActorFields on Actor {
|
|
898
|
+
__typename
|
|
899
|
+
... on Practitioner {
|
|
900
|
+
name {
|
|
901
|
+
...HumanNameFields
|
|
902
|
+
}
|
|
903
|
+
identifier {
|
|
904
|
+
...IdentifierFields
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
... on Patient {
|
|
908
|
+
name {
|
|
909
|
+
...HumanNameFields
|
|
910
|
+
}
|
|
75
911
|
}
|
|
76
|
-
|
|
77
|
-
|
|
912
|
+
... on Organization {
|
|
913
|
+
organizationName: name
|
|
78
914
|
}
|
|
79
915
|
}
|
|
80
|
-
${
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
916
|
+
${HumanNameFieldsFragmentDoc}
|
|
917
|
+
${IdentifierFieldsFragmentDoc}`;
|
|
918
|
+
export const PerformerFieldsFragmentDoc = `
|
|
919
|
+
fragment PerformerFields on Performer {
|
|
920
|
+
actor {
|
|
921
|
+
...ActorFields
|
|
922
|
+
}
|
|
85
923
|
}
|
|
86
|
-
`;
|
|
87
|
-
export const
|
|
88
|
-
fragment
|
|
89
|
-
|
|
90
|
-
...
|
|
924
|
+
${ActorFieldsFragmentDoc}`;
|
|
925
|
+
export const SpecimenResourceFieldsFragmentDoc = `
|
|
926
|
+
fragment SpecimenResourceFields on SpecimenResource {
|
|
927
|
+
identifier {
|
|
928
|
+
...IdentifierFields
|
|
91
929
|
}
|
|
92
|
-
|
|
930
|
+
accessionIdentifier {
|
|
931
|
+
...IdentifierFields
|
|
932
|
+
}
|
|
933
|
+
type {
|
|
93
934
|
...CodeableConceptFields
|
|
94
935
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
936
|
+
}
|
|
937
|
+
${IdentifierFieldsFragmentDoc}
|
|
938
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
939
|
+
export const ObservationFieldsFragmentDoc = `
|
|
940
|
+
fragment ObservationFields on ObservationResource {
|
|
941
|
+
id
|
|
942
|
+
meta {
|
|
943
|
+
...MetaFields
|
|
100
944
|
}
|
|
101
|
-
|
|
102
|
-
|
|
945
|
+
resourceType
|
|
946
|
+
text {
|
|
947
|
+
...NarrativeFields
|
|
103
948
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
valuePeriod {
|
|
107
|
-
...PeriodFields
|
|
949
|
+
identifier {
|
|
950
|
+
...IdentifierFields
|
|
108
951
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
fragment ReferenceRangeFields on ReferenceRange {
|
|
117
|
-
low {
|
|
118
|
-
...QuantityFields
|
|
952
|
+
subject {
|
|
953
|
+
__typename
|
|
954
|
+
... on Patient {
|
|
955
|
+
name {
|
|
956
|
+
...HumanNameFields
|
|
957
|
+
}
|
|
958
|
+
}
|
|
119
959
|
}
|
|
120
|
-
|
|
121
|
-
|
|
960
|
+
issued
|
|
961
|
+
basedOn {
|
|
962
|
+
...ObservationBasedOnFields
|
|
122
963
|
}
|
|
123
|
-
text
|
|
124
|
-
}
|
|
125
|
-
${QuantityFieldsFragmentDoc}`;
|
|
126
|
-
export const ComponentFieldsFragmentDoc = `
|
|
127
|
-
fragment ComponentFields on Component {
|
|
128
964
|
code {
|
|
129
965
|
...CodeableConceptFields
|
|
130
966
|
}
|
|
967
|
+
category {
|
|
968
|
+
...CodeableConceptFields
|
|
969
|
+
}
|
|
131
970
|
value {
|
|
132
971
|
...ValueFields
|
|
133
972
|
}
|
|
@@ -137,38 +976,80 @@ export const ComponentFieldsFragmentDoc = `
|
|
|
137
976
|
interpretation {
|
|
138
977
|
...CodeableConceptFields
|
|
139
978
|
}
|
|
979
|
+
component {
|
|
980
|
+
...ComponentFields
|
|
981
|
+
}
|
|
982
|
+
effectiveDateTime
|
|
983
|
+
effectivePeriod {
|
|
984
|
+
...PeriodFields
|
|
985
|
+
}
|
|
986
|
+
note {
|
|
987
|
+
authorString
|
|
988
|
+
time
|
|
989
|
+
text
|
|
990
|
+
}
|
|
991
|
+
encounter {
|
|
992
|
+
...EncounterFields
|
|
993
|
+
}
|
|
994
|
+
performer {
|
|
995
|
+
...PerformerFields
|
|
996
|
+
}
|
|
997
|
+
hasMember {
|
|
998
|
+
... on ObservationResource {
|
|
999
|
+
id
|
|
1000
|
+
code {
|
|
1001
|
+
...CodeableConceptFields
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
specimen {
|
|
1006
|
+
...SpecimenResourceFields
|
|
1007
|
+
}
|
|
1008
|
+
status {
|
|
1009
|
+
display
|
|
1010
|
+
code
|
|
1011
|
+
}
|
|
140
1012
|
dataAbsentReason {
|
|
141
1013
|
...CodeableConceptFields
|
|
142
1014
|
}
|
|
143
1015
|
}
|
|
144
|
-
${
|
|
1016
|
+
${MetaFieldsFragmentDoc}
|
|
1017
|
+
${NarrativeFieldsFragmentDoc}
|
|
1018
|
+
${IdentifierFieldsFragmentDoc}
|
|
1019
|
+
${HumanNameFieldsFragmentDoc}
|
|
1020
|
+
${ObservationBasedOnFieldsFragmentDoc}
|
|
1021
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
145
1022
|
${ValueFieldsFragmentDoc}
|
|
146
|
-
${ReferenceRangeFieldsFragmentDoc}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
family
|
|
157
|
-
given
|
|
158
|
-
prefix
|
|
159
|
-
suffix
|
|
160
|
-
}
|
|
161
|
-
`;
|
|
162
|
-
export const IdentifierFieldsFragmentDoc = `
|
|
163
|
-
fragment IdentifierFields on Identifier {
|
|
164
|
-
id
|
|
165
|
-
type {
|
|
1023
|
+
${ReferenceRangeFieldsFragmentDoc}
|
|
1024
|
+
${ComponentFieldsFragmentDoc}
|
|
1025
|
+
${PeriodFieldsFragmentDoc}
|
|
1026
|
+
${EncounterFieldsFragmentDoc}
|
|
1027
|
+
${PerformerFieldsFragmentDoc}
|
|
1028
|
+
${SpecimenResourceFieldsFragmentDoc}`;
|
|
1029
|
+
export const ReactionFieldsFragmentDoc = `
|
|
1030
|
+
fragment ReactionFields on Reaction {
|
|
1031
|
+
description
|
|
1032
|
+
manifestation {
|
|
166
1033
|
...CodeableConceptFields
|
|
167
1034
|
}
|
|
168
|
-
|
|
169
|
-
|
|
1035
|
+
onset
|
|
1036
|
+
severity {
|
|
1037
|
+
code
|
|
1038
|
+
display
|
|
1039
|
+
}
|
|
1040
|
+
note {
|
|
1041
|
+
authorString
|
|
1042
|
+
time
|
|
1043
|
+
text
|
|
1044
|
+
}
|
|
1045
|
+
date
|
|
1046
|
+
detail {
|
|
1047
|
+
...ObservationFields
|
|
1048
|
+
}
|
|
1049
|
+
reported
|
|
170
1050
|
}
|
|
171
|
-
${CodeableConceptFieldsFragmentDoc}
|
|
1051
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1052
|
+
${ObservationFieldsFragmentDoc}`;
|
|
172
1053
|
export const PractitionerFieldsFragmentDoc = `
|
|
173
1054
|
fragment PractitionerFields on Practitioner {
|
|
174
1055
|
id
|
|
@@ -181,36 +1062,44 @@ export const PractitionerFieldsFragmentDoc = `
|
|
|
181
1062
|
}
|
|
182
1063
|
${HumanNameFieldsFragmentDoc}
|
|
183
1064
|
${IdentifierFieldsFragmentDoc}`;
|
|
184
|
-
export const
|
|
185
|
-
fragment
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
1065
|
+
export const CareTeamParticipantFieldsFragmentDoc = `
|
|
1066
|
+
fragment CareTeamParticipantFields on CareTeamParticipant {
|
|
1067
|
+
member {
|
|
1068
|
+
__typename
|
|
1069
|
+
... on Organization {
|
|
1070
|
+
id
|
|
1071
|
+
organizationName: name
|
|
1072
|
+
alias
|
|
1073
|
+
meta {
|
|
1074
|
+
...MetaFields
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
... on Practitioner {
|
|
1078
|
+
...PractitionerFields
|
|
1079
|
+
}
|
|
198
1080
|
}
|
|
199
1081
|
}
|
|
200
|
-
${
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
1082
|
+
${MetaFieldsFragmentDoc}
|
|
1083
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
1084
|
+
export const AsserterFieldsFragmentDoc = `
|
|
1085
|
+
fragment AsserterFields on Asserter {
|
|
1086
|
+
__typename
|
|
1087
|
+
... on Patient {
|
|
1088
|
+
name {
|
|
1089
|
+
...HumanNameFields
|
|
1090
|
+
}
|
|
208
1091
|
}
|
|
209
|
-
|
|
210
|
-
|
|
1092
|
+
... on Practitioner {
|
|
1093
|
+
name {
|
|
1094
|
+
...HumanNameFields
|
|
1095
|
+
}
|
|
1096
|
+
identifier {
|
|
1097
|
+
...IdentifierFields
|
|
1098
|
+
}
|
|
211
1099
|
}
|
|
212
1100
|
}
|
|
213
|
-
${
|
|
1101
|
+
${HumanNameFieldsFragmentDoc}
|
|
1102
|
+
${IdentifierFieldsFragmentDoc}`;
|
|
214
1103
|
export const QuestionnaireResponseItemFieldsFragmentDoc = `
|
|
215
1104
|
fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {
|
|
216
1105
|
linkId
|
|
@@ -454,6 +1343,20 @@ export const QuestionnaireFieldsFragmentDoc = `
|
|
|
454
1343
|
}
|
|
455
1344
|
name
|
|
456
1345
|
title
|
|
1346
|
+
useContext {
|
|
1347
|
+
id
|
|
1348
|
+
code {
|
|
1349
|
+
...CodingFields
|
|
1350
|
+
}
|
|
1351
|
+
valueReference {
|
|
1352
|
+
id
|
|
1353
|
+
reference
|
|
1354
|
+
identifier {
|
|
1355
|
+
...IdentifierFields
|
|
1356
|
+
}
|
|
1357
|
+
display
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
457
1360
|
status
|
|
458
1361
|
description
|
|
459
1362
|
item {
|
|
@@ -468,6 +1371,7 @@ export const QuestionnaireFieldsFragmentDoc = `
|
|
|
468
1371
|
}
|
|
469
1372
|
${MetaFieldsFragmentDoc}
|
|
470
1373
|
${IdentifierFieldsFragmentDoc}
|
|
1374
|
+
${CodingFieldsFragmentDoc}
|
|
471
1375
|
${QuestionnaireItemFieldsFragmentDoc}`;
|
|
472
1376
|
export const QuestionnaireResponseFieldsFragmentDoc = `
|
|
473
1377
|
fragment QuestionnaireResponseFields on QuestionnaireResponse {
|
|
@@ -498,6 +1402,57 @@ export const QuestionnaireResponseFieldsFragmentDoc = `
|
|
|
498
1402
|
${IdentifierFieldsFragmentDoc}
|
|
499
1403
|
${QuestionnaireResponseItemFieldsFragmentDoc}
|
|
500
1404
|
${QuestionnaireFieldsFragmentDoc}`;
|
|
1405
|
+
export const GetTasksDocument = `
|
|
1406
|
+
query getTasks($request: TaskRequest) {
|
|
1407
|
+
getTasks(request: $request) {
|
|
1408
|
+
paging_info {
|
|
1409
|
+
...PagingFields
|
|
1410
|
+
}
|
|
1411
|
+
resources {
|
|
1412
|
+
id
|
|
1413
|
+
meta {
|
|
1414
|
+
...MetaFields
|
|
1415
|
+
}
|
|
1416
|
+
identifier {
|
|
1417
|
+
id
|
|
1418
|
+
system
|
|
1419
|
+
value
|
|
1420
|
+
}
|
|
1421
|
+
code {
|
|
1422
|
+
...CodeableConceptFields
|
|
1423
|
+
}
|
|
1424
|
+
instantiatesCanonical
|
|
1425
|
+
description
|
|
1426
|
+
executionPeriod {
|
|
1427
|
+
...PeriodFields
|
|
1428
|
+
}
|
|
1429
|
+
status {
|
|
1430
|
+
code
|
|
1431
|
+
display
|
|
1432
|
+
}
|
|
1433
|
+
lastModified
|
|
1434
|
+
for {
|
|
1435
|
+
reference
|
|
1436
|
+
}
|
|
1437
|
+
extension {
|
|
1438
|
+
...ExtensionFields
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
${PagingFieldsFragmentDoc}
|
|
1444
|
+
${MetaFieldsFragmentDoc}
|
|
1445
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1446
|
+
${PeriodFieldsFragmentDoc}
|
|
1447
|
+
${ExtensionFieldsFragmentDoc}`;
|
|
1448
|
+
export const TaskUpdateStatusDocument = `
|
|
1449
|
+
mutation taskUpdateStatus($taskId: String!, $newStatus: TaskStatus!) {
|
|
1450
|
+
taskUpdateStatus(input: {taskId: $taskId, newStatus: $newStatus}) {
|
|
1451
|
+
id
|
|
1452
|
+
status
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
`;
|
|
501
1456
|
export const CreateConnectionDocument = `
|
|
502
1457
|
mutation createConnection($connectionId: String!, $username: String!, $password: String!) {
|
|
503
1458
|
createConnection(
|
|
@@ -510,46 +1465,170 @@ export const CreateConnectionDocument = `
|
|
|
510
1465
|
name
|
|
511
1466
|
category
|
|
512
1467
|
type
|
|
1468
|
+
isDirect
|
|
1469
|
+
syncStatus
|
|
1470
|
+
statusUpdated
|
|
1471
|
+
lastSynced
|
|
1472
|
+
created
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
`;
|
|
1476
|
+
export const DeleteConnectionDocument = `
|
|
1477
|
+
mutation deleteConnection($connectionId: String!) {
|
|
1478
|
+
deleteConnection(connectionId: $connectionId) {
|
|
1479
|
+
status
|
|
1480
|
+
statusUpdated
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
`;
|
|
1484
|
+
export const DisconnectConnectionDocument = `
|
|
1485
|
+
mutation disconnectConnection($connectionId: String!) {
|
|
1486
|
+
disconnectConnection(connectionId: $connectionId) {
|
|
1487
|
+
status
|
|
1488
|
+
statusUpdated
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
`;
|
|
1492
|
+
export const GetDataSourceDocument = `
|
|
1493
|
+
query getDataSource($connectionId: String!) {
|
|
1494
|
+
getDataSource(connectionId: $connectionId) {
|
|
1495
|
+
id
|
|
1496
|
+
name
|
|
1497
|
+
category
|
|
1498
|
+
type
|
|
1499
|
+
isDirect
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
`;
|
|
1503
|
+
export const GetMemberConnectionsDocument = `
|
|
1504
|
+
query getMemberConnections {
|
|
1505
|
+
getMemberConnections {
|
|
1506
|
+
id
|
|
1507
|
+
name
|
|
1508
|
+
category
|
|
1509
|
+
type
|
|
1510
|
+
status
|
|
513
1511
|
syncStatus
|
|
514
1512
|
statusUpdated
|
|
515
1513
|
lastSynced
|
|
516
1514
|
created
|
|
1515
|
+
isDirect
|
|
1516
|
+
}
|
|
1517
|
+
subscription_subscription {
|
|
1518
|
+
entry {
|
|
1519
|
+
resource {
|
|
1520
|
+
service_slug
|
|
1521
|
+
subscriptionStatus {
|
|
1522
|
+
error {
|
|
1523
|
+
...CodeableConceptFields
|
|
1524
|
+
}
|
|
1525
|
+
extension {
|
|
1526
|
+
id
|
|
1527
|
+
url
|
|
1528
|
+
valueString
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
517
1533
|
}
|
|
518
1534
|
}
|
|
519
|
-
`;
|
|
520
|
-
export const
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
statusUpdated
|
|
1535
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
1536
|
+
export const GetOauthUrlDocument = `
|
|
1537
|
+
query getOauthUrl($connectionId: String!) {
|
|
1538
|
+
getOauthUrl(connectionId: $connectionId) {
|
|
1539
|
+
redirectUrl
|
|
525
1540
|
}
|
|
526
1541
|
}
|
|
527
1542
|
`;
|
|
528
|
-
export const
|
|
529
|
-
mutation
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
1543
|
+
export const UpdateDeviceRegistrationDocument = `
|
|
1544
|
+
mutation updateDeviceRegistration($deviceToken: String!, $platformName: String!, $applicationName: String!, $notificationPreference: Boolean!) {
|
|
1545
|
+
updateDeviceRegistration(
|
|
1546
|
+
input: {deviceToken: $deviceToken, platform: $platformName, applicationName: $applicationName, notificationPreference: $notificationPreference}
|
|
1547
|
+
) {
|
|
1548
|
+
id
|
|
533
1549
|
}
|
|
534
1550
|
}
|
|
535
1551
|
`;
|
|
536
|
-
export const
|
|
537
|
-
|
|
538
|
-
|
|
1552
|
+
export const PublishEventDocument = `
|
|
1553
|
+
mutation publishEvent($eventType: EventType!, $messageId: String, $notificationId: String) {
|
|
1554
|
+
publishEvent(
|
|
1555
|
+
input: {eventType: $eventType, campaignId: $notificationId, messageId: $messageId}
|
|
1556
|
+
) {
|
|
539
1557
|
id
|
|
540
|
-
name
|
|
541
|
-
category
|
|
542
|
-
type
|
|
543
1558
|
}
|
|
544
1559
|
}
|
|
545
1560
|
`;
|
|
546
|
-
export const
|
|
547
|
-
query
|
|
548
|
-
|
|
549
|
-
|
|
1561
|
+
export const GetBinaryDocument = `
|
|
1562
|
+
query getBinary($request: BinaryRequest!) {
|
|
1563
|
+
getBinary(request: $request) {
|
|
1564
|
+
paging_info {
|
|
1565
|
+
...PagingFields
|
|
1566
|
+
}
|
|
1567
|
+
resources {
|
|
1568
|
+
resourceType
|
|
1569
|
+
id
|
|
1570
|
+
data
|
|
1571
|
+
contentType
|
|
1572
|
+
}
|
|
550
1573
|
}
|
|
551
1574
|
}
|
|
552
|
-
`;
|
|
1575
|
+
${PagingFieldsFragmentDoc}`;
|
|
1576
|
+
export const GetFhirDocument = `
|
|
1577
|
+
query getFHIR($request: ResourceRequest!) {
|
|
1578
|
+
getFHIR(request: $request) {
|
|
1579
|
+
paging_info {
|
|
1580
|
+
...PagingFields
|
|
1581
|
+
}
|
|
1582
|
+
resources
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
${PagingFieldsFragmentDoc}`;
|
|
1586
|
+
export const GetDiagnosticReportsDocument = `
|
|
1587
|
+
query getDiagnosticReports($_count: Int, $_getpagesoffset: Int, $id: SearchString) {
|
|
1588
|
+
diagnosticReports(_count: $_count, _getpagesoffset: $_getpagesoffset, id: $id) {
|
|
1589
|
+
entry {
|
|
1590
|
+
resource {
|
|
1591
|
+
id
|
|
1592
|
+
meta {
|
|
1593
|
+
...MetaFields
|
|
1594
|
+
}
|
|
1595
|
+
basedOn {
|
|
1596
|
+
reference
|
|
1597
|
+
display
|
|
1598
|
+
}
|
|
1599
|
+
category {
|
|
1600
|
+
...CodeableConceptFields
|
|
1601
|
+
}
|
|
1602
|
+
code {
|
|
1603
|
+
...CodeableConceptFields
|
|
1604
|
+
}
|
|
1605
|
+
effectiveDateTime
|
|
1606
|
+
encounter {
|
|
1607
|
+
reference
|
|
1608
|
+
display
|
|
1609
|
+
}
|
|
1610
|
+
issued
|
|
1611
|
+
performer {
|
|
1612
|
+
reference
|
|
1613
|
+
display
|
|
1614
|
+
}
|
|
1615
|
+
presentedForm {
|
|
1616
|
+
data
|
|
1617
|
+
}
|
|
1618
|
+
resourceType
|
|
1619
|
+
result {
|
|
1620
|
+
... on DiagnosticReportResultReference {
|
|
1621
|
+
display
|
|
1622
|
+
reference
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
status
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
${MetaFieldsFragmentDoc}
|
|
1631
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
553
1632
|
export const GetAllergyIntoleranceGroupsDocument = `
|
|
554
1633
|
query getAllergyIntoleranceGroups($request: AllergyIntoleranceGroupQueryRequest) {
|
|
555
1634
|
getAllergyIntoleranceGroups(request: $request) {
|
|
@@ -576,78 +1655,84 @@ export const GetAllergyIntoleranceGroupsDocument = `
|
|
|
576
1655
|
${PagingFieldsFragmentDoc}
|
|
577
1656
|
${CodingFieldsFragmentDoc}`;
|
|
578
1657
|
export const GetAllergyIntolerancesDocument = `
|
|
579
|
-
query getAllergyIntolerances($
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
id
|
|
587
|
-
entry {
|
|
1658
|
+
query getAllergyIntolerances($request: AllergyIntolerancesRequest) {
|
|
1659
|
+
getAllergyIntolerances(request: $request) {
|
|
1660
|
+
paging_info {
|
|
1661
|
+
...PagingFields
|
|
1662
|
+
}
|
|
1663
|
+
resources {
|
|
1664
|
+
resourceType
|
|
588
1665
|
id
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
system
|
|
602
|
-
display
|
|
603
|
-
code
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
criticality
|
|
607
|
-
onsetDateTime
|
|
608
|
-
onsetPeriod {
|
|
609
|
-
start
|
|
610
|
-
end
|
|
611
|
-
}
|
|
612
|
-
text {
|
|
613
|
-
...NarrativeFields
|
|
614
|
-
}
|
|
615
|
-
type
|
|
616
|
-
recorder {
|
|
617
|
-
id
|
|
618
|
-
reference
|
|
619
|
-
type
|
|
620
|
-
resource {
|
|
621
|
-
... on Practitioner {
|
|
622
|
-
...PractitionerFields
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
lastOccurrence
|
|
627
|
-
reaction {
|
|
628
|
-
...ReactionFields
|
|
1666
|
+
meta {
|
|
1667
|
+
...MetaFields
|
|
1668
|
+
}
|
|
1669
|
+
category {
|
|
1670
|
+
code
|
|
1671
|
+
display
|
|
1672
|
+
}
|
|
1673
|
+
code {
|
|
1674
|
+
coding {
|
|
1675
|
+
system
|
|
1676
|
+
code
|
|
1677
|
+
display
|
|
629
1678
|
}
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
1679
|
+
text
|
|
1680
|
+
}
|
|
1681
|
+
criticality {
|
|
1682
|
+
code
|
|
1683
|
+
display
|
|
1684
|
+
}
|
|
1685
|
+
onsetDateTime
|
|
1686
|
+
onsetPeriod {
|
|
1687
|
+
start
|
|
1688
|
+
end
|
|
1689
|
+
}
|
|
1690
|
+
text {
|
|
1691
|
+
...NarrativeFields
|
|
1692
|
+
}
|
|
1693
|
+
typeCoding {
|
|
1694
|
+
code
|
|
1695
|
+
display
|
|
1696
|
+
}
|
|
1697
|
+
recorder {
|
|
1698
|
+
... on Practitioner {
|
|
1699
|
+
...PractitionerFields
|
|
635
1700
|
}
|
|
636
|
-
|
|
637
|
-
|
|
1701
|
+
}
|
|
1702
|
+
lastOccurrence
|
|
1703
|
+
reaction {
|
|
1704
|
+
...ReactionFields
|
|
1705
|
+
}
|
|
1706
|
+
recordedDate
|
|
1707
|
+
note {
|
|
1708
|
+
authorString
|
|
1709
|
+
time
|
|
1710
|
+
text
|
|
1711
|
+
}
|
|
1712
|
+
verificationStatus {
|
|
1713
|
+
coding {
|
|
1714
|
+
system
|
|
1715
|
+
code
|
|
1716
|
+
display
|
|
638
1717
|
}
|
|
639
|
-
|
|
640
|
-
|
|
1718
|
+
text
|
|
1719
|
+
}
|
|
1720
|
+
clinicalStatus {
|
|
1721
|
+
coding {
|
|
1722
|
+
system
|
|
1723
|
+
code
|
|
1724
|
+
display
|
|
641
1725
|
}
|
|
1726
|
+
text
|
|
642
1727
|
}
|
|
643
1728
|
}
|
|
644
1729
|
}
|
|
645
1730
|
}
|
|
646
|
-
${
|
|
1731
|
+
${PagingFieldsFragmentDoc}
|
|
1732
|
+
${MetaFieldsFragmentDoc}
|
|
647
1733
|
${NarrativeFieldsFragmentDoc}
|
|
648
1734
|
${PractitionerFieldsFragmentDoc}
|
|
649
|
-
${ReactionFieldsFragmentDoc}
|
|
650
|
-
${CodeableConceptFieldsFragmentDoc}`;
|
|
1735
|
+
${ReactionFieldsFragmentDoc}`;
|
|
651
1736
|
export const GetCarePlanGroupsDocument = `
|
|
652
1737
|
query getCarePlanGroups($request: CarePlanGroupQueryRequest) {
|
|
653
1738
|
getCarePlanGroups(request: $request) {
|
|
@@ -672,6 +1757,100 @@ export const GetCarePlanGroupsDocument = `
|
|
|
672
1757
|
${PagingFieldsFragmentDoc}
|
|
673
1758
|
${CodingFieldsFragmentDoc}
|
|
674
1759
|
${PeriodFieldsFragmentDoc}`;
|
|
1760
|
+
export const GetCarePlansDocument = `
|
|
1761
|
+
query getCarePlans($request: CarePlanRequest) {
|
|
1762
|
+
getCarePlans(request: $request) {
|
|
1763
|
+
paging_info {
|
|
1764
|
+
...PagingFields
|
|
1765
|
+
}
|
|
1766
|
+
resources {
|
|
1767
|
+
meta {
|
|
1768
|
+
...MetaFields
|
|
1769
|
+
}
|
|
1770
|
+
id
|
|
1771
|
+
title
|
|
1772
|
+
resourceType
|
|
1773
|
+
description
|
|
1774
|
+
encounter {
|
|
1775
|
+
...EncounterFields
|
|
1776
|
+
}
|
|
1777
|
+
addresses {
|
|
1778
|
+
...ConditionFields
|
|
1779
|
+
}
|
|
1780
|
+
identifier {
|
|
1781
|
+
...IdentifierFields
|
|
1782
|
+
}
|
|
1783
|
+
category {
|
|
1784
|
+
...CodeableConceptFields
|
|
1785
|
+
}
|
|
1786
|
+
text {
|
|
1787
|
+
...NarrativeFields
|
|
1788
|
+
}
|
|
1789
|
+
status {
|
|
1790
|
+
display
|
|
1791
|
+
code
|
|
1792
|
+
}
|
|
1793
|
+
intent {
|
|
1794
|
+
display
|
|
1795
|
+
code
|
|
1796
|
+
}
|
|
1797
|
+
subject {
|
|
1798
|
+
_resourceType
|
|
1799
|
+
id
|
|
1800
|
+
}
|
|
1801
|
+
period {
|
|
1802
|
+
...PeriodFields
|
|
1803
|
+
}
|
|
1804
|
+
created
|
|
1805
|
+
activity {
|
|
1806
|
+
...ActivityFields
|
|
1807
|
+
}
|
|
1808
|
+
note {
|
|
1809
|
+
authorString
|
|
1810
|
+
time
|
|
1811
|
+
text
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
${PagingFieldsFragmentDoc}
|
|
1817
|
+
${MetaFieldsFragmentDoc}
|
|
1818
|
+
${EncounterFieldsFragmentDoc}
|
|
1819
|
+
${ConditionFieldsFragmentDoc}
|
|
1820
|
+
${IdentifierFieldsFragmentDoc}
|
|
1821
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1822
|
+
${NarrativeFieldsFragmentDoc}
|
|
1823
|
+
${PeriodFieldsFragmentDoc}
|
|
1824
|
+
${ActivityFieldsFragmentDoc}`;
|
|
1825
|
+
export const GetCareTeamsDocument = `
|
|
1826
|
+
query getCareTeams($request: CareTeamRequest) {
|
|
1827
|
+
getCareTeams(request: $request) {
|
|
1828
|
+
paging_info {
|
|
1829
|
+
...PagingFields
|
|
1830
|
+
}
|
|
1831
|
+
resources {
|
|
1832
|
+
id
|
|
1833
|
+
name
|
|
1834
|
+
meta {
|
|
1835
|
+
...MetaFields
|
|
1836
|
+
}
|
|
1837
|
+
identifier {
|
|
1838
|
+
...IdentifierFields
|
|
1839
|
+
}
|
|
1840
|
+
category {
|
|
1841
|
+
...CodeableConceptFields
|
|
1842
|
+
}
|
|
1843
|
+
participant {
|
|
1844
|
+
...CareTeamParticipantFields
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
${PagingFieldsFragmentDoc}
|
|
1850
|
+
${MetaFieldsFragmentDoc}
|
|
1851
|
+
${IdentifierFieldsFragmentDoc}
|
|
1852
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1853
|
+
${CareTeamParticipantFieldsFragmentDoc}`;
|
|
675
1854
|
export const GetConditionGroupsDocument = `
|
|
676
1855
|
query getConditionGroups($request: ConditionGroupQueryRequest) {
|
|
677
1856
|
getConditionGroups(request: $request) {
|
|
@@ -693,6 +1872,99 @@ export const GetConditionGroupsDocument = `
|
|
|
693
1872
|
}
|
|
694
1873
|
${PagingFieldsFragmentDoc}
|
|
695
1874
|
${CodingFieldsFragmentDoc}`;
|
|
1875
|
+
export const GetConditionsDocument = `
|
|
1876
|
+
query getConditions($request: ConditionRequest) {
|
|
1877
|
+
getConditions(request: $request) {
|
|
1878
|
+
paging_info {
|
|
1879
|
+
...PagingFields
|
|
1880
|
+
}
|
|
1881
|
+
resources {
|
|
1882
|
+
resourceType
|
|
1883
|
+
identifier {
|
|
1884
|
+
...IdentifierFields
|
|
1885
|
+
}
|
|
1886
|
+
text {
|
|
1887
|
+
...NarrativeFields
|
|
1888
|
+
}
|
|
1889
|
+
extension {
|
|
1890
|
+
id
|
|
1891
|
+
url
|
|
1892
|
+
valueCodeableConcept {
|
|
1893
|
+
...CodeableConceptFields
|
|
1894
|
+
}
|
|
1895
|
+
valueString
|
|
1896
|
+
valueInteger
|
|
1897
|
+
valueDateTime
|
|
1898
|
+
}
|
|
1899
|
+
id
|
|
1900
|
+
meta {
|
|
1901
|
+
...MetaFields
|
|
1902
|
+
}
|
|
1903
|
+
code {
|
|
1904
|
+
...CodeableConceptFields
|
|
1905
|
+
}
|
|
1906
|
+
clinicalStatus {
|
|
1907
|
+
...CodeableConceptFields
|
|
1908
|
+
}
|
|
1909
|
+
onsetDateTime
|
|
1910
|
+
recordedDate
|
|
1911
|
+
recorder {
|
|
1912
|
+
...RecorderFields
|
|
1913
|
+
}
|
|
1914
|
+
note {
|
|
1915
|
+
authorString
|
|
1916
|
+
time
|
|
1917
|
+
text
|
|
1918
|
+
}
|
|
1919
|
+
onsetPeriod {
|
|
1920
|
+
...PeriodFields
|
|
1921
|
+
}
|
|
1922
|
+
abatementDateTime
|
|
1923
|
+
abatementPeriod {
|
|
1924
|
+
...PeriodFields
|
|
1925
|
+
}
|
|
1926
|
+
subject {
|
|
1927
|
+
__typename
|
|
1928
|
+
... on Patient {
|
|
1929
|
+
name {
|
|
1930
|
+
...HumanNameFields
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
category {
|
|
1935
|
+
...CodeableConceptFields
|
|
1936
|
+
}
|
|
1937
|
+
severity {
|
|
1938
|
+
...CodeableConceptFields
|
|
1939
|
+
}
|
|
1940
|
+
verificationStatus {
|
|
1941
|
+
...CodeableConceptFields
|
|
1942
|
+
}
|
|
1943
|
+
bodySite {
|
|
1944
|
+
...CodeableConceptFields
|
|
1945
|
+
}
|
|
1946
|
+
asserter {
|
|
1947
|
+
... on Practitioner {
|
|
1948
|
+
name {
|
|
1949
|
+
...HumanNameFields
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
encounter {
|
|
1954
|
+
...EncounterFields
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
${PagingFieldsFragmentDoc}
|
|
1960
|
+
${IdentifierFieldsFragmentDoc}
|
|
1961
|
+
${NarrativeFieldsFragmentDoc}
|
|
1962
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1963
|
+
${MetaFieldsFragmentDoc}
|
|
1964
|
+
${RecorderFieldsFragmentDoc}
|
|
1965
|
+
${PeriodFieldsFragmentDoc}
|
|
1966
|
+
${HumanNameFieldsFragmentDoc}
|
|
1967
|
+
${EncounterFieldsFragmentDoc}`;
|
|
696
1968
|
export const GetDiagnosticReportLabGroupsDocument = `
|
|
697
1969
|
query getDiagnosticReportLabGroups($request: DiagnosticReportLabGroupQueryRequest) {
|
|
698
1970
|
getDiagnosticReportLabGroups(request: $request) {
|
|
@@ -716,6 +1988,19 @@ export const GetDiagnosticReportLabGroupsDocument = `
|
|
|
716
1988
|
}
|
|
717
1989
|
${CodingFieldsFragmentDoc}
|
|
718
1990
|
${PagingFieldsFragmentDoc}`;
|
|
1991
|
+
export const GetDocumentReferencesDocument = `
|
|
1992
|
+
query getDocumentReferences($request: DocumentReferenceRequest) {
|
|
1993
|
+
getDocumentReferences(request: $request) {
|
|
1994
|
+
paging_info {
|
|
1995
|
+
...PagingFields
|
|
1996
|
+
}
|
|
1997
|
+
resources {
|
|
1998
|
+
...DocumentReferenceFields
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
${PagingFieldsFragmentDoc}
|
|
2003
|
+
${DocumentReferenceFieldsFragmentDoc}`;
|
|
719
2004
|
export const GetEncountersGroupDocument = `
|
|
720
2005
|
query getEncountersGroup($request: EncounterGroupQueryRequest) {
|
|
721
2006
|
getEncounterGroups(request: $request) {
|
|
@@ -744,6 +2029,29 @@ export const GetEncountersGroupDocument = `
|
|
|
744
2029
|
}
|
|
745
2030
|
${PagingFieldsFragmentDoc}
|
|
746
2031
|
${CodingFieldsFragmentDoc}`;
|
|
2032
|
+
export const GetEncounterQueryDocument = `
|
|
2033
|
+
query getEncounterQuery($request: EncounterRequest) {
|
|
2034
|
+
getEncounters(request: $request) {
|
|
2035
|
+
paging_info {
|
|
2036
|
+
...PagingFields
|
|
2037
|
+
}
|
|
2038
|
+
resources {
|
|
2039
|
+
...EncounterFields
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
${PagingFieldsFragmentDoc}
|
|
2044
|
+
${EncounterFieldsFragmentDoc}`;
|
|
2045
|
+
export const GetHealthSummaryDocument = `
|
|
2046
|
+
query GetHealthSummary {
|
|
2047
|
+
getHealthSummary {
|
|
2048
|
+
resources {
|
|
2049
|
+
category
|
|
2050
|
+
total
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
`;
|
|
747
2055
|
export const GetImmunizationGroupsDocument = `
|
|
748
2056
|
query getImmunizationGroups($request: ImmunizationGroupQueryRequest) {
|
|
749
2057
|
getImmunizationGroups(request: $request) {
|
|
@@ -765,6 +2073,86 @@ export const GetImmunizationGroupsDocument = `
|
|
|
765
2073
|
}
|
|
766
2074
|
${PagingFieldsFragmentDoc}
|
|
767
2075
|
${CodingFieldsFragmentDoc}`;
|
|
2076
|
+
export const GetImmunizationsDocument = `
|
|
2077
|
+
query getImmunizations($request: ImmunizationRequest) {
|
|
2078
|
+
getImmunizations(request: $request) {
|
|
2079
|
+
paging_info {
|
|
2080
|
+
...PagingFields
|
|
2081
|
+
}
|
|
2082
|
+
resources {
|
|
2083
|
+
resourceType
|
|
2084
|
+
id
|
|
2085
|
+
status {
|
|
2086
|
+
code
|
|
2087
|
+
display
|
|
2088
|
+
}
|
|
2089
|
+
expirationDate
|
|
2090
|
+
identifier {
|
|
2091
|
+
...IdentifierFields
|
|
2092
|
+
}
|
|
2093
|
+
reportOrigin {
|
|
2094
|
+
...CodeableConceptFields
|
|
2095
|
+
}
|
|
2096
|
+
text {
|
|
2097
|
+
...NarrativeFields
|
|
2098
|
+
}
|
|
2099
|
+
meta {
|
|
2100
|
+
...MetaFields
|
|
2101
|
+
}
|
|
2102
|
+
vaccineCode {
|
|
2103
|
+
...CodeableConceptFields
|
|
2104
|
+
}
|
|
2105
|
+
statusReason {
|
|
2106
|
+
...CodeableConceptFields
|
|
2107
|
+
}
|
|
2108
|
+
occurrenceDateTime
|
|
2109
|
+
primarySource
|
|
2110
|
+
doseQuantity {
|
|
2111
|
+
...QuantityFields
|
|
2112
|
+
}
|
|
2113
|
+
encounter {
|
|
2114
|
+
...EncounterFields
|
|
2115
|
+
}
|
|
2116
|
+
reaction {
|
|
2117
|
+
...ReactionFields
|
|
2118
|
+
}
|
|
2119
|
+
protocolApplied {
|
|
2120
|
+
...ProtocolAppliedFields
|
|
2121
|
+
}
|
|
2122
|
+
manufacturer {
|
|
2123
|
+
...OrganizationFields
|
|
2124
|
+
}
|
|
2125
|
+
lotNumber
|
|
2126
|
+
site {
|
|
2127
|
+
...CodeableConceptFields
|
|
2128
|
+
}
|
|
2129
|
+
route {
|
|
2130
|
+
...CodeableConceptFields
|
|
2131
|
+
}
|
|
2132
|
+
performer {
|
|
2133
|
+
...PerformerFields
|
|
2134
|
+
}
|
|
2135
|
+
location {
|
|
2136
|
+
...LocationFields
|
|
2137
|
+
}
|
|
2138
|
+
reasonCode {
|
|
2139
|
+
...CodeableConceptFields
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
${PagingFieldsFragmentDoc}
|
|
2145
|
+
${IdentifierFieldsFragmentDoc}
|
|
2146
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
2147
|
+
${NarrativeFieldsFragmentDoc}
|
|
2148
|
+
${MetaFieldsFragmentDoc}
|
|
2149
|
+
${QuantityFieldsFragmentDoc}
|
|
2150
|
+
${EncounterFieldsFragmentDoc}
|
|
2151
|
+
${ReactionFieldsFragmentDoc}
|
|
2152
|
+
${ProtocolAppliedFieldsFragmentDoc}
|
|
2153
|
+
${OrganizationFieldsFragmentDoc}
|
|
2154
|
+
${PerformerFieldsFragmentDoc}
|
|
2155
|
+
${LocationFieldsFragmentDoc}`;
|
|
768
2156
|
export const GetProcedureGroupsDocument = `
|
|
769
2157
|
query getProcedureGroups($request: ProcedureGroupQueryRequest) {
|
|
770
2158
|
getProcedureGroups(request: $request) {
|
|
@@ -787,6 +2175,97 @@ export const GetProcedureGroupsDocument = `
|
|
|
787
2175
|
}
|
|
788
2176
|
${PagingFieldsFragmentDoc}
|
|
789
2177
|
${CodingFieldsFragmentDoc}`;
|
|
2178
|
+
export const GetProceduresDocument = `
|
|
2179
|
+
query GetProcedures($request: ProcedureRequest) {
|
|
2180
|
+
getProcedures(request: $request) {
|
|
2181
|
+
paging_info {
|
|
2182
|
+
...PagingFields
|
|
2183
|
+
}
|
|
2184
|
+
resources {
|
|
2185
|
+
id
|
|
2186
|
+
resourceType
|
|
2187
|
+
identifier {
|
|
2188
|
+
...IdentifierFields
|
|
2189
|
+
}
|
|
2190
|
+
location {
|
|
2191
|
+
...LocationFields
|
|
2192
|
+
}
|
|
2193
|
+
subject {
|
|
2194
|
+
__typename
|
|
2195
|
+
... on Patient {
|
|
2196
|
+
name {
|
|
2197
|
+
...HumanNameFields
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
recorder {
|
|
2202
|
+
...RecorderFields
|
|
2203
|
+
}
|
|
2204
|
+
asserter {
|
|
2205
|
+
...AsserterFields
|
|
2206
|
+
}
|
|
2207
|
+
text {
|
|
2208
|
+
...NarrativeFields
|
|
2209
|
+
}
|
|
2210
|
+
code {
|
|
2211
|
+
...CodeableConceptFields
|
|
2212
|
+
}
|
|
2213
|
+
category {
|
|
2214
|
+
...CodeableConceptFields
|
|
2215
|
+
}
|
|
2216
|
+
meta {
|
|
2217
|
+
...MetaFields
|
|
2218
|
+
}
|
|
2219
|
+
performedDateTime
|
|
2220
|
+
performedPeriod {
|
|
2221
|
+
...PeriodFields
|
|
2222
|
+
}
|
|
2223
|
+
performedString
|
|
2224
|
+
performer {
|
|
2225
|
+
...PerformerFields
|
|
2226
|
+
}
|
|
2227
|
+
encounter {
|
|
2228
|
+
...EncounterFields
|
|
2229
|
+
}
|
|
2230
|
+
reasonCode {
|
|
2231
|
+
...CodeableConceptFields
|
|
2232
|
+
}
|
|
2233
|
+
bodySite {
|
|
2234
|
+
...CodeableConceptFields
|
|
2235
|
+
}
|
|
2236
|
+
outcome {
|
|
2237
|
+
...CodeableConceptFields
|
|
2238
|
+
}
|
|
2239
|
+
followUp {
|
|
2240
|
+
...CodeableConceptFields
|
|
2241
|
+
}
|
|
2242
|
+
complication {
|
|
2243
|
+
...CodeableConceptFields
|
|
2244
|
+
}
|
|
2245
|
+
note {
|
|
2246
|
+
authorString
|
|
2247
|
+
time
|
|
2248
|
+
text
|
|
2249
|
+
}
|
|
2250
|
+
status {
|
|
2251
|
+
code
|
|
2252
|
+
display
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
${PagingFieldsFragmentDoc}
|
|
2258
|
+
${IdentifierFieldsFragmentDoc}
|
|
2259
|
+
${LocationFieldsFragmentDoc}
|
|
2260
|
+
${HumanNameFieldsFragmentDoc}
|
|
2261
|
+
${RecorderFieldsFragmentDoc}
|
|
2262
|
+
${AsserterFieldsFragmentDoc}
|
|
2263
|
+
${NarrativeFieldsFragmentDoc}
|
|
2264
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
2265
|
+
${MetaFieldsFragmentDoc}
|
|
2266
|
+
${PeriodFieldsFragmentDoc}
|
|
2267
|
+
${PerformerFieldsFragmentDoc}
|
|
2268
|
+
${EncounterFieldsFragmentDoc}`;
|
|
790
2269
|
export const GetVitalSignGroupsDocument = `
|
|
791
2270
|
query getVitalSignGroups($request: VitalSignGroupQueryRequest) {
|
|
792
2271
|
getVitalSignGroups(request: $request) {
|
|
@@ -828,6 +2307,19 @@ ${CodingFieldsFragmentDoc}
|
|
|
828
2307
|
${ValueFieldsFragmentDoc}
|
|
829
2308
|
${ReferenceRangeFieldsFragmentDoc}
|
|
830
2309
|
${ComponentFieldsFragmentDoc}`;
|
|
2310
|
+
export const GetVitalSignsDocument = `
|
|
2311
|
+
query getVitalSigns($request: VitalSignRequest) {
|
|
2312
|
+
getVitalSigns(request: $request) {
|
|
2313
|
+
paging_info {
|
|
2314
|
+
...PagingFields
|
|
2315
|
+
}
|
|
2316
|
+
resources {
|
|
2317
|
+
...ObservationFields
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
${PagingFieldsFragmentDoc}
|
|
2322
|
+
${ObservationFieldsFragmentDoc}`;
|
|
831
2323
|
export const GetLabGroupsDocument = `
|
|
832
2324
|
query getLabGroups($request: LabGroupQueryRequest) {
|
|
833
2325
|
getLabGroups(request: $request) {
|
|
@@ -842,57 +2334,351 @@ export const GetLabGroupsDocument = `
|
|
|
842
2334
|
category {
|
|
843
2335
|
...CodeableConceptFields
|
|
844
2336
|
}
|
|
845
|
-
coding {
|
|
846
|
-
...CodingFields
|
|
2337
|
+
coding {
|
|
2338
|
+
...CodingFields
|
|
2339
|
+
}
|
|
2340
|
+
effectiveDateTime
|
|
2341
|
+
referenceRange {
|
|
2342
|
+
...ReferenceRangeFields
|
|
2343
|
+
}
|
|
2344
|
+
value {
|
|
2345
|
+
...ValueFields
|
|
2346
|
+
}
|
|
2347
|
+
interpretation {
|
|
2348
|
+
...CodeableConceptFields
|
|
2349
|
+
}
|
|
2350
|
+
component {
|
|
2351
|
+
...ComponentFields
|
|
2352
|
+
}
|
|
2353
|
+
references
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
${PagingFieldsFragmentDoc}
|
|
2358
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
2359
|
+
${CodingFieldsFragmentDoc}
|
|
2360
|
+
${ReferenceRangeFieldsFragmentDoc}
|
|
2361
|
+
${ValueFieldsFragmentDoc}
|
|
2362
|
+
${ComponentFieldsFragmentDoc}`;
|
|
2363
|
+
export const GetLabKnowledgeDocument = `
|
|
2364
|
+
query getLabKnowledge($request: LabKnowledgeRequest) {
|
|
2365
|
+
getLabKnowledge(request: $request) {
|
|
2366
|
+
paging_info {
|
|
2367
|
+
...PagingFields
|
|
2368
|
+
}
|
|
2369
|
+
resources {
|
|
2370
|
+
content
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
${PagingFieldsFragmentDoc}`;
|
|
2375
|
+
export const GetLabsDocument = `
|
|
2376
|
+
query getLabs($request: LabRequest) {
|
|
2377
|
+
getLabs(request: $request) {
|
|
2378
|
+
paging_info {
|
|
2379
|
+
...PagingFields
|
|
2380
|
+
}
|
|
2381
|
+
resources {
|
|
2382
|
+
...ObservationFields
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
${PagingFieldsFragmentDoc}
|
|
2387
|
+
${ObservationFieldsFragmentDoc}`;
|
|
2388
|
+
export const GetMedicationDispenseDocument = `
|
|
2389
|
+
query getMedicationDispense($request: MedicationDispenseQueryRequest) {
|
|
2390
|
+
getMedicationDispense(request: $request) {
|
|
2391
|
+
paging_info {
|
|
2392
|
+
...PagingFields
|
|
2393
|
+
}
|
|
2394
|
+
resources {
|
|
2395
|
+
resourceType
|
|
2396
|
+
id
|
|
2397
|
+
meta {
|
|
2398
|
+
...MetaFields
|
|
2399
|
+
}
|
|
2400
|
+
status {
|
|
2401
|
+
code
|
|
2402
|
+
display
|
|
2403
|
+
}
|
|
2404
|
+
category {
|
|
2405
|
+
...CodeableConceptFields
|
|
2406
|
+
}
|
|
2407
|
+
identifier {
|
|
2408
|
+
...IdentifierFields
|
|
2409
|
+
}
|
|
2410
|
+
medicationCodeableConcept {
|
|
2411
|
+
...CodeableConceptFields
|
|
2412
|
+
}
|
|
2413
|
+
daysSupply {
|
|
2414
|
+
...QuantityFields
|
|
2415
|
+
}
|
|
2416
|
+
medicationReference {
|
|
2417
|
+
...MedicationReferenceFields
|
|
2418
|
+
}
|
|
2419
|
+
medication {
|
|
2420
|
+
...MedicationReferenceResourceFields
|
|
2421
|
+
}
|
|
2422
|
+
subject {
|
|
2423
|
+
... on Patient {
|
|
2424
|
+
name {
|
|
2425
|
+
...HumanNameFields
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
context {
|
|
2430
|
+
...EncounterFields
|
|
2431
|
+
}
|
|
2432
|
+
performer {
|
|
2433
|
+
...PerformerFields
|
|
2434
|
+
}
|
|
2435
|
+
type {
|
|
2436
|
+
...CodeableConceptFields
|
|
2437
|
+
}
|
|
2438
|
+
quantity {
|
|
2439
|
+
...QuantityFields
|
|
2440
|
+
}
|
|
2441
|
+
location {
|
|
2442
|
+
...LocationFields
|
|
2443
|
+
}
|
|
2444
|
+
whenPrepared
|
|
2445
|
+
whenHandedOver
|
|
2446
|
+
dosageInstruction {
|
|
2447
|
+
...DosageFields
|
|
2448
|
+
}
|
|
2449
|
+
authorizingPrescription {
|
|
2450
|
+
reference
|
|
2451
|
+
type
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
${PagingFieldsFragmentDoc}
|
|
2457
|
+
${MetaFieldsFragmentDoc}
|
|
2458
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
2459
|
+
${IdentifierFieldsFragmentDoc}
|
|
2460
|
+
${QuantityFieldsFragmentDoc}
|
|
2461
|
+
${MedicationReferenceFieldsFragmentDoc}
|
|
2462
|
+
${MedicationReferenceResourceFieldsFragmentDoc}
|
|
2463
|
+
${HumanNameFieldsFragmentDoc}
|
|
2464
|
+
${EncounterFieldsFragmentDoc}
|
|
2465
|
+
${PerformerFieldsFragmentDoc}
|
|
2466
|
+
${LocationFieldsFragmentDoc}
|
|
2467
|
+
${DosageFieldsFragmentDoc}`;
|
|
2468
|
+
export const GetMedicationGroupsDocument = `
|
|
2469
|
+
query getMedicationGroups($request: MedicationGroupQueryRequest) {
|
|
2470
|
+
getMedicationGroups(request: $request) {
|
|
2471
|
+
paging_info {
|
|
2472
|
+
...PagingFields
|
|
2473
|
+
}
|
|
2474
|
+
resources {
|
|
2475
|
+
id
|
|
2476
|
+
name
|
|
2477
|
+
source
|
|
2478
|
+
sourceDisplay
|
|
2479
|
+
coding {
|
|
2480
|
+
...CodingFields
|
|
2481
|
+
}
|
|
2482
|
+
references
|
|
2483
|
+
status {
|
|
2484
|
+
code
|
|
2485
|
+
display
|
|
2486
|
+
}
|
|
2487
|
+
authoredOn
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
${PagingFieldsFragmentDoc}
|
|
2492
|
+
${CodingFieldsFragmentDoc}`;
|
|
2493
|
+
export const GetMedicationKnowledgeDocument = `
|
|
2494
|
+
query getMedicationKnowledge($request: MedicationKnowledgeRequest) {
|
|
2495
|
+
getMedicationKnowledge(request: $request) {
|
|
2496
|
+
paging_info {
|
|
2497
|
+
...PagingFields
|
|
2498
|
+
}
|
|
2499
|
+
resources {
|
|
2500
|
+
__typename
|
|
2501
|
+
title
|
|
2502
|
+
content
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
${PagingFieldsFragmentDoc}`;
|
|
2507
|
+
export const GetMedicationPricingDocument = `
|
|
2508
|
+
query getMedicationPricing($request: MedicationPricingRequest) {
|
|
2509
|
+
getMedicationPricing(request: $request) {
|
|
2510
|
+
resources {
|
|
2511
|
+
pharmacy
|
|
2512
|
+
couponUrl
|
|
2513
|
+
drugUrl
|
|
2514
|
+
price {
|
|
2515
|
+
...MoneyResourceFields
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
${MoneyResourceFieldsFragmentDoc}`;
|
|
2521
|
+
export const GetMedicationRequestDocument = `
|
|
2522
|
+
query getMedicationRequest($request: MedicationRequestQueryRequest) {
|
|
2523
|
+
getMedicationRequest(request: $request) {
|
|
2524
|
+
paging_info {
|
|
2525
|
+
...PagingFields
|
|
2526
|
+
}
|
|
2527
|
+
resources {
|
|
2528
|
+
resourceType
|
|
2529
|
+
id
|
|
2530
|
+
meta {
|
|
2531
|
+
...MetaFields
|
|
2532
|
+
}
|
|
2533
|
+
status {
|
|
2534
|
+
code
|
|
2535
|
+
display
|
|
2536
|
+
}
|
|
2537
|
+
category {
|
|
2538
|
+
...CodeableConceptFields
|
|
2539
|
+
}
|
|
2540
|
+
identifier {
|
|
2541
|
+
...IdentifierFields
|
|
2542
|
+
}
|
|
2543
|
+
intent {
|
|
2544
|
+
code
|
|
2545
|
+
display
|
|
2546
|
+
}
|
|
2547
|
+
language
|
|
2548
|
+
medicationCodeableConcept {
|
|
2549
|
+
...CodeableConceptFields
|
|
2550
|
+
}
|
|
2551
|
+
medicationReference {
|
|
2552
|
+
...MedicationReferenceFields
|
|
847
2553
|
}
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
...ReferenceRangeFields
|
|
2554
|
+
medication {
|
|
2555
|
+
...MedicationReferenceResourceFields
|
|
851
2556
|
}
|
|
852
|
-
|
|
853
|
-
...
|
|
2557
|
+
text {
|
|
2558
|
+
...NarrativeFields
|
|
854
2559
|
}
|
|
855
|
-
|
|
2560
|
+
subject {
|
|
2561
|
+
... on Patient {
|
|
2562
|
+
name {
|
|
2563
|
+
...HumanNameFields
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
requester {
|
|
2568
|
+
... on Practitioner {
|
|
2569
|
+
...PractitionerFields
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
recorder {
|
|
2573
|
+
... on Practitioner {
|
|
2574
|
+
...PractitionerFields
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
encounter {
|
|
2578
|
+
...EncounterFields
|
|
2579
|
+
}
|
|
2580
|
+
authoredOn
|
|
2581
|
+
dosageInstruction {
|
|
2582
|
+
...DosageFields
|
|
2583
|
+
}
|
|
2584
|
+
dispenseRequest {
|
|
2585
|
+
...MedicationDispenseFields
|
|
2586
|
+
}
|
|
2587
|
+
reasonCode {
|
|
856
2588
|
...CodeableConceptFields
|
|
857
2589
|
}
|
|
858
|
-
|
|
859
|
-
...
|
|
2590
|
+
courseOfTherapyType {
|
|
2591
|
+
...CodeableConceptFields
|
|
860
2592
|
}
|
|
861
|
-
references
|
|
862
2593
|
}
|
|
863
2594
|
}
|
|
864
2595
|
}
|
|
865
2596
|
${PagingFieldsFragmentDoc}
|
|
2597
|
+
${MetaFieldsFragmentDoc}
|
|
866
2598
|
${CodeableConceptFieldsFragmentDoc}
|
|
867
|
-
${
|
|
868
|
-
${
|
|
869
|
-
${
|
|
870
|
-
${
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
2599
|
+
${IdentifierFieldsFragmentDoc}
|
|
2600
|
+
${MedicationReferenceFieldsFragmentDoc}
|
|
2601
|
+
${MedicationReferenceResourceFieldsFragmentDoc}
|
|
2602
|
+
${NarrativeFieldsFragmentDoc}
|
|
2603
|
+
${HumanNameFieldsFragmentDoc}
|
|
2604
|
+
${PractitionerFieldsFragmentDoc}
|
|
2605
|
+
${EncounterFieldsFragmentDoc}
|
|
2606
|
+
${DosageFieldsFragmentDoc}
|
|
2607
|
+
${MedicationDispenseFieldsFragmentDoc}`;
|
|
2608
|
+
export const GetMedicationStatementsDocument = `
|
|
2609
|
+
query getMedicationStatements($request: MedicationStatementQueryRequest) {
|
|
2610
|
+
getMedicationStatements(request: $request) {
|
|
874
2611
|
paging_info {
|
|
875
2612
|
...PagingFields
|
|
876
2613
|
}
|
|
877
2614
|
resources {
|
|
878
2615
|
id
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
sourceDisplay
|
|
882
|
-
coding {
|
|
883
|
-
...CodingFields
|
|
2616
|
+
meta {
|
|
2617
|
+
...MetaFields
|
|
884
2618
|
}
|
|
885
|
-
references
|
|
886
2619
|
status {
|
|
887
2620
|
code
|
|
888
2621
|
display
|
|
889
2622
|
}
|
|
2623
|
+
medication {
|
|
2624
|
+
...CodeableConceptFields
|
|
2625
|
+
}
|
|
2626
|
+
reasonCode {
|
|
2627
|
+
...CodeableConceptFields
|
|
2628
|
+
}
|
|
890
2629
|
authoredOn
|
|
2630
|
+
requester {
|
|
2631
|
+
...ActorFields
|
|
2632
|
+
}
|
|
2633
|
+
effectiveDate {
|
|
2634
|
+
start
|
|
2635
|
+
end
|
|
2636
|
+
}
|
|
2637
|
+
dosageInstruction {
|
|
2638
|
+
...DosageFields
|
|
2639
|
+
}
|
|
2640
|
+
dispenseRequest {
|
|
2641
|
+
id
|
|
2642
|
+
dispenseInterval {
|
|
2643
|
+
...QuantityFields
|
|
2644
|
+
}
|
|
2645
|
+
expectedSupplyDuration {
|
|
2646
|
+
...QuantityFields
|
|
2647
|
+
}
|
|
2648
|
+
initialFill {
|
|
2649
|
+
duration {
|
|
2650
|
+
...QuantityFields
|
|
2651
|
+
}
|
|
2652
|
+
quantity {
|
|
2653
|
+
...QuantityFields
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
numberOfRepeatsAllowed
|
|
2657
|
+
performer {
|
|
2658
|
+
name
|
|
2659
|
+
}
|
|
2660
|
+
validityPeriod {
|
|
2661
|
+
start
|
|
2662
|
+
end
|
|
2663
|
+
}
|
|
2664
|
+
quantity {
|
|
2665
|
+
...QuantityFields
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
source
|
|
2669
|
+
derivedFrom {
|
|
2670
|
+
reference
|
|
2671
|
+
type
|
|
2672
|
+
}
|
|
891
2673
|
}
|
|
892
2674
|
}
|
|
893
2675
|
}
|
|
894
2676
|
${PagingFieldsFragmentDoc}
|
|
895
|
-
${
|
|
2677
|
+
${MetaFieldsFragmentDoc}
|
|
2678
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
2679
|
+
${ActorFieldsFragmentDoc}
|
|
2680
|
+
${DosageFieldsFragmentDoc}
|
|
2681
|
+
${QuantityFieldsFragmentDoc}`;
|
|
896
2682
|
export const AppointmentsDocument = `
|
|
897
2683
|
query appointments($source: SearchString, $id: SearchString, $count: Int, $getPagesOffset: Int, $date: SearchDate, $supportingInformation: SearchReference, $sort: [String], $status: SearchToken) {
|
|
898
2684
|
appointments(
|
|
@@ -1106,6 +2892,292 @@ export const NextQuestionDocument = `
|
|
|
1106
2892
|
}
|
|
1107
2893
|
}
|
|
1108
2894
|
${QuestionnaireResponseFieldsFragmentDoc}`;
|
|
2895
|
+
export const ProviderSearchDocument = `
|
|
2896
|
+
query providerSearch($client: [Client], $searchTerm: String, $includePopulatedPROAonly: Boolean, $specialtyFilters: [InputCoding], $organizationTypeFilters: [OrganizationType], $gender: Gender, $location: SearchPosition, $sortBy: [OrderBy], $filterFields: [FilterField], $page: Int, $pageSize: Int) {
|
|
2897
|
+
providers(
|
|
2898
|
+
client: $client
|
|
2899
|
+
search: $searchTerm
|
|
2900
|
+
specialty: $specialtyFilters
|
|
2901
|
+
organization_type: $organizationTypeFilters
|
|
2902
|
+
include_populated_PROA_only: $includePopulatedPROAonly
|
|
2903
|
+
gender: $gender
|
|
2904
|
+
search_position: $location
|
|
2905
|
+
order_by: $sortBy
|
|
2906
|
+
filter_values: $filterFields
|
|
2907
|
+
page_number: $page
|
|
2908
|
+
page_size: $pageSize
|
|
2909
|
+
) {
|
|
2910
|
+
paging_info {
|
|
2911
|
+
page_number
|
|
2912
|
+
page_size
|
|
2913
|
+
total_items
|
|
2914
|
+
total_pages
|
|
2915
|
+
}
|
|
2916
|
+
filter_values {
|
|
2917
|
+
field
|
|
2918
|
+
values {
|
|
2919
|
+
value
|
|
2920
|
+
count
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2923
|
+
results {
|
|
2924
|
+
endpoint {
|
|
2925
|
+
identifier {
|
|
2926
|
+
type {
|
|
2927
|
+
coding {
|
|
2928
|
+
code
|
|
2929
|
+
system
|
|
2930
|
+
display
|
|
2931
|
+
}
|
|
2932
|
+
text
|
|
2933
|
+
}
|
|
2934
|
+
value
|
|
2935
|
+
system
|
|
2936
|
+
}
|
|
2937
|
+
name
|
|
2938
|
+
status
|
|
2939
|
+
connectionType {
|
|
2940
|
+
code
|
|
2941
|
+
system
|
|
2942
|
+
display
|
|
2943
|
+
}
|
|
2944
|
+
address
|
|
2945
|
+
}
|
|
2946
|
+
iconString
|
|
2947
|
+
organization_type {
|
|
2948
|
+
coding {
|
|
2949
|
+
code
|
|
2950
|
+
system
|
|
2951
|
+
display
|
|
2952
|
+
}
|
|
2953
|
+
text
|
|
2954
|
+
}
|
|
2955
|
+
content
|
|
2956
|
+
gender
|
|
2957
|
+
location {
|
|
2958
|
+
name
|
|
2959
|
+
identifier {
|
|
2960
|
+
type {
|
|
2961
|
+
text
|
|
2962
|
+
coding {
|
|
2963
|
+
system
|
|
2964
|
+
code
|
|
2965
|
+
display
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
value
|
|
2969
|
+
system
|
|
2970
|
+
}
|
|
2971
|
+
alias
|
|
2972
|
+
description
|
|
2973
|
+
address {
|
|
2974
|
+
use
|
|
2975
|
+
type
|
|
2976
|
+
text
|
|
2977
|
+
line
|
|
2978
|
+
city
|
|
2979
|
+
district
|
|
2980
|
+
state
|
|
2981
|
+
postalCode
|
|
2982
|
+
country
|
|
2983
|
+
}
|
|
2984
|
+
position {
|
|
2985
|
+
lat
|
|
2986
|
+
lon
|
|
2987
|
+
}
|
|
2988
|
+
distanceInMiles
|
|
2989
|
+
telecom {
|
|
2990
|
+
system
|
|
2991
|
+
value
|
|
2992
|
+
rank
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
specialty {
|
|
2996
|
+
code
|
|
2997
|
+
system
|
|
2998
|
+
display
|
|
2999
|
+
}
|
|
3000
|
+
id
|
|
3001
|
+
photo {
|
|
3002
|
+
contentType
|
|
3003
|
+
url
|
|
3004
|
+
title
|
|
3005
|
+
}
|
|
3006
|
+
name {
|
|
3007
|
+
...HumanNameFields
|
|
3008
|
+
}
|
|
3009
|
+
telecom {
|
|
3010
|
+
system
|
|
3011
|
+
value
|
|
3012
|
+
rank
|
|
3013
|
+
}
|
|
3014
|
+
practitioner_qualification {
|
|
3015
|
+
identifier {
|
|
3016
|
+
type {
|
|
3017
|
+
coding {
|
|
3018
|
+
code
|
|
3019
|
+
system
|
|
3020
|
+
display
|
|
3021
|
+
}
|
|
3022
|
+
text
|
|
3023
|
+
}
|
|
3024
|
+
value
|
|
3025
|
+
system
|
|
3026
|
+
}
|
|
3027
|
+
code {
|
|
3028
|
+
coding {
|
|
3029
|
+
code
|
|
3030
|
+
system
|
|
3031
|
+
display
|
|
3032
|
+
}
|
|
3033
|
+
text
|
|
3034
|
+
}
|
|
3035
|
+
period {
|
|
3036
|
+
start
|
|
3037
|
+
end
|
|
3038
|
+
}
|
|
3039
|
+
issuer {
|
|
3040
|
+
reference
|
|
3041
|
+
display
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
provider_type
|
|
3045
|
+
characteristic {
|
|
3046
|
+
code
|
|
3047
|
+
system
|
|
3048
|
+
display
|
|
3049
|
+
}
|
|
3050
|
+
organization {
|
|
3051
|
+
name
|
|
3052
|
+
endpoint {
|
|
3053
|
+
identifier {
|
|
3054
|
+
type {
|
|
3055
|
+
coding {
|
|
3056
|
+
code
|
|
3057
|
+
system
|
|
3058
|
+
display
|
|
3059
|
+
}
|
|
3060
|
+
text
|
|
3061
|
+
}
|
|
3062
|
+
value
|
|
3063
|
+
system
|
|
3064
|
+
}
|
|
3065
|
+
name
|
|
3066
|
+
status
|
|
3067
|
+
connectionType {
|
|
3068
|
+
code
|
|
3069
|
+
system
|
|
3070
|
+
display
|
|
3071
|
+
}
|
|
3072
|
+
address
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
${HumanNameFieldsFragmentDoc}`;
|
|
3079
|
+
export const RequestConnectionDocument = `
|
|
3080
|
+
mutation requestConnection($city: String, $institution: String, $provider: String, $state: String) {
|
|
3081
|
+
requestConnection(
|
|
3082
|
+
city: $city
|
|
3083
|
+
institution: $institution
|
|
3084
|
+
provider: $provider
|
|
3085
|
+
state: $state
|
|
3086
|
+
) {
|
|
3087
|
+
resourceType
|
|
3088
|
+
issue {
|
|
3089
|
+
severity
|
|
3090
|
+
code
|
|
3091
|
+
details {
|
|
3092
|
+
text
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
`;
|
|
3098
|
+
export const SearchHealthResourcesDocument = `
|
|
3099
|
+
query SearchHealthResources($searchInput: SearchHealthResourcesInput) {
|
|
3100
|
+
searchHealthResources(searchInput: $searchInput) {
|
|
3101
|
+
pagingInfo {
|
|
3102
|
+
pageNumber
|
|
3103
|
+
pageSize
|
|
3104
|
+
totalItems
|
|
3105
|
+
totalPages
|
|
3106
|
+
}
|
|
3107
|
+
filterValues {
|
|
3108
|
+
field
|
|
3109
|
+
values {
|
|
3110
|
+
value
|
|
3111
|
+
count
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
results {
|
|
3115
|
+
type
|
|
3116
|
+
id
|
|
3117
|
+
content
|
|
3118
|
+
specialty {
|
|
3119
|
+
code
|
|
3120
|
+
system
|
|
3121
|
+
display
|
|
3122
|
+
}
|
|
3123
|
+
location {
|
|
3124
|
+
name
|
|
3125
|
+
address {
|
|
3126
|
+
line
|
|
3127
|
+
city
|
|
3128
|
+
state
|
|
3129
|
+
postalCode
|
|
3130
|
+
country
|
|
3131
|
+
}
|
|
3132
|
+
position {
|
|
3133
|
+
latitude
|
|
3134
|
+
longitude
|
|
3135
|
+
}
|
|
3136
|
+
distanceInMiles
|
|
3137
|
+
}
|
|
3138
|
+
organization {
|
|
3139
|
+
name
|
|
3140
|
+
endpoint {
|
|
3141
|
+
name
|
|
3142
|
+
status
|
|
3143
|
+
address
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
npi
|
|
3147
|
+
gender
|
|
3148
|
+
iconString
|
|
3149
|
+
endpoint {
|
|
3150
|
+
identifier {
|
|
3151
|
+
type {
|
|
3152
|
+
coding {
|
|
3153
|
+
code
|
|
3154
|
+
system
|
|
3155
|
+
display
|
|
3156
|
+
}
|
|
3157
|
+
text
|
|
3158
|
+
}
|
|
3159
|
+
value
|
|
3160
|
+
system
|
|
3161
|
+
}
|
|
3162
|
+
name
|
|
3163
|
+
status
|
|
3164
|
+
connectionType {
|
|
3165
|
+
code
|
|
3166
|
+
system
|
|
3167
|
+
display
|
|
3168
|
+
}
|
|
3169
|
+
address
|
|
3170
|
+
}
|
|
3171
|
+
score
|
|
3172
|
+
scores {
|
|
3173
|
+
value
|
|
3174
|
+
description
|
|
3175
|
+
calculation
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
`;
|
|
1109
3181
|
export const CreateConsentDocument = `
|
|
1110
3182
|
mutation createConsent($consentInput: ConsentInput!) {
|
|
1111
3183
|
createConsent(consentInput: $consentInput) {
|
|
@@ -1191,6 +3263,11 @@ export const CreateConsentDocument = `
|
|
|
1191
3263
|
}
|
|
1192
3264
|
${CodingFieldsFragmentDoc}
|
|
1193
3265
|
${PeriodFieldsFragmentDoc}`;
|
|
3266
|
+
export const CreateDataExportDirectDownloadUrlDocument = `
|
|
3267
|
+
mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {
|
|
3268
|
+
createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)
|
|
3269
|
+
}
|
|
3270
|
+
`;
|
|
1194
3271
|
export const CreateVerificationUrlDocument = `
|
|
1195
3272
|
mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {
|
|
1196
3273
|
createVerificationUrl(
|
|
@@ -1238,6 +3315,40 @@ export const GetProfileDocument = `
|
|
|
1238
3315
|
}
|
|
1239
3316
|
}
|
|
1240
3317
|
`;
|
|
3318
|
+
export const SearchConsentDocument = `
|
|
3319
|
+
query searchConsent($categoryCode: CategoryCode) {
|
|
3320
|
+
search(params: {category: $categoryCode}) {
|
|
3321
|
+
resourceType
|
|
3322
|
+
id
|
|
3323
|
+
meta {
|
|
3324
|
+
...MetaFields
|
|
3325
|
+
}
|
|
3326
|
+
status
|
|
3327
|
+
scope {
|
|
3328
|
+
text
|
|
3329
|
+
coding {
|
|
3330
|
+
code
|
|
3331
|
+
system
|
|
3332
|
+
display
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
category {
|
|
3336
|
+
text
|
|
3337
|
+
coding {
|
|
3338
|
+
code
|
|
3339
|
+
system
|
|
3340
|
+
display
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
patient {
|
|
3344
|
+
reference
|
|
3345
|
+
}
|
|
3346
|
+
provision {
|
|
3347
|
+
type
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
${MetaFieldsFragmentDoc}`;
|
|
1241
3352
|
export const UpdateUserProfileDocument = `
|
|
1242
3353
|
mutation updateUserProfile($person: FHIRPersonInput) {
|
|
1243
3354
|
updateUserProfile(input: $person) {
|
|
@@ -1277,6 +3388,12 @@ export const VerificationStatusDocument = `
|
|
|
1277
3388
|
const defaultWrapper = (action, _operationName, _operationType, _variables) => action();
|
|
1278
3389
|
export function getSdk(client, withWrapper = defaultWrapper) {
|
|
1279
3390
|
return {
|
|
3391
|
+
getTasks(variables, requestHeaders) {
|
|
3392
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetTasksDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getTasks', 'query', variables);
|
|
3393
|
+
},
|
|
3394
|
+
taskUpdateStatus(variables, requestHeaders) {
|
|
3395
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(TaskUpdateStatusDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'taskUpdateStatus', 'mutation', variables);
|
|
3396
|
+
},
|
|
1280
3397
|
createConnection(variables, requestHeaders) {
|
|
1281
3398
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConnectionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConnection', 'mutation', variables);
|
|
1282
3399
|
},
|
|
@@ -1289,9 +3406,27 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1289
3406
|
getDataSource(variables, requestHeaders) {
|
|
1290
3407
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDataSourceDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDataSource', 'query', variables);
|
|
1291
3408
|
},
|
|
3409
|
+
getMemberConnections(variables, requestHeaders) {
|
|
3410
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMemberConnectionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMemberConnections', 'query', variables);
|
|
3411
|
+
},
|
|
1292
3412
|
getOauthUrl(variables, requestHeaders) {
|
|
1293
3413
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetOauthUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getOauthUrl', 'query', variables);
|
|
1294
3414
|
},
|
|
3415
|
+
updateDeviceRegistration(variables, requestHeaders) {
|
|
3416
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateDeviceRegistrationDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateDeviceRegistration', 'mutation', variables);
|
|
3417
|
+
},
|
|
3418
|
+
publishEvent(variables, requestHeaders) {
|
|
3419
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(PublishEventDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'publishEvent', 'mutation', variables);
|
|
3420
|
+
},
|
|
3421
|
+
getBinary(variables, requestHeaders) {
|
|
3422
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetBinaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getBinary', 'query', variables);
|
|
3423
|
+
},
|
|
3424
|
+
getFHIR(variables, requestHeaders) {
|
|
3425
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetFhirDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getFHIR', 'query', variables);
|
|
3426
|
+
},
|
|
3427
|
+
getDiagnosticReports(variables, requestHeaders) {
|
|
3428
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReports', 'query', variables);
|
|
3429
|
+
},
|
|
1295
3430
|
getAllergyIntoleranceGroups(variables, requestHeaders) {
|
|
1296
3431
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetAllergyIntoleranceGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getAllergyIntoleranceGroups', 'query', variables);
|
|
1297
3432
|
},
|
|
@@ -1301,30 +3436,78 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1301
3436
|
getCarePlanGroups(variables, requestHeaders) {
|
|
1302
3437
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlanGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlanGroups', 'query', variables);
|
|
1303
3438
|
},
|
|
3439
|
+
getCarePlans(variables, requestHeaders) {
|
|
3440
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlansDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlans', 'query', variables);
|
|
3441
|
+
},
|
|
3442
|
+
getCareTeams(variables, requestHeaders) {
|
|
3443
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCareTeamsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCareTeams', 'query', variables);
|
|
3444
|
+
},
|
|
1304
3445
|
getConditionGroups(variables, requestHeaders) {
|
|
1305
3446
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditionGroups', 'query', variables);
|
|
1306
3447
|
},
|
|
3448
|
+
getConditions(variables, requestHeaders) {
|
|
3449
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditions', 'query', variables);
|
|
3450
|
+
},
|
|
1307
3451
|
getDiagnosticReportLabGroups(variables, requestHeaders) {
|
|
1308
3452
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReportLabGroups', 'query', variables);
|
|
1309
3453
|
},
|
|
3454
|
+
getDocumentReferences(variables, requestHeaders) {
|
|
3455
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDocumentReferencesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDocumentReferences', 'query', variables);
|
|
3456
|
+
},
|
|
1310
3457
|
getEncountersGroup(variables, requestHeaders) {
|
|
1311
3458
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetEncountersGroupDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getEncountersGroup', 'query', variables);
|
|
1312
3459
|
},
|
|
3460
|
+
getEncounterQuery(variables, requestHeaders) {
|
|
3461
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetEncounterQueryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getEncounterQuery', 'query', variables);
|
|
3462
|
+
},
|
|
3463
|
+
GetHealthSummary(variables, requestHeaders) {
|
|
3464
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetHealthSummaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetHealthSummary', 'query', variables);
|
|
3465
|
+
},
|
|
1313
3466
|
getImmunizationGroups(variables, requestHeaders) {
|
|
1314
3467
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizationGroups', 'query', variables);
|
|
1315
3468
|
},
|
|
3469
|
+
getImmunizations(variables, requestHeaders) {
|
|
3470
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizations', 'query', variables);
|
|
3471
|
+
},
|
|
1316
3472
|
getProcedureGroups(variables, requestHeaders) {
|
|
1317
3473
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProcedureGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedureGroups', 'query', variables);
|
|
1318
3474
|
},
|
|
3475
|
+
GetProcedures(variables, requestHeaders) {
|
|
3476
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProceduresDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetProcedures', 'query', variables);
|
|
3477
|
+
},
|
|
1319
3478
|
getVitalSignGroups(variables, requestHeaders) {
|
|
1320
3479
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSignGroups', 'query', variables);
|
|
1321
3480
|
},
|
|
3481
|
+
getVitalSigns(variables, requestHeaders) {
|
|
3482
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSigns', 'query', variables);
|
|
3483
|
+
},
|
|
1322
3484
|
getLabGroups(variables, requestHeaders) {
|
|
1323
3485
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabGroups', 'query', variables);
|
|
1324
3486
|
},
|
|
3487
|
+
getLabKnowledge(variables, requestHeaders) {
|
|
3488
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabKnowledge', 'query', variables);
|
|
3489
|
+
},
|
|
3490
|
+
getLabs(variables, requestHeaders) {
|
|
3491
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabs', 'query', variables);
|
|
3492
|
+
},
|
|
3493
|
+
getMedicationDispense(variables, requestHeaders) {
|
|
3494
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationDispenseDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationDispense', 'query', variables);
|
|
3495
|
+
},
|
|
1325
3496
|
getMedicationGroups(variables, requestHeaders) {
|
|
1326
3497
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationGroups', 'query', variables);
|
|
1327
3498
|
},
|
|
3499
|
+
getMedicationKnowledge(variables, requestHeaders) {
|
|
3500
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationKnowledge', 'query', variables);
|
|
3501
|
+
},
|
|
3502
|
+
getMedicationPricing(variables, requestHeaders) {
|
|
3503
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationPricingDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationPricing', 'query', variables);
|
|
3504
|
+
},
|
|
3505
|
+
getMedicationRequest(variables, requestHeaders) {
|
|
3506
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationRequestDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationRequest', 'query', variables);
|
|
3507
|
+
},
|
|
3508
|
+
getMedicationStatements(variables, requestHeaders) {
|
|
3509
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationStatementsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationStatements', 'query', variables);
|
|
3510
|
+
},
|
|
1328
3511
|
appointments(variables, requestHeaders) {
|
|
1329
3512
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(AppointmentsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'appointments', 'query', variables);
|
|
1330
3513
|
},
|
|
@@ -1355,9 +3538,21 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1355
3538
|
nextQuestion(variables, requestHeaders) {
|
|
1356
3539
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(NextQuestionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'nextQuestion', 'mutation', variables);
|
|
1357
3540
|
},
|
|
3541
|
+
providerSearch(variables, requestHeaders) {
|
|
3542
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(ProviderSearchDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'providerSearch', 'query', variables);
|
|
3543
|
+
},
|
|
3544
|
+
requestConnection(variables, requestHeaders) {
|
|
3545
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(RequestConnectionDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'requestConnection', 'mutation', variables);
|
|
3546
|
+
},
|
|
3547
|
+
SearchHealthResources(variables, requestHeaders) {
|
|
3548
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchHealthResourcesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'SearchHealthResources', 'query', variables);
|
|
3549
|
+
},
|
|
1358
3550
|
createConsent(variables, requestHeaders) {
|
|
1359
3551
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'createConsent', 'mutation', variables);
|
|
1360
3552
|
},
|
|
3553
|
+
CreateDataExportDirectDownloadUrl(variables, requestHeaders) {
|
|
3554
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateDataExportDirectDownloadUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateDataExportDirectDownloadUrl', 'mutation', variables);
|
|
3555
|
+
},
|
|
1361
3556
|
CreateVerificationUrl(variables, requestHeaders) {
|
|
1362
3557
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(CreateVerificationUrlDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'CreateVerificationUrl', 'mutation', variables);
|
|
1363
3558
|
},
|
|
@@ -1367,6 +3562,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
1367
3562
|
getProfile(variables, requestHeaders) {
|
|
1368
3563
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProfileDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProfile', 'query', variables);
|
|
1369
3564
|
},
|
|
3565
|
+
searchConsent(variables, requestHeaders) {
|
|
3566
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(SearchConsentDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'searchConsent', 'query', variables);
|
|
3567
|
+
},
|
|
1370
3568
|
updateUserProfile(variables, requestHeaders) {
|
|
1371
3569
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateUserProfileDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateUserProfile', 'mutation', variables);
|
|
1372
3570
|
},
|