Opened 2 years ago

Last modified 2 years ago

#1349 closed enhancement

Updates to registration of specimen handled by external lab — at Version 5

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

Description (last modified by Nicklas Nordborg)

See #1347 and #1295 for background.

More changes that are needed before we can implement registration from case.

  • Qiacube position: is now specified like 1:A. We need to implement support for this format. Most likely the range is 1-6 and A-B but this need to be confirmed.
  • Qiacube run number: is now specified as a plate identifier (eg 12-345678). We should be able to use this together with the date information to be able to assign a run number.
  • RIN: The RNA section now has a RIN value. We need to create the proper RNAQC item for this. There is no plate information so we need to check that this doesn't affect other things. Most importantly we need to make sure that the algorithm for finding RNAQC(last) works.
  • More... ?

UPDATE We decided that it might be easier to change the order in which things are registered. The data import from the JSON file should be done before the referral form registration. This is more similar to what can already be done today when the lab receives a specimen but there is a delay before the referral form is registered. Downstream wizards should already work. One exception is the Genotype QC wizard that require patient information, but this case should already be supported in the sense that this wizard will wait until the referral form has been registered.

Another exception might be the case where two specimen tubes are sent with a single referral form. It may happen that data for one specimen is transferred some time before the second one. If the referral for is registered after we got data for the first specimen we must make sure that the data import for the second specimen is connected correctly (this is a case that is not supported today).

Change History (5)

comment:1 by Nicklas Nordborg, 2 years ago

In 6480:

References #1349: Updates to registration of specimen handled by external lab

Implemented support for Qiacube positions in "1:A" format.

comment:2 by Nicklas Nordborg, 2 years ago

In 6481:

References #1349: Updates to registration of specimen handled by external lab

Implemented support for generating a "Qiacube run number". The information in the RNA section is used for this. It works by finding existing RNA items with the same QiacubeDate. There is an error condition if another RNA with the same QiacubeRunId (a new annotation) and position if found. Otherwise we re-use an existing run number or calculate a new one.

DNA and FlowThrough items should have the same run id and position as the RNA. If not an error is generated, otherwise the run number is copied from the RNA.

comment:3 by Nicklas Nordborg, 2 years ago

In 6482:

References #1349: Updates to registration of specimen handled by external lab

RIN values are now imported as RNAQC items. There is no explict date or plate information for this. We re-use the extraction date from the RNA item and there is already support for RNAQC items without plate inforamtion in Reggie (if this doesn't work it should be considered as a separate bug).

For now, we assume that RIN values are between 0 and 10 since we don't know if CMD has implemented any of the special values that we have used when there is an issue with the QC estimate.

comment:4 by Nicklas Nordborg, 2 years ago

In 6483:

References #1349: Updates to registration of specimen handled by external lab

Adding some more properties for the specimen section.

comment:5 by Nicklas Nordborg, 2 years ago

Description: modified (diff)
Status: newaccepted
Note: See TracTickets for help on using tickets.