Skip to content

Commit f018976

Browse files
committed
Reorder fields for easier reading.
1 parent bff2ba2 commit f018976

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

reference/clinic.v1.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -254,26 +254,28 @@ paths:
254254
name: period
255255
description: Time Period to display
256256
required: true
257-
- schema:
257+
- name: tags
258+
description: Comma-separated list of patient tag IDs
259+
schema:
258260
type: array
259261
items:
260262
type: string
261263
pattern: '^[a-f0-9]{24}$'
262264
minItems: 1
263265
in: query
264-
name: tags
265-
description: Comma-separated list of patient tag IDs
266266
style: form
267267
explode: false
268268
required: true
269-
- schema:
269+
- name: lastDataCutoff
270+
description: Inclusive minimum of date of last data from a patient.
271+
schema:
270272
type: string
271273
format: date-time
272274
in: query
273-
name: lastDataCutoff
274-
description: Inclusive minimum of date of last data from a patient.
275275
required: true
276-
- schema:
276+
- name: categories
277+
description: Comma-separated list of TIDE report categories. If omitted or empty, the default TIDE categories will be returned.
278+
schema:
277279
type: array
278280
x-go-type-skip-optional-pointer: true
279281
x-omitempty: true
@@ -282,19 +284,15 @@ paths:
282284
type: string
283285
enum: ['timeInVeryLowPercent', 'timeInAnyLowPercent', 'timeInExtremeHighPercent', 'timeInVeryHighPercent', 'timeInHighPercent', 'dropInTimeInTargetPercent', 'timeInTargetPercent', 'timeCGMUsePercent', 'meetingTargets', 'noData']
284286
in: query
285-
name: categories
286-
description: Comma-separated list of TIDE report categories. If omitted or empty, the default TIDE categories will be returned.
287287
style: form
288288
explode: false
289-
- schema:
289+
- name: excludeNoDataPatients
290+
description: If true, then exclude / omit patients with no data in the TIDE report.
291+
schema:
290292
type: boolean
291293
x-go-type-skip-optional-pointer: true
292294
x-omitempty: true
293-
x-omitzero: true
294295
in: query
295-
name: excludeNoDataPatients
296-
description: If true, then exclude / omit patients with no data in the TIDE report.
297-
style: form
298296
'/v1/clinics/{clinicId}/patients':
299297
parameters:
300298
- $ref: '#/components/parameters/clinicId'

0 commit comments

Comments
 (0)