@awell-health/awell-extensions 1.0.244 → 1.1.0-beta11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/extensions/athenahealth/actions/index.d.ts +5 -5
  2. package/dist/extensions/avaAi/common/sdk/openAiSdk.d.ts +2 -0
  3. package/dist/extensions/avaAi/common/sdk/openAiSdk.js +5 -0
  4. package/dist/extensions/avaAi/common/sdk/openAiSdk.js.map +1 -0
  5. package/dist/extensions/avaAi/index.d.ts +2 -0
  6. package/dist/extensions/avaAi/index.js +21 -0
  7. package/dist/extensions/avaAi/index.js.map +1 -0
  8. package/dist/extensions/avaAi/settings.d.ts +18 -0
  9. package/dist/extensions/avaAi/settings.js +22 -0
  10. package/dist/extensions/avaAi/settings.js.map +1 -0
  11. package/dist/extensions/{awell/v1/actions/getPatientByIdentifier → avaAi/v1/actions/generatePatientSummary}/config/dataPoints.d.ts +3 -3
  12. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js +15 -0
  13. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js.map +1 -0
  14. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +29 -0
  15. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js +46 -0
  16. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js.map +1 -0
  17. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.d.ts +2 -0
  18. package/dist/extensions/{awell/v1/actions/getPatientByIdentifier → avaAi/v1/actions/generatePatientSummary}/config/index.js +2 -2
  19. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js.map +1 -0
  20. package/dist/extensions/{awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.d.ts → avaAi/v1/actions/generatePatientSummary/generatePatientSummary.d.ts} +2 -2
  21. package/dist/extensions/{awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js → avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js} +31 -33
  22. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js.map +1 -0
  23. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js +27 -0
  24. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js.map +1 -0
  25. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.d.ts +1 -0
  26. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js +6 -0
  27. package/dist/extensions/{awell/v1/actions/addIdentifierToPatient → avaAi/v1/actions/generatePatientSummary}/index.js.map +1 -1
  28. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.d.ts +3 -0
  29. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js +43 -0
  30. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js.map +1 -0
  31. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js +133 -0
  32. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js.map +1 -0
  33. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.d.ts +1 -0
  34. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js +6 -0
  35. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js.map +1 -0
  36. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.d.ts +1 -0
  37. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js +6 -0
  38. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js.map +1 -0
  39. package/dist/extensions/avaAi/v1/actions/index.d.ts +1 -0
  40. package/dist/extensions/avaAi/v1/actions/index.js +6 -0
  41. package/dist/extensions/avaAi/v1/actions/index.js.map +1 -0
  42. package/dist/extensions/awell/index.js +0 -2
  43. package/dist/extensions/awell/index.js.map +1 -1
  44. package/dist/extensions/awell/v1/actions/index.d.ts +0 -2
  45. package/dist/extensions/awell/v1/actions/index.js +1 -5
  46. package/dist/extensions/awell/v1/actions/index.js.map +1 -1
  47. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js +1 -1
  48. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js.map +1 -1
  49. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
  50. package/dist/extensions/awell/v1/gql/fragment-masking.d.ts +13 -0
  51. package/dist/extensions/awell/v1/gql/fragment-masking.js +12 -0
  52. package/dist/extensions/awell/v1/gql/fragment-masking.js.map +1 -0
  53. package/dist/extensions/awell/v1/gql/gql.d.ts +36 -0
  54. package/dist/extensions/awell/v1/gql/gql.js +47 -0
  55. package/dist/extensions/awell/v1/gql/gql.js.map +1 -0
  56. package/dist/extensions/awell/v1/gql/graphql.d.ts +525 -1066
  57. package/dist/extensions/awell/v1/gql/graphql.js +17 -46
  58. package/dist/extensions/awell/v1/gql/graphql.js.map +1 -1
  59. package/dist/extensions/awell/v1/gql/index.d.ts +2 -0
  60. package/dist/extensions/awell/v1/gql/index.js +19 -0
  61. package/dist/extensions/awell/v1/gql/index.js.map +1 -0
  62. package/dist/extensions/awell/v1/sdk/awellSdk.d.ts +1 -6
  63. package/dist/extensions/awell/v1/sdk/awellSdk.js +0 -11
  64. package/dist/extensions/awell/v1/sdk/awellSdk.js.map +1 -1
  65. package/dist/extensions/awell/v1/sdk/graphql/index.d.ts +0 -2
  66. package/dist/extensions/awell/v1/sdk/graphql/index.js +1 -5
  67. package/dist/extensions/awell/v1/sdk/graphql/index.js.map +1 -1
  68. package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.d.ts +2 -2
  69. package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +44 -44
  70. package/dist/extensions/elation/actions/index.d.ts +12 -12
  71. package/dist/extensions/experimental/index.js +2 -0
  72. package/dist/extensions/experimental/index.js.map +1 -1
  73. package/dist/extensions/experimental/schemas.d.ts +2 -0
  74. package/dist/extensions/experimental/schemas.js +44 -0
  75. package/dist/extensions/experimental/schemas.js.map +1 -0
  76. package/dist/extensions/experimental/v1/actions/returnObject/index.d.ts +5 -1
  77. package/dist/extensions/experimental/v1/actions/returnObject/index.js +13 -2
  78. package/dist/extensions/experimental/v1/actions/returnObject/index.js.map +1 -1
  79. package/dist/extensions/healthie/actions/index.d.ts +23 -23
  80. package/dist/extensions/icd/actions/index.d.ts +1 -1
  81. package/dist/extensions/index.d.ts +1 -1
  82. package/dist/extensions/index.js +9 -2
  83. package/dist/extensions/index.js.map +1 -1
  84. package/dist/extensions/markdown.json +6 -2
  85. package/dist/extensions/metriport/actions/index.d.ts +7 -7
  86. package/dist/extensions/talkDesk/actions/index.d.ts +1 -1
  87. package/dist/extensions/textline/actions/index.d.ts +3 -3
  88. package/dist/extensions/wellinks-public/actions/index.d.ts +9 -9
  89. package/dist/extensions/westFax/actions/index.d.ts +1 -1
  90. package/package.json +4 -3
  91. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js +0 -74
  92. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js.map +0 -1
  93. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js +0 -36
  94. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js.map +0 -1
  95. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.d.ts +0 -1
  96. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.js +0 -5
  97. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.js.map +0 -1
  98. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.d.ts +0 -28
  99. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.js +0 -26
  100. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.js.map +0 -1
  101. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.d.ts +0 -3
  102. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.js +0 -11
  103. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.js.map +0 -1
  104. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.d.ts +0 -8
  105. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.js +0 -6
  106. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.js.map +0 -1
  107. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/index.d.ts +0 -1
  108. package/dist/extensions/awell/v1/actions/addIdentifierToPatient/index.js +0 -6
  109. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.js +0 -14
  110. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.js.map +0 -1
  111. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.d.ts +0 -28
  112. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.js +0 -26
  113. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.js.map +0 -1
  114. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/index.d.ts +0 -2
  115. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/index.js.map +0 -1
  116. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.d.ts +0 -4
  117. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js.map +0 -1
  118. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js +0 -43
  119. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js.map +0 -1
  120. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.d.ts +0 -1
  121. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.js +0 -6
  122. package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.js.map +0 -1
  123. package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.d.ts +0 -1
  124. package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.js +0 -15
  125. package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.js.map +0 -1
  126. package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.d.ts +0 -1
  127. package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.js +0 -37
  128. package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.js.map +0 -1
  129. /package/dist/extensions/{awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.d.ts → avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.d.ts} +0 -0
  130. /package/dist/extensions/{awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.d.ts → avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.d.ts} +0 -0
@@ -1,3 +1,4 @@
1
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
1
2
  export type Maybe<T> = T | null;
2
3
  export type InputMaybe<T> = Maybe<T>;
3
4
  export type Exact<T extends {
@@ -11,46 +12,21 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
11
12
  export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
13
  [SubKey in K]: Maybe<T[SubKey]>;
13
14
  };
14
- export type MakeEmpty<T extends {
15
- [key: string]: unknown;
16
- }, K extends keyof T> = {
17
- [_ in K]?: never;
18
- };
19
- export type Incremental<T> = T | {
20
- [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
- };
22
15
  /** All built-in and custom scalars, mapped to their actual values */
23
16
  export type Scalars = {
24
- ID: {
25
- input: string;
26
- output: string;
27
- };
28
- String: {
29
- input: string;
30
- output: string;
31
- };
32
- Boolean: {
33
- input: boolean;
34
- output: boolean;
35
- };
36
- Int: {
37
- input: number;
38
- output: number;
39
- };
40
- Float: {
41
- input: number;
42
- output: number;
43
- };
44
- SafeDate: {
45
- input: any;
46
- output: any;
47
- };
17
+ ID: string;
18
+ String: string;
19
+ Boolean: boolean;
20
+ Int: number;
21
+ Float: number;
22
+ /** Safe date scalar that can serialize string or date */
23
+ SafeDate: any;
48
24
  };
49
25
  export type ActionPayload = Payload & {
50
26
  __typename?: 'ActionPayload';
51
- calculationId: Scalars['String']['output'];
52
- code: Scalars['String']['output'];
53
- success: Scalars['Boolean']['output'];
27
+ calculationId: Scalars['String'];
28
+ code: Scalars['String'];
29
+ success: Scalars['Boolean'];
54
30
  };
55
31
  export declare enum ActionType {
56
32
  ApiCall = "API_CALL",
@@ -63,52 +39,45 @@ export declare enum ActionType {
63
39
  Plugin = "PLUGIN",
64
40
  PushToEmr = "PUSH_TO_EMR"
65
41
  }
66
- export type ActivitiesPayload = PaginationAndSortingPayload & {
42
+ export type ActivitiesPayload = Payload & {
67
43
  __typename?: 'ActivitiesPayload';
68
44
  activities: Array<Activity>;
69
- code: Scalars['String']['output'];
70
- metadata?: Maybe<ActivityMetadata>;
45
+ code: Scalars['String'];
71
46
  pagination?: Maybe<PaginationOutput>;
72
47
  sorting?: Maybe<SortingOutput>;
73
- success: Scalars['Boolean']['output'];
48
+ success: Scalars['Boolean'];
74
49
  };
75
50
  export type Activity = {
76
51
  __typename?: 'Activity';
77
52
  action: ActivityAction;
78
- container_name?: Maybe<Scalars['String']['output']>;
53
+ container_name?: Maybe<Scalars['String']>;
79
54
  context?: Maybe<PathwayContext>;
80
- date: Scalars['String']['output'];
55
+ date: Scalars['String'];
81
56
  form?: Maybe<Form>;
82
- /** Form display mode can either be conversational (1 question at a time) or regular (all questions at once). Only used in hosted pages for now. */
83
- form_display_mode?: Maybe<FormDisplayMode>;
84
- /** Url for icon, only used by extensions custom actions */
85
- icon_url?: Maybe<Scalars['String']['output']>;
86
- id: Scalars['ID']['output'];
57
+ id: Scalars['ID'];
87
58
  indirect_object?: Maybe<ActivityObject>;
88
- isUserActivity: Scalars['Boolean']['output'];
59
+ isUserActivity: Scalars['Boolean'];
89
60
  label?: Maybe<ActivityLabel>;
90
61
  object: ActivityObject;
91
- public?: Maybe<Scalars['Boolean']['output']>;
92
- reference_id: Scalars['String']['output'];
62
+ public?: Maybe<Scalars['Boolean']>;
63
+ reference_id: Scalars['String'];
93
64
  resolution?: Maybe<ActivityResolution>;
94
- session_id?: Maybe<Scalars['String']['output']>;
65
+ session_id?: Maybe<Scalars['String']>;
95
66
  stakeholders?: Maybe<Array<ActivityObject>>;
96
67
  status: ActivityStatus;
97
- stream_id: Scalars['String']['output'];
68
+ stream_id: Scalars['String'];
98
69
  sub_activities: Array<SubActivity>;
99
70
  subject: ActivitySubject;
100
71
  track?: Maybe<ActivityTrack>;
101
72
  };
102
73
  export declare enum ActivityAction {
103
74
  Activate = "ACTIVATE",
104
- Added = "ADDED",
105
75
  Assigned = "ASSIGNED",
106
76
  Complete = "COMPLETE",
107
77
  Computed = "COMPUTED",
108
78
  Delegated = "DELEGATED",
109
79
  Deliver = "DELIVER",
110
80
  Discarded = "DISCARDED",
111
- Expired = "EXPIRED",
112
81
  Failed = "FAILED",
113
82
  FailedToSend = "FAILED_TO_SEND",
114
83
  Generated = "GENERATED",
@@ -117,29 +86,23 @@ export declare enum ActivityAction {
117
86
  Processed = "PROCESSED",
118
87
  Read = "READ",
119
88
  Remind = "REMIND",
120
- Reported = "REPORTED",
121
89
  Scheduled = "SCHEDULED",
122
90
  Send = "SEND",
123
- Skipped = "SKIPPED",
124
91
  Stopped = "STOPPED",
125
92
  Submitted = "SUBMITTED"
126
93
  }
127
94
  export type ActivityLabel = {
128
95
  __typename?: 'ActivityLabel';
129
- color: Scalars['String']['output'];
130
- id?: Maybe<Scalars['String']['output']>;
131
- text: Scalars['String']['output'];
132
- };
133
- export type ActivityMetadata = {
134
- __typename?: 'ActivityMetadata';
135
- stakeholders?: Maybe<Array<ActivityObject>>;
96
+ color: Scalars['String'];
97
+ id?: Maybe<Scalars['String']>;
98
+ text: Scalars['String'];
136
99
  };
137
100
  export type ActivityObject = {
138
101
  __typename?: 'ActivityObject';
139
- email?: Maybe<Scalars['String']['output']>;
140
- id: Scalars['String']['output'];
141
- name: Scalars['String']['output'];
142
- preferred_language?: Maybe<Scalars['String']['output']>;
102
+ email?: Maybe<Scalars['String']>;
103
+ id: Scalars['String'];
104
+ name: Scalars['String'];
105
+ preferred_language?: Maybe<Scalars['String']>;
143
106
  type: ActivityObjectType;
144
107
  };
145
108
  export declare enum ActivityObjectType {
@@ -164,7 +127,6 @@ export declare enum ActivityObjectType {
164
127
  User = "USER"
165
128
  }
166
129
  export declare enum ActivityResolution {
167
- Expired = "EXPIRED",
168
130
  Failure = "FAILURE",
169
131
  Success = "SUCCESS"
170
132
  }
@@ -172,17 +134,15 @@ export declare enum ActivityStatus {
172
134
  Active = "ACTIVE",
173
135
  Canceled = "CANCELED",
174
136
  Done = "DONE",
175
- Expired = "EXPIRED",
176
137
  Failed = "FAILED"
177
138
  }
178
139
  export type ActivitySubject = {
179
140
  __typename?: 'ActivitySubject';
180
- id?: Maybe<Scalars['String']['output']>;
181
- name: Scalars['String']['output'];
141
+ id?: Maybe<Scalars['String']>;
142
+ name: Scalars['String'];
182
143
  type: ActivitySubjectType;
183
144
  };
184
145
  export declare enum ActivitySubjectType {
185
- ApiCall = "API_CALL",
186
146
  Awell = "AWELL",
187
147
  Plugin = "PLUGIN",
188
148
  Stakeholder = "STAKEHOLDER",
@@ -190,83 +150,58 @@ export declare enum ActivitySubjectType {
190
150
  }
191
151
  export type ActivityTrack = {
192
152
  __typename?: 'ActivityTrack';
193
- id?: Maybe<Scalars['String']['output']>;
194
- title: Scalars['String']['output'];
195
- };
196
- export type AddIdentifierToPatientInput = {
197
- identifier: IdentifierInput;
198
- patient_id: Scalars['String']['input'];
199
- };
200
- export type AddIdentifierToPatientPayload = Payload & {
201
- __typename?: 'AddIdentifierToPatientPayload';
202
- code: Scalars['String']['output'];
203
- patient?: Maybe<User>;
204
- success: Scalars['Boolean']['output'];
205
- };
206
- export type AddTrackInput = {
207
- pathway_id: Scalars['String']['input'];
208
- track_id: Scalars['String']['input'];
209
- };
210
- export type AddTrackPayload = Payload & {
211
- __typename?: 'AddTrackPayload';
212
- code: Scalars['String']['output'];
213
- success: Scalars['Boolean']['output'];
153
+ id?: Maybe<Scalars['String']>;
154
+ title: Scalars['String'];
214
155
  };
215
156
  export type Address = {
216
157
  __typename?: 'Address';
217
- city?: Maybe<Scalars['String']['output']>;
218
- country?: Maybe<Scalars['String']['output']>;
219
- state?: Maybe<Scalars['String']['output']>;
220
- street?: Maybe<Scalars['String']['output']>;
221
- zip?: Maybe<Scalars['String']['output']>;
158
+ city?: Maybe<Scalars['String']>;
159
+ country?: Maybe<Scalars['String']>;
160
+ state?: Maybe<Scalars['String']>;
161
+ street?: Maybe<Scalars['String']>;
162
+ zip?: Maybe<Scalars['String']>;
222
163
  };
223
164
  export type AddressInput = {
224
- city?: InputMaybe<Scalars['String']['input']>;
225
- country?: InputMaybe<Scalars['String']['input']>;
226
- state?: InputMaybe<Scalars['String']['input']>;
227
- street?: InputMaybe<Scalars['String']['input']>;
228
- zip?: InputMaybe<Scalars['String']['input']>;
229
- };
230
- export declare enum AllowedDatesOptions {
231
- All = "ALL",
232
- Future = "FUTURE",
233
- Past = "PAST"
234
- }
165
+ city?: InputMaybe<Scalars['String']>;
166
+ country?: InputMaybe<Scalars['String']>;
167
+ state?: InputMaybe<Scalars['String']>;
168
+ street?: InputMaybe<Scalars['String']>;
169
+ zip?: InputMaybe<Scalars['String']>;
170
+ };
235
171
  export type Answer = {
236
172
  __typename?: 'Answer';
237
- label?: Maybe<Scalars['String']['output']>;
238
- question_id: Scalars['String']['output'];
239
- value: Scalars['String']['output'];
173
+ question_id: Scalars['String'];
174
+ value: Scalars['String'];
240
175
  value_type: DataPointValueType;
241
176
  };
242
177
  export type AnswerInput = {
243
- question_id: Scalars['String']['input'];
244
- value: Scalars['String']['input'];
178
+ question_id: Scalars['String'];
179
+ value: Scalars['String'];
245
180
  };
246
181
  export type ApiCall = {
247
182
  __typename?: 'ApiCall';
248
- created_at: Scalars['String']['output'];
249
- id: Scalars['ID']['output'];
183
+ created_at: Scalars['String'];
184
+ id: Scalars['ID'];
250
185
  request: ApiCallRequest;
251
186
  responses: Array<ApiCallResponse>;
252
187
  status: ApiCallStatus;
253
- title: Scalars['String']['output'];
188
+ title: Scalars['String'];
254
189
  };
255
190
  export type ApiCallHeader = {
256
191
  __typename?: 'ApiCallHeader';
257
- key: Scalars['String']['output'];
258
- value: Scalars['String']['output'];
192
+ key: Scalars['String'];
193
+ value: Scalars['String'];
259
194
  };
260
195
  export type ApiCallPayload = Payload & {
261
196
  __typename?: 'ApiCallPayload';
262
197
  api_call: ApiCall;
263
- code: Scalars['String']['output'];
264
- success: Scalars['Boolean']['output'];
198
+ code: Scalars['String'];
199
+ success: Scalars['Boolean'];
265
200
  };
266
201
  export type ApiCallRequest = {
267
202
  __typename?: 'ApiCallRequest';
268
- body?: Maybe<Scalars['String']['output']>;
269
- endpoint: Scalars['String']['output'];
203
+ body?: Maybe<Scalars['String']>;
204
+ endpoint: Scalars['String'];
270
205
  headers: Array<ApiCallHeader>;
271
206
  method: ApiCallRequestMethod;
272
207
  };
@@ -276,9 +211,9 @@ export declare enum ApiCallRequestMethod {
276
211
  }
277
212
  export type ApiCallResponse = {
278
213
  __typename?: 'ApiCallResponse';
279
- body: Scalars['String']['output'];
280
- date: Scalars['String']['output'];
281
- status: Scalars['Float']['output'];
214
+ body: Scalars['String'];
215
+ date: Scalars['String'];
216
+ status: Scalars['Float'];
282
217
  };
283
218
  export declare enum ApiCallStatus {
284
219
  Failed = "Failed",
@@ -291,36 +226,30 @@ export declare enum ApiCallStatus {
291
226
  export type ApiCallsPayload = Payload & {
292
227
  __typename?: 'ApiCallsPayload';
293
228
  api_calls: Array<ApiCall>;
294
- code: Scalars['String']['output'];
295
- success: Scalars['Boolean']['output'];
229
+ code: Scalars['String'];
230
+ success: Scalars['Boolean'];
296
231
  };
297
232
  export type ApiPathwayContext = {
298
233
  __typename?: 'ApiPathwayContext';
299
- id: Scalars['String']['output'];
300
- pathway_definition_id: Scalars['String']['output'];
301
- patient_id?: Maybe<Scalars['String']['output']>;
302
- start_date?: Maybe<Scalars['String']['output']>;
303
- };
304
- export type AuditTrail = {
305
- __typename?: 'AuditTrail';
306
- date: Scalars['SafeDate']['output'];
307
- user_email?: Maybe<Scalars['String']['output']>;
308
- user_id: Scalars['String']['output'];
234
+ id: Scalars['String'];
235
+ pathway_definition_id: Scalars['String'];
236
+ patient_id?: Maybe<Scalars['String']>;
237
+ start_date?: Maybe<Scalars['String']>;
309
238
  };
310
239
  export type BaselineDataPoint = {
311
240
  __typename?: 'BaselineDataPoint';
312
241
  definition: DataPointDefinition;
313
- value?: Maybe<Scalars['String']['output']>;
242
+ value?: Maybe<Scalars['String']>;
314
243
  };
315
244
  export type BaselineInfoInput = {
316
- data_point_definition_id: Scalars['String']['input'];
317
- value: Scalars['String']['input'];
245
+ data_point_definition_id: Scalars['String'];
246
+ value: Scalars['String'];
318
247
  };
319
248
  export type BaselineInfoPayload = Payload & {
320
249
  __typename?: 'BaselineInfoPayload';
321
250
  baselineDataPoints: Array<BaselineDataPoint>;
322
- code: Scalars['String']['output'];
323
- success: Scalars['Boolean']['output'];
251
+ code: Scalars['String'];
252
+ success: Scalars['Boolean'];
324
253
  };
325
254
  export declare enum BooleanOperator {
326
255
  And = "AND",
@@ -328,79 +257,45 @@ export declare enum BooleanOperator {
328
257
  }
329
258
  export type BrandingSettings = {
330
259
  __typename?: 'BrandingSettings';
331
- accent_color?: Maybe<Scalars['String']['output']>;
332
- custom_theme?: Maybe<Scalars['String']['output']>;
333
- /** Auto progress to the next question when using the conversational display mode in Hosted Pages. */
334
- hosted_page_auto_progress?: Maybe<Scalars['Boolean']['output']>;
335
- /** Automatically save question answers locally in Hosted Pages */
336
- hosted_page_autosave?: Maybe<Scalars['Boolean']['output']>;
337
- hosted_page_title?: Maybe<Scalars['String']['output']>;
338
- logo_url?: Maybe<Scalars['String']['output']>;
339
- };
340
- export type CalculationResultsPayload = Payload & {
260
+ accent_color?: Maybe<Scalars['String']>;
261
+ hosted_page_title?: Maybe<Scalars['String']>;
262
+ logo_url?: Maybe<Scalars['String']>;
263
+ };
264
+ export type CalculationResultsPayload = {
341
265
  __typename?: 'CalculationResultsPayload';
342
- code: Scalars['String']['output'];
343
266
  result: Array<SingleCalculationResult>;
344
- success: Scalars['Boolean']['output'];
345
- };
346
- export type CancelScheduledTracksInput = {
347
- ids: Array<Scalars['String']['input']>;
348
- };
349
- export type CancelScheduledTracksPayload = Payload & {
350
- __typename?: 'CancelScheduledTracksPayload';
351
- code: Scalars['String']['output'];
352
- success: Scalars['Boolean']['output'];
353
- unscheduled_ids: Array<Scalars['String']['output']>;
354
267
  };
355
268
  export type Checklist = {
356
269
  __typename?: 'Checklist';
357
- items: Array<Scalars['String']['output']>;
358
- title: Scalars['String']['output'];
270
+ items: Array<Scalars['String']>;
271
+ title: Scalars['String'];
359
272
  };
360
273
  export type ChecklistPayload = Payload & {
361
274
  __typename?: 'ChecklistPayload';
362
275
  checklist?: Maybe<Checklist>;
363
- code: Scalars['String']['output'];
364
- success: Scalars['Boolean']['output'];
365
- };
366
- export type ChoiceRangeConfig = {
367
- __typename?: 'ChoiceRangeConfig';
368
- enabled?: Maybe<Scalars['Boolean']['output']>;
369
- max?: Maybe<Scalars['Float']['output']>;
370
- min?: Maybe<Scalars['Float']['output']>;
276
+ code: Scalars['String'];
277
+ success: Scalars['Boolean'];
371
278
  };
372
279
  export type ClinicalNotePayload = Payload & {
373
280
  __typename?: 'ClinicalNotePayload';
374
281
  clinical_note: GeneratedClinicalNote;
375
- code: Scalars['String']['output'];
376
- success: Scalars['Boolean']['output'];
377
- };
378
- export type CompleteExtensionActivityInput = {
379
- activity_id: Scalars['String']['input'];
380
- data_points: Array<ExtensionDataPointInput>;
381
- };
382
- export type CompleteExtensionActivityPayload = Payload & {
383
- __typename?: 'CompleteExtensionActivityPayload';
384
- activity: Activity;
385
- code: Scalars['String']['output'];
386
- success: Scalars['Boolean']['output'];
282
+ code: Scalars['String'];
283
+ success: Scalars['Boolean'];
387
284
  };
388
285
  export type Condition = {
389
286
  __typename?: 'Condition';
390
- id: Scalars['ID']['output'];
287
+ id: Scalars['ID'];
391
288
  operand?: Maybe<Operand>;
392
289
  operator?: Maybe<ConditionOperator>;
393
- reference?: Maybe<Scalars['String']['output']>;
394
- reference_key?: Maybe<Scalars['String']['output']>;
290
+ reference?: Maybe<Scalars['String']>;
291
+ reference_key?: Maybe<Scalars['String']>;
395
292
  };
396
293
  export declare enum ConditionOperandType {
397
294
  Boolean = "BOOLEAN",
398
- DataPoint = "DATA_POINT",
399
295
  DataSource = "DATA_SOURCE",
400
296
  Number = "NUMBER",
401
297
  NumbersArray = "NUMBERS_ARRAY",
402
- String = "STRING",
403
- StringsArray = "STRINGS_ARRAY"
298
+ String = "STRING"
404
299
  }
405
300
  export declare enum ConditionOperator {
406
301
  Contains = "CONTAINS",
@@ -417,86 +312,64 @@ export declare enum ConditionOperator {
417
312
  IsNotEmpty = "IS_NOT_EMPTY",
418
313
  IsNotEqualTo = "IS_NOT_EQUAL_TO",
419
314
  IsNotTrue = "IS_NOT_TRUE",
420
- IsToday = "IS_TODAY",
421
315
  IsTrue = "IS_TRUE"
422
316
  }
423
317
  export type CreatePatientInput = {
424
318
  address?: InputMaybe<AddressInput>;
425
- birth_date?: InputMaybe<Scalars['String']['input']>;
426
- email?: InputMaybe<Scalars['String']['input']>;
427
- first_name?: InputMaybe<Scalars['String']['input']>;
428
- identifier?: InputMaybe<Array<IdentifierInput>>;
429
- last_name?: InputMaybe<Scalars['String']['input']>;
430
- /** Must be in valid E164 telephone number format */
431
- mobile_phone?: InputMaybe<Scalars['String']['input']>;
432
- national_registry_number?: InputMaybe<Scalars['String']['input']>;
433
- patient_code?: InputMaybe<Scalars['String']['input']>;
434
- /** Must be in valid E164 telephone number format */
435
- phone?: InputMaybe<Scalars['String']['input']>;
436
- /** ISO 639-1 shortcode */
437
- preferred_language?: InputMaybe<Scalars['String']['input']>;
319
+ birth_date?: InputMaybe<Scalars['String']>;
320
+ email?: InputMaybe<Scalars['String']>;
321
+ first_name?: InputMaybe<Scalars['String']>;
322
+ last_name?: InputMaybe<Scalars['String']>;
323
+ mobile_phone?: InputMaybe<Scalars['String']>;
324
+ national_registry_number?: InputMaybe<Scalars['String']>;
325
+ patient_code?: InputMaybe<Scalars['String']>;
326
+ phone?: InputMaybe<Scalars['String']>;
327
+ preferred_language?: InputMaybe<Scalars['String']>;
438
328
  /** Sex code as defined by ISO standard IEC_5218, 0 - NOT_KNOWN, 1 - MALE, 2 - FEMALE */
439
329
  sex?: InputMaybe<Sex>;
440
330
  };
441
331
  export type CreatePatientPayload = Payload & {
442
332
  __typename?: 'CreatePatientPayload';
443
- code: Scalars['String']['output'];
333
+ code: Scalars['String'];
444
334
  patient?: Maybe<User>;
445
- success: Scalars['Boolean']['output'];
446
- };
447
- export type CurrentUser = {
448
- __typename?: 'CurrentUser';
449
- id: Scalars['ID']['output'];
450
- profile?: Maybe<UserProfile>;
451
- tenant: Tenant;
452
- tenant_id: Scalars['String']['output'];
453
- };
454
- export type CurrentUserPayload = Payload & {
455
- __typename?: 'CurrentUserPayload';
456
- code: Scalars['String']['output'];
457
- success: Scalars['Boolean']['output'];
458
- user: CurrentUser;
335
+ success: Scalars['Boolean'];
459
336
  };
460
337
  export type DataPointDefinition = {
461
338
  __typename?: 'DataPointDefinition';
462
339
  category: DataPointSourceType;
463
- id: Scalars['ID']['output'];
464
- key: Scalars['String']['output'];
465
- /** Additional context on data point */
340
+ id: Scalars['ID'];
341
+ key: Scalars['String'];
342
+ /** Additonal context on data point */
466
343
  metadata?: Maybe<Array<DataPointMetaDataItem>>;
467
- optional?: Maybe<Scalars['Boolean']['output']>;
344
+ optional?: Maybe<Scalars['Boolean']>;
468
345
  /** Personally identifiable information */
469
- pii?: Maybe<Scalars['Boolean']['output']>;
346
+ pii?: Maybe<Scalars['Boolean']>;
470
347
  possibleValues?: Maybe<Array<DataPointPossibleValue>>;
471
348
  range?: Maybe<Range>;
472
- source_definition_id: Scalars['String']['output'];
473
- title: Scalars['String']['output'];
474
- unit?: Maybe<Scalars['String']['output']>;
349
+ title: Scalars['String'];
350
+ unit?: Maybe<Scalars['String']>;
475
351
  valueType: DataPointValueType;
476
352
  };
477
353
  export type DataPointInput = {
478
- data_point_definition_id: Scalars['String']['input'];
479
- value: Scalars['String']['input'];
354
+ data_point_definition_id: Scalars['String'];
355
+ value: Scalars['String'];
480
356
  };
481
357
  export type DataPointMetaDataItem = {
482
358
  __typename?: 'DataPointMetaDataItem';
483
- key: Scalars['String']['output'];
484
- value: Scalars['String']['output'];
359
+ key: Scalars['String'];
360
+ value: Scalars['String'];
485
361
  };
486
362
  export type DataPointPossibleValue = {
487
363
  __typename?: 'DataPointPossibleValue';
488
- label?: Maybe<Scalars['String']['output']>;
489
- value: Scalars['String']['output'];
364
+ label?: Maybe<Scalars['String']>;
365
+ value: Scalars['String'];
490
366
  };
491
367
  export declare enum DataPointSourceType {
492
368
  ApiCall = "API_CALL",
493
369
  ApiCallStatus = "API_CALL_STATUS",
494
370
  Calculation = "CALCULATION",
495
- ExtensionAction = "EXTENSION_ACTION",
496
- ExtensionWebhook = "EXTENSION_WEBHOOK",
497
371
  Form = "FORM",
498
372
  Pathway = "PATHWAY",
499
- PatientIdentifier = "PATIENT_IDENTIFIER",
500
373
  PatientProfile = "PATIENT_PROFILE",
501
374
  Step = "STEP",
502
375
  Track = "TRACK"
@@ -506,43 +379,36 @@ export declare enum DataPointValueType {
506
379
  Date = "DATE",
507
380
  Number = "NUMBER",
508
381
  NumbersArray = "NUMBERS_ARRAY",
509
- String = "STRING",
510
- StringsArray = "STRINGS_ARRAY",
511
- Telephone = "TELEPHONE"
382
+ String = "STRING"
512
383
  }
513
- export type DateConfig = {
514
- __typename?: 'DateConfig';
515
- allowed_dates?: Maybe<AllowedDatesOptions>;
516
- include_date_of_response?: Maybe<Scalars['Boolean']['output']>;
517
- };
518
384
  export type DateFilter = {
519
- gte?: InputMaybe<Scalars['String']['input']>;
520
- lte?: InputMaybe<Scalars['String']['input']>;
385
+ gte?: InputMaybe<Scalars['String']>;
386
+ lte?: InputMaybe<Scalars['String']>;
521
387
  };
522
388
  export type DeletePathwayInput = {
523
- pathway_id: Scalars['String']['input'];
389
+ pathway_id: Scalars['String'];
524
390
  };
525
391
  export type DeletePatientInput = {
526
- patient_id: Scalars['String']['input'];
392
+ patient_id: Scalars['String'];
527
393
  };
528
394
  export type Element = {
529
395
  __typename?: 'Element';
530
396
  activity_type?: Maybe<ActionType>;
531
397
  context: PathwayContext;
532
- end_date?: Maybe<Scalars['String']['output']>;
533
- id: Scalars['ID']['output'];
398
+ end_date?: Maybe<Scalars['String']>;
399
+ id: Scalars['ID'];
534
400
  label?: Maybe<ActivityLabel>;
535
- name: Scalars['String']['output'];
536
- parent_id?: Maybe<Scalars['ID']['output']>;
401
+ name: Scalars['String'];
402
+ parent_id?: Maybe<Scalars['ID']>;
537
403
  stakeholders: Array<ElementStakeholder>;
538
- start_date: Scalars['String']['output'];
404
+ start_date: Scalars['String'];
539
405
  status: ElementStatus;
540
406
  type: ElementType;
541
407
  };
542
408
  export type ElementStakeholder = {
543
409
  __typename?: 'ElementStakeholder';
544
- id: Scalars['ID']['output'];
545
- name?: Maybe<Scalars['String']['output']>;
410
+ id: Scalars['ID'];
411
+ name?: Maybe<Scalars['String']>;
546
412
  };
547
413
  export declare enum ElementStatus {
548
414
  Active = "ACTIVE",
@@ -561,109 +427,54 @@ export declare enum ElementType {
561
427
  }
562
428
  export type ElementsPayload = Payload & {
563
429
  __typename?: 'ElementsPayload';
564
- code: Scalars['String']['output'];
430
+ code: Scalars['String'];
565
431
  elements: Array<Element>;
566
- success: Scalars['Boolean']['output'];
432
+ success: Scalars['Boolean'];
567
433
  };
568
434
  export type EmptyPayload = Payload & {
569
435
  __typename?: 'EmptyPayload';
570
- code: Scalars['String']['output'];
571
- success: Scalars['Boolean']['output'];
436
+ code: Scalars['String'];
437
+ success: Scalars['Boolean'];
572
438
  };
573
439
  export type EmrReport = {
574
440
  __typename?: 'EmrReport';
575
- id: Scalars['ID']['output'];
576
- message_html: Scalars['String']['output'];
441
+ id: Scalars['ID'];
442
+ message_html: Scalars['String'];
577
443
  metadata?: Maybe<Array<EmrReportMetadataField>>;
578
444
  };
579
445
  export type EmrReportMetadataField = {
580
446
  __typename?: 'EmrReportMetadataField';
581
- id: Scalars['ID']['output'];
582
- label: Scalars['String']['output'];
583
- value?: Maybe<Scalars['String']['output']>;
447
+ id: Scalars['ID'];
448
+ label: Scalars['String'];
449
+ value?: Maybe<Scalars['String']>;
584
450
  };
585
451
  export type EmrReportPayload = Payload & {
586
452
  __typename?: 'EmrReportPayload';
587
- code: Scalars['String']['output'];
453
+ code: Scalars['String'];
588
454
  report?: Maybe<EmrReport>;
589
- success: Scalars['Boolean']['output'];
455
+ success: Scalars['Boolean'];
590
456
  };
591
457
  export type EvaluateFormRulesInput = {
592
458
  answers: Array<AnswerInput>;
593
- form_id: Scalars['String']['input'];
459
+ form_id: Scalars['String'];
594
460
  };
595
461
  export type EvaluateFormRulesPayload = Payload & {
596
462
  __typename?: 'EvaluateFormRulesPayload';
597
- code: Scalars['String']['output'];
463
+ code: Scalars['String'];
598
464
  results: Array<QuestionRuleResult>;
599
- success: Scalars['Boolean']['output'];
600
- };
601
- export type ExclusiveOptionConfig = {
602
- __typename?: 'ExclusiveOptionConfig';
603
- enabled?: Maybe<Scalars['Boolean']['output']>;
604
- option_id?: Maybe<Scalars['String']['output']>;
605
- };
606
- export type ExtensionActionField = {
607
- __typename?: 'ExtensionActionField';
608
- id: Scalars['ID']['output'];
609
- label: Scalars['String']['output'];
610
- type: ExtensionActionFieldType;
611
- value: Scalars['String']['output'];
612
- };
613
- export declare enum ExtensionActionFieldType {
614
- Boolean = "BOOLEAN",
615
- Date = "DATE",
616
- Html = "HTML",
617
- Json = "JSON",
618
- Numeric = "NUMERIC",
619
- NumericArray = "NUMERIC_ARRAY",
620
- String = "STRING",
621
- StringArray = "STRING_ARRAY",
622
- Text = "TEXT"
623
- }
624
- export type ExtensionActivityRecord = {
625
- __typename?: 'ExtensionActivityRecord';
626
- activity_id: Scalars['String']['output'];
627
- data_points: Array<ExtensionDataPoint>;
628
- date: Scalars['String']['output'];
629
- fields: Array<ExtensionActionField>;
630
- id: Scalars['ID']['output'];
631
- pathway_id: Scalars['String']['output'];
632
- plugin_action_key: Scalars['String']['output'];
633
- plugin_key: Scalars['String']['output'];
634
- settings?: Maybe<Array<PluginActionSettingsProperty>>;
635
- };
636
- export type ExtensionActivityRecordPayload = Payload & {
637
- __typename?: 'ExtensionActivityRecordPayload';
638
- code: Scalars['String']['output'];
639
- record: ExtensionActivityRecord;
640
- success: Scalars['Boolean']['output'];
641
- };
642
- export type ExtensionDataPoint = {
643
- __typename?: 'ExtensionDataPoint';
644
- label: Scalars['String']['output'];
645
- value: Scalars['String']['output'];
646
- };
647
- export type ExtensionDataPointInput = {
648
- key: Scalars['String']['input'];
649
- value: Scalars['String']['input'];
465
+ success: Scalars['Boolean'];
650
466
  };
651
467
  export type FilterActivitiesParams = {
652
- action?: InputMaybe<StringArrayFilter>;
653
- activity_status?: InputMaybe<StringArrayFilter>;
654
- activity_type?: InputMaybe<StringArrayFilter>;
655
- pathway_definition_id?: InputMaybe<StringArrayFilter>;
656
- pathway_status?: InputMaybe<StringArrayFilter>;
657
- patient_id?: InputMaybe<TextFilterEquals>;
658
- stakeholders?: InputMaybe<StringArrayFilter>;
468
+ action: StringArrayFilter;
469
+ activity_status: StringArrayFilter;
470
+ activity_type: StringArrayFilter;
471
+ pathway_definition_id: StringArrayFilter;
472
+ patient_id: TextFilterEquals;
659
473
  };
660
474
  export type FilterPathwayDataPointDefinitionsParams = {
661
475
  category?: InputMaybe<StringArrayFilter>;
662
476
  value_type?: InputMaybe<StringArrayFilter>;
663
477
  };
664
- export type FilterPathwayDefinitionsParams = {
665
- search?: InputMaybe<TextFilterContains>;
666
- };
667
478
  export type FilterPathways = {
668
479
  pathway_definition_id?: InputMaybe<IdFilter>;
669
480
  patient_id?: InputMaybe<StringArrayFilter>;
@@ -684,28 +495,18 @@ export type FilterPatients = {
684
495
  };
685
496
  export type Form = {
686
497
  __typename?: 'Form';
687
- definition_id: Scalars['String']['output'];
688
- id: Scalars['ID']['output'];
689
- key: Scalars['String']['output'];
690
- metadata?: Maybe<Scalars['String']['output']>;
691
- previous_answers?: Maybe<Array<PreviousAnswers>>;
498
+ definition_id: Scalars['String'];
499
+ id: Scalars['ID'];
500
+ key: Scalars['String'];
692
501
  questions: Array<Question>;
693
- release_id: Scalars['String']['output'];
694
- title: Scalars['String']['output'];
695
- trademark?: Maybe<Scalars['String']['output']>;
502
+ release_id: Scalars['String'];
503
+ title: Scalars['String'];
696
504
  };
697
- export type FormPrevious_AnswersArgs = {
698
- pathway_id: Scalars['String']['input'];
699
- };
700
- export declare enum FormDisplayMode {
701
- Conversational = "CONVERSATIONAL",
702
- Regular = "REGULAR"
703
- }
704
505
  export type FormPayload = Payload & {
705
506
  __typename?: 'FormPayload';
706
- code: Scalars['String']['output'];
507
+ code: Scalars['String'];
707
508
  form?: Maybe<Form>;
708
- success: Scalars['Boolean']['output'];
509
+ success: Scalars['Boolean'];
709
510
  };
710
511
  export type FormResponse = {
711
512
  __typename?: 'FormResponse';
@@ -713,79 +514,65 @@ export type FormResponse = {
713
514
  };
714
515
  export type FormResponsePayload = Payload & {
715
516
  __typename?: 'FormResponsePayload';
716
- code: Scalars['String']['output'];
517
+ code: Scalars['String'];
717
518
  response: FormResponse;
718
- success: Scalars['Boolean']['output'];
519
+ success: Scalars['Boolean'];
719
520
  };
720
521
  export type FormattedText = {
721
522
  __typename?: 'FormattedText';
722
523
  content: TranslatedText;
723
- format: Scalars['String']['output'];
524
+ format: Scalars['String'];
724
525
  };
725
526
  export type FormsPayload = Payload & {
726
527
  __typename?: 'FormsPayload';
727
- code: Scalars['String']['output'];
528
+ code: Scalars['String'];
728
529
  forms?: Maybe<Array<Form>>;
729
- success: Scalars['Boolean']['output'];
530
+ success: Scalars['Boolean'];
730
531
  };
731
532
  export type GeneratedClinicalNote = {
732
533
  __typename?: 'GeneratedClinicalNote';
733
534
  context: Array<GeneratedClinicalNoteContextField>;
734
- id: Scalars['ID']['output'];
535
+ id: Scalars['ID'];
735
536
  narratives: Array<GeneratedClinicalNoteNarrative>;
736
537
  };
737
538
  export type GeneratedClinicalNoteContextField = {
738
539
  __typename?: 'GeneratedClinicalNoteContextField';
739
- key: Scalars['String']['output'];
740
- value: Scalars['String']['output'];
540
+ key: Scalars['String'];
541
+ value: Scalars['String'];
741
542
  };
742
543
  export type GeneratedClinicalNoteNarrative = {
743
544
  __typename?: 'GeneratedClinicalNoteNarrative';
744
- body: Scalars['String']['output'];
745
- id: Scalars['ID']['output'];
746
- key: Scalars['String']['output'];
747
- title: Scalars['String']['output'];
748
- };
749
- export type HostedPagesLink = {
750
- __typename?: 'HostedPagesLink';
751
- id: Scalars['ID']['output'];
752
- pathway_id: Scalars['String']['output'];
753
- stakeholder_id?: Maybe<Scalars['String']['output']>;
754
- url?: Maybe<Scalars['String']['output']>;
755
- };
756
- export type HostedPagesLinkPayload = Payload & {
757
- __typename?: 'HostedPagesLinkPayload';
758
- code: Scalars['String']['output'];
759
- /** The hosted pages link for the stakeholder. If there is no activity for the stakeholder in the care flow, this link will be null. */
760
- hosted_pages_link?: Maybe<HostedPagesLink>;
761
- success: Scalars['Boolean']['output'];
545
+ body: Scalars['String'];
546
+ id: Scalars['ID'];
547
+ key: Scalars['String'];
548
+ title: Scalars['String'];
762
549
  };
763
550
  export type HostedSession = {
764
551
  __typename?: 'HostedSession';
765
- cancel_url?: Maybe<Scalars['String']['output']>;
766
- id: Scalars['ID']['output'];
767
- pathway_id: Scalars['String']['output'];
552
+ cancel_url?: Maybe<Scalars['String']>;
553
+ id: Scalars['ID'];
554
+ pathway_id: Scalars['String'];
768
555
  stakeholder: HostedSessionStakeholder;
769
556
  status: HostedSessionStatus;
770
- success_url?: Maybe<Scalars['String']['output']>;
557
+ success_url?: Maybe<Scalars['String']>;
771
558
  };
772
559
  export type HostedSessionActivitiesPayload = Payload & {
773
560
  __typename?: 'HostedSessionActivitiesPayload';
774
561
  activities: Array<Activity>;
775
- code: Scalars['String']['output'];
776
- success: Scalars['Boolean']['output'];
562
+ code: Scalars['String'];
563
+ success: Scalars['Boolean'];
777
564
  };
778
565
  export type HostedSessionPayload = Payload & {
779
566
  __typename?: 'HostedSessionPayload';
780
567
  branding?: Maybe<BrandingSettings>;
781
- code: Scalars['String']['output'];
568
+ code: Scalars['String'];
782
569
  session: HostedSession;
783
- success: Scalars['Boolean']['output'];
570
+ success: Scalars['Boolean'];
784
571
  };
785
572
  export type HostedSessionStakeholder = {
786
573
  __typename?: 'HostedSessionStakeholder';
787
- id: Scalars['ID']['output'];
788
- name: Scalars['String']['output'];
574
+ id: Scalars['ID'];
575
+ name: Scalars['String'];
789
576
  type: HostedSessionStakeholderType;
790
577
  };
791
578
  export declare enum HostedSessionStakeholderType {
@@ -798,46 +585,37 @@ export declare enum HostedSessionStatus {
798
585
  Expired = "EXPIRED"
799
586
  }
800
587
  export type IdFilter = {
801
- eq?: InputMaybe<Scalars['String']['input']>;
802
- };
803
- export type Identifier = {
804
- __typename?: 'Identifier';
805
- system: Scalars['String']['output'];
806
- value: Scalars['String']['output'];
807
- };
808
- export type IdentifierInput = {
809
- system: Scalars['String']['input'];
810
- value: Scalars['String']['input'];
811
- };
812
- export type IdentifierSystem = {
813
- __typename?: 'IdentifierSystem';
814
- display_name: Scalars['String']['output'];
815
- name: Scalars['String']['output'];
816
- system: Scalars['String']['output'];
588
+ eq?: InputMaybe<Scalars['String']>;
817
589
  };
590
+ export declare enum Language {
591
+ Dutch = "DUTCH",
592
+ English = "ENGLISH",
593
+ Estonian = "ESTONIAN",
594
+ French = "FRENCH"
595
+ }
818
596
  export type MarkMessageAsReadInput = {
819
- activity_id: Scalars['String']['input'];
597
+ activity_id: Scalars['String'];
820
598
  };
821
599
  export type MarkMessageAsReadPayload = Payload & {
822
600
  __typename?: 'MarkMessageAsReadPayload';
823
601
  activity: Activity;
824
- code: Scalars['String']['output'];
825
- success: Scalars['Boolean']['output'];
602
+ code: Scalars['String'];
603
+ success: Scalars['Boolean'];
826
604
  };
827
605
  export type Message = {
828
606
  __typename?: 'Message';
829
607
  attachments?: Maybe<Array<MessageAttachment>>;
830
- body: Scalars['String']['output'];
608
+ body: Scalars['String'];
831
609
  format: MessageFormat;
832
- id: Scalars['ID']['output'];
833
- subject?: Maybe<Scalars['String']['output']>;
610
+ id: Scalars['ID'];
611
+ subject: Scalars['String'];
834
612
  };
835
613
  export type MessageAttachment = {
836
614
  __typename?: 'MessageAttachment';
837
- id: Scalars['ID']['output'];
838
- name: Scalars['String']['output'];
615
+ id: Scalars['ID'];
616
+ name: Scalars['String'];
839
617
  type: MessageAttachmentType;
840
- url: Scalars['String']['output'];
618
+ url: Scalars['String'];
841
619
  };
842
620
  export declare enum MessageAttachmentType {
843
621
  File = "FILE",
@@ -850,27 +628,17 @@ export declare enum MessageFormat {
850
628
  }
851
629
  export type MessagePayload = Payload & {
852
630
  __typename?: 'MessagePayload';
853
- code: Scalars['String']['output'];
631
+ code: Scalars['String'];
854
632
  message?: Maybe<Message>;
855
- success: Scalars['Boolean']['output'];
856
- };
857
- export type MultipleSelectConfig = {
858
- __typename?: 'MultipleSelectConfig';
859
- exclusive_option?: Maybe<ExclusiveOptionConfig>;
860
- range?: Maybe<ChoiceRangeConfig>;
633
+ success: Scalars['Boolean'];
861
634
  };
862
635
  export type Mutation = {
863
636
  __typename?: 'Mutation';
864
- addIdentifierToPatient: AddIdentifierToPatientPayload;
865
- addTrack: AddTrackPayload;
866
- completeExtensionActivity: CompleteExtensionActivityPayload;
867
637
  createPatient: CreatePatientPayload;
868
638
  deletePathway: EmptyPayload;
869
639
  deletePatient: EmptyPayload;
870
640
  evaluateFormRules: EvaluateFormRulesPayload;
871
641
  markMessageAsRead: MarkMessageAsReadPayload;
872
- /** Retrieve patient demographics from an external system */
873
- requestPatientDemographics: PatientDemographicsPayload;
874
642
  retryActivity: EmptyPayload;
875
643
  retryAllApiCalls: EmptyPayload;
876
644
  retryAllFailedApiCalls: EmptyPayload;
@@ -880,39 +648,21 @@ export type Mutation = {
880
648
  retryApiCall: RetryApiCallPayload;
881
649
  retryPushToEmr: EmptyPayload;
882
650
  retryWebhookCall: RetryWebhookCallPayload;
883
- /** @deprecated We will be deactivating this endpoint in the future. */
884
651
  saveBaselineInfo: EmptyPayload;
885
- scheduleTrack: ScheduleTrackPayload;
886
652
  startHostedActivitySession: StartHostedActivitySessionPayload;
887
653
  startHostedActivitySessionViaHostedPagesLink: StartHostedActivitySessionPayload;
888
- /** Start a hosted pathway session for a patient uniquely identified by patient_id or patient_identifier. If neither patient_id or patient_identifier is provided, a new anonymous patient will be created. */
889
654
  startHostedPathwaySession: StartHostedPathwaySessionPayload;
890
- startHostedPathwaySessionFromLink: StartHostedPathwaySessionFromLinkPayload;
891
655
  startPathway: StartPathwayPayload;
892
- startPathwayWithPatientIdentifier: StartPathwayWithPatientIdentifierPayload;
893
656
  stopPathway: EmptyPayload;
894
657
  stopTrack: StopTrackPayload;
895
658
  submitChecklist: SubmitChecklistPayload;
896
659
  submitFormResponse: SubmitFormResponsePayload;
897
- unscheduleTracks: CancelScheduledTracksPayload;
898
660
  updateBaselineInfo: EmptyPayload;
899
661
  updatePatient: UpdatePatientPayload;
900
- /** Update which patient was created after import request for logging purposes */
901
- updatePatientDemographicsQuery: UpdatePatientDemographicsQueryPayload;
902
662
  updatePatientLanguage: UpdatePatientLanguagePayload;
903
663
  };
904
- export type MutationAddIdentifierToPatientArgs = {
905
- input: AddIdentifierToPatientInput;
906
- };
907
- export type MutationAddTrackArgs = {
908
- input: AddTrackInput;
909
- };
910
- export type MutationCompleteExtensionActivityArgs = {
911
- input: CompleteExtensionActivityInput;
912
- };
913
664
  export type MutationCreatePatientArgs = {
914
665
  input?: InputMaybe<CreatePatientInput>;
915
- mycare?: InputMaybe<MyCareOptions>;
916
666
  };
917
667
  export type MutationDeletePathwayArgs = {
918
668
  input: DeletePathwayInput;
@@ -926,9 +676,6 @@ export type MutationEvaluateFormRulesArgs = {
926
676
  export type MutationMarkMessageAsReadArgs = {
927
677
  input: MarkMessageAsReadInput;
928
678
  };
929
- export type MutationRequestPatientDemographicsArgs = {
930
- input: PatientDemographicsInput;
931
- };
932
679
  export type MutationRetryActivityArgs = {
933
680
  input: RetryActivityInput;
934
681
  };
@@ -959,9 +706,6 @@ export type MutationRetryWebhookCallArgs = {
959
706
  export type MutationSaveBaselineInfoArgs = {
960
707
  input: SaveBaselineInfoInput;
961
708
  };
962
- export type MutationScheduleTrackArgs = {
963
- input: ScheduleTrackInput;
964
- };
965
709
  export type MutationStartHostedActivitySessionArgs = {
966
710
  input: StartHostedActivitySessionInput;
967
711
  };
@@ -971,15 +715,9 @@ export type MutationStartHostedActivitySessionViaHostedPagesLinkArgs = {
971
715
  export type MutationStartHostedPathwaySessionArgs = {
972
716
  input: StartHostedPathwaySessionInput;
973
717
  };
974
- export type MutationStartHostedPathwaySessionFromLinkArgs = {
975
- input: StartHostedPathwaySessionFromLinkInput;
976
- };
977
718
  export type MutationStartPathwayArgs = {
978
719
  input: StartPathwayInput;
979
720
  };
980
- export type MutationStartPathwayWithPatientIdentifierArgs = {
981
- input: StartPathwayWithPatientIdentifierInput;
982
- };
983
721
  export type MutationStopPathwayArgs = {
984
722
  input: StopPathwayInput;
985
723
  };
@@ -992,143 +730,83 @@ export type MutationSubmitChecklistArgs = {
992
730
  export type MutationSubmitFormResponseArgs = {
993
731
  input: SubmitFormResponseInput;
994
732
  };
995
- export type MutationUnscheduleTracksArgs = {
996
- input: CancelScheduledTracksInput;
997
- };
998
733
  export type MutationUpdateBaselineInfoArgs = {
999
734
  input: UpdateBaselineInfoInput;
1000
735
  };
1001
736
  export type MutationUpdatePatientArgs = {
1002
737
  input: UpdatePatientInput;
1003
738
  };
1004
- export type MutationUpdatePatientDemographicsQueryArgs = {
1005
- input: UpdatePatientDemographicsQueryInput;
1006
- };
1007
739
  export type MutationUpdatePatientLanguageArgs = {
1008
740
  input: UpdatePatientLanguageInput;
1009
741
  };
1010
- export type MyCareOptions = {
1011
- password?: InputMaybe<Scalars['String']['input']>;
1012
- };
1013
742
  export type NumberArrayFilter = {
1014
- in?: InputMaybe<Array<Scalars['Float']['input']>>;
1015
- };
1016
- export type NumberConfig = {
1017
- __typename?: 'NumberConfig';
1018
- range?: Maybe<RangeConfig>;
743
+ in?: InputMaybe<Array<Scalars['Float']>>;
1019
744
  };
1020
745
  export type Operand = {
1021
746
  __typename?: 'Operand';
1022
747
  type: ConditionOperandType;
1023
- value: Scalars['String']['output'];
748
+ value: Scalars['String'];
1024
749
  };
1025
750
  export type Option = {
1026
751
  __typename?: 'Option';
1027
- id: Scalars['ID']['output'];
1028
- label: Scalars['String']['output'];
1029
- value: Scalars['Float']['output'];
1030
- value_string: Scalars['String']['output'];
1031
- };
1032
- export type OrchestrationFact = {
1033
- __typename?: 'OrchestrationFact';
1034
- content: Array<Scalars['String']['output']>;
1035
- date: Scalars['String']['output'];
1036
- level: Scalars['String']['output'];
1037
- pathway_id: Scalars['String']['output'];
1038
- };
1039
- export type OrchestrationFactsPayload = PaginationAndSortingPayload & {
1040
- __typename?: 'OrchestrationFactsPayload';
1041
- code: Scalars['String']['output'];
1042
- facts: Array<OrchestrationFact>;
1043
- pagination?: Maybe<PaginationOutput>;
1044
- sorting?: Maybe<SortingOutput>;
1045
- success: Scalars['Boolean']['output'];
1046
- };
1047
- export type OrchestrationFactsPromptPayload = Payload & {
1048
- __typename?: 'OrchestrationFactsPromptPayload';
1049
- code: Scalars['String']['output'];
1050
- response: Scalars['String']['output'];
1051
- success: Scalars['Boolean']['output'];
1052
- };
1053
- export type PaginationAndSortingPayload = {
1054
- code: Scalars['String']['output'];
1055
- pagination?: Maybe<PaginationOutput>;
1056
- sorting?: Maybe<SortingOutput>;
1057
- success: Scalars['Boolean']['output'];
752
+ id: Scalars['ID'];
753
+ label: Scalars['String'];
754
+ value: Scalars['Float'];
1058
755
  };
1059
756
  export type PaginationOutput = {
1060
757
  __typename?: 'PaginationOutput';
1061
- count?: Maybe<Scalars['Int']['output']>;
1062
- offset?: Maybe<Scalars['Int']['output']>;
1063
- total_count?: Maybe<Scalars['Int']['output']>;
758
+ count?: Maybe<Scalars['Float']>;
759
+ offset?: Maybe<Scalars['Float']>;
760
+ total_count?: Maybe<Scalars['Float']>;
1064
761
  };
1065
762
  export type PaginationParams = {
1066
- count: Scalars['Int']['input'];
1067
- offset: Scalars['Int']['input'];
763
+ count: Scalars['Float'];
764
+ offset: Scalars['Float'];
1068
765
  };
1069
766
  export type Pathway = {
1070
767
  __typename?: 'Pathway';
1071
- /**
1072
- * Deprecated. Please use latestActivities.
1073
- * @deprecated use latestActivities instead. Limited to most recent 1000 activities
1074
- */
1075
- activities?: Maybe<Array<Activity>>;
1076
- complete_date?: Maybe<Scalars['SafeDate']['output']>;
768
+ activities: Array<Activity>;
769
+ complete_date?: Maybe<Scalars['SafeDate']>;
1077
770
  dashboards?: Maybe<PathwayDashboard>;
1078
- id: Scalars['ID']['output'];
1079
- /** Activities, sorted by date in descending order. For larger care flows, only the most recent 1000 activities are included. To see a complete list of activities, please use the `activity` query and appropriate filters. */
1080
- latestActivities: Array<Activity>;
1081
- pathway_definition_id: Scalars['String']['output'];
771
+ id: Scalars['ID'];
772
+ pathway_definition_id: Scalars['String'];
1082
773
  patient: User;
1083
- patient_id: Scalars['String']['output'];
1084
- release_id: Scalars['String']['output'];
1085
- start_date?: Maybe<Scalars['SafeDate']['output']>;
774
+ patient_id: Scalars['String'];
775
+ release_id: Scalars['String'];
776
+ start_date?: Maybe<Scalars['SafeDate']>;
1086
777
  status: PathwayStatus;
1087
- status_explanation?: Maybe<Scalars['String']['output']>;
1088
- stop_date?: Maybe<Scalars['SafeDate']['output']>;
778
+ status_explanation?: Maybe<Scalars['String']>;
779
+ stop_date?: Maybe<Scalars['SafeDate']>;
1089
780
  swimlanes: Swimlanes;
1090
- title: Scalars['String']['output'];
781
+ title: Scalars['String'];
1091
782
  tracks: Array<Track>;
1092
- version?: Maybe<Scalars['Float']['output']>;
783
+ version?: Maybe<Scalars['Float']>;
1093
784
  };
1094
785
  export type PathwayContext = {
1095
786
  __typename?: 'PathwayContext';
1096
- action_id?: Maybe<Scalars['String']['output']>;
1097
- instance_id: Scalars['String']['output'];
1098
- pathway_id: Scalars['String']['output'];
1099
- step_id?: Maybe<Scalars['String']['output']>;
1100
- track_id?: Maybe<Scalars['String']['output']>;
787
+ action_id?: Maybe<Scalars['String']>;
788
+ instance_id: Scalars['String'];
789
+ pathway_id: Scalars['String'];
790
+ step_id?: Maybe<Scalars['String']>;
791
+ track_id?: Maybe<Scalars['String']>;
1101
792
  };
1102
793
  export type PathwayDashboard = {
1103
794
  __typename?: 'PathwayDashboard';
1104
- cumulio_auth_id: Scalars['String']['output'];
1105
- cumulio_auth_token: Scalars['String']['output'];
1106
- dashboard_ids: Array<Scalars['String']['output']>;
795
+ cumulio_auth_id: Scalars['String'];
796
+ cumulio_auth_token: Scalars['String'];
797
+ dashboard_ids: Array<Scalars['String']>;
1107
798
  };
1108
799
  export type PathwayDataPointDefinitionsPayload = Payload & {
1109
800
  __typename?: 'PathwayDataPointDefinitionsPayload';
1110
- code: Scalars['String']['output'];
801
+ code: Scalars['String'];
1111
802
  data_point_definitions: Array<DataPointDefinition>;
1112
- success: Scalars['Boolean']['output'];
1113
- };
1114
- export type PathwayDefinitionDetails = {
1115
- __typename?: 'PathwayDefinitionDetails';
1116
- active_careflows?: Maybe<Scalars['Float']['output']>;
1117
- completed_careflows?: Maybe<Scalars['Float']['output']>;
1118
- stopped_careflows?: Maybe<Scalars['Float']['output']>;
1119
- total_careflows?: Maybe<Scalars['Float']['output']>;
1120
- total_patients?: Maybe<Scalars['Float']['output']>;
1121
- };
1122
- export type PathwayFactsFilters = {
1123
- date?: InputMaybe<DateFilter>;
1124
- keyword?: InputMaybe<Scalars['String']['input']>;
1125
- pathway_id: Scalars['String']['input'];
803
+ success: Scalars['Boolean'];
1126
804
  };
1127
805
  export type PathwayPayload = Payload & {
1128
806
  __typename?: 'PathwayPayload';
1129
- code: Scalars['String']['output'];
807
+ code: Scalars['String'];
1130
808
  pathway?: Maybe<Pathway>;
1131
- success: Scalars['Boolean']['output'];
809
+ success: Scalars['Boolean'];
1132
810
  };
1133
811
  export declare enum PathwayStatus {
1134
812
  Active = "active",
@@ -1139,164 +817,131 @@ export declare enum PathwayStatus {
1139
817
  }
1140
818
  export type PathwaySummary = {
1141
819
  __typename?: 'PathwaySummary';
1142
- complete_date?: Maybe<Scalars['SafeDate']['output']>;
1143
- id: Scalars['ID']['output'];
1144
- pathway_definition_id?: Maybe<Scalars['String']['output']>;
1145
- patient_id?: Maybe<Scalars['String']['output']>;
1146
- start_date?: Maybe<Scalars['SafeDate']['output']>;
820
+ complete_date?: Maybe<Scalars['SafeDate']>;
821
+ id: Scalars['ID'];
822
+ pathway_definition_id?: Maybe<Scalars['String']>;
823
+ patient_id?: Maybe<Scalars['String']>;
824
+ start_date?: Maybe<Scalars['SafeDate']>;
1147
825
  status: PathwayStatus;
1148
- status_explanation?: Maybe<Scalars['String']['output']>;
1149
- stop_date?: Maybe<Scalars['SafeDate']['output']>;
1150
- title: Scalars['String']['output'];
1151
- version?: Maybe<Scalars['Float']['output']>;
826
+ status_explanation?: Maybe<Scalars['String']>;
827
+ stop_date?: Maybe<Scalars['SafeDate']>;
828
+ title: Scalars['String'];
829
+ version?: Maybe<Scalars['Float']>;
1152
830
  };
1153
- export type PathwaysPayload = PaginationAndSortingPayload & {
831
+ export type PathwaysPayload = Payload & {
1154
832
  __typename?: 'PathwaysPayload';
1155
- code: Scalars['String']['output'];
833
+ code: Scalars['String'];
1156
834
  pagination?: Maybe<PaginationOutput>;
1157
835
  pathways: Array<PathwaySummary>;
1158
836
  sorting?: Maybe<SortingOutput>;
1159
- success: Scalars['Boolean']['output'];
1160
- };
1161
- export type PatientDemographicsInput = {
1162
- patient_identifier: Scalars['String']['input'];
1163
- };
1164
- export type PatientDemographicsPayload = Payload & {
1165
- __typename?: 'PatientDemographicsPayload';
1166
- code: Scalars['String']['output'];
1167
- entry?: Maybe<Array<UserProfile>>;
1168
- query_id: Scalars['String']['output'];
1169
- status: Scalars['String']['output'];
1170
- success: Scalars['Boolean']['output'];
1171
- total?: Maybe<Scalars['Float']['output']>;
1172
- };
1173
- export type PatientDemographicsQueryConfigurationPayload = {
1174
- __typename?: 'PatientDemographicsQueryConfigurationPayload';
1175
- input_box_text?: Maybe<Scalars['String']['output']>;
1176
- is_enabled: Scalars['Boolean']['output'];
837
+ success: Scalars['Boolean'];
1177
838
  };
1178
839
  export type PatientPathway = {
1179
840
  __typename?: 'PatientPathway';
1180
- active_activities?: Maybe<Scalars['Float']['output']>;
1181
841
  baseline_info?: Maybe<Array<BaselineDataPoint>>;
1182
- complete_date?: Maybe<Scalars['String']['output']>;
1183
- failed_activities?: Maybe<Scalars['Float']['output']>;
1184
- id: Scalars['ID']['output'];
1185
- latest_activity_date?: Maybe<Scalars['String']['output']>;
1186
- latest_activity_title?: Maybe<Scalars['String']['output']>;
1187
- latest_activity_type?: Maybe<Scalars['String']['output']>;
1188
- pathway_definition_id: Scalars['String']['output'];
1189
- release_id: Scalars['String']['output'];
842
+ complete_date?: Maybe<Scalars['String']>;
843
+ id: Scalars['ID'];
844
+ pathway_definition_id: Scalars['String'];
845
+ release_id: Scalars['String'];
1190
846
  status: PathwayStatus;
1191
- status_explanation?: Maybe<Scalars['String']['output']>;
1192
- stop_date?: Maybe<Scalars['String']['output']>;
1193
- title: Scalars['String']['output'];
1194
- total_activities?: Maybe<Scalars['Float']['output']>;
1195
- version?: Maybe<Scalars['Float']['output']>;
847
+ status_explanation?: Maybe<Scalars['String']>;
848
+ stop_date?: Maybe<Scalars['String']>;
849
+ title: Scalars['String'];
850
+ version?: Maybe<Scalars['Float']>;
1196
851
  };
1197
852
  export type PatientPathwaysPayload = Payload & {
1198
853
  __typename?: 'PatientPathwaysPayload';
1199
- code: Scalars['String']['output'];
854
+ code: Scalars['String'];
1200
855
  patientPathways: Array<PatientPathway>;
1201
- success: Scalars['Boolean']['output'];
856
+ success: Scalars['Boolean'];
1202
857
  };
1203
858
  export type PatientPayload = Payload & {
1204
859
  __typename?: 'PatientPayload';
1205
- code: Scalars['String']['output'];
860
+ code: Scalars['String'];
1206
861
  patient?: Maybe<User>;
1207
- success: Scalars['Boolean']['output'];
862
+ success: Scalars['Boolean'];
1208
863
  };
1209
864
  export type PatientProfileInput = {
1210
865
  address?: InputMaybe<AddressInput>;
1211
- birth_date?: InputMaybe<Scalars['String']['input']>;
1212
- email?: InputMaybe<Scalars['String']['input']>;
1213
- first_name?: InputMaybe<Scalars['String']['input']>;
1214
- identifier?: InputMaybe<Array<IdentifierInput>>;
1215
- last_name?: InputMaybe<Scalars['String']['input']>;
1216
- /** Must be in valid E164 telephone number format */
1217
- mobile_phone?: InputMaybe<Scalars['String']['input']>;
1218
- national_registry_number?: InputMaybe<Scalars['String']['input']>;
1219
- patient_code?: InputMaybe<Scalars['String']['input']>;
1220
- /** Must be in valid E164 telephone number format */
1221
- phone?: InputMaybe<Scalars['String']['input']>;
1222
- /** ISO 639-1 shortcode */
1223
- preferred_language?: InputMaybe<Scalars['String']['input']>;
866
+ birth_date?: InputMaybe<Scalars['String']>;
867
+ email?: InputMaybe<Scalars['String']>;
868
+ first_name?: InputMaybe<Scalars['String']>;
869
+ last_name?: InputMaybe<Scalars['String']>;
870
+ mobile_phone?: InputMaybe<Scalars['String']>;
871
+ national_registry_number?: InputMaybe<Scalars['String']>;
872
+ patient_code?: InputMaybe<Scalars['String']>;
873
+ phone?: InputMaybe<Scalars['String']>;
874
+ preferred_language?: InputMaybe<Scalars['String']>;
1224
875
  /** Sex code as defined by ISO standard IEC_5218, 0 - NOT_KNOWN, 1 - MALE, 2 - FEMALE */
1225
876
  sex?: InputMaybe<Sex>;
1226
877
  };
1227
- export type PatientsPayload = PaginationAndSortingPayload & {
878
+ export type PatientsPayload = Payload & {
1228
879
  __typename?: 'PatientsPayload';
1229
- code: Scalars['String']['output'];
1230
- pagination?: Maybe<PaginationOutput>;
880
+ code: Scalars['String'];
881
+ pagination: PaginationOutput;
1231
882
  patients: Array<User>;
1232
- sorting?: Maybe<SortingOutput>;
1233
- success: Scalars['Boolean']['output'];
883
+ sorting: SortingOutput;
884
+ success: Scalars['Boolean'];
1234
885
  };
1235
886
  export type Payload = {
1236
- code: Scalars['String']['output'];
1237
- success: Scalars['Boolean']['output'];
887
+ code: Scalars['String'];
888
+ success: Scalars['Boolean'];
1238
889
  };
1239
- export type PhoneConfig = {
1240
- __typename?: 'PhoneConfig';
1241
- available_countries?: Maybe<Array<Scalars['String']['output']>>;
1242
- default_country?: Maybe<Scalars['String']['output']>;
890
+ export type PluginActionField = {
891
+ __typename?: 'PluginActionField';
892
+ id: Scalars['ID'];
893
+ label: Scalars['String'];
894
+ type: PluginActionFieldType;
895
+ value: Scalars['String'];
1243
896
  };
897
+ export declare enum PluginActionFieldType {
898
+ Html = "HTML",
899
+ Json = "JSON",
900
+ Numeric = "NUMERIC",
901
+ String = "STRING",
902
+ Text = "TEXT"
903
+ }
1244
904
  export type PluginActionSettingsProperty = {
1245
905
  __typename?: 'PluginActionSettingsProperty';
1246
- key: Scalars['String']['output'];
1247
- label: Scalars['String']['output'];
1248
- value: Scalars['String']['output'];
906
+ key: Scalars['String'];
907
+ label: Scalars['String'];
908
+ value: Scalars['String'];
909
+ };
910
+ export type PluginActivityRecord = {
911
+ __typename?: 'PluginActivityRecord';
912
+ activity_id: Scalars['String'];
913
+ date: Scalars['String'];
914
+ fields: Array<PluginActionField>;
915
+ id: Scalars['ID'];
916
+ pathway_id: Scalars['String'];
917
+ plugin_action_key: Scalars['String'];
918
+ plugin_key: Scalars['String'];
919
+ settings?: Maybe<Array<PluginActionSettingsProperty>>;
1249
920
  };
1250
- export type PreviousAnswers = {
1251
- __typename?: 'PreviousAnswers';
1252
- activity_id: Scalars['ID']['output'];
1253
- answers: Array<Answer>;
1254
- date: Scalars['String']['output'];
921
+ export type PluginActivityRecordPayload = Payload & {
922
+ __typename?: 'PluginActivityRecordPayload';
923
+ code: Scalars['String'];
924
+ record: PluginActivityRecord;
925
+ success: Scalars['Boolean'];
1255
926
  };
1256
927
  export type PublishedPathwayDefinition = {
1257
928
  __typename?: 'PublishedPathwayDefinition';
1258
- active_activities?: Maybe<Scalars['Float']['output']>;
1259
- /** Details about the latest pathway definition */
1260
- all?: Maybe<PathwayDefinitionDetails>;
1261
- cancelled_activities?: Maybe<Scalars['Float']['output']>;
1262
- created?: Maybe<AuditTrail>;
1263
- /**
1264
- * Starting/baseline data point definitions for the pathway
1265
- * @deprecated Use data_point_definitions instead
1266
- */
1267
- dataPointDefinitions: Array<DataPointDefinition>;
1268
929
  /** Starting/baseline data point definitions for the pathway */
1269
- data_point_definitions?: Maybe<Array<DataPointDefinition>>;
1270
- failed_activities?: Maybe<Scalars['Float']['output']>;
1271
- id: Scalars['ID']['output'];
1272
- last_updated?: Maybe<AuditTrail>;
1273
- /** Details about all pathway definitions */
1274
- latest?: Maybe<PathwayDefinitionDetails>;
1275
- patients_with_pending_activities?: Maybe<Scalars['Float']['output']>;
1276
- release_date?: Maybe<Scalars['String']['output']>;
1277
- release_id?: Maybe<Scalars['String']['output']>;
1278
- stakeholders_with_pending_activities_list?: Maybe<Array<Scalars['String']['output']>>;
1279
- title: Scalars['String']['output'];
1280
- total_activities?: Maybe<Scalars['Float']['output']>;
1281
- total_patients?: Maybe<Scalars['Float']['output']>;
1282
- total_stakeholders?: Maybe<Scalars['Float']['output']>;
1283
- /** Tracks for the pathway */
1284
- track_definitions?: Maybe<Array<Track>>;
1285
- version?: Maybe<Scalars['Float']['output']>;
1286
- };
1287
- export type PublishedPathwayDefinitionsPayload = PaginationAndSortingPayload & {
930
+ dataPointDefinitions: Array<DataPointDefinition>;
931
+ id: Scalars['ID'];
932
+ release_id?: Maybe<Scalars['String']>;
933
+ title: Scalars['String'];
934
+ version?: Maybe<Scalars['Float']>;
935
+ };
936
+ export type PublishedPathwayDefinitionsPayload = Payload & {
1288
937
  __typename?: 'PublishedPathwayDefinitionsPayload';
1289
- code: Scalars['String']['output'];
1290
- pagination?: Maybe<PaginationOutput>;
938
+ code: Scalars['String'];
1291
939
  publishedPathwayDefinitions: Array<PublishedPathwayDefinition>;
1292
- sorting?: Maybe<SortingOutput>;
1293
- success: Scalars['Boolean']['output'];
940
+ success: Scalars['Boolean'];
1294
941
  };
1295
942
  export type Query = {
1296
943
  __typename?: 'Query';
1297
944
  activities: ActivitiesPayload;
1298
- adHocTracksByPathway: TracksPayload;
1299
- adHocTracksByRelease: TracksPayload;
1300
945
  apiCall: ApiCallPayload;
1301
946
  apiCalls: ApiCallsPayload;
1302
947
  baselineInfo: BaselineInfoPayload;
@@ -1305,14 +950,9 @@ export type Query = {
1305
950
  checklist: ChecklistPayload;
1306
951
  clinicalNote: ClinicalNotePayload;
1307
952
  emrReport: EmrReportPayload;
1308
- extensionActivityRecord: ExtensionActivityRecordPayload;
1309
- filterStakeholders: StakeholdersPayload;
1310
953
  form: FormPayload;
1311
954
  formResponse: FormResponsePayload;
1312
955
  forms: FormsPayload;
1313
- getOrchestrationFactsFromPrompt: OrchestrationFactsPromptPayload;
1314
- getStatusForPublishedPathwayDefinitions: PublishedPathwayDefinitionsPayload;
1315
- hostedPagesLink: HostedPagesLinkPayload;
1316
956
  hostedSession: HostedSessionPayload;
1317
957
  hostedSessionActivities: HostedSessionActivitiesPayload;
1318
958
  message: MessagePayload;
@@ -1323,127 +963,89 @@ export type Query = {
1323
963
  pathwayActivities: ActivitiesPayload;
1324
964
  pathwayDataPointDefinitions: PathwayDataPointDefinitionsPayload;
1325
965
  pathwayElements: ElementsPayload;
1326
- pathwayFacts: OrchestrationFactsPayload;
1327
966
  pathwayStepActivities: ActivitiesPayload;
1328
967
  pathways: PathwaysPayload;
1329
968
  patient: PatientPayload;
1330
- patientByIdentifier: PatientPayload;
1331
- patientDemographicsQueryConfiguration: PatientDemographicsQueryConfigurationPayload;
1332
969
  patientPathways: PatientPathwaysPayload;
1333
970
  patients: PatientsPayload;
971
+ pluginActivityRecord: PluginActivityRecordPayload;
1334
972
  publishedPathwayDefinitions: PublishedPathwayDefinitionsPayload;
1335
- publishedPathwayDefinitionsDashboard: PublishedPathwayDefinitionsPayload;
1336
973
  scheduledSteps: ScheduledStepsPayload;
1337
- scheduledTracksForPathway: ScheduledTracksPayload;
1338
974
  searchPatientsByNationalRegistryNumber: SearchPatientsPayload;
1339
975
  searchPatientsByPatientCode: SearchPatientsPayload;
1340
- stakeholdersByDefinitionIds: StakeholdersPayload;
1341
- stakeholdersByPathwayDefinitionIds: StakeholdersPayload;
1342
- stakeholdersByReleaseIds: StakeholdersPayload;
1343
976
  webhookCall: WebhookCallPayload;
1344
977
  webhookCalls: WebhookCallsPayload;
1345
978
  webhookCallsForPathwayDefinition: WebhookCallsPayload;
1346
979
  webhookCallsForTenant: WebhookCallsPayload;
1347
- whoami: CurrentUserPayload;
980
+ whoami: UserPayload;
1348
981
  };
1349
982
  export type QueryActivitiesArgs = {
1350
983
  filters?: InputMaybe<FilterActivitiesParams>;
1351
984
  pagination?: InputMaybe<PaginationParams>;
1352
985
  sorting?: InputMaybe<SortingParams>;
1353
986
  };
1354
- export type QueryAdHocTracksByPathwayArgs = {
1355
- pathway_id: Scalars['String']['input'];
1356
- };
1357
- export type QueryAdHocTracksByReleaseArgs = {
1358
- release_id: Scalars['String']['input'];
1359
- };
1360
987
  export type QueryApiCallArgs = {
1361
- id: Scalars['String']['input'];
988
+ id: Scalars['String'];
1362
989
  };
1363
990
  export type QueryApiCallsArgs = {
1364
- pathway_id: Scalars['String']['input'];
991
+ pathway_id: Scalars['String'];
1365
992
  };
1366
993
  export type QueryBaselineInfoArgs = {
1367
- pathway_id: Scalars['String']['input'];
994
+ pathway_id: Scalars['String'];
1368
995
  };
1369
996
  export type QueryCalculationActionArgs = {
1370
- id: Scalars['String']['input'];
997
+ id: Scalars['String'];
1371
998
  };
1372
999
  export type QueryCalculationResultsArgs = {
1373
- activity_id: Scalars['String']['input'];
1374
- pathway_id: Scalars['String']['input'];
1000
+ activity_id: Scalars['String'];
1001
+ pathway_id: Scalars['String'];
1375
1002
  };
1376
1003
  export type QueryChecklistArgs = {
1377
- id: Scalars['String']['input'];
1004
+ id: Scalars['String'];
1378
1005
  };
1379
1006
  export type QueryClinicalNoteArgs = {
1380
- id: Scalars['String']['input'];
1007
+ id: Scalars['String'];
1381
1008
  };
1382
1009
  export type QueryEmrReportArgs = {
1383
- id: Scalars['String']['input'];
1384
- };
1385
- export type QueryExtensionActivityRecordArgs = {
1386
- id: Scalars['String']['input'];
1387
- };
1388
- export type QueryFilterStakeholdersArgs = {
1389
- pathway_definition_ids?: InputMaybe<Array<Scalars['String']['input']>>;
1390
- release_ids?: InputMaybe<Array<Scalars['String']['input']>>;
1391
- stakeholder_definition_ids?: InputMaybe<Array<Scalars['String']['input']>>;
1010
+ id: Scalars['String'];
1392
1011
  };
1393
1012
  export type QueryFormArgs = {
1394
- id: Scalars['String']['input'];
1013
+ id: Scalars['String'];
1395
1014
  };
1396
1015
  export type QueryFormResponseArgs = {
1397
- activity_id: Scalars['String']['input'];
1398
- pathway_id: Scalars['String']['input'];
1016
+ activity_id: Scalars['String'];
1017
+ pathway_id: Scalars['String'];
1399
1018
  };
1400
1019
  export type QueryFormsArgs = {
1401
- pathway_definition_id: Scalars['String']['input'];
1402
- release_id?: InputMaybe<Scalars['String']['input']>;
1403
- };
1404
- export type QueryGetOrchestrationFactsFromPromptArgs = {
1405
- pathway_id: Scalars['String']['input'];
1406
- prompt: Scalars['String']['input'];
1407
- };
1408
- export type QueryHostedPagesLinkArgs = {
1409
- pathway_id: Scalars['String']['input'];
1410
- stakeholder_id: Scalars['String']['input'];
1020
+ pathway_definition_id: Scalars['String'];
1021
+ release_id?: InputMaybe<Scalars['String']>;
1411
1022
  };
1412
1023
  export type QueryHostedSessionActivitiesArgs = {
1413
- only_stakeholder_activities?: InputMaybe<Scalars['Boolean']['input']>;
1024
+ only_stakeholder_activities?: InputMaybe<Scalars['Boolean']>;
1414
1025
  };
1415
1026
  export type QueryMessageArgs = {
1416
- id: Scalars['String']['input'];
1027
+ id: Scalars['String'];
1417
1028
  };
1418
1029
  export type QueryMyActivitiesArgs = {
1419
- pagination?: InputMaybe<PaginationParams>;
1420
- pathway_id: Scalars['String']['input'];
1421
- sorting?: InputMaybe<SortingParams>;
1030
+ pathway_id: Scalars['String'];
1422
1031
  };
1423
1032
  export type QueryPathwayArgs = {
1424
- id: Scalars['String']['input'];
1033
+ id: Scalars['String'];
1425
1034
  };
1426
1035
  export type QueryPathwayActivitiesArgs = {
1427
- pagination?: InputMaybe<PaginationParams>;
1428
- pathway_id: Scalars['String']['input'];
1429
- sorting?: InputMaybe<SortingParams>;
1036
+ pathway_id: Scalars['String'];
1430
1037
  };
1431
1038
  export type QueryPathwayDataPointDefinitionsArgs = {
1432
1039
  filters?: InputMaybe<FilterPathwayDataPointDefinitionsParams>;
1433
- pathway_definition_id?: InputMaybe<Scalars['String']['input']>;
1434
- release_id: Scalars['String']['input'];
1040
+ pathway_definition_id?: InputMaybe<Scalars['String']>;
1041
+ release_id: Scalars['String'];
1435
1042
  };
1436
1043
  export type QueryPathwayElementsArgs = {
1437
- pathway_id: Scalars['String']['input'];
1438
- };
1439
- export type QueryPathwayFactsArgs = {
1440
- filters: PathwayFactsFilters;
1441
- pagination?: InputMaybe<PaginationParams>;
1442
- sorting?: InputMaybe<SortingParams>;
1044
+ pathway_id: Scalars['String'];
1443
1045
  };
1444
1046
  export type QueryPathwayStepActivitiesArgs = {
1445
- pathway_id: Scalars['String']['input'];
1446
- step_id: Scalars['String']['input'];
1047
+ pathway_id: Scalars['String'];
1048
+ step_id: Scalars['String'];
1447
1049
  };
1448
1050
  export type QueryPathwaysArgs = {
1449
1051
  filters?: InputMaybe<FilterPathways>;
@@ -1451,90 +1053,66 @@ export type QueryPathwaysArgs = {
1451
1053
  sorting?: InputMaybe<SortingParams>;
1452
1054
  };
1453
1055
  export type QueryPatientArgs = {
1454
- id: Scalars['String']['input'];
1455
- };
1456
- export type QueryPatientByIdentifierArgs = {
1457
- system: Scalars['String']['input'];
1458
- value: Scalars['String']['input'];
1056
+ id: Scalars['String'];
1459
1057
  };
1460
1058
  export type QueryPatientPathwaysArgs = {
1461
1059
  filters?: InputMaybe<FilterPatientPathways>;
1462
- patient_id: Scalars['String']['input'];
1060
+ patient_id: Scalars['String'];
1463
1061
  };
1464
1062
  export type QueryPatientsArgs = {
1465
1063
  filters?: InputMaybe<FilterPatients>;
1466
1064
  pagination?: InputMaybe<PaginationParams>;
1467
1065
  sorting?: InputMaybe<SortingParams>;
1468
1066
  };
1469
- export type QueryPublishedPathwayDefinitionsDashboardArgs = {
1470
- filters?: InputMaybe<FilterPathwayDefinitionsParams>;
1471
- pagination?: InputMaybe<PaginationParams>;
1472
- sorting?: InputMaybe<SortingParams>;
1067
+ export type QueryPluginActivityRecordArgs = {
1068
+ id: Scalars['String'];
1473
1069
  };
1474
1070
  export type QueryScheduledStepsArgs = {
1475
- pathway_id: Scalars['String']['input'];
1476
- };
1477
- export type QueryScheduledTracksForPathwayArgs = {
1478
- pathway_id: Scalars['String']['input'];
1071
+ pathway_id: Scalars['String'];
1479
1072
  };
1480
1073
  export type QuerySearchPatientsByNationalRegistryNumberArgs = {
1481
- national_registry_number: Scalars['String']['input'];
1074
+ national_registry_number: Scalars['String'];
1482
1075
  };
1483
1076
  export type QuerySearchPatientsByPatientCodeArgs = {
1484
- patient_code: Scalars['String']['input'];
1485
- };
1486
- export type QueryStakeholdersByDefinitionIdsArgs = {
1487
- stakeholder_definition_ids: Array<Scalars['String']['input']>;
1488
- };
1489
- export type QueryStakeholdersByPathwayDefinitionIdsArgs = {
1490
- pathway_definition_ids: Array<Scalars['String']['input']>;
1491
- };
1492
- export type QueryStakeholdersByReleaseIdsArgs = {
1493
- release_ids: Array<Scalars['String']['input']>;
1077
+ patient_code: Scalars['String'];
1494
1078
  };
1495
1079
  export type QueryWebhookCallArgs = {
1496
- webhook_call_id: Scalars['String']['input'];
1080
+ webhook_call_id: Scalars['String'];
1497
1081
  };
1498
1082
  export type QueryWebhookCallsArgs = {
1499
- pathway_id: Scalars['String']['input'];
1083
+ pathway_id: Scalars['String'];
1500
1084
  };
1501
1085
  export type QueryWebhookCallsForPathwayDefinitionArgs = {
1502
- pathway_definition_id: Scalars['String']['input'];
1086
+ pathway_definition_id: Scalars['String'];
1503
1087
  };
1504
1088
  export type Question = {
1505
1089
  __typename?: 'Question';
1506
1090
  dataPointValueType?: Maybe<DataPointValueType>;
1507
- definition_id: Scalars['String']['output'];
1508
- id: Scalars['ID']['output'];
1509
- key: Scalars['String']['output'];
1510
- metadata?: Maybe<Scalars['String']['output']>;
1091
+ definition_id: Scalars['String'];
1092
+ id: Scalars['ID'];
1093
+ key: Scalars['String'];
1511
1094
  options?: Maybe<Array<Option>>;
1512
1095
  questionConfig?: Maybe<QuestionConfig>;
1513
1096
  questionType?: Maybe<QuestionType>;
1514
1097
  rule?: Maybe<Rule>;
1515
- title: Scalars['String']['output'];
1098
+ title: Scalars['String'];
1516
1099
  userQuestionType?: Maybe<UserQuestionType>;
1517
1100
  };
1518
1101
  export type QuestionConfig = {
1519
1102
  __typename?: 'QuestionConfig';
1520
- date?: Maybe<DateConfig>;
1521
- mandatory: Scalars['Boolean']['output'];
1522
- multiple_select?: Maybe<MultipleSelectConfig>;
1523
- number?: Maybe<NumberConfig>;
1524
- phone?: Maybe<PhoneConfig>;
1525
- recode_enabled?: Maybe<Scalars['Boolean']['output']>;
1103
+ mandatory: Scalars['Boolean'];
1104
+ recode_enabled?: Maybe<Scalars['Boolean']>;
1526
1105
  slider?: Maybe<SliderConfig>;
1527
- use_select?: Maybe<Scalars['Boolean']['output']>;
1528
1106
  };
1529
1107
  export type QuestionResponseInput = {
1530
- question_id: Scalars['String']['input'];
1531
- value: Scalars['String']['input'];
1108
+ question_id: Scalars['String'];
1109
+ value: Scalars['String'];
1532
1110
  };
1533
1111
  export type QuestionRuleResult = {
1534
1112
  __typename?: 'QuestionRuleResult';
1535
- question_id: Scalars['String']['output'];
1536
- rule_id: Scalars['String']['output'];
1537
- satisfied: Scalars['Boolean']['output'];
1113
+ question_id: Scalars['String'];
1114
+ rule_id: Scalars['String'];
1115
+ satisfied: Scalars['Boolean'];
1538
1116
  };
1539
1117
  export declare enum QuestionType {
1540
1118
  Input = "INPUT",
@@ -1543,108 +1121,70 @@ export declare enum QuestionType {
1543
1121
  }
1544
1122
  export type Range = {
1545
1123
  __typename?: 'Range';
1546
- max?: Maybe<Scalars['Float']['output']>;
1547
- min?: Maybe<Scalars['Float']['output']>;
1548
- };
1549
- export type RangeConfig = {
1550
- __typename?: 'RangeConfig';
1551
- enabled?: Maybe<Scalars['Boolean']['output']>;
1552
- max?: Maybe<Scalars['Float']['output']>;
1553
- min?: Maybe<Scalars['Float']['output']>;
1124
+ max?: Maybe<Scalars['Float']>;
1125
+ min?: Maybe<Scalars['Float']>;
1554
1126
  };
1555
1127
  export type RetryActivityInput = {
1556
- activity_id: Scalars['String']['input'];
1128
+ activity_id: Scalars['String'];
1557
1129
  };
1558
1130
  export type RetryAllApiCallsInput = {
1559
- pathway_id: Scalars['String']['input'];
1131
+ pathway_id: Scalars['String'];
1560
1132
  };
1561
1133
  export type RetryAllFailedApiCallsInput = {
1562
- pathway_id: Scalars['String']['input'];
1134
+ pathway_id: Scalars['String'];
1563
1135
  };
1564
1136
  export type RetryAllFailedWebhookCallsForPathwayDefinitionInput = {
1565
- pathway_definition_id: Scalars['String']['input'];
1137
+ pathway_definition_id: Scalars['String'];
1566
1138
  };
1567
1139
  export type RetryAllFailedWebhookCallsInput = {
1568
- pathway_id: Scalars['String']['input'];
1140
+ pathway_id: Scalars['String'];
1569
1141
  };
1570
1142
  export type RetryAllWebhookCallsInput = {
1571
- pathway_id: Scalars['String']['input'];
1143
+ pathway_id: Scalars['String'];
1572
1144
  };
1573
1145
  export type RetryApiCallInput = {
1574
- api_call_id: Scalars['String']['input'];
1146
+ api_call_id: Scalars['String'];
1575
1147
  };
1576
1148
  export type RetryApiCallPayload = Payload & {
1577
1149
  __typename?: 'RetryApiCallPayload';
1578
1150
  api_call: ApiCall;
1579
- code: Scalars['String']['output'];
1580
- success: Scalars['Boolean']['output'];
1151
+ code: Scalars['String'];
1152
+ success: Scalars['Boolean'];
1581
1153
  };
1582
1154
  export type RetryPushToEmrInput = {
1583
- activity_id: Scalars['String']['input'];
1155
+ activity_id: Scalars['String'];
1584
1156
  };
1585
1157
  export type RetryWebhookCallInput = {
1586
- webhook_call_id: Scalars['String']['input'];
1158
+ webhook_call_id: Scalars['String'];
1587
1159
  };
1588
1160
  export type RetryWebhookCallPayload = Payload & {
1589
1161
  __typename?: 'RetryWebhookCallPayload';
1590
- code: Scalars['String']['output'];
1591
- success: Scalars['Boolean']['output'];
1162
+ code: Scalars['String'];
1163
+ success: Scalars['Boolean'];
1592
1164
  webhook_call: WebhookCall;
1593
1165
  };
1594
1166
  export type Rule = {
1595
1167
  __typename?: 'Rule';
1596
1168
  boolean_operator: BooleanOperator;
1597
1169
  conditions: Array<Condition>;
1598
- definition_id?: Maybe<Scalars['String']['output']>;
1599
- id: Scalars['ID']['output'];
1170
+ definition_id?: Maybe<Scalars['String']>;
1171
+ id: Scalars['ID'];
1600
1172
  };
1601
1173
  export type SaveBaselineInfoInput = {
1602
1174
  baseline_info: Array<BaselineInfoInput>;
1603
- pathway_id: Scalars['String']['input'];
1604
- };
1605
- export type ScheduleTrackInput = {
1606
- cancel_any_scheduled?: InputMaybe<Scalars['Boolean']['input']>;
1607
- pathway_id: Scalars['String']['input'];
1608
- scheduled_date: Scalars['String']['input'];
1609
- track_id: Scalars['String']['input'];
1610
- };
1611
- export type ScheduleTrackPayload = Payload & {
1612
- __typename?: 'ScheduleTrackPayload';
1613
- code: Scalars['String']['output'];
1614
- id: Scalars['String']['output'];
1615
- success: Scalars['Boolean']['output'];
1175
+ pathway_id: Scalars['String'];
1616
1176
  };
1617
1177
  export type ScheduledStepsPayload = Payload & {
1618
1178
  __typename?: 'ScheduledStepsPayload';
1619
- code: Scalars['String']['output'];
1179
+ code: Scalars['String'];
1620
1180
  steps: Array<Element>;
1621
- success: Scalars['Boolean']['output'];
1622
- };
1623
- export type ScheduledTrack = {
1624
- __typename?: 'ScheduledTrack';
1625
- created_by_user_id: Scalars['String']['output'];
1626
- created_date: Scalars['String']['output'];
1627
- id: Scalars['ID']['output'];
1628
- modified_date?: Maybe<Scalars['String']['output']>;
1629
- pathway_id: Scalars['String']['output'];
1630
- release_id: Scalars['String']['output'];
1631
- scheduled_date: Scalars['String']['output'];
1632
- status: Scalars['String']['output'];
1633
- tenant_id: Scalars['String']['output'];
1634
- title: Scalars['String']['output'];
1635
- track_definition_id: Scalars['String']['output'];
1636
- };
1637
- export type ScheduledTracksPayload = Payload & {
1638
- __typename?: 'ScheduledTracksPayload';
1639
- code: Scalars['String']['output'];
1640
- scheduled_tracks: Array<ScheduledTrack>;
1641
- success: Scalars['Boolean']['output'];
1181
+ success: Scalars['Boolean'];
1642
1182
  };
1643
1183
  export type SearchPatientsPayload = Payload & {
1644
1184
  __typename?: 'SearchPatientsPayload';
1645
- code: Scalars['String']['output'];
1185
+ code: Scalars['String'];
1646
1186
  patients: Array<User>;
1647
- success: Scalars['Boolean']['output'];
1187
+ success: Scalars['Boolean'];
1648
1188
  };
1649
1189
  export declare enum Sex {
1650
1190
  Female = "FEMALE",
@@ -1653,187 +1193,123 @@ export declare enum Sex {
1653
1193
  }
1654
1194
  export type SingleCalculationResult = {
1655
1195
  __typename?: 'SingleCalculationResult';
1656
- status?: Maybe<Scalars['String']['output']>;
1657
- subresult_id: Scalars['String']['output'];
1658
- unit?: Maybe<Scalars['String']['output']>;
1659
- value: Scalars['String']['output'];
1196
+ status?: Maybe<Scalars['String']>;
1197
+ subresult_id: Scalars['String'];
1198
+ unit?: Maybe<Scalars['String']>;
1199
+ value: Scalars['String'];
1660
1200
  value_type?: Maybe<DataPointValueType>;
1661
1201
  };
1662
1202
  export type SliderConfig = {
1663
1203
  __typename?: 'SliderConfig';
1664
- display_marks: Scalars['Boolean']['output'];
1665
- is_value_tooltip_on: Scalars['Boolean']['output'];
1666
- max: Scalars['Float']['output'];
1667
- max_label: Scalars['String']['output'];
1668
- min: Scalars['Float']['output'];
1669
- min_label: Scalars['String']['output'];
1670
- show_min_max_values: Scalars['Boolean']['output'];
1671
- step_value: Scalars['Float']['output'];
1204
+ display_marks: Scalars['Boolean'];
1205
+ is_value_tooltip_on: Scalars['Boolean'];
1206
+ max: Scalars['Float'];
1207
+ max_label: Scalars['String'];
1208
+ min: Scalars['Float'];
1209
+ min_label: Scalars['String'];
1210
+ show_min_max_values: Scalars['Boolean'];
1211
+ step_value: Scalars['Float'];
1672
1212
  };
1673
1213
  export type SortingOutput = {
1674
1214
  __typename?: 'SortingOutput';
1675
- direction: Scalars['String']['output'];
1676
- field: Scalars['String']['output'];
1215
+ direction: Scalars['String'];
1216
+ field: Scalars['String'];
1677
1217
  };
1678
1218
  export type SortingParams = {
1679
- direction: Scalars['String']['input'];
1680
- field: Scalars['String']['input'];
1681
- };
1682
- export type Stakeholder = {
1683
- __typename?: 'Stakeholder';
1684
- clinical_app_role: StakeholderClinicalAppRole;
1685
- definition_id: Scalars['String']['output'];
1686
- id: Scalars['ID']['output'];
1687
- label: StakeholderLabel;
1688
- release_id: Scalars['String']['output'];
1689
- version: Scalars['Float']['output'];
1690
- };
1691
- export declare enum StakeholderClinicalAppRole {
1692
- Caregiver = "CAREGIVER",
1693
- Patient = "PATIENT",
1694
- Physician = "PHYSICIAN"
1695
- }
1696
- export type StakeholderLabel = {
1697
- __typename?: 'StakeholderLabel';
1698
- en: Scalars['String']['output'];
1699
- };
1700
- export type StakeholdersPayload = Payload & {
1701
- __typename?: 'StakeholdersPayload';
1702
- code: Scalars['String']['output'];
1703
- stakeholders: Array<Stakeholder>;
1704
- success: Scalars['Boolean']['output'];
1219
+ direction: Scalars['String'];
1220
+ field: Scalars['String'];
1705
1221
  };
1706
1222
  export type StartHostedActivitySessionInput = {
1707
- cancel_url?: InputMaybe<Scalars['String']['input']>;
1708
- /** ISO 639-1 shortcode */
1709
- language?: InputMaybe<Scalars['String']['input']>;
1710
- pathway_id: Scalars['String']['input'];
1711
- stakeholder_id: Scalars['String']['input'];
1712
- success_url?: InputMaybe<Scalars['String']['input']>;
1223
+ cancel_url?: InputMaybe<Scalars['String']>;
1224
+ language?: InputMaybe<Language>;
1225
+ pathway_id: Scalars['String'];
1226
+ stakeholder_id: Scalars['String'];
1227
+ success_url?: InputMaybe<Scalars['String']>;
1713
1228
  };
1714
1229
  export type StartHostedActivitySessionPayload = Payload & {
1715
1230
  __typename?: 'StartHostedActivitySessionPayload';
1716
- code: Scalars['String']['output'];
1717
- language?: Maybe<Scalars['String']['output']>;
1718
- session_id: Scalars['String']['output'];
1719
- session_url: Scalars['String']['output'];
1720
- success: Scalars['Boolean']['output'];
1231
+ code: Scalars['String'];
1232
+ language?: Maybe<Language>;
1233
+ session_id: Scalars['String'];
1234
+ session_url: Scalars['String'];
1235
+ success: Scalars['Boolean'];
1721
1236
  };
1722
1237
  export type StartHostedActivitySessionViaHostedPagesLinkInput = {
1723
- hosted_pages_link_id: Scalars['String']['input'];
1724
- };
1725
- export type StartHostedPathwaySessionFromLinkInput = {
1726
- id: Scalars['String']['input'];
1727
- patient_identifier?: InputMaybe<IdentifierInput>;
1728
- };
1729
- export type StartHostedPathwaySessionFromLinkPayload = Payload & {
1730
- __typename?: 'StartHostedPathwaySessionFromLinkPayload';
1731
- code: Scalars['String']['output'];
1732
- session_url: Scalars['String']['output'];
1733
- success: Scalars['Boolean']['output'];
1238
+ hosted_pages_link_id: Scalars['String'];
1734
1239
  };
1735
1240
  export type StartHostedPathwaySessionInput = {
1736
- cancel_url?: InputMaybe<Scalars['String']['input']>;
1241
+ cancel_url?: InputMaybe<Scalars['String']>;
1737
1242
  data_points?: InputMaybe<Array<DataPointInput>>;
1738
- /** ISO 639-1 shortcode */
1739
- language?: InputMaybe<Scalars['String']['input']>;
1740
- pathway_definition_id: Scalars['String']['input'];
1741
- /** Unique id of the patient in Awell, if not provided, patient identifier will be tried to uniquely identify the patient. */
1742
- patient_id?: InputMaybe<Scalars['String']['input']>;
1743
- /** If no patient_id is provided this field will be used to uniquely identify the patient. */
1744
- patient_identifier?: InputMaybe<IdentifierInput>;
1745
- success_url?: InputMaybe<Scalars['String']['input']>;
1746
- /** Time-to-live of the session in seconds. This defaults to the maximal value of 3600 seconds (one hour). */
1747
- ttl?: InputMaybe<Scalars['Float']['input']>;
1243
+ language?: InputMaybe<Language>;
1244
+ pathway_definition_id: Scalars['String'];
1245
+ patient_id?: InputMaybe<Scalars['String']>;
1246
+ success_url?: InputMaybe<Scalars['String']>;
1748
1247
  };
1749
1248
  export type StartHostedPathwaySessionPayload = Payload & {
1750
1249
  __typename?: 'StartHostedPathwaySessionPayload';
1751
- code: Scalars['String']['output'];
1752
- pathway_id: Scalars['String']['output'];
1753
- session_id: Scalars['String']['output'];
1754
- session_url: Scalars['String']['output'];
1250
+ code: Scalars['String'];
1251
+ pathway_id: Scalars['String'];
1252
+ session_id: Scalars['String'];
1253
+ session_url: Scalars['String'];
1755
1254
  stakeholder: HostedSessionStakeholder;
1756
- success: Scalars['Boolean']['output'];
1255
+ success: Scalars['Boolean'];
1757
1256
  };
1758
1257
  export type StartPathwayInput = {
1759
1258
  data_points?: InputMaybe<Array<DataPointInput>>;
1760
- pathway_definition_id: Scalars['String']['input'];
1761
- patient_id: Scalars['String']['input'];
1762
- release_id?: InputMaybe<Scalars['String']['input']>;
1259
+ pathway_definition_id: Scalars['String'];
1260
+ patient_id: Scalars['String'];
1763
1261
  };
1764
- export type StartPathwayPayload = Payload & {
1262
+ export type StartPathwayPayload = {
1765
1263
  __typename?: 'StartPathwayPayload';
1766
- code: Scalars['String']['output'];
1767
- pathway_id: Scalars['String']['output'];
1768
- stakeholders: Array<Stakeholder>;
1769
- success: Scalars['Boolean']['output'];
1770
- };
1771
- export type StartPathwayWithPatientIdentifierInput = {
1772
- data_points?: InputMaybe<Array<DataPointInput>>;
1773
- pathway_definition_id: Scalars['String']['input'];
1774
- patient_identifier: IdentifierInput;
1775
- release_id?: InputMaybe<Scalars['String']['input']>;
1776
- };
1777
- export type StartPathwayWithPatientIdentifierPayload = Payload & {
1778
- __typename?: 'StartPathwayWithPatientIdentifierPayload';
1779
- code: Scalars['String']['output'];
1780
- pathway_id: Scalars['String']['output'];
1781
- patient_id: Scalars['String']['output'];
1782
- stakeholders: Array<Stakeholder>;
1783
- success: Scalars['Boolean']['output'];
1264
+ pathway_id: Scalars['String'];
1784
1265
  };
1785
1266
  export type StopPathwayInput = {
1786
- pathway_id: Scalars['String']['input'];
1787
- reason?: InputMaybe<Scalars['String']['input']>;
1267
+ pathway_id: Scalars['String'];
1268
+ reason?: InputMaybe<Scalars['String']>;
1788
1269
  };
1789
1270
  export type StopTrackInput = {
1790
- pathway_id: Scalars['String']['input'];
1791
- track_id: Scalars['String']['input'];
1271
+ pathway_id: Scalars['String'];
1272
+ track_id: Scalars['String'];
1792
1273
  };
1793
1274
  export type StopTrackPayload = Payload & {
1794
1275
  __typename?: 'StopTrackPayload';
1795
- code: Scalars['String']['output'];
1796
- success: Scalars['Boolean']['output'];
1276
+ code: Scalars['String'];
1277
+ success: Scalars['Boolean'];
1797
1278
  track: Element;
1798
1279
  };
1799
1280
  export type StringArrayFilter = {
1800
- in?: InputMaybe<Array<Scalars['String']['input']>>;
1281
+ in?: InputMaybe<Array<Scalars['String']>>;
1801
1282
  };
1802
1283
  export type SubActivity = {
1803
1284
  __typename?: 'SubActivity';
1804
1285
  action: ActivityAction;
1805
- date: Scalars['String']['output'];
1806
- error?: Maybe<Scalars['String']['output']>;
1807
- error_category?: Maybe<Scalars['String']['output']>;
1808
- id: Scalars['String']['output'];
1286
+ date: Scalars['String'];
1287
+ error?: Maybe<Scalars['String']>;
1288
+ id: Scalars['String'];
1809
1289
  object?: Maybe<ActivityObject>;
1810
1290
  subject: ActivitySubject;
1811
- text?: Maybe<TranslatedText>;
1812
1291
  };
1813
1292
  export type SubmitChecklistInput = {
1814
- activity_id: Scalars['String']['input'];
1293
+ activity_id: Scalars['String'];
1815
1294
  };
1816
- export type SubmitChecklistPayload = Payload & {
1295
+ export type SubmitChecklistPayload = {
1817
1296
  __typename?: 'SubmitChecklistPayload';
1818
1297
  activity: Activity;
1819
- code: Scalars['String']['output'];
1820
- success: Scalars['Boolean']['output'];
1821
1298
  };
1822
1299
  export type SubmitFormResponseInput = {
1823
- activity_id: Scalars['String']['input'];
1300
+ activity_id: Scalars['String'];
1824
1301
  response: Array<QuestionResponseInput>;
1825
1302
  };
1826
1303
  export type SubmitFormResponsePayload = Payload & {
1827
1304
  __typename?: 'SubmitFormResponsePayload';
1828
1305
  activity: Activity;
1829
- code: Scalars['String']['output'];
1830
- success: Scalars['Boolean']['output'];
1306
+ code: Scalars['String'];
1307
+ success: Scalars['Boolean'];
1831
1308
  };
1832
1309
  export type Subscription = {
1833
1310
  __typename?: 'Subscription';
1834
1311
  activityCompleted: Activity;
1835
1312
  activityCreated: Activity;
1836
- activityExpired: Activity;
1837
1313
  activityUpdated: Activity;
1838
1314
  apiCallCreated: ApiCall;
1839
1315
  apiCallUpdated: ApiCall;
@@ -1843,7 +1319,6 @@ export type Subscription = {
1843
1319
  pathwayUpdated: Pathway;
1844
1320
  sessionActivityCompleted: Activity;
1845
1321
  sessionActivityCreated: Activity;
1846
- sessionActivityExpired: Activity;
1847
1322
  sessionActivityUpdated: Activity;
1848
1323
  sessionCompleted: HostedSession;
1849
1324
  sessionExpired: HostedSession;
@@ -1851,77 +1326,70 @@ export type Subscription = {
1851
1326
  webhookCallUpdated: WebhookCall;
1852
1327
  };
1853
1328
  export type SubscriptionActivityCompletedArgs = {
1854
- only_patient_activities?: InputMaybe<Scalars['Boolean']['input']>;
1855
- pathway_id?: InputMaybe<Scalars['String']['input']>;
1329
+ only_patient_activities?: InputMaybe<Scalars['Boolean']>;
1330
+ pathway_id?: InputMaybe<Scalars['String']>;
1856
1331
  };
1857
1332
  export type SubscriptionActivityCreatedArgs = {
1858
- only_patient_activities?: InputMaybe<Scalars['Boolean']['input']>;
1859
- pathway_id?: InputMaybe<Scalars['String']['input']>;
1860
- };
1861
- export type SubscriptionActivityExpiredArgs = {
1862
- only_patient_activities?: InputMaybe<Scalars['Boolean']['input']>;
1863
- pathway_id?: InputMaybe<Scalars['String']['input']>;
1333
+ only_patient_activities?: InputMaybe<Scalars['Boolean']>;
1334
+ pathway_id?: InputMaybe<Scalars['String']>;
1864
1335
  };
1865
1336
  export type SubscriptionActivityUpdatedArgs = {
1866
- only_patient_activities?: InputMaybe<Scalars['Boolean']['input']>;
1867
- pathway_id?: InputMaybe<Scalars['String']['input']>;
1337
+ only_patient_activities?: InputMaybe<Scalars['Boolean']>;
1338
+ pathway_id?: InputMaybe<Scalars['String']>;
1868
1339
  };
1869
1340
  export type SubscriptionApiCallCreatedArgs = {
1870
- pathway_id: Scalars['String']['input'];
1341
+ pathway_id: Scalars['String'];
1871
1342
  };
1872
1343
  export type SubscriptionApiCallUpdatedArgs = {
1873
- pathway_id: Scalars['String']['input'];
1344
+ pathway_id: Scalars['String'];
1874
1345
  };
1875
1346
  export type SubscriptionElementCompletedArgs = {
1876
1347
  element_type?: InputMaybe<ElementType>;
1877
- pathway_id: Scalars['String']['input'];
1348
+ pathway_id: Scalars['String'];
1878
1349
  };
1879
1350
  export type SubscriptionElementCreatedArgs = {
1880
1351
  element_type?: InputMaybe<ElementType>;
1881
- pathway_id: Scalars['String']['input'];
1352
+ pathway_id: Scalars['String'];
1882
1353
  };
1883
1354
  export type SubscriptionElementUpdatedArgs = {
1884
1355
  element_type?: InputMaybe<ElementType>;
1885
- pathway_id: Scalars['String']['input'];
1356
+ pathway_id: Scalars['String'];
1886
1357
  };
1887
1358
  export type SubscriptionPathwayUpdatedArgs = {
1888
- id: Scalars['ID']['input'];
1359
+ id: Scalars['ID'];
1889
1360
  };
1890
1361
  export type SubscriptionSessionActivityCompletedArgs = {
1891
- only_stakeholder_activities?: InputMaybe<Scalars['Boolean']['input']>;
1362
+ only_stakeholder_activities?: InputMaybe<Scalars['Boolean']>;
1892
1363
  };
1893
1364
  export type SubscriptionSessionActivityCreatedArgs = {
1894
- only_stakeholder_activities?: InputMaybe<Scalars['Boolean']['input']>;
1895
- };
1896
- export type SubscriptionSessionActivityExpiredArgs = {
1897
- only_stakeholder_activities?: InputMaybe<Scalars['Boolean']['input']>;
1365
+ only_stakeholder_activities?: InputMaybe<Scalars['Boolean']>;
1898
1366
  };
1899
1367
  export type SubscriptionSessionActivityUpdatedArgs = {
1900
- only_stakeholder_activities?: InputMaybe<Scalars['Boolean']['input']>;
1368
+ only_stakeholder_activities?: InputMaybe<Scalars['Boolean']>;
1901
1369
  };
1902
1370
  export type SubscriptionWebhookCallCreatedArgs = {
1903
- pathway_id: Scalars['String']['input'];
1371
+ pathway_id: Scalars['String'];
1904
1372
  };
1905
1373
  export type SubscriptionWebhookCallUpdatedArgs = {
1906
- pathway_id: Scalars['String']['input'];
1374
+ pathway_id: Scalars['String'];
1907
1375
  };
1908
1376
  export type Swimlane = {
1909
1377
  __typename?: 'Swimlane';
1910
- id: Scalars['ID']['output'];
1911
- title: Scalars['String']['output'];
1378
+ id: Scalars['ID'];
1379
+ title: Scalars['String'];
1912
1380
  };
1913
1381
  export type SwimlaneItem = {
1914
1382
  __typename?: 'SwimlaneItem';
1915
1383
  category: SwimlaneItemCategory;
1916
- column_index: Scalars['Float']['output'];
1917
- date?: Maybe<Scalars['SafeDate']['output']>;
1384
+ column_index: Scalars['Float'];
1385
+ date?: Maybe<Scalars['SafeDate']>;
1918
1386
  documentation?: Maybe<FormattedText>;
1919
- id: Scalars['ID']['output'];
1920
- info?: Maybe<Scalars['String']['output']>;
1921
- lane_id: Scalars['ID']['output'];
1922
- row_index: Scalars['Float']['output'];
1923
- title: Scalars['String']['output'];
1924
- track_id?: Maybe<Scalars['ID']['output']>;
1387
+ id: Scalars['ID'];
1388
+ info?: Maybe<Scalars['String']>;
1389
+ lane_id: Scalars['ID'];
1390
+ row_index: Scalars['Float'];
1391
+ title: Scalars['String'];
1392
+ track_id?: Maybe<Scalars['ID']>;
1925
1393
  type: SwimlaneItemType;
1926
1394
  };
1927
1395
  export declare enum SwimlaneItemCategory {
@@ -1941,9 +1409,9 @@ export declare enum SwimlaneItemType {
1941
1409
  }
1942
1410
  export type SwimlaneLink = {
1943
1411
  __typename?: 'SwimlaneLink';
1944
- destination_id: Scalars['ID']['output'];
1945
- id: Scalars['ID']['output'];
1946
- origin_id: Scalars['ID']['output'];
1412
+ destination_id: Scalars['ID'];
1413
+ id: Scalars['ID'];
1414
+ origin_id: Scalars['ID'];
1947
1415
  };
1948
1416
  export type Swimlanes = {
1949
1417
  __typename?: 'Swimlanes';
@@ -1953,100 +1421,79 @@ export type Swimlanes = {
1953
1421
  };
1954
1422
  export type Tenant = {
1955
1423
  __typename?: 'Tenant';
1956
- accent_color: Scalars['String']['output'];
1957
- hosted_page_title: Scalars['String']['output'];
1958
- identifier_systems?: Maybe<Array<IdentifierSystem>>;
1959
- is_default: Scalars['Boolean']['output'];
1960
- logo_path: Scalars['String']['output'];
1961
- name: Scalars['String']['output'];
1424
+ accent_color: Scalars['String'];
1425
+ hosted_page_title: Scalars['String'];
1426
+ is_default: Scalars['Boolean'];
1427
+ logo_path: Scalars['String'];
1428
+ name: Scalars['String'];
1962
1429
  };
1963
1430
  export type TextFilter = {
1964
- contains?: InputMaybe<Scalars['String']['input']>;
1965
- eq?: InputMaybe<Scalars['String']['input']>;
1431
+ contains?: InputMaybe<Scalars['String']>;
1432
+ eq?: InputMaybe<Scalars['String']>;
1966
1433
  };
1967
1434
  export type TextFilterContains = {
1968
- contains?: InputMaybe<Scalars['String']['input']>;
1435
+ contains?: InputMaybe<Scalars['String']>;
1969
1436
  };
1970
1437
  export type TextFilterEquals = {
1971
- eq?: InputMaybe<Scalars['String']['input']>;
1438
+ eq?: InputMaybe<Scalars['String']>;
1972
1439
  };
1973
1440
  export type Track = {
1974
1441
  __typename?: 'Track';
1975
- /** Whether the track can be triggered manually (i.e. via addTrack or scheduleTrack mutations) */
1976
- can_trigger_manually?: Maybe<Scalars['Boolean']['output']>;
1977
- /** The definition ID of the Track, can be used for adding or scheduling */
1978
- id: Scalars['ID']['output'];
1979
- release_id?: Maybe<Scalars['String']['output']>;
1980
- title: Scalars['String']['output'];
1981
- };
1982
- export type TracksPayload = Payload & {
1983
- __typename?: 'TracksPayload';
1984
- code: Scalars['String']['output'];
1985
- success: Scalars['Boolean']['output'];
1986
- tracks: Array<Track>;
1442
+ id: Scalars['ID'];
1443
+ title: Scalars['String'];
1987
1444
  };
1988
1445
  export type TranslatedText = {
1989
1446
  __typename?: 'TranslatedText';
1990
- en?: Maybe<Scalars['String']['output']>;
1447
+ en?: Maybe<Scalars['String']>;
1991
1448
  };
1992
1449
  export type UpdateBaselineInfoInput = {
1993
1450
  baseline_info: Array<BaselineInfoInput>;
1994
- pathway_id: Scalars['String']['input'];
1995
- };
1996
- export type UpdatePatientDemographicsQueryInput = {
1997
- /** Index from the array returned from the PDQ response, which was used to create the patient */
1998
- created_patient_entry_index: Scalars['Float']['input'];
1999
- /** Patient ID of the created patient in Awell */
2000
- created_patient_id: Scalars['String']['input'];
2001
- query_id: Scalars['String']['input'];
2002
- };
2003
- export type UpdatePatientDemographicsQueryPayload = Payload & {
2004
- __typename?: 'UpdatePatientDemographicsQueryPayload';
2005
- code: Scalars['String']['output'];
2006
- created_patient_entry_index: Scalars['Float']['output'];
2007
- created_patient_id: Scalars['String']['output'];
2008
- success: Scalars['Boolean']['output'];
1451
+ pathway_id: Scalars['String'];
2009
1452
  };
2010
1453
  export type UpdatePatientInput = {
2011
- patient_id: Scalars['String']['input'];
1454
+ patient_id: Scalars['String'];
2012
1455
  profile: PatientProfileInput;
2013
1456
  };
2014
1457
  export type UpdatePatientLanguageInput = {
2015
- /** ISO 639-1 shortcode */
2016
- preferred_language: Scalars['String']['input'];
1458
+ preferred_language: Scalars['String'];
2017
1459
  };
2018
1460
  export type UpdatePatientLanguagePayload = Payload & {
2019
1461
  __typename?: 'UpdatePatientLanguagePayload';
2020
- code: Scalars['String']['output'];
2021
- success: Scalars['Boolean']['output'];
1462
+ code: Scalars['String'];
1463
+ success: Scalars['Boolean'];
2022
1464
  user?: Maybe<User>;
2023
1465
  };
2024
1466
  export type UpdatePatientPayload = Payload & {
2025
1467
  __typename?: 'UpdatePatientPayload';
2026
- code: Scalars['String']['output'];
1468
+ code: Scalars['String'];
2027
1469
  patient?: Maybe<User>;
2028
- success: Scalars['Boolean']['output'];
1470
+ success: Scalars['Boolean'];
2029
1471
  };
2030
1472
  export type User = {
2031
1473
  __typename?: 'User';
2032
- id: Scalars['ID']['output'];
1474
+ id: Scalars['ID'];
2033
1475
  profile?: Maybe<UserProfile>;
2034
- tenant_id: Scalars['String']['output'];
1476
+ tenant: Tenant;
1477
+ };
1478
+ export type UserPayload = Payload & {
1479
+ __typename?: 'UserPayload';
1480
+ code: Scalars['String'];
1481
+ success: Scalars['Boolean'];
1482
+ user: User;
2035
1483
  };
2036
1484
  export type UserProfile = {
2037
1485
  __typename?: 'UserProfile';
2038
1486
  address?: Maybe<Address>;
2039
- birth_date?: Maybe<Scalars['String']['output']>;
2040
- email?: Maybe<Scalars['String']['output']>;
2041
- first_name?: Maybe<Scalars['String']['output']>;
2042
- identifier?: Maybe<Array<Identifier>>;
2043
- last_name?: Maybe<Scalars['String']['output']>;
2044
- mobile_phone?: Maybe<Scalars['String']['output']>;
2045
- name?: Maybe<Scalars['String']['output']>;
2046
- national_registry_number?: Maybe<Scalars['String']['output']>;
2047
- patient_code?: Maybe<Scalars['String']['output']>;
2048
- phone?: Maybe<Scalars['String']['output']>;
2049
- preferred_language?: Maybe<Scalars['String']['output']>;
1487
+ birth_date?: Maybe<Scalars['String']>;
1488
+ email?: Maybe<Scalars['String']>;
1489
+ first_name?: Maybe<Scalars['String']>;
1490
+ last_name?: Maybe<Scalars['String']>;
1491
+ mobile_phone?: Maybe<Scalars['String']>;
1492
+ name?: Maybe<Scalars['String']>;
1493
+ national_registry_number?: Maybe<Scalars['String']>;
1494
+ patient_code?: Maybe<Scalars['String']>;
1495
+ phone?: Maybe<Scalars['String']>;
1496
+ preferred_language?: Maybe<Scalars['String']>;
2050
1497
  /** Sex code as defined by ISO standard IEC_5218, 0 - NOT_KNOWN, 1 - MALE, 2 - FEMALE */
2051
1498
  sex?: Maybe<Sex>;
2052
1499
  };
@@ -2061,48 +1508,60 @@ export declare enum UserQuestionType {
2061
1508
  ShortText = "SHORT_TEXT",
2062
1509
  Signature = "SIGNATURE",
2063
1510
  Slider = "SLIDER",
2064
- Telephone = "TELEPHONE",
2065
1511
  YesNo = "YES_NO"
2066
1512
  }
2067
1513
  export type WebhookCall = {
2068
1514
  __typename?: 'WebhookCall';
2069
- created_at: Scalars['String']['output'];
2070
- event_type: Scalars['String']['output'];
2071
- id: Scalars['ID']['output'];
1515
+ created_at: Scalars['String'];
1516
+ event_type: Scalars['String'];
1517
+ id: Scalars['ID'];
2072
1518
  pathway?: Maybe<ApiPathwayContext>;
2073
1519
  request: WebhookCallRequest;
2074
1520
  responses: Array<WebhookCallResponse>;
2075
- status: Scalars['String']['output'];
2076
- webhook_id: Scalars['String']['output'];
2077
- webhook_name: Scalars['String']['output'];
1521
+ status: Scalars['String'];
1522
+ webhook_id: Scalars['String'];
1523
+ webhook_name: Scalars['String'];
2078
1524
  };
2079
1525
  export type WebhookCallHeader = {
2080
1526
  __typename?: 'WebhookCallHeader';
2081
- key: Scalars['String']['output'];
2082
- value: Scalars['String']['output'];
1527
+ key: Scalars['String'];
1528
+ value: Scalars['String'];
2083
1529
  };
2084
1530
  export type WebhookCallPayload = Payload & {
2085
1531
  __typename?: 'WebhookCallPayload';
2086
- code: Scalars['String']['output'];
2087
- success: Scalars['Boolean']['output'];
1532
+ code: Scalars['String'];
1533
+ success: Scalars['Boolean'];
2088
1534
  webhook_call: WebhookCall;
2089
1535
  };
2090
1536
  export type WebhookCallRequest = {
2091
1537
  __typename?: 'WebhookCallRequest';
2092
- body: Scalars['String']['output'];
2093
- endpoint: Scalars['String']['output'];
1538
+ body: Scalars['String'];
1539
+ endpoint: Scalars['String'];
2094
1540
  headers: Array<WebhookCallHeader>;
2095
- method: Scalars['String']['output'];
1541
+ method: Scalars['String'];
2096
1542
  };
2097
1543
  export type WebhookCallResponse = {
2098
1544
  __typename?: 'WebhookCallResponse';
2099
- body: Scalars['String']['output'];
2100
- date: Scalars['String']['output'];
2101
- status: Scalars['Float']['output'];
1545
+ body: Scalars['String'];
1546
+ date: Scalars['String'];
1547
+ status: Scalars['Float'];
2102
1548
  };
2103
1549
  export type WebhookCallsPayload = Payload & {
2104
1550
  __typename?: 'WebhookCallsPayload';
2105
- code: Scalars['String']['output'];
2106
- success: Scalars['Boolean']['output'];
1551
+ code: Scalars['String'];
1552
+ success: Scalars['Boolean'];
2107
1553
  webhook_calls: Array<WebhookCall>;
2108
1554
  };
1555
+ export type StartPathwayMutationVariables = Exact<{
1556
+ input: StartPathwayInput;
1557
+ }>;
1558
+ export type StartPathwayMutation = {
1559
+ __typename?: 'Mutation';
1560
+ startPathway: {
1561
+ __typename?: 'StartPathwayPayload';
1562
+ pathway_id: string;
1563
+ };
1564
+ };
1565
+ export declare const StartPathwayDocument: DocumentNode<StartPathwayMutation, Exact<{
1566
+ input: StartPathwayInput;
1567
+ }>>;