From 3a1e5ec0873c6ffd8645d22628378646409276c2 Mon Sep 17 00:00:00 2001 From: Eric Hoekstra Date: Mon, 8 Jul 2024 15:29:12 +0200 Subject: [PATCH] Moved array of all possible group care programs. --- paths/customer_careprogram.yaml | 89 +++++++++++++++++---------------- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/paths/customer_careprogram.yaml b/paths/customer_careprogram.yaml index 9888d88..b7c09d1 100644 --- a/paths/customer_careprogram.yaml +++ b/paths/customer_careprogram.yaml @@ -19,50 +19,51 @@ get: content: application/json: schema: - type: array - items: - type: object - properties: - caregroup: - type: string - description: Identifying tag name of the care group. - example: demo_fabel - practices: - type: array - items: - type: object - properties: - agb: - $ref: ../schemas/agb.yaml - name: - type: string - gpis: - $ref: ../schemas/GPIS.yaml - careprograms: - type: array - items: - type: object - properties: - careprogram: - $ref: '../schemas/CareProgram-enum.yaml' - periodStart: - $ref: ../schemas/date.yaml - periodEnd: - $ref: ../schemas/date.yaml - active: - type: boolean - description: True if today is on or after `periodStart` and before `periodEnd`. - careprograms: - description: All possible care programs for the care group. For every group it known to which programs they are participating. From this set the actual care programs reported in practices property can be substracted to get a list of missing programs. - example: - - OuderenZorg - - DM - - COPD - - HVZ - - VVR - type: array - items: - $ref: '../schemas/CareProgram-enum.yaml' + type: object + properties: + caregroup: + type: object + properties: + name: + type: string + description: Identifying tag name of the care group. + example: demo_fabel + careprograms: + description: All possible care programs for the care group. For every group it known to which programs they are participating. From this set the actual care programs reported in practices property can be substracted to get a list of missing programs. + example: + - OuderenZorg + - DM + - COPD + - HVZ + - VVR + type: array + items: + $ref: '../schemas/CareProgram-enum.yaml' + practices: + type: array + items: + type: object + properties: + agb: + $ref: ../schemas/agb.yaml + name: + type: string + gpis: + $ref: ../schemas/GPIS.yaml + careprograms: + type: array + items: + type: object + properties: + careprogram: + $ref: '../schemas/CareProgram-enum.yaml' + periodStart: + $ref: ../schemas/date.yaml + periodEnd: + $ref: ../schemas/date.yaml + active: + type: boolean + description: True if today is on or after `periodStart` and before `periodEnd`. '401': $ref: '../zoo-api.yaml/#/components/responses/NoAuth' '403':