From 293c92bd1ef8c7a051a3bf5d3f5f74b5821396a5 Mon Sep 17 00:00:00 2001 From: Eric Hoekstra Date: Wed, 27 Nov 2024 10:05:02 +0100 Subject: [PATCH] Renamed careprogram endpoint to indicators. --- ...areprogram.1.json => qoc_indicatorsets.1.json} | 0 ...ample.png => qoc_indicatorsets.ui_example.png} | Bin ...oc_careprogram.yaml => qoc_indicatorsets.yaml} | 14 ++++++++------ zoo-api.yaml | 12 ++++++------ 4 files changed, 14 insertions(+), 12 deletions(-) rename examples/{qoc_careprogram.1.json => qoc_indicatorsets.1.json} (100%) rename examples/{qoc_careprogram.ui_example.png => qoc_indicatorsets.ui_example.png} (100%) rename paths/{qoc_careprogram.yaml => qoc_indicatorsets.yaml} (85%) diff --git a/examples/qoc_careprogram.1.json b/examples/qoc_indicatorsets.1.json similarity index 100% rename from examples/qoc_careprogram.1.json rename to examples/qoc_indicatorsets.1.json diff --git a/examples/qoc_careprogram.ui_example.png b/examples/qoc_indicatorsets.ui_example.png similarity index 100% rename from examples/qoc_careprogram.ui_example.png rename to examples/qoc_indicatorsets.ui_example.png diff --git a/paths/qoc_careprogram.yaml b/paths/qoc_indicatorsets.yaml similarity index 85% rename from paths/qoc_careprogram.yaml rename to paths/qoc_indicatorsets.yaml index dba2844..4e2eb26 100644 --- a/paths/qoc_careprogram.yaml +++ b/paths/qoc_indicatorsets.yaml @@ -1,20 +1,22 @@ get: - operationId: carePrograms + operationId: indicatorSets tags: - Quality of Care - summary: Care programs + summary: Indicator sets description: |- - List all available care programs. Includes all care programs that the user is allowed to enable or preview, i.e. even ones that shouldn't be shown by default. + List all available indicator sets. Includes all sets that the user is allowed to enable or preview, i.e. even ones that shouldn't be shown by default. + + This endpoint is also reachable using URL `/qoc/careprogram`, but depricated. parameters: - $ref: '../zoo-api.yaml#/components/parameters/Authorization' responses: '200': description: |- - Care programs are returned. + Indicator sets are returned. Examples: - * Example complete response - * Example UI render (Somewhat outdated) + * Example complete response + * Example UI render (somewhat outdated) links: GetIndicatorSet: operationId: indicatorSet diff --git a/zoo-api.yaml b/zoo-api.yaml index b7522af..dafab36 100644 --- a/zoo-api.yaml +++ b/zoo-api.yaml @@ -69,18 +69,18 @@ paths: $ref: 'paths/population_frequentUser_patients.yaml' /population/frequentUser/patient: $ref: 'paths/population_frequentUser_patient.yaml' - /qoc/careprogram: - $ref: 'paths/qoc_careprogram.yaml' - /qoc/checkupList/{setKey}: - $ref: 'paths/qoc_checkupList_{setKey}.yaml' - /qoc/checkupList/setStatus: - $ref: 'paths/qoc_checkupList_set_status.yaml' + /qoc/indicatorsets: + $ref: 'paths/qoc_indicatorsets.yaml' /qoc/indicatorset/{setKey}: $ref: 'paths/qoc_indicatorset_{setKey}.yaml' /qoc/indicator/{setKey}/{indicatorKey}/patients: $ref: 'paths/qoc_indicator_{setKey}_{indicatorKey}_patients.yaml' /qoc/indicator/{setKey}/{indicatorKey}/participants: $ref: 'paths/qoc_indicator_{setKey}_{indicatorKey}_participants.yaml' + /qoc/checkupList/{setKey}: + $ref: 'paths/qoc_checkupList_{setKey}.yaml' + /qoc/checkupList/setStatus: + $ref: 'paths/qoc_checkupList_set_status.yaml' /qoc/list-groups: $ref: 'paths/qoc_list-groups.yaml' /qoc/participating-practices: