Add the sick note document kind

A certificate of incapacity for work (in Germany the
Arbeitsunfähigkeitsbescheinigung) is now its own document kind,
SICK_NOTE, instead of Other. The enum value rides migration 0370.

Uploads, edits, the kind filter, bulk edits, the import script and the
backup format accept it; the vault files it with a thermometer glyph
between prescriptions and referrals; the filing suggestion can propose
it and names the words a sick note carries. The extraction's own kind
field keeps its three values.
This commit is contained in:
Marc-André Bombeck committed 2026-10-03 21:40:01 +02:00
1 parent bb58b40b2a
commit 1564e7c396
10 files changed
+179 -6

No files matched your search

+13
View File
@@ -16132,6 +16132,7 @@ paths:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
description: Category filter — OR inside the facet. Repeat the parameter (or send a comma-separated value).
- name: episodeId
@@ -16316,6 +16317,7 @@ paths:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
documentDate:
description: Optional user filing date (YYYY-MM-DD). Defaults to the upload day when omitted so the library
@@ -16820,6 +16822,7 @@ paths:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
required:
- mode
@@ -16910,6 +16913,7 @@ paths:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
required:
- mode
@@ -16976,6 +16980,7 @@ paths:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
required:
- mode
@@ -21858,6 +21863,7 @@ paths:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
link:
type: object
@@ -29285,6 +29291,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
episodeId:
type: string
@@ -29320,6 +29327,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
documentDate:
anyOf:
@@ -29374,6 +29382,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
required:
- mode
@@ -36593,6 +36602,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
title:
anyOf:
@@ -63949,6 +63959,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
- type: "null"
documentDate:
@@ -66810,6 +66821,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
title:
anyOf:
@@ -67256,6 +67268,7 @@ components:
- REFERRAL
- INSURANCE
- VACCINATION
- SICK_NOTE
- OTHER
title:
anyOf: