[api] Added dossier to frequent user patients API.

EH/population-statistics-authorisation
Eric Hoekstra 2 years ago
parent 6297359c3e
commit e30e8154c9

@ -47,13 +47,13 @@ get:
$ref: ../schemas/pat-patId.yaml $ref: ../schemas/pat-patId.yaml
- name: pii - name: pii
in: query in: query
description: "Allow patient personal identifying information in the response. Defaults to false if omitted." description: "Allow personal identifying information in the response. Defaults to false if omitted. If false, only category, doctor, patid, patUnid and feats are in the response. In other words: they are always in the response, but can be extended with other pii properties, see non-required properties below."
example: true example: true
schema: schema:
type: boolean type: boolean
- name: limit - name: limit
in: query in: query
description: "Some integer between 1 and 50. Limits the output to the top 1 to 50 of the frequent users (patients). Defaults to 20 if omitted or not in the specified range." description: "Limits the output to the top 1 to 50 of the frequent users (patients). Defaults to 20 if omitted or not in the specified range."
schema: schema:
type: integer type: integer
minimum: 1 minimum: 1
@ -67,22 +67,35 @@ get:
type: array type: array
items: items:
type: object type: object
required:
- category
- doctor
- patid
- patUnid
- feats
properties: properties:
patId: bsn:
type: string $ref: '../schemas/PatIdentity.yaml#/bsn'
example: 1349 name:
lastName: $ref: '../schemas/PatIdentity.yaml#/name'
type: string
example: van Loon - van de Ven
description: Omitted if parameter pii is omitted or false.
gender: gender:
type: string $ref: '../schemas/PatIdentity.yaml#/gender'
example: V dob:
description: Omitted if parameter pii is omitted or false. $ref: '../schemas/PatIdentity.yaml#/dob'
birthdate: category:
type: string $ref: '../schemas/PatIdentity.yaml#/category'
example: 1929-08-21 doctor:
description: Omitted if parameter pii is omitted or false. $ref: '../schemas/PatIdentity.yaml#/doctor'
address:
$ref: '../schemas/PatIdentity.yaml#/address'
contact:
$ref: '../schemas/PatIdentity.yaml#/contact'
insurance:
$ref: '../schemas/PatIdentity.yaml#/insurance'
patid:
$ref: '../schemas/PatIdentity.yaml#/patid'
patUnid:
$ref: '../schemas/PatIdentity.yaml#/patUnid'
feats: feats:
type: object type: object
properties: properties:

Loading…
Cancel
Save