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
properties:
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
items:
$ref: '../schemas/CareProgram.yaml'
$ref: '../schemas/CareProgram-enum.yaml'
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':

@ -22,6 +22,8 @@ post:
type: object
properties:
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'
callUpStatus:
$ref: '../schemas/callUpStatus-enum.yaml'

@ -1,8 +1,5 @@
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).
_WARNING_: HVZ and VVR are being debated; this really is a single care program (probably called `CVRM`). This may change soon.
_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
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>VVR</dt><dd>Cardiovascular Risk Management (CVRM) - Secondary chronic care (less serious than HVZ).</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>Dermatoscopie</dt><dd>Dermatoscopy / (risk of) skin cancer</dd>
<dt>FractuurPreventie</dt><dd>Fracture prevention - often part of elderly care.</dd>

@ -62,6 +62,8 @@ properties:
type: string
example: indicatorset
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'
url:
description: |-

Loading…
Cancel
Save