From e857007249144c24a6c3963d8424e26224f9fbdb Mon Sep 17 00:00:00 2001 From: Eric Hoekstra Date: Tue, 21 May 2024 09:09:54 +0200 Subject: [PATCH] [api] Renamed doctor to gp. --- paths/population_statistics_employeeFeat.yaml | 8 ++++---- zoo-api.yaml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/paths/population_statistics_employeeFeat.yaml b/paths/population_statistics_employeeFeat.yaml index 5536316..addc94d 100644 --- a/paths/population_statistics_employeeFeat.yaml +++ b/paths/population_statistics_employeeFeat.yaml @@ -16,11 +16,11 @@ get: description: End of the period (excluding) to summarize. schema: $ref: ../schemas/date.yaml - - $ref: '../zoo-api.yaml#/components/parameters/DoctorCodes' + - $ref: '../zoo-api.yaml#/components/parameters/GpCodes' description: |- - Restricts to the doctors which were medical responsible for the feat. Uses the doctor at the time of the feat, or if not available, the doctor responsible for the patient at the time of the HIS-import. The doctor at the time of the feat is the most accurate. + Restricts to the GP's which were medical responsible for the feat. Uses the GP at the time of the feat, or if not available, the GP responsible for the patient at the time of the HIS-import. The GP at the time of the feat is the most accurate. - The responsible doctor is not written in the response, due the structure of the agreggation. + The responsible GP is not written in the response, due the structure of the agreggation. - name: employees in: query description: "Restricts the selection of feats to one or more employees: an employee executed the feat." @@ -85,7 +85,7 @@ get: 401: $ref: '../zoo-api.yaml#/components/responses/JwtFailure' 403: - $ref: '../zoo-api.yaml#/components/responses/NotToBeShare' + $ref: '../zoo-api.yaml#/components/responses/MandateMissing' 404: $ref: '../zoo-api.yaml#/components/responses/PatNotFound' diff --git a/zoo-api.yaml b/zoo-api.yaml index e0fffc9..a7ab0aa 100644 --- a/zoo-api.yaml +++ b/zoo-api.yaml @@ -150,10 +150,10 @@ components: required: false schema: type: string - DoctorCodes: - name: doctorCodes + GpCodes: + name: gpCodes in: query - description: Code of the doctor as known in the HIS. + description: Code of the GP as known in the HIS. example: AA,BZP,RZ,ECH schema: type: array