Changes between Initial Version and Version 1 of Ticket #759, comment 36
- Timestamp:
- Apr 2, 2015, 2:03:47 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #759, comment 36
initial v1 3 3 * MeLuDI should be updated with a new wizard "Lab tracking sheet/report copy" in the DNA/RNA extraction wizards section. The new wizard should contain three steps, that resemble those of the DNA/RNA registration/quantification wizard, but where very few inputs are needed:[[BR]]1. Step 1 should contain a start plate selection menu, with all start plates, both unprocessed and processed, where the plate of interest may be selected.[[BR]]2. Step 2 should retrieve and display data from the selected plate, and if the latter is processed, lot no.s for the first created DNA extract for a specimen connected to the plate. A menu should allow the user to select whether a tracking sheet copy or report copy should be created. If the plate is unprocessed, only "sheet" is available, while for a processed plate both "sheet" and "report" (default) are available.[[BR]]3. Step 3 should display a table of the extract source items for the plate, including measurement values, if a tracking report copy has been selected. It should be possible to create a form copy in a new window/tab, by clicking a button. 4 4 5 Design update: 6 7 1. Java servlet class/file `ExtractionServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetStartPlates`" to include extraction date in JSON response. The extraction date is set equal to the plate event date.[[BR]]b. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetSourceItemListFromStartPlate`" to use annotation snapshot manager to retrieve some annotations, in order to increase performance. If new parameter "`includeSpecimenExtracts`" is set to `true`, data for RNA and DNA extracts for a specimen will be retrieved, and included in the JSON repsonse. Private methods `void loadSpecimenInfo(DbControl dc, SpecimenTube sp)`, `void loadRnaInfo(DbControl dc, Rna rna)`, and `void loadDnaInfo(DbControl dc, Dna dna)` will be called to retrieve annotation data.[[BR]]c. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated with new command "`GetDna`" to find a DNA extract by name.[[BR]]d. New private method `void loadSpecimenInfo(DbControl dc, SpecimenTube sp)` added. It loads annotations for the input specimen tube.[[BR]]e. New private method `void loadRnaInfo(DbControl dc, Rna rna)` added. It loads annotations for the input RNA item.[[BR]]f. Private method `void loadDnaInfo(DbControl dc, Dna dna)` updated by loading more annotations for the input DNA. 8 2. New JSP file `extraction_formcopy.jsp` in `resources/sampleproc/` added. 9 3. New Javascript file `extraction_formcopy.js` in `resources/sampleproc/` added. It relies on the new commands and updated functionality of existing commands in java servlet `ExtractionServlet` to construct a selection menu in step 1 containing all start plates; in step 2 to retrieve data for the plate and, if processed, lot no.s from the first created DNA extract for a specimen connected to the plate; and in step 3 to retieve measurement data for DNA and RNA extracts connected to the plate. Many of the functions are updated versions of functions of the same name in Javascript file `extraction_registration.js` in `resources/sampleproc/`. However, the new file lacks any registration functionality.