You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zoo-api/paths/qoc_indicatorset_{setKey}.yaml

43 lines
1.3 KiB
YAML

get:
tags:
- Quality of Care
summary: Load an indicator-based report
parameters:
- name: setKey
in: path
description: The key as listed in the `CareProgram` schema.
required: true
schema:
type: string
example: ZEL-dm
- name: refDate
in: query
description: |-
The date in `2023-04-01` format; defaults to the first day in the next quarter, e.g. on april 5th 2023, defaults to `2023-07-01`.
required: false
schema:
type: string
format: date
example: 2023-04-01
- $ref: '../zoo-api.yaml#/components/parameters/Authorization'
responses:
'200':
description: |-
all data required to render an indicatorset is returned.
Examples:
* <a href="examples/qoc_indicatorset.1.json">Example complete response</a>
* <a href="examples/qoc_indicatorset.ui_example.png">Example UI render</a>
content:
application/json:
schema:
$ref: '../schemas/IndicatorSet.yaml'
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':
$ref: '../zoo-api.yaml#/components/responses/NoAccess'
'404':
description: The provided `setKey` doesn't refer to a valid program.