Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1198 closed enhancement (fixed)

Add support for PAD to the "Map external data" wizard

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

Description

When the source column contains release id values it should be possible to also include a column with the PAD annotation. If the id values are specimen release id, the PAD should be taken from the matching specimen. If the id values are case or patient release id, the PAD should be a comma-separated list of all child specimen to the case or to the patient. Duplicates should be filtered out.

It should also be possible to have PAD values in the source column and output release id values for the matching specimen, case and patient.

Note! A "specimen" in this context can also be a NoSpecimen item.

Change History (6)

comment:1 by Nicklas Nordborg, 4 years ago

In 5677:

References #1198: Add support for PAD to the "Map external data" wizard

Added "PAD" option in the "Map to" section that is activated when the "Map from" selection is one patient/case/specimen release id.

comment:2 by Nicklas Nordborg, 4 years ago

In 5678:

References #1198: Add support for PAD to the "Map external data" wizard

Implemented support for exporting PAD when the source input is from specimen release id.

comment:3 by Nicklas Nordborg, 4 years ago

In 5679:

References #1198: Add support for PAD to the "Map external data" wizard

Implemented support for exporting PAD when the source input is case or patient release id.

comment:4 by Nicklas Nordborg, 4 years ago

In 5680:

References #1198: Add support for PAD to the "Map external data" wizard

Implemented support for using PAD as the source input. It's a bit more complicated if the output should contain case and/or specimen release id. Repeating the query that joins the PAD annotation is slow so instead a solution where the specimen for given PAD are loaded first. The specimen items are then used for finding the parent case and patient which is a lot quicker. Due to this the procedure for finding the patient was moved out to it's own class PatientLoader with different implementation depending on the source data.

comment:5 by Nicklas Nordborg, 4 years ago

Resolution: fixed
Status: newclosed

comment:6 by Nicklas Nordborg, 4 years ago

Milestone: Reggie v4.23.3Reggie v4.24

The Reggie 4.23.3 milestone was never released separately. Changes was merged to Reggie 4.24.

Note: See TracTickets for help on using tickets.