From 88fbbb8643f0f59e4c6a6421dbb7d6cbe210cdcc Mon Sep 17 00:00:00 2001 From: Eric Hoekstra Date: Thu, 11 Jul 2024 07:37:30 +0200 Subject: [PATCH] Revert "customer careprogram: Updated docs to reflect that single practice bare mode is not enabled yet but will be soon. Also some slight rewording." This reverts commit cc3796f86695b76a019b12fba23b75b350dfee5c. --- paths/customer_careprogram.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/paths/customer_careprogram.yaml b/paths/customer_careprogram.yaml index ac3b974..fea0d92 100644 --- a/paths/customer_careprogram.yaml +++ b/paths/customer_careprogram.yaml @@ -7,8 +7,8 @@ get: Gets all practices of a care group and their participation in any care program. Enumerates all practices for which the current customer (user) is responsible in the care group. The customer identified with the JWT must be the group manager. The care group must be responsible for the underlying practices. Some care groups are organized in a way that they are not allowed to process data of the member practices. For these care groups no practices are shown. - - FUTURE: Soon this API will be updated to allow asking for a single practice; optionally, if a care group's AGB is also provided, the list of care programs contracted by the care group is also provided. + + If the JWT identifies a single practice, then API runs in bare mode. The response in this mode has the same structure, but the list of care programs of the care group is always empty and the list of practices holds exactly one practice. parameters: - name: refDate in: query @@ -30,10 +30,14 @@ get: type: string description: |- Identifying tag name of the care group. + + In bare mode the first of possible several care groups is written in the response (see above for bare mode). example: demo_fabel careprograms: description: |- All care programs contracted by the care group. Subtract from this set the active care programs from any practice reported in `practices` to know which care programs they may want to activate. + + Empty array in bare mode (see description above). example: - OuderenZorg - DM @@ -82,7 +86,7 @@ post: operationId: setCustomerCareProgram summary: Add a practice to a care program. description: |- - Allows a care group manager to configure which care programs are actively participated in by a GP practice. (care programs = ziektebeelden, ketens). + Allows a care group manager to configure which care programs are actively participated in by a GP practice. The caller must authorize itself as a care group (manager).