|
|
|
@ -1,12 +1,14 @@
|
|
|
|
get:
|
|
|
|
get:
|
|
|
|
operationId: customerBasic
|
|
|
|
operationId: customerBasicGet
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- Customer management
|
|
|
|
- Customer management
|
|
|
|
summary: Basic info
|
|
|
|
summary: Basic info
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- name: agb
|
|
|
|
- name: agb
|
|
|
|
in: query
|
|
|
|
in: query
|
|
|
|
description: AGB of the practice which is known as Zorg op Orde customer (via a care group).
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
AGB of the practice for which basic info is requested.
|
|
|
|
|
|
|
|
If the requesting entity is a single GP practice, this parameter can be omitted.
|
|
|
|
schema:
|
|
|
|
schema:
|
|
|
|
$ref: ../schemas/agb.yaml
|
|
|
|
$ref: ../schemas/agb.yaml
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
@ -33,7 +35,7 @@ get:
|
|
|
|
gpis:
|
|
|
|
gpis:
|
|
|
|
$ref: ../schemas/GPIS.yaml
|
|
|
|
$ref: ../schemas/GPIS.yaml
|
|
|
|
doctors:
|
|
|
|
doctors:
|
|
|
|
description: AGB's of the doctors working in the practice.
|
|
|
|
description: AGBs of the doctors working in the practice.
|
|
|
|
type: array
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
items:
|
|
|
|
$ref: '../schemas/PatIdentity.yaml#/doctor'
|
|
|
|
$ref: '../schemas/PatIdentity.yaml#/doctor'
|
|
|
|
@ -82,3 +84,45 @@ get:
|
|
|
|
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
|
|
|
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
|
|
|
'403':
|
|
|
|
'403':
|
|
|
|
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'
|
|
|
|
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'
|
|
|
|
|
|
|
|
post:
|
|
|
|
|
|
|
|
operationId: customerBasicPost
|
|
|
|
|
|
|
|
tags:
|
|
|
|
|
|
|
|
- Customer management
|
|
|
|
|
|
|
|
summary: Basic info
|
|
|
|
|
|
|
|
description: Only certain properties of a practice can be updated. After updating the same response is outputted as when using GET.
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
- name: agb
|
|
|
|
|
|
|
|
in: query
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
AGB of the practice for which basic info is requested.
|
|
|
|
|
|
|
|
If the requesting entity is a single GP practice, this parameter can be omitted.
|
|
|
|
|
|
|
|
schema:
|
|
|
|
|
|
|
|
$ref: ../schemas/agb.yaml
|
|
|
|
|
|
|
|
requestBody:
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
When authorized as a practice the address and contact data can be changed.
|
|
|
|
|
|
|
|
Currently, if authorized as a care group, no properties can be changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties can be omitted if you do not want to change them. `address1` and `postcode` cannot be set to empty.
|
|
|
|
|
|
|
|
content:
|
|
|
|
|
|
|
|
'application/x-www-form-urlencoded':
|
|
|
|
|
|
|
|
schema:
|
|
|
|
|
|
|
|
type: object
|
|
|
|
|
|
|
|
properties:
|
|
|
|
|
|
|
|
address1:
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
description: The first line of the practice postal address (street name and house number, generally).
|
|
|
|
|
|
|
|
postcode:
|
|
|
|
|
|
|
|
description: Any valid Dutch postcode, with or without whitespacing and in lower- or uppercase.
|
|
|
|
|
|
|
|
$ref: ../schemas/postcode.yaml
|
|
|
|
|
|
|
|
city:
|
|
|
|
|
|
|
|
$ref: ../schemas/city.yaml
|
|
|
|
|
|
|
|
tel:
|
|
|
|
|
|
|
|
description: A Dutch phone number of 10 digits. Additional dashes and spacing are removed before validating.
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
email:
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
format: email
|
|
|
|
|
|
|
|
responses:
|
|
|
|
|
|
|
|
$ref: '#/get/responses'
|
|
|
|
|
|
|
|
|