You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zoo-api/paths/customer_basic.yaml

77 lines
2.9 KiB
YAML

get:
operationId: customerBasic
tags:
- Customer management
summary: Basic info
parameters:
- name: agb
in: query
description: AGB of the practice which is known as Zorg op Orde customer (via a care group).
schema:
$ref: ../schemas/agb.yaml
responses:
'200':
description: Basic information of a practice.
content:
application/json:
schema:
type: object
properties:
practice:
type: object
properties:
name:
type: string
officialName:
type: string
agb:
$ref: ../schemas/agb.yaml
gpis:
$ref: ../schemas/GPIS.yaml
doctors:
description: AGB's of the doctors working in the practice.
type: array
items:
$ref: '../schemas/PatIdentity.yaml#/doctor'
address:
type: object
properties:
address1:
type: string
description: The first line of the practice postal address (street name and house number, generally).
postcode:
$ref: ../schemas/postcode.yaml
city:
$ref: ../schemas/city.yaml
contact:
type: object
properties:
tel:
type: string
email:
type: string
dataProcessing:
type: object
properties:
controllers:
description: Usually is the practice owner the data controller.
type: array
items:
type: string
agreement:
example: If set, the signer and date of the data processing agreement between the controller (responsible general practitioner) and processor (Zorg op Orde).
type: object
properties:
signedBy:
description: Full name of the signer.
type: string
signedOn:
description: Date of signing the data processing agreement.
example: 20160501T1344
$ref: ../schemas/date.yaml
'400':
description: If the specified customer is not a practice but some other entity, e.g. a care group.
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'