[api] pop statistics now returns a JSON object instead of an array with one k/v pair in it, '"cohorts": array-returned-before'.

EH/population-statistics-authorisation
Reinier Zwitserloot 2 years ago
parent 6c2bee8d25
commit f01547feee
No known key found for this signature in database
GPG Key ID: DADEDCAA42950296

@ -47,41 +47,44 @@ get:
content:
application/json:
schema:
type: array
items:
type: object
properties:
age:
type: integer
minimum: 0
format: int32
example: 42
preferredDoctor:
$ref: '../schemas/PatIdentity.yaml#/doctor'
insurer:
type: object
properties:
cohorts:
type: array
items:
type: object
properties:
uzovi:
$ref: '../schemas/insurer-Uzovi.yaml'
name:
type: string
description: |-
The name of the insurer according the [Vektis register](https://www.vektis.nl/uzovi-register). If the Uzovi is unknown, the Uzovi code is used as the name. The latest register is used to lookup the name for the code.
example: FBTO Zorgverzekeringen N.V.
concern:
type: string
description: The concern name, if any, otherwise the empty string.
example: ACHMEA
valid:
type: boolean
description: True if the insurer can be validated using the Uzovi table on the reference date.
gender:
$ref: '../schemas/PatIdentity.yaml#/gender'
n:
type: integer
format: int32
description: "The number of unique patients in the group."
example: 7
age:
type: integer
minimum: 0
format: int32
example: 42
preferredDoctor:
$ref: '../schemas/PatIdentity.yaml#/doctor'
insurer:
type: object
properties:
uzovi:
$ref: '../schemas/insurer-Uzovi.yaml'
name:
type: string
description: |-
The name of the insurer according the [Vektis register](https://www.vektis.nl/uzovi-register). If the Uzovi is unknown, the Uzovi code is used as the name. The latest register is used to lookup the name for the code.
example: FBTO Zorgverzekeringen N.V.
concern:
type: string
description: The concern name, if any, otherwise the empty string.
example: ACHMEA
valid:
type: boolean
description: True if the insurer can be validated using the Uzovi table on the reference date.
gender:
$ref: '../schemas/PatIdentity.yaml#/gender'
n:
type: integer
format: int32
description: "The number of unique patients in the group."
example: 7
400:
description: "Common HTTP semantics, see the response body."
401:

Loading…
Cancel
Save