Opened 8 years ago

Last modified 8 years ago

#906 closed task

Create alias for Patient, Case, Specimen and Blood items for external use — at Version 8

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

Description (last modified by Nicklas Nordborg)

The SCAN-B ID that is used to keep track of all items is sensitive information that we should avoid to use externally. We should add a new unique identifier to Patient, Case, Specimen, NoSpecimen and Blood (including fullow-up blood) items. A simple running number that is zero-padded to 6 digits should be ok (same as we currently do for naming Patient items). Use 'Q' as prefix for Patients, 'C' as prefix for Case items, and 'S' as prefix for specimen/nospecimen and 'B' for blood. If a case is arriving with multiple tubes, each tube should have it's own unique identifier.

The new identifier should be saved in the "External ID" field.

Other tools can then use the external identifiers instead of the SCAN-B ids. For example:

1234567.1.l.r.lib --> P000001.C000001.S000001.l.r.lib

Other notes:

  • Since we are already using a similar scheme for the 'name' of Patients, the we should create random gaps in the external id sequence. For example by randomly incrementing with 2 instead of 1.
  • Cases that are created as placeholder for retracted items should not have en external id.

Change History (8)

comment:1 by Nicklas Nordborg, 8 years ago

Description: modified (diff)
Summary: Create alias for Case and Specimen items for external useCreate alias for PAtient, Case, Specimen and Blood items for external use

comment:2 by Nicklas Nordborg, 8 years ago

(In [4069]) References #906: Create alias for PAtient, Case, Specimen and Blood items for external use

Implemented for Case items.

comment:3 by Nicklas Nordborg, 8 years ago

(In [4070]) References #906: Create alias for PAtient, Case, Specimen and Blood items for external use

Implemented for Blood items.

comment:4 by Nicklas Nordborg, 8 years ago

(In [4071]) References #906: Create alias for PAtient, Case, Specimen and Blood items for external use

Implemented for Specimen/NoSpecimen items.

comment:5 by Nicklas Nordborg, 8 years ago

(In [4073]) References #906: Create alias for PAtient, Case, Specimen and Blood items for external use

Implemented for Patient items.

comment:6 by Nicklas Nordborg, 8 years ago

Summary: Create alias for PAtient, Case, Specimen and Blood items for external useCreate alias for Patient, Case, Specimen and Blood items for external use

comment:7 by Nicklas Nordborg, 8 years ago

(In [4075]) References #906: Create alias for Patient, Case, Specimen and Blood items for external use

Added support for searching by external id in the case summary.

comment:8 by Nicklas Nordborg, 8 years ago

Description: modified (diff)

Use 'Q' instead of 'P' as prefix for patients.

Note: See TracTickets for help on using tickets.