Opened 3 years ago
Closed 3 years ago
#1309 closed task (fixed)
ID generator for new referral forms
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v4.31.2 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
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 Remisstyp
.
SCAN-B KlinPat
: Regular 7-digit SCAN-B idSCAN-B KlinKem
: PrefixK
+ 7-digit SCAN-B idSCAN-B KlinKemNeo
: PrefixK
+ 7-digit SCAN-B id + suffixC
SCAN-B KlinKem33
: Same as 2 but used for HalmstadSCAN-B KlinKemNeo33
: Same as 3 but used for HalmstadSCAN-B KlinKem99
: Same as 2 but used for JönköpingSCAN-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.
Change History (6)
comment:1 by , 3 years ago
comment:6 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 6268: