Opened 6 years ago
Closed 6 years ago
#1077 closed enhancement (fixed)
All biosource items should have an external id (release id)
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v4.21 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
Currently, among the Biosource
item types it is only Patient
items that are registered with an external ID. The other types No
, Not asked
, RetroNo
and Retract
are created without an external id. But note that RetroNo
and Retract
items are actually old Patient
items that have been altered and they have a Qnnn
external id which indicate a patient. It is not until the final step (the deletion step) that creates a new Retract
or RetroNo
item without an external id.
All biosource item types must have a "Release id". No
and Not asked
items are created by the consent registration wizard and it should be possible to generate that there. Retract
and RetroNo
items are "created" in the first retraction wizard. The old Qnnn
value should be overwritten with a new release id.
The following prefixes should be used:
- Retract: R
- Not asked: Z
- No and RetroNo: N
Note! Existing items should be manually updated with, for example a batch import.
(In [5088]) Fixes #1077: All biosource items should have an external id (release id)
This should assign "release id" to all biosource items. No and Not asked items can only be created from the consent registration servlet. Retract and RetroNo items get a new id in the first retraction wizard step. The release id is also copied to the new placeholder item after the deletion step.