ID generator for new referral forms
The referral form generator implemented in #897 should be replaced with simpler functionality that only generate a csv-file in a format suitable to be sent to BD47 (Biobanksavdelning 47).
The wizard should ask for a starting number (last 5 digits in the SCAN-B ID) and the number of "kits" to generate. The starting number should be automatically incremented and remembered between sessions.
It should also ask for a site so that the first 2 digits can be added.
There is also two types of kits: a regular kit and a neoadjuvant kit that affects number of referral forms. Also, Halmstad (33) and Jönköping (99) need special handling.
The wizard should generate a csv file with 3 columns:
RemissID: The generated ID
Remisstyp: The type of referral form affects the procedures at BD47
Remissmottagare: Name of site
There are 7 possible values for
SCAN-B KlinPat: Regular 7-digit SCAN-B id
SCAN-B KlinKem: Prefix
K+ 7-digit SCAN-B id
SCAN-B KlinKemNeo: Prefix
K+ 7-digit SCAN-B id + suffix
SCAN-B KlinKem33: Same as 2 but used for Halmstad
SCAN-B KlinKemNeo33: Same as 3 but used for Halmstad
SCAN-B KlinKem99: Same as 2 but used for Jönköping
SCAN-B KlinKemNeo99: Same as 3 but used for Jönköping
The types that should be included in the csv depends on the selected type of kit and the site. If a regular kit is created type 1 and 2 should be included, but Halmstad and Jönköping need to have 4 or 6 instead of 2. If a neoadjuvant kit is created type 1, 2 and 3 should be included with same replacements for Halmstad and Jönköping.
The old referral form generator can also be removed as part of this ticket.