@brightoutcome/guidistry-client 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.d.ts +2059 -170
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -341,6 +341,43 @@ export interface paths {
|
|
|
341
341
|
patch?: never;
|
|
342
342
|
trace?: never;
|
|
343
343
|
};
|
|
344
|
+
"/v1/alerts": {
|
|
345
|
+
parameters: {
|
|
346
|
+
query?: never;
|
|
347
|
+
header?: never;
|
|
348
|
+
path?: never;
|
|
349
|
+
cookie?: never;
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* Questionnaire alerts in your cohorts
|
|
353
|
+
* @description Safety first, then urgent, then watch; newest first within each.
|
|
354
|
+
*/
|
|
355
|
+
get: operations["list_alerts_v1_alerts_get"];
|
|
356
|
+
put?: never;
|
|
357
|
+
post?: never;
|
|
358
|
+
delete?: never;
|
|
359
|
+
options?: never;
|
|
360
|
+
head?: never;
|
|
361
|
+
patch?: never;
|
|
362
|
+
trace?: never;
|
|
363
|
+
};
|
|
364
|
+
"/v1/alerts/{alert_id}/events": {
|
|
365
|
+
parameters: {
|
|
366
|
+
query?: never;
|
|
367
|
+
header?: never;
|
|
368
|
+
path?: never;
|
|
369
|
+
cookie?: never;
|
|
370
|
+
};
|
|
371
|
+
get?: never;
|
|
372
|
+
put?: never;
|
|
373
|
+
/** Acknowledge, close (with an outcome) or reopen an alert */
|
|
374
|
+
post: operations["alert_event_v1_alerts__alert_id__events_post"];
|
|
375
|
+
delete?: never;
|
|
376
|
+
options?: never;
|
|
377
|
+
head?: never;
|
|
378
|
+
patch?: never;
|
|
379
|
+
trace?: never;
|
|
380
|
+
};
|
|
344
381
|
"/v1/audit-events": {
|
|
345
382
|
parameters: {
|
|
346
383
|
query?: never;
|
|
@@ -439,6 +476,40 @@ export interface paths {
|
|
|
439
476
|
patch?: never;
|
|
440
477
|
trace?: never;
|
|
441
478
|
};
|
|
479
|
+
"/v1/cohorts/{cohort_id}/questionnaires": {
|
|
480
|
+
parameters: {
|
|
481
|
+
query?: never;
|
|
482
|
+
header?: never;
|
|
483
|
+
path?: never;
|
|
484
|
+
cookie?: never;
|
|
485
|
+
};
|
|
486
|
+
/** Each member's questionnaires: due now, last answered, missed in a row, alerts */
|
|
487
|
+
get: operations["cohort_questionnaires_v1_cohorts__cohort_id__questionnaires_get"];
|
|
488
|
+
put?: never;
|
|
489
|
+
post?: never;
|
|
490
|
+
delete?: never;
|
|
491
|
+
options?: never;
|
|
492
|
+
head?: never;
|
|
493
|
+
patch?: never;
|
|
494
|
+
trace?: never;
|
|
495
|
+
};
|
|
496
|
+
"/v1/cohorts/{cohort_id}/review-summary": {
|
|
497
|
+
parameters: {
|
|
498
|
+
query?: never;
|
|
499
|
+
header?: never;
|
|
500
|
+
path?: never;
|
|
501
|
+
cookie?: never;
|
|
502
|
+
};
|
|
503
|
+
/** After-visit review totals for a cohort */
|
|
504
|
+
get: operations["cohort_review_summary_v1_cohorts__cohort_id__review_summary_get"];
|
|
505
|
+
put?: never;
|
|
506
|
+
post?: never;
|
|
507
|
+
delete?: never;
|
|
508
|
+
options?: never;
|
|
509
|
+
head?: never;
|
|
510
|
+
patch?: never;
|
|
511
|
+
trace?: never;
|
|
512
|
+
};
|
|
442
513
|
"/v1/cohorts/{cohort_id}/settings": {
|
|
443
514
|
parameters: {
|
|
444
515
|
query?: never;
|
|
@@ -958,7 +1029,12 @@ export interface paths {
|
|
|
958
1029
|
path?: never;
|
|
959
1030
|
cookie?: never;
|
|
960
1031
|
};
|
|
961
|
-
|
|
1032
|
+
/**
|
|
1033
|
+
* An enrollment's plays of practices, newest first (module 6a)
|
|
1034
|
+
* @description Participant: their own; staff: within scope. Each play with its start, completion and
|
|
1035
|
+
* minutes, so pages can date plays from earlier weeks.
|
|
1036
|
+
*/
|
|
1037
|
+
get: operations["list_listens_v1_enrollments__enrollment_id__listens_get"];
|
|
962
1038
|
put?: never;
|
|
963
1039
|
/** Start a listen to a practice's recording or video */
|
|
964
1040
|
post: operations["start_listen_v1_enrollments__enrollment_id__listens_post"];
|
|
@@ -1007,6 +1083,74 @@ export interface paths {
|
|
|
1007
1083
|
patch?: never;
|
|
1008
1084
|
trace?: never;
|
|
1009
1085
|
};
|
|
1086
|
+
"/v1/enrollments/{enrollment_id}/questionnaire-requests": {
|
|
1087
|
+
parameters: {
|
|
1088
|
+
query?: never;
|
|
1089
|
+
header?: never;
|
|
1090
|
+
path?: never;
|
|
1091
|
+
cookie?: never;
|
|
1092
|
+
};
|
|
1093
|
+
/** Requests sent to this patient, newest first */
|
|
1094
|
+
get: operations["list_requests_v1_enrollments__enrollment_id__questionnaire_requests_get"];
|
|
1095
|
+
put?: never;
|
|
1096
|
+
/**
|
|
1097
|
+
* Ask a patient for questionnaires: at sign-in, or by an emailed link
|
|
1098
|
+
* @description ``login_prompt``: shown after the patient signs in and the site agreement.
|
|
1099
|
+
* ``email_link``: an email with a single-use link (expires after
|
|
1100
|
+
* ``questionnaires.link_expiry_hours``); the email has the practice's name and no health
|
|
1101
|
+
* details; the link opens only these questionnaires and shows no name or earlier answers.
|
|
1102
|
+
*/
|
|
1103
|
+
post: operations["create_request_v1_enrollments__enrollment_id__questionnaire_requests_post"];
|
|
1104
|
+
delete?: never;
|
|
1105
|
+
options?: never;
|
|
1106
|
+
head?: never;
|
|
1107
|
+
patch?: never;
|
|
1108
|
+
trace?: never;
|
|
1109
|
+
};
|
|
1110
|
+
"/v1/enrollments/{enrollment_id}/questionnaire-responses": {
|
|
1111
|
+
parameters: {
|
|
1112
|
+
query?: never;
|
|
1113
|
+
header?: never;
|
|
1114
|
+
path?: never;
|
|
1115
|
+
cookie?: never;
|
|
1116
|
+
};
|
|
1117
|
+
/** Answers and scores, newest first (own, or the care team's patients) */
|
|
1118
|
+
get: operations["list_responses_v1_enrollments__enrollment_id__questionnaire_responses_get"];
|
|
1119
|
+
put?: never;
|
|
1120
|
+
/**
|
|
1121
|
+
* Answer a questionnaire (patients), or enter the answers by phone or in person
|
|
1122
|
+
* @description The server scores every answer and runs the alert rules in the same transaction. A
|
|
1123
|
+
* re-send with the same ``client_submission_id`` returns the first answer. A positive PHQ-2
|
|
1124
|
+
* (or PHQ-9 item 9 above 0) returns ``safety``: show its message as is.
|
|
1125
|
+
*/
|
|
1126
|
+
post: operations["submit_response_v1_enrollments__enrollment_id__questionnaire_responses_post"];
|
|
1127
|
+
delete?: never;
|
|
1128
|
+
options?: never;
|
|
1129
|
+
head?: never;
|
|
1130
|
+
patch?: never;
|
|
1131
|
+
trace?: never;
|
|
1132
|
+
};
|
|
1133
|
+
"/v1/enrollments/{enrollment_id}/questionnaires": {
|
|
1134
|
+
parameters: {
|
|
1135
|
+
query?: never;
|
|
1136
|
+
header?: never;
|
|
1137
|
+
path?: never;
|
|
1138
|
+
cookie?: never;
|
|
1139
|
+
};
|
|
1140
|
+
/**
|
|
1141
|
+
* What's due: check-ins, timepoints and open requests
|
|
1142
|
+
* @description Calculated from the schedule, visits, pauses and answers (last 60 days and what opens
|
|
1143
|
+
* next). Reading also raises the missed-check-ins alert when it's due.
|
|
1144
|
+
*/
|
|
1145
|
+
get: operations["list_questionnaires_v1_enrollments__enrollment_id__questionnaires_get"];
|
|
1146
|
+
put?: never;
|
|
1147
|
+
post?: never;
|
|
1148
|
+
delete?: never;
|
|
1149
|
+
options?: never;
|
|
1150
|
+
head?: never;
|
|
1151
|
+
patch?: never;
|
|
1152
|
+
trace?: never;
|
|
1153
|
+
};
|
|
1010
1154
|
"/v1/enrollments/{enrollment_id}/reviews": {
|
|
1011
1155
|
parameters: {
|
|
1012
1156
|
query?: never;
|
|
@@ -1248,6 +1392,28 @@ export interface paths {
|
|
|
1248
1392
|
patch?: never;
|
|
1249
1393
|
trace?: never;
|
|
1250
1394
|
};
|
|
1395
|
+
"/v1/instruments": {
|
|
1396
|
+
parameters: {
|
|
1397
|
+
query?: never;
|
|
1398
|
+
header?: never;
|
|
1399
|
+
path?: never;
|
|
1400
|
+
cookie?: never;
|
|
1401
|
+
};
|
|
1402
|
+
/**
|
|
1403
|
+
* Questionnaires that can be assigned here (library and PROMIS)
|
|
1404
|
+
* @description Filtered by licence: public and BrightOutcome-licensed instruments, the practice's
|
|
1405
|
+
* own, and those licensed to it. With ``q``, PROMIS forms and batteries from the AC API
|
|
1406
|
+
* are searched too (imported into the library on first use).
|
|
1407
|
+
*/
|
|
1408
|
+
get: operations["list_instruments_v1_instruments_get"];
|
|
1409
|
+
put?: never;
|
|
1410
|
+
post?: never;
|
|
1411
|
+
delete?: never;
|
|
1412
|
+
options?: never;
|
|
1413
|
+
head?: never;
|
|
1414
|
+
patch?: never;
|
|
1415
|
+
trace?: never;
|
|
1416
|
+
};
|
|
1251
1417
|
"/v1/invitations": {
|
|
1252
1418
|
parameters: {
|
|
1253
1419
|
query?: never;
|
|
@@ -1638,6 +1804,23 @@ export interface paths {
|
|
|
1638
1804
|
patch?: never;
|
|
1639
1805
|
trace?: never;
|
|
1640
1806
|
};
|
|
1807
|
+
"/v1/patients/{patient_id}/questionnaires": {
|
|
1808
|
+
parameters: {
|
|
1809
|
+
query?: never;
|
|
1810
|
+
header?: never;
|
|
1811
|
+
path?: never;
|
|
1812
|
+
cookie?: never;
|
|
1813
|
+
};
|
|
1814
|
+
/** A patient's answers and scores across their enrollments you can see */
|
|
1815
|
+
get: operations["patient_responses_v1_patients__patient_id__questionnaires_get"];
|
|
1816
|
+
put?: never;
|
|
1817
|
+
post?: never;
|
|
1818
|
+
delete?: never;
|
|
1819
|
+
options?: never;
|
|
1820
|
+
head?: never;
|
|
1821
|
+
patch?: never;
|
|
1822
|
+
trace?: never;
|
|
1823
|
+
};
|
|
1641
1824
|
"/v1/patients/{record_id}": {
|
|
1642
1825
|
parameters: {
|
|
1643
1826
|
query?: never;
|
|
@@ -1851,6 +2034,91 @@ export interface paths {
|
|
|
1851
2034
|
patch?: never;
|
|
1852
2035
|
trace?: never;
|
|
1853
2036
|
};
|
|
2037
|
+
"/v1/programs/{program_id}/review-summary": {
|
|
2038
|
+
parameters: {
|
|
2039
|
+
query?: never;
|
|
2040
|
+
header?: never;
|
|
2041
|
+
path?: never;
|
|
2042
|
+
cookie?: never;
|
|
2043
|
+
};
|
|
2044
|
+
/** After-visit review totals for a program */
|
|
2045
|
+
get: operations["program_review_summary_v1_programs__program_id__review_summary_get"];
|
|
2046
|
+
put?: never;
|
|
2047
|
+
post?: never;
|
|
2048
|
+
delete?: never;
|
|
2049
|
+
options?: never;
|
|
2050
|
+
head?: never;
|
|
2051
|
+
patch?: never;
|
|
2052
|
+
trace?: never;
|
|
2053
|
+
};
|
|
2054
|
+
"/v1/questionnaire-forms/{code}": {
|
|
2055
|
+
parameters: {
|
|
2056
|
+
query?: never;
|
|
2057
|
+
header?: never;
|
|
2058
|
+
path?: never;
|
|
2059
|
+
cookie?: never;
|
|
2060
|
+
};
|
|
2061
|
+
/** A questionnaire's exact wording, options and attribution */
|
|
2062
|
+
get: operations["get_form_v1_questionnaire_forms__code__get"];
|
|
2063
|
+
put?: never;
|
|
2064
|
+
post?: never;
|
|
2065
|
+
delete?: never;
|
|
2066
|
+
options?: never;
|
|
2067
|
+
head?: never;
|
|
2068
|
+
patch?: never;
|
|
2069
|
+
trace?: never;
|
|
2070
|
+
};
|
|
2071
|
+
"/v1/questionnaire-links/{token}": {
|
|
2072
|
+
parameters: {
|
|
2073
|
+
query?: never;
|
|
2074
|
+
header?: never;
|
|
2075
|
+
path?: never;
|
|
2076
|
+
cookie?: never;
|
|
2077
|
+
};
|
|
2078
|
+
/** Open a questionnaire link (no sign-in) */
|
|
2079
|
+
get: operations["open_link_v1_questionnaire_links__token__get"];
|
|
2080
|
+
put?: never;
|
|
2081
|
+
post?: never;
|
|
2082
|
+
delete?: never;
|
|
2083
|
+
options?: never;
|
|
2084
|
+
head?: never;
|
|
2085
|
+
patch?: never;
|
|
2086
|
+
trace?: never;
|
|
2087
|
+
};
|
|
2088
|
+
"/v1/questionnaire-links/{token}/responses": {
|
|
2089
|
+
parameters: {
|
|
2090
|
+
query?: never;
|
|
2091
|
+
header?: never;
|
|
2092
|
+
path?: never;
|
|
2093
|
+
cookie?: never;
|
|
2094
|
+
};
|
|
2095
|
+
get?: never;
|
|
2096
|
+
put?: never;
|
|
2097
|
+
/** Answer one questionnaire of a link (no sign-in) */
|
|
2098
|
+
post: operations["answer_link_v1_questionnaire_links__token__responses_post"];
|
|
2099
|
+
delete?: never;
|
|
2100
|
+
options?: never;
|
|
2101
|
+
head?: never;
|
|
2102
|
+
patch?: never;
|
|
2103
|
+
trace?: never;
|
|
2104
|
+
};
|
|
2105
|
+
"/v1/questionnaire-requests/{request_id}/cancel": {
|
|
2106
|
+
parameters: {
|
|
2107
|
+
query?: never;
|
|
2108
|
+
header?: never;
|
|
2109
|
+
path?: never;
|
|
2110
|
+
cookie?: never;
|
|
2111
|
+
};
|
|
2112
|
+
get?: never;
|
|
2113
|
+
put?: never;
|
|
2114
|
+
/** Cancel an open request (its link stops working) */
|
|
2115
|
+
post: operations["cancel_request_v1_questionnaire_requests__request_id__cancel_post"];
|
|
2116
|
+
delete?: never;
|
|
2117
|
+
options?: never;
|
|
2118
|
+
head?: never;
|
|
2119
|
+
patch?: never;
|
|
2120
|
+
trace?: never;
|
|
2121
|
+
};
|
|
1854
2122
|
"/v1/roles": {
|
|
1855
2123
|
parameters: {
|
|
1856
2124
|
query?: never;
|
|
@@ -2269,6 +2537,27 @@ export interface paths {
|
|
|
2269
2537
|
patch?: never;
|
|
2270
2538
|
trace?: never;
|
|
2271
2539
|
};
|
|
2540
|
+
"/v1/visits/{visit_id}/questionnaire-skips": {
|
|
2541
|
+
parameters: {
|
|
2542
|
+
query?: never;
|
|
2543
|
+
header?: never;
|
|
2544
|
+
path?: never;
|
|
2545
|
+
cookie?: never;
|
|
2546
|
+
};
|
|
2547
|
+
get?: never;
|
|
2548
|
+
put?: never;
|
|
2549
|
+
/**
|
|
2550
|
+
* 'Answer after the visit' in the join step (patients)
|
|
2551
|
+
* @description Recorded so the care team can see it; the questionnaires stay due until their window
|
|
2552
|
+
* closes.
|
|
2553
|
+
*/
|
|
2554
|
+
post: operations["skip_for_now_v1_visits__visit_id__questionnaire_skips_post"];
|
|
2555
|
+
delete?: never;
|
|
2556
|
+
options?: never;
|
|
2557
|
+
head?: never;
|
|
2558
|
+
patch?: never;
|
|
2559
|
+
trace?: never;
|
|
2560
|
+
};
|
|
2272
2561
|
"/v1/visits/{visit_id}/readiness": {
|
|
2273
2562
|
parameters: {
|
|
2274
2563
|
query?: never;
|
|
@@ -2276,7 +2565,7 @@ export interface paths {
|
|
|
2276
2565
|
path?: never;
|
|
2277
2566
|
cookie?: never;
|
|
2278
2567
|
};
|
|
2279
|
-
/** Session prep: waivers
|
|
2568
|
+
/** Session prep: waivers, pre-work and questionnaires */
|
|
2280
2569
|
get: operations["readiness_v1_visits__visit_id__readiness_get"];
|
|
2281
2570
|
put?: never;
|
|
2282
2571
|
post?: never;
|
|
@@ -2307,6 +2596,41 @@ export interface paths {
|
|
|
2307
2596
|
patch?: never;
|
|
2308
2597
|
trace?: never;
|
|
2309
2598
|
};
|
|
2599
|
+
"/v1/visits/{visit_id}/review": {
|
|
2600
|
+
parameters: {
|
|
2601
|
+
query?: never;
|
|
2602
|
+
header?: never;
|
|
2603
|
+
path?: never;
|
|
2604
|
+
cookie?: never;
|
|
2605
|
+
};
|
|
2606
|
+
/** The after-visit review: questions and your own answers (patients) */
|
|
2607
|
+
get: operations["get_review_v1_visits__visit_id__review_get"];
|
|
2608
|
+
put?: never;
|
|
2609
|
+
/** Answer (or change) your after-visit review */
|
|
2610
|
+
post: operations["post_review_v1_visits__visit_id__review_post"];
|
|
2611
|
+
delete?: never;
|
|
2612
|
+
options?: never;
|
|
2613
|
+
head?: never;
|
|
2614
|
+
patch?: never;
|
|
2615
|
+
trace?: never;
|
|
2616
|
+
};
|
|
2617
|
+
"/v1/visits/{visit_id}/review-summary": {
|
|
2618
|
+
parameters: {
|
|
2619
|
+
query?: never;
|
|
2620
|
+
header?: never;
|
|
2621
|
+
path?: never;
|
|
2622
|
+
cookie?: never;
|
|
2623
|
+
};
|
|
2624
|
+
/** After-visit review totals for a visit (only with enough answers) */
|
|
2625
|
+
get: operations["visit_review_summary_v1_visits__visit_id__review_summary_get"];
|
|
2626
|
+
put?: never;
|
|
2627
|
+
post?: never;
|
|
2628
|
+
delete?: never;
|
|
2629
|
+
options?: never;
|
|
2630
|
+
head?: never;
|
|
2631
|
+
patch?: never;
|
|
2632
|
+
trace?: never;
|
|
2633
|
+
};
|
|
2310
2634
|
"/v1/writing-attachments/{attachment_id}/complete": {
|
|
2311
2635
|
parameters: {
|
|
2312
2636
|
query?: never;
|
|
@@ -2737,13 +3061,126 @@ export interface components {
|
|
|
2737
3061
|
/** Title */
|
|
2738
3062
|
title: string;
|
|
2739
3063
|
};
|
|
2740
|
-
/**
|
|
2741
|
-
|
|
2742
|
-
close_out: components["schemas"]["CloseOutOut"];
|
|
3064
|
+
/** AlertEventIn */
|
|
3065
|
+
AlertEventIn: {
|
|
2743
3066
|
/**
|
|
2744
|
-
*
|
|
2745
|
-
* @
|
|
2746
|
-
*/
|
|
3067
|
+
* Kind
|
|
3068
|
+
* @enum {string}
|
|
3069
|
+
*/
|
|
3070
|
+
kind: "acknowledged" | "closed" | "reopened";
|
|
3071
|
+
/**
|
|
3072
|
+
* Note
|
|
3073
|
+
* @description Encrypted
|
|
3074
|
+
*/
|
|
3075
|
+
note?: string | null;
|
|
3076
|
+
/**
|
|
3077
|
+
* Outcome
|
|
3078
|
+
* @description Required to close
|
|
3079
|
+
*/
|
|
3080
|
+
outcome?: ("reached" | "phq9_done" | "referred" | "followup_scheduled" | "declined" | "not_reached" | "other") | null;
|
|
3081
|
+
};
|
|
3082
|
+
/** AlertEventOut */
|
|
3083
|
+
AlertEventOut: {
|
|
3084
|
+
/**
|
|
3085
|
+
* At
|
|
3086
|
+
* Format: date-time
|
|
3087
|
+
*/
|
|
3088
|
+
at: string;
|
|
3089
|
+
/** By Person Id */
|
|
3090
|
+
by_person_id: string | null;
|
|
3091
|
+
/**
|
|
3092
|
+
* Kind
|
|
3093
|
+
* @enum {string}
|
|
3094
|
+
*/
|
|
3095
|
+
kind: "raised" | "repeated" | "acknowledged" | "closed" | "reopened" | "emailed";
|
|
3096
|
+
/** Note */
|
|
3097
|
+
note: string | null;
|
|
3098
|
+
/** Outcome */
|
|
3099
|
+
outcome: ("reached" | "phq9_done" | "referred" | "followup_scheduled" | "declined" | "not_reached" | "other") | null;
|
|
3100
|
+
/** Response Id */
|
|
3101
|
+
response_id: string | null;
|
|
3102
|
+
};
|
|
3103
|
+
/** AlertOut */
|
|
3104
|
+
AlertOut: {
|
|
3105
|
+
/** Closed At */
|
|
3106
|
+
closed_at: string | null;
|
|
3107
|
+
/**
|
|
3108
|
+
* Cohort Id
|
|
3109
|
+
* Format: uuid
|
|
3110
|
+
*/
|
|
3111
|
+
cohort_id: string;
|
|
3112
|
+
/** Display Name */
|
|
3113
|
+
display_name: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* Enrollment Id
|
|
3116
|
+
* Format: uuid
|
|
3117
|
+
*/
|
|
3118
|
+
enrollment_id: string;
|
|
3119
|
+
/** Events */
|
|
3120
|
+
events?: components["schemas"]["AlertEventOut"][];
|
|
3121
|
+
/**
|
|
3122
|
+
* Id
|
|
3123
|
+
* Format: uuid
|
|
3124
|
+
*/
|
|
3125
|
+
id: string;
|
|
3126
|
+
/**
|
|
3127
|
+
* Patient Id
|
|
3128
|
+
* Format: uuid
|
|
3129
|
+
*/
|
|
3130
|
+
patient_id: string;
|
|
3131
|
+
/**
|
|
3132
|
+
* Raised At
|
|
3133
|
+
* Format: date-time
|
|
3134
|
+
*/
|
|
3135
|
+
raised_at: string;
|
|
3136
|
+
/**
|
|
3137
|
+
* Rule
|
|
3138
|
+
* @enum {string}
|
|
3139
|
+
*/
|
|
3140
|
+
rule: "phq2_positive" | "phq9_item9" | "peg_high" | "peg_rise" | "checkins_missed";
|
|
3141
|
+
/**
|
|
3142
|
+
* Severity
|
|
3143
|
+
* @enum {string}
|
|
3144
|
+
*/
|
|
3145
|
+
severity: "safety" | "urgent" | "watch";
|
|
3146
|
+
/** Source Response Id */
|
|
3147
|
+
source_response_id: string | null;
|
|
3148
|
+
/**
|
|
3149
|
+
* Status
|
|
3150
|
+
* @enum {string}
|
|
3151
|
+
*/
|
|
3152
|
+
status: "open" | "closed";
|
|
3153
|
+
/** Threshold */
|
|
3154
|
+
threshold: {
|
|
3155
|
+
[key: string]: unknown;
|
|
3156
|
+
};
|
|
3157
|
+
};
|
|
3158
|
+
/** AlertPage */
|
|
3159
|
+
AlertPage: {
|
|
3160
|
+
/** Items */
|
|
3161
|
+
items: components["schemas"]["AlertOut"][];
|
|
3162
|
+
};
|
|
3163
|
+
/** AnswerIn */
|
|
3164
|
+
AnswerIn: {
|
|
3165
|
+
/** Item Id */
|
|
3166
|
+
item_id: string;
|
|
3167
|
+
/**
|
|
3168
|
+
* Skipped
|
|
3169
|
+
* @default false
|
|
3170
|
+
*/
|
|
3171
|
+
skipped: boolean;
|
|
3172
|
+
/** Text */
|
|
3173
|
+
text?: string | null;
|
|
3174
|
+
/** Value */
|
|
3175
|
+
value?: number | null;
|
|
3176
|
+
};
|
|
3177
|
+
/** AppliedOut */
|
|
3178
|
+
AppliedOut: {
|
|
3179
|
+
close_out: components["schemas"]["CloseOutOut"];
|
|
3180
|
+
/**
|
|
3181
|
+
* Set
|
|
3182
|
+
* @description Enrollments whose rows this set
|
|
3183
|
+
*/
|
|
2747
3184
|
set: string[];
|
|
2748
3185
|
};
|
|
2749
3186
|
/** ApplyCode */
|
|
@@ -3149,6 +3586,20 @@ export interface components {
|
|
|
3149
3586
|
/** Stalled */
|
|
3150
3587
|
stalled: number;
|
|
3151
3588
|
};
|
|
3589
|
+
/** CohortQuestionnairesOut */
|
|
3590
|
+
CohortQuestionnairesOut: {
|
|
3591
|
+
/**
|
|
3592
|
+
* Cohort Id
|
|
3593
|
+
* Format: uuid
|
|
3594
|
+
*/
|
|
3595
|
+
cohort_id: string;
|
|
3596
|
+
/** Members */
|
|
3597
|
+
members: components["schemas"]["MemberStatus"][];
|
|
3598
|
+
/** Schedule */
|
|
3599
|
+
schedule: {
|
|
3600
|
+
[key: string]: unknown;
|
|
3601
|
+
}[];
|
|
3602
|
+
};
|
|
3152
3603
|
/** CohortUpdate */
|
|
3153
3604
|
CohortUpdate: {
|
|
3154
3605
|
/** Capacity */
|
|
@@ -3482,6 +3933,21 @@ export interface components {
|
|
|
3482
3933
|
/** Status */
|
|
3483
3934
|
status?: ("active" | "archived") | null;
|
|
3484
3935
|
};
|
|
3936
|
+
/** Done */
|
|
3937
|
+
Done: {
|
|
3938
|
+
/** Code */
|
|
3939
|
+
code: string;
|
|
3940
|
+
/**
|
|
3941
|
+
* Response Id
|
|
3942
|
+
* Format: uuid
|
|
3943
|
+
*/
|
|
3944
|
+
response_id: string;
|
|
3945
|
+
/**
|
|
3946
|
+
* Submitted At
|
|
3947
|
+
* Format: date-time
|
|
3948
|
+
*/
|
|
3949
|
+
submitted_at: string;
|
|
3950
|
+
};
|
|
3485
3951
|
/** DraftIn */
|
|
3486
3952
|
DraftIn: {
|
|
3487
3953
|
/** Body Md */
|
|
@@ -3500,6 +3966,24 @@ export interface components {
|
|
|
3500
3966
|
/** Title */
|
|
3501
3967
|
title?: string | null;
|
|
3502
3968
|
};
|
|
3969
|
+
/** DueQuestionnaire */
|
|
3970
|
+
DueQuestionnaire: {
|
|
3971
|
+
/**
|
|
3972
|
+
* Due At
|
|
3973
|
+
* Format: date-time
|
|
3974
|
+
*/
|
|
3975
|
+
due_at: string;
|
|
3976
|
+
/** Instruments */
|
|
3977
|
+
instruments: string[];
|
|
3978
|
+
/** Label */
|
|
3979
|
+
label: string;
|
|
3980
|
+
/** Occurrence Key */
|
|
3981
|
+
occurrence_key: string;
|
|
3982
|
+
/** Outstanding */
|
|
3983
|
+
outstanding: string[];
|
|
3984
|
+
/** Visit Id */
|
|
3985
|
+
visit_id: string | null;
|
|
3986
|
+
};
|
|
3503
3987
|
/** EmrTextOut */
|
|
3504
3988
|
EmrTextOut: {
|
|
3505
3989
|
/**
|
|
@@ -3631,7 +4115,7 @@ export interface components {
|
|
|
3631
4115
|
/** Moved From Id */
|
|
3632
4116
|
moved_from_id: string | null;
|
|
3633
4117
|
/** Open Reviews */
|
|
3634
|
-
open_reviews: components["schemas"]["
|
|
4118
|
+
open_reviews: components["schemas"]["guidistry_api__cohorts__schemas__ReviewOut"][];
|
|
3635
4119
|
/**
|
|
3636
4120
|
* Patient Id
|
|
3637
4121
|
* Format: uuid
|
|
@@ -3799,6 +4283,30 @@ export interface components {
|
|
|
3799
4283
|
/** Rows */
|
|
3800
4284
|
rows?: number | null;
|
|
3801
4285
|
};
|
|
4286
|
+
/** FormOut */
|
|
4287
|
+
FormOut: {
|
|
4288
|
+
/**
|
|
4289
|
+
* Attribution
|
|
4290
|
+
* @description Show under the form
|
|
4291
|
+
*/
|
|
4292
|
+
attribution?: string | null;
|
|
4293
|
+
/** Code */
|
|
4294
|
+
code: string;
|
|
4295
|
+
/** Definition */
|
|
4296
|
+
definition: {
|
|
4297
|
+
[key: string]: unknown;
|
|
4298
|
+
};
|
|
4299
|
+
/** Family */
|
|
4300
|
+
family: string | null;
|
|
4301
|
+
/** Licence Basis */
|
|
4302
|
+
licence_basis: string;
|
|
4303
|
+
/** Name */
|
|
4304
|
+
name: string;
|
|
4305
|
+
/** Short Name */
|
|
4306
|
+
short_name: string | null;
|
|
4307
|
+
/** Version */
|
|
4308
|
+
version: string;
|
|
4309
|
+
};
|
|
3802
4310
|
/** GardenSession */
|
|
3803
4311
|
GardenSession: {
|
|
3804
4312
|
/**
|
|
@@ -4053,6 +4561,32 @@ export interface components {
|
|
|
4053
4561
|
*/
|
|
4054
4562
|
type: "image";
|
|
4055
4563
|
};
|
|
4564
|
+
/** InstrumentOut */
|
|
4565
|
+
InstrumentOut: {
|
|
4566
|
+
/** Code */
|
|
4567
|
+
code: string;
|
|
4568
|
+
/** Family */
|
|
4569
|
+
family?: string | null;
|
|
4570
|
+
/**
|
|
4571
|
+
* In Library
|
|
4572
|
+
* @description False: a PROMIS form imported on first use
|
|
4573
|
+
* @default true
|
|
4574
|
+
*/
|
|
4575
|
+
in_library: boolean;
|
|
4576
|
+
/** Licence Basis */
|
|
4577
|
+
licence_basis?: string | null;
|
|
4578
|
+
/** Name */
|
|
4579
|
+
name: string;
|
|
4580
|
+
/** Short Name */
|
|
4581
|
+
short_name?: string | null;
|
|
4582
|
+
/**
|
|
4583
|
+
* Source
|
|
4584
|
+
* @enum {string}
|
|
4585
|
+
*/
|
|
4586
|
+
source: "library" | "promis" | "customer";
|
|
4587
|
+
/** Versions */
|
|
4588
|
+
versions?: string[];
|
|
4589
|
+
};
|
|
4056
4590
|
/** InvitationAccept */
|
|
4057
4591
|
InvitationAccept: {
|
|
4058
4592
|
/**
|
|
@@ -4201,6 +4735,11 @@ export interface components {
|
|
|
4201
4735
|
* Format: date-time
|
|
4202
4736
|
*/
|
|
4203
4737
|
opens_at: string;
|
|
4738
|
+
/**
|
|
4739
|
+
* Questionnaires Due
|
|
4740
|
+
* @description Module 6b: this visit's questionnaires not yet answered. Advisory: offer them before the call (agreement, questionnaire, call) with 'Answer after the visit' (POST /v1/visits/{id}/questionnaire-skips). Joining is refused (409 questionnaires_required) only when the program turns join.questionnaires_required on.
|
|
4741
|
+
*/
|
|
4742
|
+
questionnaires_due?: components["schemas"]["DueQuestionnaire"][];
|
|
4204
4743
|
/**
|
|
4205
4744
|
* Visit Mode
|
|
4206
4745
|
* @enum {string}
|
|
@@ -4338,12 +4877,24 @@ export interface components {
|
|
|
4338
4877
|
*/
|
|
4339
4878
|
label: string;
|
|
4340
4879
|
};
|
|
4341
|
-
/**
|
|
4342
|
-
|
|
4343
|
-
/**
|
|
4344
|
-
|
|
4345
|
-
/**
|
|
4346
|
-
|
|
4880
|
+
/** LinkResponseIn */
|
|
4881
|
+
LinkResponseIn: {
|
|
4882
|
+
/** Answers */
|
|
4883
|
+
answers: components["schemas"]["AnswerIn"][];
|
|
4884
|
+
/** Client Submission Id */
|
|
4885
|
+
client_submission_id: string;
|
|
4886
|
+
/** Code */
|
|
4887
|
+
code: string;
|
|
4888
|
+
};
|
|
4889
|
+
/** LinkResponseOut */
|
|
4890
|
+
LinkResponseOut: {
|
|
4891
|
+
/** Code */
|
|
4892
|
+
code: string;
|
|
4893
|
+
/** Done */
|
|
4894
|
+
done: boolean;
|
|
4895
|
+
/** Outstanding */
|
|
4896
|
+
outstanding: string[];
|
|
4897
|
+
safety?: components["schemas"]["SafetyOut"] | null;
|
|
4347
4898
|
};
|
|
4348
4899
|
/** ListenOut */
|
|
4349
4900
|
ListenOut: {
|
|
@@ -4394,6 +4945,16 @@ export interface components {
|
|
|
4394
4945
|
*/
|
|
4395
4946
|
started_at: string;
|
|
4396
4947
|
};
|
|
4948
|
+
/** ListenPage */
|
|
4949
|
+
ListenPage: {
|
|
4950
|
+
/** Items */
|
|
4951
|
+
items: components["schemas"]["ListenOut"][];
|
|
4952
|
+
/**
|
|
4953
|
+
* Next Before
|
|
4954
|
+
* @description Pass as before= for older listens; null when there are no more
|
|
4955
|
+
*/
|
|
4956
|
+
next_before?: string | null;
|
|
4957
|
+
};
|
|
4397
4958
|
/** ListenReport */
|
|
4398
4959
|
ListenReport: {
|
|
4399
4960
|
/** Client At */
|
|
@@ -4599,6 +5160,11 @@ export interface components {
|
|
|
4599
5160
|
* Format: uuid
|
|
4600
5161
|
*/
|
|
4601
5162
|
person_id: string;
|
|
5163
|
+
/**
|
|
5164
|
+
* Questionnaire Prompts
|
|
5165
|
+
* @description Patients: questionnaires the care team asked for at sign-in. Show them after the agreements, before other pages; keep Support, crisis information and sign-out reachable (module 6b, N3).
|
|
5166
|
+
*/
|
|
5167
|
+
questionnaire_prompts?: components["schemas"]["guidistry_api__questionnaires__schemas__Prompt"][];
|
|
4602
5168
|
};
|
|
4603
5169
|
/**
|
|
4604
5170
|
* MediaRef
|
|
@@ -4718,6 +5284,29 @@ export interface components {
|
|
|
4718
5284
|
[key: string]: components["schemas"]["TypeProgress"];
|
|
4719
5285
|
};
|
|
4720
5286
|
};
|
|
5287
|
+
/** MemberStatus */
|
|
5288
|
+
MemberStatus: {
|
|
5289
|
+
/** Display Name */
|
|
5290
|
+
display_name: string;
|
|
5291
|
+
/** Due Now */
|
|
5292
|
+
due_now: components["schemas"]["OccurrenceOut"][];
|
|
5293
|
+
/**
|
|
5294
|
+
* Enrollment Id
|
|
5295
|
+
* Format: uuid
|
|
5296
|
+
*/
|
|
5297
|
+
enrollment_id: string;
|
|
5298
|
+
/** Last Submitted At */
|
|
5299
|
+
last_submitted_at: string | null;
|
|
5300
|
+
/** Missed In A Row */
|
|
5301
|
+
missed_in_a_row: number;
|
|
5302
|
+
/** Open Alerts */
|
|
5303
|
+
open_alerts: ("phq2_positive" | "phq9_item9" | "peg_high" | "peg_rise" | "checkins_missed")[];
|
|
5304
|
+
/**
|
|
5305
|
+
* Patient Id
|
|
5306
|
+
* Format: uuid
|
|
5307
|
+
*/
|
|
5308
|
+
patient_id: string;
|
|
5309
|
+
};
|
|
4721
5310
|
/** MembershipOut */
|
|
4722
5311
|
MembershipOut: {
|
|
4723
5312
|
/** Ends At */
|
|
@@ -4772,7 +5361,7 @@ export interface components {
|
|
|
4772
5361
|
/** Practices */
|
|
4773
5362
|
practices?: components["schemas"]["Practice"][];
|
|
4774
5363
|
/** Prompts */
|
|
4775
|
-
prompts?: components["schemas"]["
|
|
5364
|
+
prompts?: components["schemas"]["guidistry_api__content__schema__Prompt"][];
|
|
4776
5365
|
/** Resources */
|
|
4777
5366
|
resources?: components["schemas"]["Resource"][];
|
|
4778
5367
|
/** Staff Notes */
|
|
@@ -4805,6 +5394,11 @@ export interface components {
|
|
|
4805
5394
|
agreements_owed?: components["schemas"]["OwedOut"][];
|
|
4806
5395
|
/** Can Request Pause */
|
|
4807
5396
|
can_request_pause: boolean;
|
|
5397
|
+
/**
|
|
5398
|
+
* Cohort Id
|
|
5399
|
+
* @description Module 6b
|
|
5400
|
+
*/
|
|
5401
|
+
cohort_id?: string | null;
|
|
4808
5402
|
/**
|
|
4809
5403
|
* Cohort Kind
|
|
4810
5404
|
* @enum {string}
|
|
@@ -4827,6 +5421,11 @@ export interface components {
|
|
|
4827
5421
|
* @description The program template, e.g. owl-chronic-pain
|
|
4828
5422
|
*/
|
|
4829
5423
|
course_slug: string;
|
|
5424
|
+
/**
|
|
5425
|
+
* Due Questionnaires
|
|
5426
|
+
* @description Open now and not yet answered (the due card and the join step)
|
|
5427
|
+
*/
|
|
5428
|
+
due_questionnaires?: components["schemas"]["DueQuestionnaire"][];
|
|
4830
5429
|
/**
|
|
4831
5430
|
* Features
|
|
4832
5431
|
* @description The template's switches as they apply to this program, e.g. {group_visits: true, community: false}: what the portal needs to choose its frame (no version name or key)
|
|
@@ -5030,6 +5629,56 @@ export interface components {
|
|
|
5030
5629
|
*/
|
|
5031
5630
|
source: "live_session" | "chart" | "close_out";
|
|
5032
5631
|
};
|
|
5632
|
+
/** OccurrenceOut */
|
|
5633
|
+
OccurrenceOut: {
|
|
5634
|
+
/** Done */
|
|
5635
|
+
done?: components["schemas"]["Done"][];
|
|
5636
|
+
/**
|
|
5637
|
+
* Due At
|
|
5638
|
+
* Format: date-time
|
|
5639
|
+
*/
|
|
5640
|
+
due_at: string;
|
|
5641
|
+
/** Instruments */
|
|
5642
|
+
instruments: string[];
|
|
5643
|
+
/**
|
|
5644
|
+
* Key
|
|
5645
|
+
* @description occurrence_key to send with the answers
|
|
5646
|
+
*/
|
|
5647
|
+
key: string;
|
|
5648
|
+
/**
|
|
5649
|
+
* Kind
|
|
5650
|
+
* @enum {string}
|
|
5651
|
+
*/
|
|
5652
|
+
kind: "checkin" | "timepoint";
|
|
5653
|
+
/** Label */
|
|
5654
|
+
label: string;
|
|
5655
|
+
/**
|
|
5656
|
+
* Opens At
|
|
5657
|
+
* Format: date-time
|
|
5658
|
+
*/
|
|
5659
|
+
opens_at: string;
|
|
5660
|
+
/**
|
|
5661
|
+
* Outstanding
|
|
5662
|
+
* @description Instruments still to answer
|
|
5663
|
+
*/
|
|
5664
|
+
outstanding: string[];
|
|
5665
|
+
/**
|
|
5666
|
+
* Paused
|
|
5667
|
+
* @description Inside a pause: excused if not answered
|
|
5668
|
+
*/
|
|
5669
|
+
paused: boolean;
|
|
5670
|
+
/** Schedule Key */
|
|
5671
|
+
schedule_key: string;
|
|
5672
|
+
/** Session Number */
|
|
5673
|
+
session_number?: number | null;
|
|
5674
|
+
/**
|
|
5675
|
+
* State
|
|
5676
|
+
* @enum {string}
|
|
5677
|
+
*/
|
|
5678
|
+
state: "not_open_yet" | "open" | "submitted" | "missed" | "excused" | "cancelled";
|
|
5679
|
+
/** Visit Id */
|
|
5680
|
+
visit_id?: string | null;
|
|
5681
|
+
};
|
|
5033
5682
|
/** OnFileOut */
|
|
5034
5683
|
OnFileOut: {
|
|
5035
5684
|
/** Cohort Id */
|
|
@@ -5255,7 +5904,17 @@ export interface components {
|
|
|
5255
5904
|
* Action
|
|
5256
5905
|
* @enum {string}
|
|
5257
5906
|
*/
|
|
5258
|
-
action: "approve" | "decline" | "end" | "extend" | "cancel";
|
|
5907
|
+
action: "approve" | "decline" | "end" | "extend" | "cancel" | "effects";
|
|
5908
|
+
/**
|
|
5909
|
+
* Affects Checkins
|
|
5910
|
+
* @description effects: check-ins covered
|
|
5911
|
+
*/
|
|
5912
|
+
affects_checkins?: boolean | null;
|
|
5913
|
+
/**
|
|
5914
|
+
* Affects Timepoints
|
|
5915
|
+
* @description effects: timepoints covered
|
|
5916
|
+
*/
|
|
5917
|
+
affects_timepoints?: boolean | null;
|
|
5259
5918
|
/**
|
|
5260
5919
|
* Ends At
|
|
5261
5920
|
* @description approve: adjusted end; extend: new end
|
|
@@ -5268,9 +5927,29 @@ export interface components {
|
|
|
5268
5927
|
* @description approve: adjusted start
|
|
5269
5928
|
*/
|
|
5270
5929
|
starts_at?: string | null;
|
|
5930
|
+
/**
|
|
5931
|
+
* Timepoint Rule
|
|
5932
|
+
* @description effects: timepoint rule
|
|
5933
|
+
*/
|
|
5934
|
+
timepoint_rule?: ("move" | "excuse" | "still_collect") | null;
|
|
5271
5935
|
};
|
|
5272
5936
|
/** PauseCreate */
|
|
5273
5937
|
PauseCreate: {
|
|
5938
|
+
/**
|
|
5939
|
+
* Affects Checkins
|
|
5940
|
+
* @description Default from pause.default_effects
|
|
5941
|
+
*/
|
|
5942
|
+
affects_checkins?: boolean | null;
|
|
5943
|
+
/**
|
|
5944
|
+
* Affects Timepoints
|
|
5945
|
+
* @description Default from pause.default_effects
|
|
5946
|
+
*/
|
|
5947
|
+
affects_timepoints?: boolean | null;
|
|
5948
|
+
/**
|
|
5949
|
+
* Affects Visits
|
|
5950
|
+
* @description Module 6b: default from pause.default_effects (fixed once created)
|
|
5951
|
+
*/
|
|
5952
|
+
affects_visits?: boolean | null;
|
|
5274
5953
|
/**
|
|
5275
5954
|
* Ends At
|
|
5276
5955
|
* Format: date-time
|
|
@@ -5311,6 +5990,11 @@ export interface components {
|
|
|
5311
5990
|
* Format: date-time
|
|
5312
5991
|
*/
|
|
5313
5992
|
starts_at: string;
|
|
5993
|
+
/**
|
|
5994
|
+
* Timepoint Rule
|
|
5995
|
+
* @description Default from questionnaires.pause_timepoint_rule
|
|
5996
|
+
*/
|
|
5997
|
+
timepoint_rule?: ("move" | "excuse" | "still_collect") | null;
|
|
5314
5998
|
};
|
|
5315
5999
|
/** PauseOut */
|
|
5316
6000
|
PauseOut: {
|
|
@@ -5320,6 +6004,21 @@ export interface components {
|
|
|
5320
6004
|
* @default 0
|
|
5321
6005
|
*/
|
|
5322
6006
|
affected_visits: number;
|
|
6007
|
+
/**
|
|
6008
|
+
* Affects Checkins
|
|
6009
|
+
* @default true
|
|
6010
|
+
*/
|
|
6011
|
+
affects_checkins: boolean;
|
|
6012
|
+
/**
|
|
6013
|
+
* Affects Timepoints
|
|
6014
|
+
* @default true
|
|
6015
|
+
*/
|
|
6016
|
+
affects_timepoints: boolean;
|
|
6017
|
+
/**
|
|
6018
|
+
* Affects Visits
|
|
6019
|
+
* @default true
|
|
6020
|
+
*/
|
|
6021
|
+
affects_visits: boolean;
|
|
5323
6022
|
/**
|
|
5324
6023
|
* Created At
|
|
5325
6024
|
* Format: date-time
|
|
@@ -5373,6 +6072,12 @@ export interface components {
|
|
|
5373
6072
|
* @enum {string}
|
|
5374
6073
|
*/
|
|
5375
6074
|
status: "requested" | "active" | "declined" | "ended" | "cancelled";
|
|
6075
|
+
/**
|
|
6076
|
+
* Timepoint Rule
|
|
6077
|
+
* @default still_collect
|
|
6078
|
+
* @enum {string}
|
|
6079
|
+
*/
|
|
6080
|
+
timepoint_rule: "move" | "excuse" | "still_collect";
|
|
5376
6081
|
};
|
|
5377
6082
|
/**
|
|
5378
6083
|
* PauseRequest
|
|
@@ -5750,23 +6455,16 @@ export interface components {
|
|
|
5750
6455
|
sessions: components["schemas"]["SessionState"][];
|
|
5751
6456
|
vs_last_week: components["schemas"]["LastWeek"];
|
|
5752
6457
|
};
|
|
5753
|
-
/**
|
|
5754
|
-
|
|
5755
|
-
/**
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
* Prompt Type
|
|
5764
|
-
* @enum {string}
|
|
5765
|
-
*/
|
|
5766
|
-
prompt_type: "community" | "journal";
|
|
5767
|
-
tags?: components["schemas"]["Tags"] | null;
|
|
5768
|
-
/** Title */
|
|
5769
|
-
title: string;
|
|
6458
|
+
/** ProsDetail */
|
|
6459
|
+
ProsDetail: {
|
|
6460
|
+
/** Instruments */
|
|
6461
|
+
instruments: string[];
|
|
6462
|
+
/** Modes */
|
|
6463
|
+
modes: ("portal" | "login_prompt" | "email_link" | "text_link" | "ivr" | "interviewer_phone" | "interviewer_in_person")[];
|
|
6464
|
+
/** Outstanding */
|
|
6465
|
+
outstanding: string[];
|
|
6466
|
+
/** Submitted At */
|
|
6467
|
+
submitted_at: string | null;
|
|
5770
6468
|
};
|
|
5771
6469
|
/** PublishIn */
|
|
5772
6470
|
PublishIn: {
|
|
@@ -5831,18 +6529,41 @@ export interface components {
|
|
|
5831
6529
|
*/
|
|
5832
6530
|
visibility: "private" | "care_team" | "community";
|
|
5833
6531
|
};
|
|
5834
|
-
/**
|
|
5835
|
-
|
|
6532
|
+
/** QuestionnairesOut */
|
|
6533
|
+
QuestionnairesOut: {
|
|
5836
6534
|
/**
|
|
5837
|
-
*
|
|
5838
|
-
*
|
|
6535
|
+
* Enrollment Id
|
|
6536
|
+
* Format: uuid
|
|
5839
6537
|
*/
|
|
5840
|
-
|
|
6538
|
+
enrollment_id: string;
|
|
5841
6539
|
/**
|
|
5842
|
-
*
|
|
5843
|
-
* @description
|
|
6540
|
+
* Occurrences
|
|
6541
|
+
* @description Last 60 days and what opens next; nothing is stored per occurrence
|
|
5844
6542
|
*/
|
|
5845
|
-
|
|
6543
|
+
occurrences: components["schemas"]["OccurrenceOut"][];
|
|
6544
|
+
/**
|
|
6545
|
+
* Requests
|
|
6546
|
+
* @description Open requests from the care team
|
|
6547
|
+
*/
|
|
6548
|
+
requests: components["schemas"]["RequestOut"][];
|
|
6549
|
+
/**
|
|
6550
|
+
* Streak Days
|
|
6551
|
+
* @description Daily check-ins answered in a row up to today (daily schedules)
|
|
6552
|
+
*/
|
|
6553
|
+
streak_days?: number | null;
|
|
6554
|
+
};
|
|
6555
|
+
/** QueueEntry */
|
|
6556
|
+
QueueEntry: {
|
|
6557
|
+
/**
|
|
6558
|
+
* Agreements Missing
|
|
6559
|
+
* @description Deprecated: same as agreements_owed
|
|
6560
|
+
*/
|
|
6561
|
+
agreements_missing: string[];
|
|
6562
|
+
/**
|
|
6563
|
+
* Agreements Owed
|
|
6564
|
+
* @description The "Owed agreement" badge (D-029)
|
|
6565
|
+
*/
|
|
6566
|
+
agreements_owed?: string[];
|
|
5846
6567
|
enrollment: components["schemas"]["EnrollmentBrief"] | null;
|
|
5847
6568
|
patient: components["schemas"]["PatientOut"];
|
|
5848
6569
|
/**
|
|
@@ -5881,10 +6602,12 @@ export interface components {
|
|
|
5881
6602
|
prework_detail?: components["schemas"]["PreworkOut"] | null;
|
|
5882
6603
|
/**
|
|
5883
6604
|
* Pros
|
|
5884
|
-
* @
|
|
5885
|
-
* @
|
|
6605
|
+
* @description Module 6b: every questionnaire tied to this visit answered by the deadline (pros.deadline); a pause excuses
|
|
6606
|
+
* @default not_required
|
|
6607
|
+
* @enum {string}
|
|
5886
6608
|
*/
|
|
5887
|
-
pros: "
|
|
6609
|
+
pros: "ok" | "outstanding" | "not_required" | "excused" | "not_open_yet";
|
|
6610
|
+
pros_detail?: components["schemas"]["ProsDetail"] | null;
|
|
5888
6611
|
/**
|
|
5889
6612
|
* Waiver
|
|
5890
6613
|
* @enum {string}
|
|
@@ -5905,6 +6628,16 @@ export interface components {
|
|
|
5905
6628
|
* @default 0
|
|
5906
6629
|
*/
|
|
5907
6630
|
prework_required: number;
|
|
6631
|
+
/**
|
|
6632
|
+
* Pros Done
|
|
6633
|
+
* @default 0
|
|
6634
|
+
*/
|
|
6635
|
+
pros_done: number;
|
|
6636
|
+
/**
|
|
6637
|
+
* Pros Required
|
|
6638
|
+
* @default 0
|
|
6639
|
+
*/
|
|
6640
|
+
pros_required: number;
|
|
5908
6641
|
/**
|
|
5909
6642
|
* Visit Id
|
|
5910
6643
|
* Format: uuid
|
|
@@ -5996,6 +6729,78 @@ export interface components {
|
|
|
5996
6729
|
*/
|
|
5997
6730
|
relationship: "guardian" | "healthcare_agent" | "parent" | "other";
|
|
5998
6731
|
};
|
|
6732
|
+
/** RequestCreate */
|
|
6733
|
+
RequestCreate: {
|
|
6734
|
+
/** Instruments */
|
|
6735
|
+
instruments: string[];
|
|
6736
|
+
/**
|
|
6737
|
+
* Mode
|
|
6738
|
+
* @enum {string}
|
|
6739
|
+
*/
|
|
6740
|
+
mode: "login_prompt" | "email_link" | "text_link" | "ivr";
|
|
6741
|
+
/** Note */
|
|
6742
|
+
note?: string | null;
|
|
6743
|
+
/** Occurrence Key */
|
|
6744
|
+
occurrence_key?: string | null;
|
|
6745
|
+
};
|
|
6746
|
+
/** RequestOut */
|
|
6747
|
+
RequestOut: {
|
|
6748
|
+
/**
|
|
6749
|
+
* By Rule
|
|
6750
|
+
* @description Raised by phq2.positive_followup, not a person
|
|
6751
|
+
* @default false
|
|
6752
|
+
*/
|
|
6753
|
+
by_rule: boolean;
|
|
6754
|
+
/** Completed At */
|
|
6755
|
+
completed_at: string | null;
|
|
6756
|
+
/**
|
|
6757
|
+
* Created At
|
|
6758
|
+
* Format: date-time
|
|
6759
|
+
*/
|
|
6760
|
+
created_at: string;
|
|
6761
|
+
/**
|
|
6762
|
+
* Enrollment Id
|
|
6763
|
+
* Format: uuid
|
|
6764
|
+
*/
|
|
6765
|
+
enrollment_id: string;
|
|
6766
|
+
/** Expires At */
|
|
6767
|
+
expires_at: string | null;
|
|
6768
|
+
/**
|
|
6769
|
+
* Id
|
|
6770
|
+
* Format: uuid
|
|
6771
|
+
*/
|
|
6772
|
+
id: string;
|
|
6773
|
+
/** Instruments */
|
|
6774
|
+
instruments: string[];
|
|
6775
|
+
/**
|
|
6776
|
+
* Mode
|
|
6777
|
+
* @enum {string}
|
|
6778
|
+
*/
|
|
6779
|
+
mode: "login_prompt" | "email_link" | "text_link" | "ivr";
|
|
6780
|
+
/**
|
|
6781
|
+
* Note
|
|
6782
|
+
* @description Shown to the patient (no health details)
|
|
6783
|
+
*/
|
|
6784
|
+
note?: string | null;
|
|
6785
|
+
/** Occurrence Key */
|
|
6786
|
+
occurrence_key: string | null;
|
|
6787
|
+
/** Opened At */
|
|
6788
|
+
opened_at: string | null;
|
|
6789
|
+
/** Outstanding */
|
|
6790
|
+
outstanding?: string[];
|
|
6791
|
+
/** Sent At */
|
|
6792
|
+
sent_at: string | null;
|
|
6793
|
+
/**
|
|
6794
|
+
* Sent To Hint
|
|
6795
|
+
* @description e.g. d***@example.com (staff only)
|
|
6796
|
+
*/
|
|
6797
|
+
sent_to_hint?: string | null;
|
|
6798
|
+
/**
|
|
6799
|
+
* State
|
|
6800
|
+
* @enum {string}
|
|
6801
|
+
*/
|
|
6802
|
+
state: "open" | "completed" | "cancelled" | "expired";
|
|
6803
|
+
};
|
|
5999
6804
|
/** Resource */
|
|
6000
6805
|
Resource: {
|
|
6001
6806
|
/** Category */
|
|
@@ -6042,6 +6847,95 @@ export interface components {
|
|
|
6042
6847
|
*/
|
|
6043
6848
|
type: "resource";
|
|
6044
6849
|
};
|
|
6850
|
+
/** ResponseIn */
|
|
6851
|
+
ResponseIn: {
|
|
6852
|
+
/**
|
|
6853
|
+
* Administration Mode
|
|
6854
|
+
* @description Patients: portal (default) or login_prompt; staff: interviewer_phone (default) or interviewer_in_person
|
|
6855
|
+
*/
|
|
6856
|
+
administration_mode?: ("portal" | "login_prompt" | "email_link" | "text_link" | "ivr" | "interviewer_phone" | "interviewer_in_person") | null;
|
|
6857
|
+
/** Answers */
|
|
6858
|
+
answers: components["schemas"]["AnswerIn"][];
|
|
6859
|
+
/** Client Submission Id */
|
|
6860
|
+
client_submission_id: string;
|
|
6861
|
+
/**
|
|
6862
|
+
* Code
|
|
6863
|
+
* @description Instrument code, e.g. PEG, PHQ-2
|
|
6864
|
+
*/
|
|
6865
|
+
code: string;
|
|
6866
|
+
/** Occurrence Key */
|
|
6867
|
+
occurrence_key?: string | null;
|
|
6868
|
+
/** Request Id */
|
|
6869
|
+
request_id?: string | null;
|
|
6870
|
+
/**
|
|
6871
|
+
* Version
|
|
6872
|
+
* @description Default: the occurrence's
|
|
6873
|
+
*/
|
|
6874
|
+
version?: string | null;
|
|
6875
|
+
};
|
|
6876
|
+
/** ResponseOut */
|
|
6877
|
+
ResponseOut: {
|
|
6878
|
+
/**
|
|
6879
|
+
* Administration Mode
|
|
6880
|
+
* @enum {string}
|
|
6881
|
+
*/
|
|
6882
|
+
administration_mode: "portal" | "login_prompt" | "email_link" | "text_link" | "ivr" | "interviewer_phone" | "interviewer_in_person";
|
|
6883
|
+
/**
|
|
6884
|
+
* Answers
|
|
6885
|
+
* @description Item-level answers (the patient's own, and their care team)
|
|
6886
|
+
*/
|
|
6887
|
+
answers?: {
|
|
6888
|
+
[key: string]: unknown;
|
|
6889
|
+
}[] | null;
|
|
6890
|
+
/** Code */
|
|
6891
|
+
code: string;
|
|
6892
|
+
/**
|
|
6893
|
+
* Enrollment Id
|
|
6894
|
+
* Format: uuid
|
|
6895
|
+
*/
|
|
6896
|
+
enrollment_id: string;
|
|
6897
|
+
/** Entered By Staff */
|
|
6898
|
+
entered_by_staff: boolean;
|
|
6899
|
+
/**
|
|
6900
|
+
* Id
|
|
6901
|
+
* Format: uuid
|
|
6902
|
+
*/
|
|
6903
|
+
id: string;
|
|
6904
|
+
/**
|
|
6905
|
+
* Kind
|
|
6906
|
+
* @enum {string}
|
|
6907
|
+
*/
|
|
6908
|
+
kind: "checkin" | "timepoint" | "request";
|
|
6909
|
+
/** Name */
|
|
6910
|
+
name: string;
|
|
6911
|
+
/** Occurrence Key */
|
|
6912
|
+
occurrence_key: string | null;
|
|
6913
|
+
/** Request Id */
|
|
6914
|
+
request_id: string | null;
|
|
6915
|
+
/** Revises Id */
|
|
6916
|
+
revises_id: string | null;
|
|
6917
|
+
/** @description Only on the submit response */
|
|
6918
|
+
safety?: components["schemas"]["SafetyOut"] | null;
|
|
6919
|
+
/** Scores */
|
|
6920
|
+
scores: components["schemas"]["ScoreOut"][];
|
|
6921
|
+
/**
|
|
6922
|
+
* Submitted At
|
|
6923
|
+
* Format: date-time
|
|
6924
|
+
*/
|
|
6925
|
+
submitted_at: string;
|
|
6926
|
+
/**
|
|
6927
|
+
* Thank You
|
|
6928
|
+
* @default questionnaire.thank_you
|
|
6929
|
+
*/
|
|
6930
|
+
thank_you: string;
|
|
6931
|
+
/** Version */
|
|
6932
|
+
version: string;
|
|
6933
|
+
};
|
|
6934
|
+
/** ResponsePage */
|
|
6935
|
+
ResponsePage: {
|
|
6936
|
+
/** Items */
|
|
6937
|
+
items: components["schemas"]["ResponseOut"][];
|
|
6938
|
+
};
|
|
6045
6939
|
/** ReviewDecision */
|
|
6046
6940
|
ReviewDecision: {
|
|
6047
6941
|
/**
|
|
@@ -6052,31 +6946,83 @@ export interface components {
|
|
|
6052
6946
|
/** Note */
|
|
6053
6947
|
note?: string | null;
|
|
6054
6948
|
};
|
|
6055
|
-
/**
|
|
6056
|
-
|
|
6057
|
-
/**
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6949
|
+
/** ReviewIn */
|
|
6950
|
+
ReviewIn: {
|
|
6951
|
+
/** Answers */
|
|
6952
|
+
answers: {
|
|
6953
|
+
[key: string]: number | null;
|
|
6954
|
+
};
|
|
6955
|
+
/** Comment */
|
|
6956
|
+
comment?: string | null;
|
|
6957
|
+
};
|
|
6958
|
+
/** ReviewQuestion */
|
|
6959
|
+
ReviewQuestion: {
|
|
6960
|
+
/** Id */
|
|
6961
|
+
id: string;
|
|
6061
6962
|
/**
|
|
6062
|
-
*
|
|
6063
|
-
*
|
|
6963
|
+
* Optional
|
|
6964
|
+
* @default false
|
|
6064
6965
|
*/
|
|
6065
|
-
|
|
6066
|
-
/**
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6966
|
+
optional: boolean;
|
|
6967
|
+
/** Options */
|
|
6968
|
+
options?: {
|
|
6969
|
+
[key: string]: unknown;
|
|
6970
|
+
}[] | null;
|
|
6971
|
+
/** Text */
|
|
6972
|
+
text: string;
|
|
6973
|
+
/** Type */
|
|
6974
|
+
type: string;
|
|
6070
6975
|
/**
|
|
6071
|
-
*
|
|
6072
|
-
*
|
|
6976
|
+
* Validated
|
|
6977
|
+
* @description False for the team's own questions
|
|
6978
|
+
* @default true
|
|
6073
6979
|
*/
|
|
6074
|
-
|
|
6980
|
+
validated: boolean;
|
|
6981
|
+
};
|
|
6982
|
+
/** ReviewSummaryOut */
|
|
6983
|
+
ReviewSummaryOut: {
|
|
6075
6984
|
/**
|
|
6076
|
-
*
|
|
6985
|
+
* Comments
|
|
6986
|
+
* @description Unnamed, in random order; only when enough
|
|
6987
|
+
*/
|
|
6988
|
+
comments?: string[];
|
|
6989
|
+
/** Communication Top Box */
|
|
6990
|
+
communication_top_box?: number | null;
|
|
6991
|
+
/**
|
|
6992
|
+
* Enough
|
|
6993
|
+
* @description False until review.min_responses answered
|
|
6994
|
+
*/
|
|
6995
|
+
enough: boolean;
|
|
6996
|
+
/** Minimum */
|
|
6997
|
+
minimum: number;
|
|
6998
|
+
/** Nps */
|
|
6999
|
+
nps?: number | null;
|
|
7000
|
+
/** Own Means */
|
|
7001
|
+
own_means?: {
|
|
7002
|
+
[key: string]: number;
|
|
7003
|
+
} | null;
|
|
7004
|
+
/** Own Questions */
|
|
7005
|
+
own_questions?: string[];
|
|
7006
|
+
/** Rating 9 10 */
|
|
7007
|
+
rating_9_10?: number | null;
|
|
7008
|
+
/** Rating Mean */
|
|
7009
|
+
rating_mean?: number | null;
|
|
7010
|
+
/** Responses */
|
|
7011
|
+
responses: number;
|
|
7012
|
+
/**
|
|
7013
|
+
* Scope
|
|
6077
7014
|
* @enum {string}
|
|
6078
7015
|
*/
|
|
6079
|
-
|
|
7016
|
+
scope: "visit" | "cohort" | "program";
|
|
7017
|
+
/**
|
|
7018
|
+
* Scope Id
|
|
7019
|
+
* Format: uuid
|
|
7020
|
+
*/
|
|
7021
|
+
scope_id: string;
|
|
7022
|
+
/** Top Box */
|
|
7023
|
+
top_box?: {
|
|
7024
|
+
[key: string]: number | null;
|
|
7025
|
+
} | null;
|
|
6080
7026
|
};
|
|
6081
7027
|
/** RoleOut */
|
|
6082
7028
|
RoleOut: {
|
|
@@ -6104,6 +7050,29 @@ export interface components {
|
|
|
6104
7050
|
*/
|
|
6105
7051
|
billing_code?: string | null;
|
|
6106
7052
|
};
|
|
7053
|
+
/** SafetyOut */
|
|
7054
|
+
SafetyOut: {
|
|
7055
|
+
/**
|
|
7056
|
+
* Crisis Lines
|
|
7057
|
+
* @default [
|
|
7058
|
+
* "988",
|
|
7059
|
+
* "911"
|
|
7060
|
+
* ]
|
|
7061
|
+
*/
|
|
7062
|
+
crisis_lines: string[];
|
|
7063
|
+
/**
|
|
7064
|
+
* Kind
|
|
7065
|
+
* @enum {string}
|
|
7066
|
+
*/
|
|
7067
|
+
kind: "phq2_positive" | "phq9_item9";
|
|
7068
|
+
/**
|
|
7069
|
+
* Message
|
|
7070
|
+
* @description Show as is; names the practice number when set
|
|
7071
|
+
*/
|
|
7072
|
+
message: string;
|
|
7073
|
+
/** Urgent Phone */
|
|
7074
|
+
urgent_phone: string | null;
|
|
7075
|
+
};
|
|
6107
7076
|
/** ScanLink */
|
|
6108
7077
|
ScanLink: {
|
|
6109
7078
|
/**
|
|
@@ -6185,6 +7154,30 @@ export interface components {
|
|
|
6185
7154
|
/** Upload Url */
|
|
6186
7155
|
upload_url: string;
|
|
6187
7156
|
};
|
|
7157
|
+
/** ScoreOut */
|
|
7158
|
+
ScoreOut: {
|
|
7159
|
+
/**
|
|
7160
|
+
* Band
|
|
7161
|
+
* @description Interpretation band (with its source)
|
|
7162
|
+
*/
|
|
7163
|
+
band?: string | null;
|
|
7164
|
+
/** Raw */
|
|
7165
|
+
raw: number | null;
|
|
7166
|
+
/**
|
|
7167
|
+
* Scale
|
|
7168
|
+
* @description e.g. total, phq2, item9; a PROMIS form's name
|
|
7169
|
+
*/
|
|
7170
|
+
scale: string;
|
|
7171
|
+
/** Se */
|
|
7172
|
+
se?: number | null;
|
|
7173
|
+
/**
|
|
7174
|
+
* Status
|
|
7175
|
+
* @enum {string}
|
|
7176
|
+
*/
|
|
7177
|
+
status: "ok" | "not_scorable";
|
|
7178
|
+
/** T Score */
|
|
7179
|
+
t_score?: number | null;
|
|
7180
|
+
};
|
|
6188
7181
|
/** Section */
|
|
6189
7182
|
Section: {
|
|
6190
7183
|
/** Blocks */
|
|
@@ -6352,6 +7345,11 @@ export interface components {
|
|
|
6352
7345
|
/** Revision Number */
|
|
6353
7346
|
revision_number: number;
|
|
6354
7347
|
};
|
|
7348
|
+
/** SkipIn */
|
|
7349
|
+
SkipIn: {
|
|
7350
|
+
/** Occurrence Keys */
|
|
7351
|
+
occurrence_keys: string[];
|
|
7352
|
+
};
|
|
6355
7353
|
/** SpeakIn */
|
|
6356
7354
|
SpeakIn: {
|
|
6357
7355
|
/** Text */
|
|
@@ -6972,6 +7970,16 @@ export interface components {
|
|
|
6972
7970
|
WritingPolicyOut: {
|
|
6973
7971
|
/** Help Text */
|
|
6974
7972
|
help_text: string;
|
|
7973
|
+
/**
|
|
7974
|
+
* Max Attachments
|
|
7975
|
+
* @description Pictures and recordings per journal entry
|
|
7976
|
+
*/
|
|
7977
|
+
max_attachments: number;
|
|
7978
|
+
/**
|
|
7979
|
+
* Max Recording Minutes
|
|
7980
|
+
* @description Longest voice recording, in minutes
|
|
7981
|
+
*/
|
|
7982
|
+
max_recording_minutes: number;
|
|
6975
7983
|
/**
|
|
6976
7984
|
* Notice
|
|
6977
7985
|
* @description Plain words for above the journal and written practices
|
|
@@ -6996,6 +8004,32 @@ export interface components {
|
|
|
6996
8004
|
[key: string]: number;
|
|
6997
8005
|
} | null;
|
|
6998
8006
|
};
|
|
8007
|
+
/** ReviewOut */
|
|
8008
|
+
guidistry_api__cohorts__schemas__ReviewOut: {
|
|
8009
|
+
/** Decided At */
|
|
8010
|
+
decided_at: string | null;
|
|
8011
|
+
/** Decision */
|
|
8012
|
+
decision: string | null;
|
|
8013
|
+
/**
|
|
8014
|
+
* Id
|
|
8015
|
+
* Format: uuid
|
|
8016
|
+
*/
|
|
8017
|
+
id: string;
|
|
8018
|
+
/** Note */
|
|
8019
|
+
note: string | null;
|
|
8020
|
+
/** Pause Id */
|
|
8021
|
+
pause_id: string | null;
|
|
8022
|
+
/**
|
|
8023
|
+
* Raised At
|
|
8024
|
+
* Format: date-time
|
|
8025
|
+
*/
|
|
8026
|
+
raised_at: string;
|
|
8027
|
+
/**
|
|
8028
|
+
* Reason
|
|
8029
|
+
* @enum {string}
|
|
8030
|
+
*/
|
|
8031
|
+
reason: "pause_limit" | "missed_visits";
|
|
8032
|
+
};
|
|
6999
8033
|
/** RevisionOut */
|
|
7000
8034
|
guidistry_api__content__api_schemas__RevisionOut: {
|
|
7001
8035
|
/** Change Note */
|
|
@@ -7028,6 +8062,96 @@ export interface components {
|
|
|
7028
8062
|
/** Version */
|
|
7029
8063
|
version: string;
|
|
7030
8064
|
};
|
|
8065
|
+
/** Prompt */
|
|
8066
|
+
guidistry_api__content__schema__Prompt: {
|
|
8067
|
+
/**
|
|
8068
|
+
* Key
|
|
8069
|
+
* Format: uuid
|
|
8070
|
+
*/
|
|
8071
|
+
key: string;
|
|
8072
|
+
/** Markdown */
|
|
8073
|
+
markdown: string;
|
|
8074
|
+
/**
|
|
8075
|
+
* Prompt Type
|
|
8076
|
+
* @enum {string}
|
|
8077
|
+
*/
|
|
8078
|
+
prompt_type: "community" | "journal";
|
|
8079
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
8080
|
+
/** Title */
|
|
8081
|
+
title: string;
|
|
8082
|
+
};
|
|
8083
|
+
/** LinkOut */
|
|
8084
|
+
guidistry_api__progress__schemas__LinkOut: {
|
|
8085
|
+
/** Expires In Seconds */
|
|
8086
|
+
expires_in_seconds: number;
|
|
8087
|
+
/** Url */
|
|
8088
|
+
url: string;
|
|
8089
|
+
};
|
|
8090
|
+
/**
|
|
8091
|
+
* LinkOut
|
|
8092
|
+
* @description What a questionnaire link opens: no name, no earlier answers (design §6).
|
|
8093
|
+
*/
|
|
8094
|
+
guidistry_api__questionnaires__schemas__LinkOut: {
|
|
8095
|
+
/** Expires At */
|
|
8096
|
+
expires_at: string | null;
|
|
8097
|
+
/** Forms */
|
|
8098
|
+
forms: components["schemas"]["FormOut"][];
|
|
8099
|
+
/** Note */
|
|
8100
|
+
note: string | null;
|
|
8101
|
+
/** Outstanding */
|
|
8102
|
+
outstanding: string[];
|
|
8103
|
+
/** Practice Name */
|
|
8104
|
+
practice_name: string;
|
|
8105
|
+
};
|
|
8106
|
+
/**
|
|
8107
|
+
* Prompt
|
|
8108
|
+
* @description A sign-in prompt (login_prompt request) the portal shows after the site agreement.
|
|
8109
|
+
*/
|
|
8110
|
+
guidistry_api__questionnaires__schemas__Prompt: {
|
|
8111
|
+
/**
|
|
8112
|
+
* Enrollment Id
|
|
8113
|
+
* Format: uuid
|
|
8114
|
+
*/
|
|
8115
|
+
enrollment_id: string;
|
|
8116
|
+
/** Instruments */
|
|
8117
|
+
instruments: string[];
|
|
8118
|
+
/** Note */
|
|
8119
|
+
note: string | null;
|
|
8120
|
+
/** Outstanding */
|
|
8121
|
+
outstanding: string[];
|
|
8122
|
+
/** Program Name */
|
|
8123
|
+
program_name: string;
|
|
8124
|
+
/**
|
|
8125
|
+
* Request Id
|
|
8126
|
+
* Format: uuid
|
|
8127
|
+
*/
|
|
8128
|
+
request_id: string;
|
|
8129
|
+
};
|
|
8130
|
+
/** ReviewOut */
|
|
8131
|
+
guidistry_api__questionnaires__schemas__ReviewOut: {
|
|
8132
|
+
/**
|
|
8133
|
+
* Answers
|
|
8134
|
+
* @description Your own latest answers
|
|
8135
|
+
*/
|
|
8136
|
+
answers?: {
|
|
8137
|
+
[key: string]: unknown;
|
|
8138
|
+
} | null;
|
|
8139
|
+
/** Closes At */
|
|
8140
|
+
closes_at: string | null;
|
|
8141
|
+
/** Comment */
|
|
8142
|
+
comment?: string | null;
|
|
8143
|
+
/** Open */
|
|
8144
|
+
open: boolean;
|
|
8145
|
+
/** Questions */
|
|
8146
|
+
questions: components["schemas"]["ReviewQuestion"][];
|
|
8147
|
+
/** Submitted At */
|
|
8148
|
+
submitted_at?: string | null;
|
|
8149
|
+
/**
|
|
8150
|
+
* Visit Id
|
|
8151
|
+
* Format: uuid
|
|
8152
|
+
*/
|
|
8153
|
+
visit_id: string;
|
|
8154
|
+
};
|
|
7031
8155
|
/** RevisionOut */
|
|
7032
8156
|
guidistry_api__visits__schemas__RevisionOut: {
|
|
7033
8157
|
/**
|
|
@@ -7829,6 +8953,81 @@ export interface operations {
|
|
|
7829
8953
|
};
|
|
7830
8954
|
};
|
|
7831
8955
|
};
|
|
8956
|
+
list_alerts_v1_alerts_get: {
|
|
8957
|
+
parameters: {
|
|
8958
|
+
query?: {
|
|
8959
|
+
cohort_id?: string | null;
|
|
8960
|
+
enrollment_id?: string | null;
|
|
8961
|
+
status?: string | null;
|
|
8962
|
+
limit?: number;
|
|
8963
|
+
};
|
|
8964
|
+
header?: {
|
|
8965
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
8966
|
+
"X-Guidistry-Context"?: string | null;
|
|
8967
|
+
};
|
|
8968
|
+
path?: never;
|
|
8969
|
+
cookie?: never;
|
|
8970
|
+
};
|
|
8971
|
+
requestBody?: never;
|
|
8972
|
+
responses: {
|
|
8973
|
+
/** @description Successful Response */
|
|
8974
|
+
200: {
|
|
8975
|
+
headers: {
|
|
8976
|
+
[name: string]: unknown;
|
|
8977
|
+
};
|
|
8978
|
+
content: {
|
|
8979
|
+
"application/json": components["schemas"]["AlertPage"];
|
|
8980
|
+
};
|
|
8981
|
+
};
|
|
8982
|
+
/** @description Validation Error */
|
|
8983
|
+
422: {
|
|
8984
|
+
headers: {
|
|
8985
|
+
[name: string]: unknown;
|
|
8986
|
+
};
|
|
8987
|
+
content: {
|
|
8988
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8989
|
+
};
|
|
8990
|
+
};
|
|
8991
|
+
};
|
|
8992
|
+
};
|
|
8993
|
+
alert_event_v1_alerts__alert_id__events_post: {
|
|
8994
|
+
parameters: {
|
|
8995
|
+
query?: never;
|
|
8996
|
+
header?: {
|
|
8997
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
8998
|
+
"X-Guidistry-Context"?: string | null;
|
|
8999
|
+
};
|
|
9000
|
+
path: {
|
|
9001
|
+
alert_id: string;
|
|
9002
|
+
};
|
|
9003
|
+
cookie?: never;
|
|
9004
|
+
};
|
|
9005
|
+
requestBody: {
|
|
9006
|
+
content: {
|
|
9007
|
+
"application/json": components["schemas"]["AlertEventIn"];
|
|
9008
|
+
};
|
|
9009
|
+
};
|
|
9010
|
+
responses: {
|
|
9011
|
+
/** @description Successful Response */
|
|
9012
|
+
200: {
|
|
9013
|
+
headers: {
|
|
9014
|
+
[name: string]: unknown;
|
|
9015
|
+
};
|
|
9016
|
+
content: {
|
|
9017
|
+
"application/json": components["schemas"]["AlertOut"];
|
|
9018
|
+
};
|
|
9019
|
+
};
|
|
9020
|
+
/** @description Validation Error */
|
|
9021
|
+
422: {
|
|
9022
|
+
headers: {
|
|
9023
|
+
[name: string]: unknown;
|
|
9024
|
+
};
|
|
9025
|
+
content: {
|
|
9026
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
9027
|
+
};
|
|
9028
|
+
};
|
|
9029
|
+
};
|
|
9030
|
+
};
|
|
7832
9031
|
list_audit_events_v1_audit_events_get: {
|
|
7833
9032
|
parameters: {
|
|
7834
9033
|
query?: {
|
|
@@ -7898,20 +9097,90 @@ export interface operations {
|
|
|
7898
9097
|
};
|
|
7899
9098
|
};
|
|
7900
9099
|
};
|
|
7901
|
-
list_cohorts_v1_cohorts_get: {
|
|
9100
|
+
list_cohorts_v1_cohorts_get: {
|
|
9101
|
+
parameters: {
|
|
9102
|
+
query?: {
|
|
9103
|
+
program_id?: string | null;
|
|
9104
|
+
/** @description planned, active, completed, cancelled */
|
|
9105
|
+
status?: string[] | null;
|
|
9106
|
+
/** @description Only cohorts I'm on the team of */
|
|
9107
|
+
mine?: boolean;
|
|
9108
|
+
};
|
|
9109
|
+
header?: {
|
|
9110
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
9111
|
+
"X-Guidistry-Context"?: string | null;
|
|
9112
|
+
};
|
|
9113
|
+
path?: never;
|
|
9114
|
+
cookie?: never;
|
|
9115
|
+
};
|
|
9116
|
+
requestBody?: never;
|
|
9117
|
+
responses: {
|
|
9118
|
+
/** @description Successful Response */
|
|
9119
|
+
200: {
|
|
9120
|
+
headers: {
|
|
9121
|
+
[name: string]: unknown;
|
|
9122
|
+
};
|
|
9123
|
+
content: {
|
|
9124
|
+
"application/json": components["schemas"]["CohortOut"][];
|
|
9125
|
+
};
|
|
9126
|
+
};
|
|
9127
|
+
/** @description Validation Error */
|
|
9128
|
+
422: {
|
|
9129
|
+
headers: {
|
|
9130
|
+
[name: string]: unknown;
|
|
9131
|
+
};
|
|
9132
|
+
content: {
|
|
9133
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
9134
|
+
};
|
|
9135
|
+
};
|
|
9136
|
+
};
|
|
9137
|
+
};
|
|
9138
|
+
create_cohort_v1_cohorts_post: {
|
|
9139
|
+
parameters: {
|
|
9140
|
+
query?: never;
|
|
9141
|
+
header?: {
|
|
9142
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
9143
|
+
"X-Guidistry-Context"?: string | null;
|
|
9144
|
+
};
|
|
9145
|
+
path?: never;
|
|
9146
|
+
cookie?: never;
|
|
9147
|
+
};
|
|
9148
|
+
requestBody: {
|
|
9149
|
+
content: {
|
|
9150
|
+
"application/json": components["schemas"]["CohortCreate"];
|
|
9151
|
+
};
|
|
9152
|
+
};
|
|
9153
|
+
responses: {
|
|
9154
|
+
/** @description Successful Response */
|
|
9155
|
+
201: {
|
|
9156
|
+
headers: {
|
|
9157
|
+
[name: string]: unknown;
|
|
9158
|
+
};
|
|
9159
|
+
content: {
|
|
9160
|
+
"application/json": components["schemas"]["CohortOut"];
|
|
9161
|
+
};
|
|
9162
|
+
};
|
|
9163
|
+
/** @description Validation Error */
|
|
9164
|
+
422: {
|
|
9165
|
+
headers: {
|
|
9166
|
+
[name: string]: unknown;
|
|
9167
|
+
};
|
|
9168
|
+
content: {
|
|
9169
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
9170
|
+
};
|
|
9171
|
+
};
|
|
9172
|
+
};
|
|
9173
|
+
};
|
|
9174
|
+
get_cohort_v1_cohorts__cohort_id__get: {
|
|
7902
9175
|
parameters: {
|
|
7903
|
-
query?:
|
|
7904
|
-
program_id?: string | null;
|
|
7905
|
-
/** @description planned, active, completed, cancelled */
|
|
7906
|
-
status?: string[] | null;
|
|
7907
|
-
/** @description Only cohorts I'm on the team of */
|
|
7908
|
-
mine?: boolean;
|
|
7909
|
-
};
|
|
9176
|
+
query?: never;
|
|
7910
9177
|
header?: {
|
|
7911
9178
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
7912
9179
|
"X-Guidistry-Context"?: string | null;
|
|
7913
9180
|
};
|
|
7914
|
-
path
|
|
9181
|
+
path: {
|
|
9182
|
+
cohort_id: string;
|
|
9183
|
+
};
|
|
7915
9184
|
cookie?: never;
|
|
7916
9185
|
};
|
|
7917
9186
|
requestBody?: never;
|
|
@@ -7922,7 +9191,7 @@ export interface operations {
|
|
|
7922
9191
|
[name: string]: unknown;
|
|
7923
9192
|
};
|
|
7924
9193
|
content: {
|
|
7925
|
-
"application/json": components["schemas"]["CohortOut"]
|
|
9194
|
+
"application/json": components["schemas"]["CohortOut"];
|
|
7926
9195
|
};
|
|
7927
9196
|
};
|
|
7928
9197
|
/** @description Validation Error */
|
|
@@ -7936,24 +9205,26 @@ export interface operations {
|
|
|
7936
9205
|
};
|
|
7937
9206
|
};
|
|
7938
9207
|
};
|
|
7939
|
-
|
|
9208
|
+
update_cohort_v1_cohorts__cohort_id__patch: {
|
|
7940
9209
|
parameters: {
|
|
7941
9210
|
query?: never;
|
|
7942
9211
|
header?: {
|
|
7943
9212
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
7944
9213
|
"X-Guidistry-Context"?: string | null;
|
|
7945
9214
|
};
|
|
7946
|
-
path
|
|
9215
|
+
path: {
|
|
9216
|
+
cohort_id: string;
|
|
9217
|
+
};
|
|
7947
9218
|
cookie?: never;
|
|
7948
9219
|
};
|
|
7949
9220
|
requestBody: {
|
|
7950
9221
|
content: {
|
|
7951
|
-
"application/json": components["schemas"]["
|
|
9222
|
+
"application/json": components["schemas"]["CohortUpdate"];
|
|
7952
9223
|
};
|
|
7953
9224
|
};
|
|
7954
9225
|
responses: {
|
|
7955
9226
|
/** @description Successful Response */
|
|
7956
|
-
|
|
9227
|
+
200: {
|
|
7957
9228
|
headers: {
|
|
7958
9229
|
[name: string]: unknown;
|
|
7959
9230
|
};
|
|
@@ -7972,7 +9243,7 @@ export interface operations {
|
|
|
7972
9243
|
};
|
|
7973
9244
|
};
|
|
7974
9245
|
};
|
|
7975
|
-
|
|
9246
|
+
cohort_progress_v1_cohorts__cohort_id__progress_get: {
|
|
7976
9247
|
parameters: {
|
|
7977
9248
|
query?: never;
|
|
7978
9249
|
header?: {
|
|
@@ -7992,7 +9263,7 @@ export interface operations {
|
|
|
7992
9263
|
[name: string]: unknown;
|
|
7993
9264
|
};
|
|
7994
9265
|
content: {
|
|
7995
|
-
"application/json": components["schemas"]["
|
|
9266
|
+
"application/json": components["schemas"]["CohortProgressOut"];
|
|
7996
9267
|
};
|
|
7997
9268
|
};
|
|
7998
9269
|
/** @description Validation Error */
|
|
@@ -8006,7 +9277,7 @@ export interface operations {
|
|
|
8006
9277
|
};
|
|
8007
9278
|
};
|
|
8008
9279
|
};
|
|
8009
|
-
|
|
9280
|
+
cohort_questionnaires_v1_cohorts__cohort_id__questionnaires_get: {
|
|
8010
9281
|
parameters: {
|
|
8011
9282
|
query?: never;
|
|
8012
9283
|
header?: {
|
|
@@ -8018,11 +9289,7 @@ export interface operations {
|
|
|
8018
9289
|
};
|
|
8019
9290
|
cookie?: never;
|
|
8020
9291
|
};
|
|
8021
|
-
requestBody
|
|
8022
|
-
content: {
|
|
8023
|
-
"application/json": components["schemas"]["CohortUpdate"];
|
|
8024
|
-
};
|
|
8025
|
-
};
|
|
9292
|
+
requestBody?: never;
|
|
8026
9293
|
responses: {
|
|
8027
9294
|
/** @description Successful Response */
|
|
8028
9295
|
200: {
|
|
@@ -8030,7 +9297,7 @@ export interface operations {
|
|
|
8030
9297
|
[name: string]: unknown;
|
|
8031
9298
|
};
|
|
8032
9299
|
content: {
|
|
8033
|
-
"application/json": components["schemas"]["
|
|
9300
|
+
"application/json": components["schemas"]["CohortQuestionnairesOut"];
|
|
8034
9301
|
};
|
|
8035
9302
|
};
|
|
8036
9303
|
/** @description Validation Error */
|
|
@@ -8044,7 +9311,7 @@ export interface operations {
|
|
|
8044
9311
|
};
|
|
8045
9312
|
};
|
|
8046
9313
|
};
|
|
8047
|
-
|
|
9314
|
+
cohort_review_summary_v1_cohorts__cohort_id__review_summary_get: {
|
|
8048
9315
|
parameters: {
|
|
8049
9316
|
query?: never;
|
|
8050
9317
|
header?: {
|
|
@@ -8064,7 +9331,7 @@ export interface operations {
|
|
|
8064
9331
|
[name: string]: unknown;
|
|
8065
9332
|
};
|
|
8066
9333
|
content: {
|
|
8067
|
-
"application/json": components["schemas"]["
|
|
9334
|
+
"application/json": components["schemas"]["ReviewSummaryOut"];
|
|
8068
9335
|
};
|
|
8069
9336
|
};
|
|
8070
9337
|
/** @description Validation Error */
|
|
@@ -9274,6 +10541,44 @@ export interface operations {
|
|
|
9274
10541
|
};
|
|
9275
10542
|
};
|
|
9276
10543
|
};
|
|
10544
|
+
list_listens_v1_enrollments__enrollment_id__listens_get: {
|
|
10545
|
+
parameters: {
|
|
10546
|
+
query?: {
|
|
10547
|
+
item_key?: string | null;
|
|
10548
|
+
before?: string | null;
|
|
10549
|
+
limit?: number;
|
|
10550
|
+
};
|
|
10551
|
+
header?: {
|
|
10552
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10553
|
+
"X-Guidistry-Context"?: string | null;
|
|
10554
|
+
};
|
|
10555
|
+
path: {
|
|
10556
|
+
enrollment_id: string;
|
|
10557
|
+
};
|
|
10558
|
+
cookie?: never;
|
|
10559
|
+
};
|
|
10560
|
+
requestBody?: never;
|
|
10561
|
+
responses: {
|
|
10562
|
+
/** @description Successful Response */
|
|
10563
|
+
200: {
|
|
10564
|
+
headers: {
|
|
10565
|
+
[name: string]: unknown;
|
|
10566
|
+
};
|
|
10567
|
+
content: {
|
|
10568
|
+
"application/json": components["schemas"]["ListenPage"];
|
|
10569
|
+
};
|
|
10570
|
+
};
|
|
10571
|
+
/** @description Validation Error */
|
|
10572
|
+
422: {
|
|
10573
|
+
headers: {
|
|
10574
|
+
[name: string]: unknown;
|
|
10575
|
+
};
|
|
10576
|
+
content: {
|
|
10577
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
10578
|
+
};
|
|
10579
|
+
};
|
|
10580
|
+
};
|
|
10581
|
+
};
|
|
9277
10582
|
start_listen_v1_enrollments__enrollment_id__listens_post: {
|
|
9278
10583
|
parameters: {
|
|
9279
10584
|
query?: never;
|
|
@@ -9335,22 +10640,215 @@ export interface operations {
|
|
|
9335
10640
|
headers: {
|
|
9336
10641
|
[name: string]: unknown;
|
|
9337
10642
|
};
|
|
9338
|
-
content: {
|
|
9339
|
-
"application/json": components["schemas"]["PauseOut"];
|
|
9340
|
-
};
|
|
10643
|
+
content: {
|
|
10644
|
+
"application/json": components["schemas"]["PauseOut"];
|
|
10645
|
+
};
|
|
10646
|
+
};
|
|
10647
|
+
/** @description Validation Error */
|
|
10648
|
+
422: {
|
|
10649
|
+
headers: {
|
|
10650
|
+
[name: string]: unknown;
|
|
10651
|
+
};
|
|
10652
|
+
content: {
|
|
10653
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
10654
|
+
};
|
|
10655
|
+
};
|
|
10656
|
+
};
|
|
10657
|
+
};
|
|
10658
|
+
enrollment_progress_v1_enrollments__enrollment_id__progress_get: {
|
|
10659
|
+
parameters: {
|
|
10660
|
+
query?: never;
|
|
10661
|
+
header?: {
|
|
10662
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10663
|
+
"X-Guidistry-Context"?: string | null;
|
|
10664
|
+
};
|
|
10665
|
+
path: {
|
|
10666
|
+
enrollment_id: string;
|
|
10667
|
+
};
|
|
10668
|
+
cookie?: never;
|
|
10669
|
+
};
|
|
10670
|
+
requestBody?: never;
|
|
10671
|
+
responses: {
|
|
10672
|
+
/** @description Successful Response */
|
|
10673
|
+
200: {
|
|
10674
|
+
headers: {
|
|
10675
|
+
[name: string]: unknown;
|
|
10676
|
+
};
|
|
10677
|
+
content: {
|
|
10678
|
+
"application/json": components["schemas"]["ProgressOut"];
|
|
10679
|
+
};
|
|
10680
|
+
};
|
|
10681
|
+
/** @description Validation Error */
|
|
10682
|
+
422: {
|
|
10683
|
+
headers: {
|
|
10684
|
+
[name: string]: unknown;
|
|
10685
|
+
};
|
|
10686
|
+
content: {
|
|
10687
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
10688
|
+
};
|
|
10689
|
+
};
|
|
10690
|
+
};
|
|
10691
|
+
};
|
|
10692
|
+
list_requests_v1_enrollments__enrollment_id__questionnaire_requests_get: {
|
|
10693
|
+
parameters: {
|
|
10694
|
+
query?: never;
|
|
10695
|
+
header?: {
|
|
10696
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10697
|
+
"X-Guidistry-Context"?: string | null;
|
|
10698
|
+
};
|
|
10699
|
+
path: {
|
|
10700
|
+
enrollment_id: string;
|
|
10701
|
+
};
|
|
10702
|
+
cookie?: never;
|
|
10703
|
+
};
|
|
10704
|
+
requestBody?: never;
|
|
10705
|
+
responses: {
|
|
10706
|
+
/** @description Successful Response */
|
|
10707
|
+
200: {
|
|
10708
|
+
headers: {
|
|
10709
|
+
[name: string]: unknown;
|
|
10710
|
+
};
|
|
10711
|
+
content: {
|
|
10712
|
+
"application/json": components["schemas"]["RequestOut"][];
|
|
10713
|
+
};
|
|
10714
|
+
};
|
|
10715
|
+
/** @description Validation Error */
|
|
10716
|
+
422: {
|
|
10717
|
+
headers: {
|
|
10718
|
+
[name: string]: unknown;
|
|
10719
|
+
};
|
|
10720
|
+
content: {
|
|
10721
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
10722
|
+
};
|
|
10723
|
+
};
|
|
10724
|
+
};
|
|
10725
|
+
};
|
|
10726
|
+
create_request_v1_enrollments__enrollment_id__questionnaire_requests_post: {
|
|
10727
|
+
parameters: {
|
|
10728
|
+
query?: never;
|
|
10729
|
+
header?: {
|
|
10730
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10731
|
+
"X-Guidistry-Context"?: string | null;
|
|
10732
|
+
};
|
|
10733
|
+
path: {
|
|
10734
|
+
enrollment_id: string;
|
|
10735
|
+
};
|
|
10736
|
+
cookie?: never;
|
|
10737
|
+
};
|
|
10738
|
+
requestBody: {
|
|
10739
|
+
content: {
|
|
10740
|
+
"application/json": components["schemas"]["RequestCreate"];
|
|
10741
|
+
};
|
|
10742
|
+
};
|
|
10743
|
+
responses: {
|
|
10744
|
+
/** @description Successful Response */
|
|
10745
|
+
201: {
|
|
10746
|
+
headers: {
|
|
10747
|
+
[name: string]: unknown;
|
|
10748
|
+
};
|
|
10749
|
+
content: {
|
|
10750
|
+
"application/json": components["schemas"]["RequestOut"];
|
|
10751
|
+
};
|
|
10752
|
+
};
|
|
10753
|
+
/** @description mode_not_available_yet (text_link, ivr: 6b part 2) */
|
|
10754
|
+
409: {
|
|
10755
|
+
headers: {
|
|
10756
|
+
[name: string]: unknown;
|
|
10757
|
+
};
|
|
10758
|
+
content?: never;
|
|
10759
|
+
};
|
|
10760
|
+
/** @description Validation Error */
|
|
10761
|
+
422: {
|
|
10762
|
+
headers: {
|
|
10763
|
+
[name: string]: unknown;
|
|
10764
|
+
};
|
|
10765
|
+
content: {
|
|
10766
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
10767
|
+
};
|
|
10768
|
+
};
|
|
10769
|
+
};
|
|
10770
|
+
};
|
|
10771
|
+
list_responses_v1_enrollments__enrollment_id__questionnaire_responses_get: {
|
|
10772
|
+
parameters: {
|
|
10773
|
+
query?: {
|
|
10774
|
+
code?: string | null;
|
|
10775
|
+
limit?: number;
|
|
10776
|
+
};
|
|
10777
|
+
header?: {
|
|
10778
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10779
|
+
"X-Guidistry-Context"?: string | null;
|
|
10780
|
+
};
|
|
10781
|
+
path: {
|
|
10782
|
+
enrollment_id: string;
|
|
10783
|
+
};
|
|
10784
|
+
cookie?: never;
|
|
10785
|
+
};
|
|
10786
|
+
requestBody?: never;
|
|
10787
|
+
responses: {
|
|
10788
|
+
/** @description Successful Response */
|
|
10789
|
+
200: {
|
|
10790
|
+
headers: {
|
|
10791
|
+
[name: string]: unknown;
|
|
10792
|
+
};
|
|
10793
|
+
content: {
|
|
10794
|
+
"application/json": components["schemas"]["ResponsePage"];
|
|
10795
|
+
};
|
|
10796
|
+
};
|
|
10797
|
+
/** @description Validation Error */
|
|
10798
|
+
422: {
|
|
10799
|
+
headers: {
|
|
10800
|
+
[name: string]: unknown;
|
|
10801
|
+
};
|
|
10802
|
+
content: {
|
|
10803
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
10804
|
+
};
|
|
10805
|
+
};
|
|
10806
|
+
};
|
|
10807
|
+
};
|
|
10808
|
+
submit_response_v1_enrollments__enrollment_id__questionnaire_responses_post: {
|
|
10809
|
+
parameters: {
|
|
10810
|
+
query?: never;
|
|
10811
|
+
header?: {
|
|
10812
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10813
|
+
"X-Guidistry-Context"?: string | null;
|
|
10814
|
+
};
|
|
10815
|
+
path: {
|
|
10816
|
+
enrollment_id: string;
|
|
10817
|
+
};
|
|
10818
|
+
cookie?: never;
|
|
10819
|
+
};
|
|
10820
|
+
requestBody: {
|
|
10821
|
+
content: {
|
|
10822
|
+
"application/json": components["schemas"]["ResponseIn"];
|
|
10823
|
+
};
|
|
10824
|
+
};
|
|
10825
|
+
responses: {
|
|
10826
|
+
/** @description Successful Response */
|
|
10827
|
+
201: {
|
|
10828
|
+
headers: {
|
|
10829
|
+
[name: string]: unknown;
|
|
10830
|
+
};
|
|
10831
|
+
content: {
|
|
10832
|
+
"application/json": components["schemas"]["ResponseOut"];
|
|
10833
|
+
};
|
|
10834
|
+
};
|
|
10835
|
+
/** @description occurrence_closed, request_closed, mode not allowed */
|
|
10836
|
+
409: {
|
|
10837
|
+
headers: {
|
|
10838
|
+
[name: string]: unknown;
|
|
10839
|
+
};
|
|
10840
|
+
content?: never;
|
|
9341
10841
|
};
|
|
9342
|
-
/** @description
|
|
10842
|
+
/** @description incomplete, value_out_of_range, occurrence_required, … */
|
|
9343
10843
|
422: {
|
|
9344
10844
|
headers: {
|
|
9345
10845
|
[name: string]: unknown;
|
|
9346
10846
|
};
|
|
9347
|
-
content
|
|
9348
|
-
"application/json": components["schemas"]["HTTPValidationError"];
|
|
9349
|
-
};
|
|
10847
|
+
content?: never;
|
|
9350
10848
|
};
|
|
9351
10849
|
};
|
|
9352
10850
|
};
|
|
9353
|
-
|
|
10851
|
+
list_questionnaires_v1_enrollments__enrollment_id__questionnaires_get: {
|
|
9354
10852
|
parameters: {
|
|
9355
10853
|
query?: never;
|
|
9356
10854
|
header?: {
|
|
@@ -9370,7 +10868,7 @@ export interface operations {
|
|
|
9370
10868
|
[name: string]: unknown;
|
|
9371
10869
|
};
|
|
9372
10870
|
content: {
|
|
9373
|
-
"application/json": components["schemas"]["
|
|
10871
|
+
"application/json": components["schemas"]["QuestionnairesOut"];
|
|
9374
10872
|
};
|
|
9375
10873
|
};
|
|
9376
10874
|
/** @description Validation Error */
|
|
@@ -9404,7 +10902,7 @@ export interface operations {
|
|
|
9404
10902
|
[name: string]: unknown;
|
|
9405
10903
|
};
|
|
9406
10904
|
content: {
|
|
9407
|
-
"application/json": components["schemas"]["
|
|
10905
|
+
"application/json": components["schemas"]["guidistry_api__cohorts__schemas__ReviewOut"][];
|
|
9408
10906
|
};
|
|
9409
10907
|
};
|
|
9410
10908
|
/** @description Validation Error */
|
|
@@ -9443,7 +10941,7 @@ export interface operations {
|
|
|
9443
10941
|
[name: string]: unknown;
|
|
9444
10942
|
};
|
|
9445
10943
|
content: {
|
|
9446
|
-
"application/json": components["schemas"]["
|
|
10944
|
+
"application/json": components["schemas"]["guidistry_api__cohorts__schemas__ReviewOut"];
|
|
9447
10945
|
};
|
|
9448
10946
|
};
|
|
9449
10947
|
/** @description Validation Error */
|
|
@@ -9883,6 +11381,41 @@ export interface operations {
|
|
|
9883
11381
|
};
|
|
9884
11382
|
};
|
|
9885
11383
|
};
|
|
11384
|
+
list_instruments_v1_instruments_get: {
|
|
11385
|
+
parameters: {
|
|
11386
|
+
query?: {
|
|
11387
|
+
q?: string | null;
|
|
11388
|
+
family?: string | null;
|
|
11389
|
+
};
|
|
11390
|
+
header?: {
|
|
11391
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11392
|
+
"X-Guidistry-Context"?: string | null;
|
|
11393
|
+
};
|
|
11394
|
+
path?: never;
|
|
11395
|
+
cookie?: never;
|
|
11396
|
+
};
|
|
11397
|
+
requestBody?: never;
|
|
11398
|
+
responses: {
|
|
11399
|
+
/** @description Successful Response */
|
|
11400
|
+
200: {
|
|
11401
|
+
headers: {
|
|
11402
|
+
[name: string]: unknown;
|
|
11403
|
+
};
|
|
11404
|
+
content: {
|
|
11405
|
+
"application/json": components["schemas"]["InstrumentOut"][];
|
|
11406
|
+
};
|
|
11407
|
+
};
|
|
11408
|
+
/** @description Validation Error */
|
|
11409
|
+
422: {
|
|
11410
|
+
headers: {
|
|
11411
|
+
[name: string]: unknown;
|
|
11412
|
+
};
|
|
11413
|
+
content: {
|
|
11414
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
11415
|
+
};
|
|
11416
|
+
};
|
|
11417
|
+
};
|
|
11418
|
+
};
|
|
9886
11419
|
list_invitations_v1_invitations_get: {
|
|
9887
11420
|
parameters: {
|
|
9888
11421
|
query?: {
|
|
@@ -10760,6 +12293,43 @@ export interface operations {
|
|
|
10760
12293
|
};
|
|
10761
12294
|
};
|
|
10762
12295
|
};
|
|
12296
|
+
patient_responses_v1_patients__patient_id__questionnaires_get: {
|
|
12297
|
+
parameters: {
|
|
12298
|
+
query?: {
|
|
12299
|
+
code?: string | null;
|
|
12300
|
+
limit?: number;
|
|
12301
|
+
};
|
|
12302
|
+
header?: {
|
|
12303
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
12304
|
+
"X-Guidistry-Context"?: string | null;
|
|
12305
|
+
};
|
|
12306
|
+
path: {
|
|
12307
|
+
patient_id: string;
|
|
12308
|
+
};
|
|
12309
|
+
cookie?: never;
|
|
12310
|
+
};
|
|
12311
|
+
requestBody?: never;
|
|
12312
|
+
responses: {
|
|
12313
|
+
/** @description Successful Response */
|
|
12314
|
+
200: {
|
|
12315
|
+
headers: {
|
|
12316
|
+
[name: string]: unknown;
|
|
12317
|
+
};
|
|
12318
|
+
content: {
|
|
12319
|
+
"application/json": components["schemas"]["ResponsePage"];
|
|
12320
|
+
};
|
|
12321
|
+
};
|
|
12322
|
+
/** @description Validation Error */
|
|
12323
|
+
422: {
|
|
12324
|
+
headers: {
|
|
12325
|
+
[name: string]: unknown;
|
|
12326
|
+
};
|
|
12327
|
+
content: {
|
|
12328
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12329
|
+
};
|
|
12330
|
+
};
|
|
12331
|
+
};
|
|
12332
|
+
};
|
|
10763
12333
|
get_patient_v1_patients__record_id__get: {
|
|
10764
12334
|
parameters: {
|
|
10765
12335
|
query?: never;
|
|
@@ -10964,7 +12534,185 @@ export interface operations {
|
|
|
10964
12534
|
[name: string]: unknown;
|
|
10965
12535
|
};
|
|
10966
12536
|
content: {
|
|
10967
|
-
"application/json": components["schemas"]["PauseOut"];
|
|
12537
|
+
"application/json": components["schemas"]["PauseOut"];
|
|
12538
|
+
};
|
|
12539
|
+
};
|
|
12540
|
+
/** @description Validation Error */
|
|
12541
|
+
422: {
|
|
12542
|
+
headers: {
|
|
12543
|
+
[name: string]: unknown;
|
|
12544
|
+
};
|
|
12545
|
+
content: {
|
|
12546
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12547
|
+
};
|
|
12548
|
+
};
|
|
12549
|
+
};
|
|
12550
|
+
};
|
|
12551
|
+
list_people_v1_people_get: {
|
|
12552
|
+
parameters: {
|
|
12553
|
+
query?: {
|
|
12554
|
+
/** @description Name search (prefixes) */
|
|
12555
|
+
q?: string | null;
|
|
12556
|
+
/** @description Browse by family-name initial */
|
|
12557
|
+
letter?: string | null;
|
|
12558
|
+
/** @description Only people holding this role */
|
|
12559
|
+
role?: string | null;
|
|
12560
|
+
include_archived?: boolean;
|
|
12561
|
+
};
|
|
12562
|
+
header?: {
|
|
12563
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
12564
|
+
"X-Guidistry-Context"?: string | null;
|
|
12565
|
+
};
|
|
12566
|
+
path?: never;
|
|
12567
|
+
cookie?: never;
|
|
12568
|
+
};
|
|
12569
|
+
requestBody?: never;
|
|
12570
|
+
responses: {
|
|
12571
|
+
/** @description Successful Response */
|
|
12572
|
+
200: {
|
|
12573
|
+
headers: {
|
|
12574
|
+
[name: string]: unknown;
|
|
12575
|
+
};
|
|
12576
|
+
content: {
|
|
12577
|
+
"application/json": components["schemas"]["PeoplePage"];
|
|
12578
|
+
};
|
|
12579
|
+
};
|
|
12580
|
+
/** @description Validation Error */
|
|
12581
|
+
422: {
|
|
12582
|
+
headers: {
|
|
12583
|
+
[name: string]: unknown;
|
|
12584
|
+
};
|
|
12585
|
+
content: {
|
|
12586
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12587
|
+
};
|
|
12588
|
+
};
|
|
12589
|
+
};
|
|
12590
|
+
};
|
|
12591
|
+
get_person_v1_people__record_id__get: {
|
|
12592
|
+
parameters: {
|
|
12593
|
+
query?: never;
|
|
12594
|
+
header?: {
|
|
12595
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
12596
|
+
"X-Guidistry-Context"?: string | null;
|
|
12597
|
+
};
|
|
12598
|
+
path: {
|
|
12599
|
+
record_id: string;
|
|
12600
|
+
};
|
|
12601
|
+
cookie?: never;
|
|
12602
|
+
};
|
|
12603
|
+
requestBody?: never;
|
|
12604
|
+
responses: {
|
|
12605
|
+
/** @description Successful Response */
|
|
12606
|
+
200: {
|
|
12607
|
+
headers: {
|
|
12608
|
+
[name: string]: unknown;
|
|
12609
|
+
};
|
|
12610
|
+
content: {
|
|
12611
|
+
"application/json": components["schemas"]["PersonOut"];
|
|
12612
|
+
};
|
|
12613
|
+
};
|
|
12614
|
+
/** @description Validation Error */
|
|
12615
|
+
422: {
|
|
12616
|
+
headers: {
|
|
12617
|
+
[name: string]: unknown;
|
|
12618
|
+
};
|
|
12619
|
+
content: {
|
|
12620
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12621
|
+
};
|
|
12622
|
+
};
|
|
12623
|
+
};
|
|
12624
|
+
};
|
|
12625
|
+
update_person_v1_people__record_id__patch: {
|
|
12626
|
+
parameters: {
|
|
12627
|
+
query?: never;
|
|
12628
|
+
header?: {
|
|
12629
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
12630
|
+
"X-Guidistry-Context"?: string | null;
|
|
12631
|
+
};
|
|
12632
|
+
path: {
|
|
12633
|
+
record_id: string;
|
|
12634
|
+
};
|
|
12635
|
+
cookie?: never;
|
|
12636
|
+
};
|
|
12637
|
+
requestBody: {
|
|
12638
|
+
content: {
|
|
12639
|
+
"application/json": components["schemas"]["PersonUpdate"];
|
|
12640
|
+
};
|
|
12641
|
+
};
|
|
12642
|
+
responses: {
|
|
12643
|
+
/** @description Successful Response */
|
|
12644
|
+
200: {
|
|
12645
|
+
headers: {
|
|
12646
|
+
[name: string]: unknown;
|
|
12647
|
+
};
|
|
12648
|
+
content: {
|
|
12649
|
+
"application/json": components["schemas"]["PersonOut"];
|
|
12650
|
+
};
|
|
12651
|
+
};
|
|
12652
|
+
/** @description Validation Error */
|
|
12653
|
+
422: {
|
|
12654
|
+
headers: {
|
|
12655
|
+
[name: string]: unknown;
|
|
12656
|
+
};
|
|
12657
|
+
content: {
|
|
12658
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12659
|
+
};
|
|
12660
|
+
};
|
|
12661
|
+
};
|
|
12662
|
+
};
|
|
12663
|
+
list_permissions_v1_permissions_get: {
|
|
12664
|
+
parameters: {
|
|
12665
|
+
query?: never;
|
|
12666
|
+
header?: {
|
|
12667
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
12668
|
+
"X-Guidistry-Context"?: string | null;
|
|
12669
|
+
};
|
|
12670
|
+
path?: never;
|
|
12671
|
+
cookie?: never;
|
|
12672
|
+
};
|
|
12673
|
+
requestBody?: never;
|
|
12674
|
+
responses: {
|
|
12675
|
+
/** @description Successful Response */
|
|
12676
|
+
200: {
|
|
12677
|
+
headers: {
|
|
12678
|
+
[name: string]: unknown;
|
|
12679
|
+
};
|
|
12680
|
+
content: {
|
|
12681
|
+
"application/json": components["schemas"]["PermissionOut"][];
|
|
12682
|
+
};
|
|
12683
|
+
};
|
|
12684
|
+
/** @description Validation Error */
|
|
12685
|
+
422: {
|
|
12686
|
+
headers: {
|
|
12687
|
+
[name: string]: unknown;
|
|
12688
|
+
};
|
|
12689
|
+
content: {
|
|
12690
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
12691
|
+
};
|
|
12692
|
+
};
|
|
12693
|
+
};
|
|
12694
|
+
};
|
|
12695
|
+
list_programs_v1_programs_get: {
|
|
12696
|
+
parameters: {
|
|
12697
|
+
query?: {
|
|
12698
|
+
include_archived?: boolean;
|
|
12699
|
+
};
|
|
12700
|
+
header?: {
|
|
12701
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
12702
|
+
"X-Guidistry-Context"?: string | null;
|
|
12703
|
+
};
|
|
12704
|
+
path?: never;
|
|
12705
|
+
cookie?: never;
|
|
12706
|
+
};
|
|
12707
|
+
requestBody?: never;
|
|
12708
|
+
responses: {
|
|
12709
|
+
/** @description Successful Response */
|
|
12710
|
+
200: {
|
|
12711
|
+
headers: {
|
|
12712
|
+
[name: string]: unknown;
|
|
12713
|
+
};
|
|
12714
|
+
content: {
|
|
12715
|
+
"application/json": components["schemas"]["ProgramOut"][];
|
|
10968
12716
|
};
|
|
10969
12717
|
};
|
|
10970
12718
|
/** @description Validation Error */
|
|
@@ -10978,17 +12726,9 @@ export interface operations {
|
|
|
10978
12726
|
};
|
|
10979
12727
|
};
|
|
10980
12728
|
};
|
|
10981
|
-
|
|
12729
|
+
create_program_v1_programs_post: {
|
|
10982
12730
|
parameters: {
|
|
10983
|
-
query?:
|
|
10984
|
-
/** @description Name search (prefixes) */
|
|
10985
|
-
q?: string | null;
|
|
10986
|
-
/** @description Browse by family-name initial */
|
|
10987
|
-
letter?: string | null;
|
|
10988
|
-
/** @description Only people holding this role */
|
|
10989
|
-
role?: string | null;
|
|
10990
|
-
include_archived?: boolean;
|
|
10991
|
-
};
|
|
12731
|
+
query?: never;
|
|
10992
12732
|
header?: {
|
|
10993
12733
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
10994
12734
|
"X-Guidistry-Context"?: string | null;
|
|
@@ -10996,15 +12736,19 @@ export interface operations {
|
|
|
10996
12736
|
path?: never;
|
|
10997
12737
|
cookie?: never;
|
|
10998
12738
|
};
|
|
10999
|
-
requestBody
|
|
12739
|
+
requestBody: {
|
|
12740
|
+
content: {
|
|
12741
|
+
"application/json": components["schemas"]["ProgramCreate"];
|
|
12742
|
+
};
|
|
12743
|
+
};
|
|
11000
12744
|
responses: {
|
|
11001
12745
|
/** @description Successful Response */
|
|
11002
|
-
|
|
12746
|
+
201: {
|
|
11003
12747
|
headers: {
|
|
11004
12748
|
[name: string]: unknown;
|
|
11005
12749
|
};
|
|
11006
12750
|
content: {
|
|
11007
|
-
"application/json": components["schemas"]["
|
|
12751
|
+
"application/json": components["schemas"]["ProgramOut"];
|
|
11008
12752
|
};
|
|
11009
12753
|
};
|
|
11010
12754
|
/** @description Validation Error */
|
|
@@ -11018,7 +12762,7 @@ export interface operations {
|
|
|
11018
12762
|
};
|
|
11019
12763
|
};
|
|
11020
12764
|
};
|
|
11021
|
-
|
|
12765
|
+
get_program_v1_programs__program_id__get: {
|
|
11022
12766
|
parameters: {
|
|
11023
12767
|
query?: never;
|
|
11024
12768
|
header?: {
|
|
@@ -11026,7 +12770,7 @@ export interface operations {
|
|
|
11026
12770
|
"X-Guidistry-Context"?: string | null;
|
|
11027
12771
|
};
|
|
11028
12772
|
path: {
|
|
11029
|
-
|
|
12773
|
+
program_id: string;
|
|
11030
12774
|
};
|
|
11031
12775
|
cookie?: never;
|
|
11032
12776
|
};
|
|
@@ -11038,7 +12782,7 @@ export interface operations {
|
|
|
11038
12782
|
[name: string]: unknown;
|
|
11039
12783
|
};
|
|
11040
12784
|
content: {
|
|
11041
|
-
"application/json": components["schemas"]["
|
|
12785
|
+
"application/json": components["schemas"]["ProgramOut"];
|
|
11042
12786
|
};
|
|
11043
12787
|
};
|
|
11044
12788
|
/** @description Validation Error */
|
|
@@ -11052,7 +12796,7 @@ export interface operations {
|
|
|
11052
12796
|
};
|
|
11053
12797
|
};
|
|
11054
12798
|
};
|
|
11055
|
-
|
|
12799
|
+
update_program_v1_programs__program_id__patch: {
|
|
11056
12800
|
parameters: {
|
|
11057
12801
|
query?: never;
|
|
11058
12802
|
header?: {
|
|
@@ -11060,13 +12804,13 @@ export interface operations {
|
|
|
11060
12804
|
"X-Guidistry-Context"?: string | null;
|
|
11061
12805
|
};
|
|
11062
12806
|
path: {
|
|
11063
|
-
|
|
12807
|
+
program_id: string;
|
|
11064
12808
|
};
|
|
11065
12809
|
cookie?: never;
|
|
11066
12810
|
};
|
|
11067
12811
|
requestBody: {
|
|
11068
12812
|
content: {
|
|
11069
|
-
"application/json": components["schemas"]["
|
|
12813
|
+
"application/json": components["schemas"]["ProgramUpdate"];
|
|
11070
12814
|
};
|
|
11071
12815
|
};
|
|
11072
12816
|
responses: {
|
|
@@ -11076,7 +12820,7 @@ export interface operations {
|
|
|
11076
12820
|
[name: string]: unknown;
|
|
11077
12821
|
};
|
|
11078
12822
|
content: {
|
|
11079
|
-
"application/json": components["schemas"]["
|
|
12823
|
+
"application/json": components["schemas"]["ProgramOut"];
|
|
11080
12824
|
};
|
|
11081
12825
|
};
|
|
11082
12826
|
/** @description Validation Error */
|
|
@@ -11090,14 +12834,16 @@ export interface operations {
|
|
|
11090
12834
|
};
|
|
11091
12835
|
};
|
|
11092
12836
|
};
|
|
11093
|
-
|
|
12837
|
+
program_cohorts_v1_programs__program_id__cohorts_get: {
|
|
11094
12838
|
parameters: {
|
|
11095
12839
|
query?: never;
|
|
11096
12840
|
header?: {
|
|
11097
12841
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11098
12842
|
"X-Guidistry-Context"?: string | null;
|
|
11099
12843
|
};
|
|
11100
|
-
path
|
|
12844
|
+
path: {
|
|
12845
|
+
program_id: string;
|
|
12846
|
+
};
|
|
11101
12847
|
cookie?: never;
|
|
11102
12848
|
};
|
|
11103
12849
|
requestBody?: never;
|
|
@@ -11108,7 +12854,7 @@ export interface operations {
|
|
|
11108
12854
|
[name: string]: unknown;
|
|
11109
12855
|
};
|
|
11110
12856
|
content: {
|
|
11111
|
-
"application/json": components["schemas"]["
|
|
12857
|
+
"application/json": components["schemas"]["CohortOut"][];
|
|
11112
12858
|
};
|
|
11113
12859
|
};
|
|
11114
12860
|
/** @description Validation Error */
|
|
@@ -11122,16 +12868,19 @@ export interface operations {
|
|
|
11122
12868
|
};
|
|
11123
12869
|
};
|
|
11124
12870
|
};
|
|
11125
|
-
|
|
12871
|
+
get_program_content_v1_programs__program_id__content_get: {
|
|
11126
12872
|
parameters: {
|
|
11127
12873
|
query?: {
|
|
11128
|
-
|
|
12874
|
+
view?: "participant" | "staff";
|
|
12875
|
+
language?: string | null;
|
|
11129
12876
|
};
|
|
11130
12877
|
header?: {
|
|
11131
12878
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11132
12879
|
"X-Guidistry-Context"?: string | null;
|
|
11133
12880
|
};
|
|
11134
|
-
path
|
|
12881
|
+
path: {
|
|
12882
|
+
program_id: string;
|
|
12883
|
+
};
|
|
11135
12884
|
cookie?: never;
|
|
11136
12885
|
};
|
|
11137
12886
|
requestBody?: never;
|
|
@@ -11142,7 +12891,7 @@ export interface operations {
|
|
|
11142
12891
|
[name: string]: unknown;
|
|
11143
12892
|
};
|
|
11144
12893
|
content: {
|
|
11145
|
-
"application/json": components["schemas"]["
|
|
12894
|
+
"application/json": components["schemas"]["CourseContent"];
|
|
11146
12895
|
};
|
|
11147
12896
|
};
|
|
11148
12897
|
/** @description Validation Error */
|
|
@@ -11156,29 +12905,27 @@ export interface operations {
|
|
|
11156
12905
|
};
|
|
11157
12906
|
};
|
|
11158
12907
|
};
|
|
11159
|
-
|
|
12908
|
+
program_review_summary_v1_programs__program_id__review_summary_get: {
|
|
11160
12909
|
parameters: {
|
|
11161
12910
|
query?: never;
|
|
11162
12911
|
header?: {
|
|
11163
12912
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11164
12913
|
"X-Guidistry-Context"?: string | null;
|
|
11165
12914
|
};
|
|
11166
|
-
path
|
|
11167
|
-
|
|
11168
|
-
};
|
|
11169
|
-
requestBody: {
|
|
11170
|
-
content: {
|
|
11171
|
-
"application/json": components["schemas"]["ProgramCreate"];
|
|
12915
|
+
path: {
|
|
12916
|
+
program_id: string;
|
|
11172
12917
|
};
|
|
12918
|
+
cookie?: never;
|
|
11173
12919
|
};
|
|
12920
|
+
requestBody?: never;
|
|
11174
12921
|
responses: {
|
|
11175
12922
|
/** @description Successful Response */
|
|
11176
|
-
|
|
12923
|
+
200: {
|
|
11177
12924
|
headers: {
|
|
11178
12925
|
[name: string]: unknown;
|
|
11179
12926
|
};
|
|
11180
12927
|
content: {
|
|
11181
|
-
"application/json": components["schemas"]["
|
|
12928
|
+
"application/json": components["schemas"]["ReviewSummaryOut"];
|
|
11182
12929
|
};
|
|
11183
12930
|
};
|
|
11184
12931
|
/** @description Validation Error */
|
|
@@ -11192,15 +12939,17 @@ export interface operations {
|
|
|
11192
12939
|
};
|
|
11193
12940
|
};
|
|
11194
12941
|
};
|
|
11195
|
-
|
|
12942
|
+
get_form_v1_questionnaire_forms__code__get: {
|
|
11196
12943
|
parameters: {
|
|
11197
|
-
query?:
|
|
12944
|
+
query?: {
|
|
12945
|
+
version?: string | null;
|
|
12946
|
+
};
|
|
11198
12947
|
header?: {
|
|
11199
12948
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11200
12949
|
"X-Guidistry-Context"?: string | null;
|
|
11201
12950
|
};
|
|
11202
12951
|
path: {
|
|
11203
|
-
|
|
12952
|
+
code: string;
|
|
11204
12953
|
};
|
|
11205
12954
|
cookie?: never;
|
|
11206
12955
|
};
|
|
@@ -11212,7 +12961,7 @@ export interface operations {
|
|
|
11212
12961
|
[name: string]: unknown;
|
|
11213
12962
|
};
|
|
11214
12963
|
content: {
|
|
11215
|
-
"application/json": components["schemas"]["
|
|
12964
|
+
"application/json": components["schemas"]["FormOut"];
|
|
11216
12965
|
};
|
|
11217
12966
|
};
|
|
11218
12967
|
/** @description Validation Error */
|
|
@@ -11226,23 +12975,16 @@ export interface operations {
|
|
|
11226
12975
|
};
|
|
11227
12976
|
};
|
|
11228
12977
|
};
|
|
11229
|
-
|
|
12978
|
+
open_link_v1_questionnaire_links__token__get: {
|
|
11230
12979
|
parameters: {
|
|
11231
12980
|
query?: never;
|
|
11232
|
-
header?:
|
|
11233
|
-
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11234
|
-
"X-Guidistry-Context"?: string | null;
|
|
11235
|
-
};
|
|
12981
|
+
header?: never;
|
|
11236
12982
|
path: {
|
|
11237
|
-
|
|
12983
|
+
token: string;
|
|
11238
12984
|
};
|
|
11239
12985
|
cookie?: never;
|
|
11240
12986
|
};
|
|
11241
|
-
requestBody
|
|
11242
|
-
content: {
|
|
11243
|
-
"application/json": components["schemas"]["ProgramUpdate"];
|
|
11244
|
-
};
|
|
11245
|
-
};
|
|
12987
|
+
requestBody?: never;
|
|
11246
12988
|
responses: {
|
|
11247
12989
|
/** @description Successful Response */
|
|
11248
12990
|
200: {
|
|
@@ -11250,8 +12992,15 @@ export interface operations {
|
|
|
11250
12992
|
[name: string]: unknown;
|
|
11251
12993
|
};
|
|
11252
12994
|
content: {
|
|
11253
|
-
"application/json": components["schemas"]["
|
|
12995
|
+
"application/json": components["schemas"]["guidistry_api__questionnaires__schemas__LinkOut"];
|
|
12996
|
+
};
|
|
12997
|
+
};
|
|
12998
|
+
/** @description link_completed, link_expired, link_cancelled */
|
|
12999
|
+
410: {
|
|
13000
|
+
headers: {
|
|
13001
|
+
[name: string]: unknown;
|
|
11254
13002
|
};
|
|
13003
|
+
content?: never;
|
|
11255
13004
|
};
|
|
11256
13005
|
/** @description Validation Error */
|
|
11257
13006
|
422: {
|
|
@@ -11264,27 +13013,28 @@ export interface operations {
|
|
|
11264
13013
|
};
|
|
11265
13014
|
};
|
|
11266
13015
|
};
|
|
11267
|
-
|
|
13016
|
+
answer_link_v1_questionnaire_links__token__responses_post: {
|
|
11268
13017
|
parameters: {
|
|
11269
13018
|
query?: never;
|
|
11270
|
-
header?:
|
|
11271
|
-
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11272
|
-
"X-Guidistry-Context"?: string | null;
|
|
11273
|
-
};
|
|
13019
|
+
header?: never;
|
|
11274
13020
|
path: {
|
|
11275
|
-
|
|
13021
|
+
token: string;
|
|
11276
13022
|
};
|
|
11277
13023
|
cookie?: never;
|
|
11278
13024
|
};
|
|
11279
|
-
requestBody
|
|
13025
|
+
requestBody: {
|
|
13026
|
+
content: {
|
|
13027
|
+
"application/json": components["schemas"]["LinkResponseIn"];
|
|
13028
|
+
};
|
|
13029
|
+
};
|
|
11280
13030
|
responses: {
|
|
11281
13031
|
/** @description Successful Response */
|
|
11282
|
-
|
|
13032
|
+
201: {
|
|
11283
13033
|
headers: {
|
|
11284
13034
|
[name: string]: unknown;
|
|
11285
13035
|
};
|
|
11286
13036
|
content: {
|
|
11287
|
-
"application/json": components["schemas"]["
|
|
13037
|
+
"application/json": components["schemas"]["LinkResponseOut"];
|
|
11288
13038
|
};
|
|
11289
13039
|
};
|
|
11290
13040
|
/** @description Validation Error */
|
|
@@ -11298,18 +13048,15 @@ export interface operations {
|
|
|
11298
13048
|
};
|
|
11299
13049
|
};
|
|
11300
13050
|
};
|
|
11301
|
-
|
|
13051
|
+
cancel_request_v1_questionnaire_requests__request_id__cancel_post: {
|
|
11302
13052
|
parameters: {
|
|
11303
|
-
query?:
|
|
11304
|
-
view?: "participant" | "staff";
|
|
11305
|
-
language?: string | null;
|
|
11306
|
-
};
|
|
13053
|
+
query?: never;
|
|
11307
13054
|
header?: {
|
|
11308
13055
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
11309
13056
|
"X-Guidistry-Context"?: string | null;
|
|
11310
13057
|
};
|
|
11311
13058
|
path: {
|
|
11312
|
-
|
|
13059
|
+
request_id: string;
|
|
11313
13060
|
};
|
|
11314
13061
|
cookie?: never;
|
|
11315
13062
|
};
|
|
@@ -11321,7 +13068,7 @@ export interface operations {
|
|
|
11321
13068
|
[name: string]: unknown;
|
|
11322
13069
|
};
|
|
11323
13070
|
content: {
|
|
11324
|
-
"application/json": components["schemas"]["
|
|
13071
|
+
"application/json": components["schemas"]["RequestOut"];
|
|
11325
13072
|
};
|
|
11326
13073
|
};
|
|
11327
13074
|
/** @description Validation Error */
|
|
@@ -12069,7 +13816,7 @@ export interface operations {
|
|
|
12069
13816
|
"application/json": components["schemas"]["JoinOut"];
|
|
12070
13817
|
};
|
|
12071
13818
|
};
|
|
12072
|
-
/** @description agreement_required, too_early or
|
|
13819
|
+
/** @description agreement_required, too_early, not_joinable or (when the program requires it) questionnaires_required */
|
|
12073
13820
|
409: {
|
|
12074
13821
|
headers: {
|
|
12075
13822
|
[name: string]: unknown;
|
|
@@ -12265,6 +14012,42 @@ export interface operations {
|
|
|
12265
14012
|
};
|
|
12266
14013
|
};
|
|
12267
14014
|
};
|
|
14015
|
+
skip_for_now_v1_visits__visit_id__questionnaire_skips_post: {
|
|
14016
|
+
parameters: {
|
|
14017
|
+
query?: never;
|
|
14018
|
+
header?: {
|
|
14019
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
14020
|
+
"X-Guidistry-Context"?: string | null;
|
|
14021
|
+
};
|
|
14022
|
+
path: {
|
|
14023
|
+
visit_id: string;
|
|
14024
|
+
};
|
|
14025
|
+
cookie?: never;
|
|
14026
|
+
};
|
|
14027
|
+
requestBody: {
|
|
14028
|
+
content: {
|
|
14029
|
+
"application/json": components["schemas"]["SkipIn"];
|
|
14030
|
+
};
|
|
14031
|
+
};
|
|
14032
|
+
responses: {
|
|
14033
|
+
/** @description Successful Response */
|
|
14034
|
+
204: {
|
|
14035
|
+
headers: {
|
|
14036
|
+
[name: string]: unknown;
|
|
14037
|
+
};
|
|
14038
|
+
content?: never;
|
|
14039
|
+
};
|
|
14040
|
+
/** @description Validation Error */
|
|
14041
|
+
422: {
|
|
14042
|
+
headers: {
|
|
14043
|
+
[name: string]: unknown;
|
|
14044
|
+
};
|
|
14045
|
+
content: {
|
|
14046
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
14047
|
+
};
|
|
14048
|
+
};
|
|
14049
|
+
};
|
|
14050
|
+
};
|
|
12268
14051
|
readiness_v1_visits__visit_id__readiness_get: {
|
|
12269
14052
|
parameters: {
|
|
12270
14053
|
query?: never;
|
|
@@ -12337,6 +14120,112 @@ export interface operations {
|
|
|
12337
14120
|
};
|
|
12338
14121
|
};
|
|
12339
14122
|
};
|
|
14123
|
+
get_review_v1_visits__visit_id__review_get: {
|
|
14124
|
+
parameters: {
|
|
14125
|
+
query?: never;
|
|
14126
|
+
header?: {
|
|
14127
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
14128
|
+
"X-Guidistry-Context"?: string | null;
|
|
14129
|
+
};
|
|
14130
|
+
path: {
|
|
14131
|
+
visit_id: string;
|
|
14132
|
+
};
|
|
14133
|
+
cookie?: never;
|
|
14134
|
+
};
|
|
14135
|
+
requestBody?: never;
|
|
14136
|
+
responses: {
|
|
14137
|
+
/** @description Successful Response */
|
|
14138
|
+
200: {
|
|
14139
|
+
headers: {
|
|
14140
|
+
[name: string]: unknown;
|
|
14141
|
+
};
|
|
14142
|
+
content: {
|
|
14143
|
+
"application/json": components["schemas"]["guidistry_api__questionnaires__schemas__ReviewOut"];
|
|
14144
|
+
};
|
|
14145
|
+
};
|
|
14146
|
+
/** @description Validation Error */
|
|
14147
|
+
422: {
|
|
14148
|
+
headers: {
|
|
14149
|
+
[name: string]: unknown;
|
|
14150
|
+
};
|
|
14151
|
+
content: {
|
|
14152
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
14153
|
+
};
|
|
14154
|
+
};
|
|
14155
|
+
};
|
|
14156
|
+
};
|
|
14157
|
+
post_review_v1_visits__visit_id__review_post: {
|
|
14158
|
+
parameters: {
|
|
14159
|
+
query?: never;
|
|
14160
|
+
header?: {
|
|
14161
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
14162
|
+
"X-Guidistry-Context"?: string | null;
|
|
14163
|
+
};
|
|
14164
|
+
path: {
|
|
14165
|
+
visit_id: string;
|
|
14166
|
+
};
|
|
14167
|
+
cookie?: never;
|
|
14168
|
+
};
|
|
14169
|
+
requestBody: {
|
|
14170
|
+
content: {
|
|
14171
|
+
"application/json": components["schemas"]["ReviewIn"];
|
|
14172
|
+
};
|
|
14173
|
+
};
|
|
14174
|
+
responses: {
|
|
14175
|
+
/** @description Successful Response */
|
|
14176
|
+
201: {
|
|
14177
|
+
headers: {
|
|
14178
|
+
[name: string]: unknown;
|
|
14179
|
+
};
|
|
14180
|
+
content: {
|
|
14181
|
+
"application/json": components["schemas"]["guidistry_api__questionnaires__schemas__ReviewOut"];
|
|
14182
|
+
};
|
|
14183
|
+
};
|
|
14184
|
+
/** @description Validation Error */
|
|
14185
|
+
422: {
|
|
14186
|
+
headers: {
|
|
14187
|
+
[name: string]: unknown;
|
|
14188
|
+
};
|
|
14189
|
+
content: {
|
|
14190
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
14191
|
+
};
|
|
14192
|
+
};
|
|
14193
|
+
};
|
|
14194
|
+
};
|
|
14195
|
+
visit_review_summary_v1_visits__visit_id__review_summary_get: {
|
|
14196
|
+
parameters: {
|
|
14197
|
+
query?: never;
|
|
14198
|
+
header?: {
|
|
14199
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
14200
|
+
"X-Guidistry-Context"?: string | null;
|
|
14201
|
+
};
|
|
14202
|
+
path: {
|
|
14203
|
+
visit_id: string;
|
|
14204
|
+
};
|
|
14205
|
+
cookie?: never;
|
|
14206
|
+
};
|
|
14207
|
+
requestBody?: never;
|
|
14208
|
+
responses: {
|
|
14209
|
+
/** @description Successful Response */
|
|
14210
|
+
200: {
|
|
14211
|
+
headers: {
|
|
14212
|
+
[name: string]: unknown;
|
|
14213
|
+
};
|
|
14214
|
+
content: {
|
|
14215
|
+
"application/json": components["schemas"]["ReviewSummaryOut"];
|
|
14216
|
+
};
|
|
14217
|
+
};
|
|
14218
|
+
/** @description Validation Error */
|
|
14219
|
+
422: {
|
|
14220
|
+
headers: {
|
|
14221
|
+
[name: string]: unknown;
|
|
14222
|
+
};
|
|
14223
|
+
content: {
|
|
14224
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
14225
|
+
};
|
|
14226
|
+
};
|
|
14227
|
+
};
|
|
14228
|
+
};
|
|
12340
14229
|
complete_attachment_v1_writing_attachments__attachment_id__complete_post: {
|
|
12341
14230
|
parameters: {
|
|
12342
14231
|
query?: never;
|
|
@@ -12391,7 +14280,7 @@ export interface operations {
|
|
|
12391
14280
|
[name: string]: unknown;
|
|
12392
14281
|
};
|
|
12393
14282
|
content: {
|
|
12394
|
-
"application/json": components["schemas"]["
|
|
14283
|
+
"application/json": components["schemas"]["guidistry_api__progress__schemas__LinkOut"];
|
|
12395
14284
|
};
|
|
12396
14285
|
};
|
|
12397
14286
|
/** @description Validation Error */
|