[qoc] Add participating-practices, indicator-detail, and list-groups endpoints
parent
7dfcb5271d
commit
12f4ded527
@ -0,0 +1,42 @@
|
|||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Quality of Care
|
||||||
|
summary: Show per-patient details for a specific indicator
|
||||||
|
parameters:
|
||||||
|
- name: setKey
|
||||||
|
in: path
|
||||||
|
description: The key as listed in the `CareProgram` schema.
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: ZEL-dm
|
||||||
|
- name: indicatorKey
|
||||||
|
in: path
|
||||||
|
description: The key as listed in the indicatorset.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: ZOO-dm2-hb-3
|
||||||
|
- 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
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: >-
|
||||||
|
Some descriptive text explaining this indicator in detail as well as a per-patient report.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '../schemas/IndicatorDetail.yaml'
|
||||||
|
'401':
|
||||||
|
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
||||||
|
'403':
|
||||||
|
$ref: '../zoo-api.yaml#/components/responses/NoAccess'
|
||||||
|
'404':
|
||||||
|
description: The provided `setKey` and/or `indicatorKey` do not refer to a valid program or indicator.
|
||||||
|
|
||||||
@ -0,0 +1,42 @@
|
|||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Quality of Care
|
||||||
|
summary: Show all groups available for indicator reports. A group is a group of GP practices that do (part) of chronic care together.
|
||||||
|
parameters:
|
||||||
|
- 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
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: >-
|
||||||
|
A list of available groups.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
refDate:
|
||||||
|
description: 'Groups reported are available for this date (dutch: _peildatum_).'
|
||||||
|
type: string
|
||||||
|
format: date
|
||||||
|
example: 2023-04-01
|
||||||
|
groups:
|
||||||
|
description: A list of available groups.
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
description: A tag (generally lower-case, no spaces).
|
||||||
|
type: string
|
||||||
|
example: hwf
|
||||||
|
required:
|
||||||
|
- refDate
|
||||||
|
- groups
|
||||||
|
'401':
|
||||||
|
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
||||||
|
'403':
|
||||||
|
$ref: '../zoo-api.yaml#/components/responses/NoAccess'
|
||||||
@ -0,0 +1,112 @@
|
|||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Quality of Care
|
||||||
|
summary: Show each participating GP practice as well as the status of their data for a given indicator report and a given group.
|
||||||
|
parameters:
|
||||||
|
- name: group
|
||||||
|
in: path
|
||||||
|
description: The key as listed in the `list-groups` endpoint.
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: hwf
|
||||||
|
- 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
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: >-
|
||||||
|
A list of available groups.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
group:
|
||||||
|
description: Repeats the `group` parameter.
|
||||||
|
type: string
|
||||||
|
example: hwf
|
||||||
|
calculatedAt:
|
||||||
|
description: |-
|
||||||
|
*OPTIONAL*. The timestamp when the group average was calculated. If not present, no group average calculation is available.
|
||||||
|
type: string
|
||||||
|
format: dateTime
|
||||||
|
example: 2023-04-01T12:30:00.000Z
|
||||||
|
refDate:
|
||||||
|
description: 'Groups reported are available for this date (dutch: _peildatum_).'
|
||||||
|
type: string
|
||||||
|
format: date
|
||||||
|
example: 2023-04-01
|
||||||
|
key:
|
||||||
|
description: Repeats the `setKey` parameter.
|
||||||
|
type: string
|
||||||
|
example: ZOO-dm
|
||||||
|
title:
|
||||||
|
description: The title of the requested indicator set.
|
||||||
|
type: string
|
||||||
|
example: Diabetes Mellitus type 2
|
||||||
|
participants:
|
||||||
|
description: A list of practices in this group.
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
agb:
|
||||||
|
description: The AGB code for this practice.
|
||||||
|
type: number
|
||||||
|
example: 1012345
|
||||||
|
name:
|
||||||
|
description: The name of this practice.
|
||||||
|
type: string
|
||||||
|
example: Huisartsenpraktijk Mien Dobbelsteen
|
||||||
|
his:
|
||||||
|
description: The type of GP Information System
|
||||||
|
type: string
|
||||||
|
exclusionReason:
|
||||||
|
description: |-
|
||||||
|
If present, this GP is excluded from this care program. The value describes (dutch, *HTML*) why.
|
||||||
|
If not present, `mostRecentDataAvailable` will be available.
|
||||||
|
type: string
|
||||||
|
calculationBasedOn:
|
||||||
|
description: |-
|
||||||
|
If present, this GP practice is calculated for this refDate for this care program, and the calculation
|
||||||
|
is based on a snapshot of HIS data at this instant.
|
||||||
|
type: string
|
||||||
|
format: datetime
|
||||||
|
example: 2023-04-01T12:30:00.000Z
|
||||||
|
mostRecentDataAvailable:
|
||||||
|
description: |-
|
||||||
|
If present, this GP practice's most recent available data is a HIS snapshot with HIS data at this instant.
|
||||||
|
Usually equal to `calculationBasedOn`, but can be newer. If not present, this GP practice has no data available.
|
||||||
|
type: string
|
||||||
|
format: datetime
|
||||||
|
example: 2023-04-01T12:30:00.000Z
|
||||||
|
required:
|
||||||
|
- agb
|
||||||
|
- name
|
||||||
|
- his
|
||||||
|
required:
|
||||||
|
- group
|
||||||
|
- refDate
|
||||||
|
- key
|
||||||
|
- title
|
||||||
|
- participants
|
||||||
|
'401':
|
||||||
|
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
||||||
|
'403':
|
||||||
|
$ref: '../zoo-api.yaml#/components/responses/NoAccess'
|
||||||
|
'404':
|
||||||
|
description: The provided `group` and/or `setKey` do not refer to a valid group or program.
|
||||||
Loading…
Reference in New Issue