Splitted careprogram enum of from the careprogram object definition.

EH/population-statistics-authorisation
Eric Hoekstra 1 year ago
parent 03364ac0c5
commit 40ce61ade2

@ -21,9 +21,10 @@ get:
type: object type: object
properties: properties:
programs: programs:
description: The kind of chronic care that this care program caters to. Can be omitted in cases where this care program doesn't cover a generally accepted protocollized chronic care condition (Often, new research).
type: array type: array
items: items:
$ref: '../schemas/CareProgram.yaml' $ref: '../schemas/CareProgram-enum.yaml'
'401': '401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth' $ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403': '403':

@ -22,6 +22,8 @@ post:
type: object type: object
properties: properties:
careprogram: careprogram:
description: |-
The kind of chronic care that this care program caters to. Can be omitted in cases where this care program doesn't cover a generally accepted protocollized chronic care condition (Often, new research).
$ref: '../schemas/CareProgram-enum.yaml' $ref: '../schemas/CareProgram-enum.yaml'
callUpStatus: callUpStatus:
$ref: '../schemas/callUpStatus-enum.yaml' $ref: '../schemas/callUpStatus-enum.yaml'

@ -1,8 +1,5 @@
description: |- description: |-
The kind of chronic care that this care program caters to. Can be omitted in cases where this care program doesn't cover a generally _WARNING_: HVZ and VVR are being debated; this really is a single care program (probably called CVRM). This may change soon.
accepted protocollized chronic care condition (Often, new research).
_WARNING_: HVZ and VVR are being debated; this really is a single care program (probably called `CVRM`). This may change soon.
_NOTE_: This list is expanded any time new care programs are introduced. API callers are encouraged not to hardcode the list _NOTE_: This list is expanded any time new care programs are introduced. API callers are encouraged not to hardcode the list
of enumerated values, or at least be prepared to accept other values. of enumerated values, or at least be prepared to accept other values.
@ -14,7 +11,7 @@ description: |-
<dt>HVZ</dt><dd>Cardiovascular Risk Management (CVRM) - Primary chronic care (more serious than VVR).</dd> <dt>HVZ</dt><dd>Cardiovascular Risk Management (CVRM) - Primary chronic care (more serious than VVR).</dd>
<dt>VVR</dt><dd>Cardiovascular Risk Management (CVRM) - Secondary chronic care (less serious than HVZ).</dd> <dt>VVR</dt><dd>Cardiovascular Risk Management (CVRM) - Secondary chronic care (less serious than HVZ).</dd>
<dt>OuderenZorg</dt><dd>Elderly care</dd> <dt>OuderenZorg</dt><dd>Elderly care</dd>
<dt>AtriumFibrilleren</dt><dd>Atrial fibrillation</dd> - often part of the CVRM group of chronic care.</dd> <dt>AtriumFibrilleren</dt><dd>Atrial fibrillation - often part of the CVRM group of chronic care.</dd>
<dt>Hartfalen</dt><dd>(Congestive) Heart Failure - often part of the CVRM group of chronic care.</dd> <dt>Hartfalen</dt><dd>(Congestive) Heart Failure - often part of the CVRM group of chronic care.</dd>
<dt>Dermatoscopie</dt><dd>Dermatoscopy / (risk of) skin cancer</dd> <dt>Dermatoscopie</dt><dd>Dermatoscopy / (risk of) skin cancer</dd>
<dt>FractuurPreventie</dt><dd>Fracture prevention - often part of elderly care.</dd> <dt>FractuurPreventie</dt><dd>Fracture prevention - often part of elderly care.</dd>

@ -62,6 +62,8 @@ properties:
type: string type: string
example: indicatorset example: indicatorset
careprogram: careprogram:
description: |-
The kind of chronic care that this care program caters to. Can be omitted in cases where this care program doesn't cover a generally accepted protocollized chronic care condition (Often, new research).
$ref: '../schemas/CareProgram-enum.yaml' $ref: '../schemas/CareProgram-enum.yaml'
url: url:
description: |- description: |-

Loading…
Cancel
Save