Added bare mode (practice only) and enddate optional in response.

EH/population-statistics-authorisation
Eric Hoekstra 1 year ago
parent 3a1e5ec087
commit 6cb71d09bd

@ -7,6 +7,8 @@ get:
Gets all practices of a care group and their participation in any care program.
Enumerates all practices for which the current customer (user) is responsible in the care group. The customer identified with the JWT must be the group manager. The care group must be responsible for the underlying practices. Some care groups are organized in a way that they are not allowed to process data of the member practices. For these care groups no practices are shown.
If the JWT identifies a single practice, then API runs in bare mode. The response in this mode has the same structure, but the list of care programs of the care group is always empty and the list of practices holds exactly one practice.
parameters:
- name: refDate
in: query
@ -26,10 +28,16 @@ get:
properties:
name:
type: string
description: Identifying tag name of the care group.
description: |-
Identifying tag name of the care group.
In bare mode the first of possible several care groups is written in the response (see above for bare mode).
example: demo_fabel
careprograms:
description: All possible care programs for the care group. For every group it known to which programs they are participating. From this set the actual care programs reported in practices property can be substracted to get a list of missing programs.
description: |-
All possible care programs for the care group. For every group it known to which programs they are participating. From this set the actual care programs reported in practices property can be substracted to get a list of missing programs.
Empty array in bare mode (see description above).
example:
- OuderenZorg
- DM
@ -64,6 +72,10 @@ get:
active:
type: boolean
description: True if today is on or after `periodStart` and before `periodEnd`.
required:
- careprogram
- periodStart
- active
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':

Loading…
Cancel
Save