Opened 3 years ago

Closed 3 years ago

#1310 closed task (fixed)

Implement support for a prefix in the blood referral forms

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.31.2
Component: net.sf.basedb.reggie Keywords:

Description (last modified by Nicklas Nordborg)

In a near future, blood referral form will have a prefix added to their barcodes (see #1309) due to demands from BD47 that referral form ID values must be unique.

The blood registration wizard should more or less simply ignore the prefix. But we would also like to store the full ID in a new annotation, for example: BD47_ID. This is similar to the handling of follow-up blood where the ID from the referral form is stored in BloodRccidNumber.

We should generate and store a value for BD47_ID for all existing blood samples. In most cases it should be the same as the SCAN-B ID with an optional C suffix for PreNeo blood items.

Change History (2)

comment:1 by Nicklas Nordborg, 3 years ago

Description: modified (diff)

comment:2 by Nicklas Nordborg, 3 years ago

Resolution: fixed
Status: newclosed

In 6271:

Fixes #1310: Implement support for a prefix in the blood referral forms

The blood referral form registration should now support registrations with an optional prefix 'K'. The prefix is removed when naming the blood item so that they follow the usual naming scheme. The full ID including prefix and suffix is stored in the new BD47_ID annotation.

Note: See TracTickets for help on using tickets.