diff --git a/paths/customer_basic.yaml b/paths/customer_basic.yaml index b2cff32..a633d2b 100644 --- a/paths/customer_basic.yaml +++ b/paths/customer_basic.yaml @@ -9,11 +9,6 @@ get: description: AGB of the practice which is known as Zorg op Orde customer (via a care group). schema: $ref: ../schemas/agb.yaml - - name: unid - in: query - description: Internal number used by Zorg op Orde - schema: - type: integer responses: '200': description: Basic information of a practice. @@ -27,15 +22,23 @@ get: 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: - streetHouseNumber: + address1: type: string + description: The first line of the practice postal address (street name and house number, generally). postcode: $ref: ../schemas/postcode.yaml city: @@ -50,12 +53,22 @@ get: dataProcessing: type: object properties: - controller: - type: string + controllers: description: Usually is the practice owner the data controller. - dataProcessingAgreement: - example: If set, the date of the data processing agreement between the controller (general practitioner) and processor (Zorg op Orde). - $ref: ../schemas/date.yaml + 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':