Add population count group-by items end point.

EH/population-statistics-authorisation
Eric Hoekstra 1 year ago
parent 70bcadad4b
commit cceae4449e

@ -0,0 +1,27 @@
get:
tags:
- Population statistics
operationId: groupByItems
summary: Group-by items for population count
responses:
200:
description: |-
Returns a list of all available group-by items for the population count end point, but only if the items are available for the selected customer. A customer is selected by a JWT-claim or the AGB header. The output of this end point should be the same as the documentation for the groupByItems-parameter of the population count end point.
content:
application/json:
schema:
type: array
items:
type: string
example:
- age
- preferredDoctor
- insurer
- gender
- deprivedNeighborhood
400:
$ref: '../zoo-api.yaml#/components/responses/ReqFailure'
401:
$ref: '../zoo-api.yaml#/components/responses/JwtFailure'
404:
$ref: '../zoo-api.yaml#/components/responses/PatNotFound'

@ -53,6 +53,8 @@ paths:
$ref: 'paths/patient_fundusByPractice.yaml'
/population/statistics:
$ref: 'paths/population_statistics.yaml'
/population/statistics/groupByItems:
$ref: 'paths/population_statistics_groupByItems.yaml'
/population/statistics/deprivedNeighborhood:
$ref: 'paths/population_statistics_deprived.yaml'
/population/statistics/employeeFeat:

Loading…
Cancel
Save