26 | 26 | 4. Javascript file `specimentube.js` in `resources/sampleproc/` updated:[[BR]]a. Function `initializeStep3()` updated with input fields for DNA and RNA storage locations for each specimen.[[BR]]b. Function `storagePositionsLoaded(response)` updated to retrieve recommended storage positions for DNA and RNA extracts for each specimen, and to set event handlers for the new fields.[[BR]]c. Function `boxOnKeyUp(event)` updated to retrieve parameter `boxType` from the call, in order to print error messages next to the correct storage location field.[[BR]]d. Function `wellOnChange(event)` updated to retrieve parameter `boxType` from the call, in order to check the correct storage location field.[[BR]]e. Function `onBoxValidated(response, index)` updated to `onBoxValidated(response, boxType index)` with new argument `boxType` to retrieve parameter `boxType` from the call, in order to validate the correct storage location field.[[BR]]f. Function `validateStep3(event)` updated to retrieve value of `tubeContentType` from input field, in order to check validity of the correct storage location field(s).[[BR]]g. Function `submit()` updated to include information on DNA and RNA storage locations for specimens, when sending JSON info to `SpecimenTubeRegistrationServlet` for registration. |
27 | 27 | 5. Javascript file `persinfo.js` in `resources/personal/` updated:[[BR]]a. Function `initializeStep4()` updated with input fields for DNA and RNA storage locations for each specimen.[[BR]]b. Function `storagePositionsLoaded(response)` updated to retrieve recommended storage positions for DNA and RNA extracts for each specimen, and to set event handlers for the new fields.[[BR]]c. Function `boxOnKeyUp(event)` updated to retrieve parameter `boxType` from the call, in order to print error messages next to the correct storage location field.[[BR]]d. Function `wellOnChange(event)` updated to retrieve parameter `boxType` from the call, in order to check the correct storage location field.[[BR]]e. Function `onBoxValidated(response, index)` updated to `onBoxValidated(response, boxType index)` with new argument `boxType` to retrieve parameter `boxType` from the call, in order to validate the correct storage location field.[[BR]]f. Function `validateStep4(event)` updated to retrieve value of `tubeContentType` from input field, in order to check validity of the correct storage location field(s).[[BR]]g. Function `submit()` updated to include information on DNA and RNA storage locations for specimens, when sending JSON info to `SpecimenTubeRegistrationServlet` for registration. |
28 | | |
29 | | 6. JSP file `extraction_protocol2.jsp` in `resources/sampleproc/` updated by adding columns for RNA and DNA plate positions to the left of the concentrations columns for each extract. |
30 | | 7. Javascript file `extraction_protocol.js` in `resources/sampleproc/` updated in functions `tableRowsForItems(...)` and `tableRowForOptionalCounterbalanceItem(...)` to add data for RNA and DNA plate positions. |
31 | | 8. |
| 28 | 6. Javascript file `extraction_preparation.js` in `resources/sampleproc/` updated:[[BR]]a. Function `initializeStep3()` updated by adding columns for RNA and DNA plate positions to the left of the comment column.[[BR]]b. Function `updateDetailsTable()` updated by changing name of JSON variable for RNA !NanoDrop plate position from `item.rna.well` to `item.rna.nanoDropWell`, in order to increase readability of the code. |
| 29 | 7. Javascript file `extraction_registration.js` in `resources/sampleproc/` updated:[[BR]]a. Function `validateStep1(event)` updated when calling `ExtractionServlet` with command "`GetSourceItemListFromStartPlate`" to add new parameter `includeSpecimenExtracts` with value `true`.[[BR]]b. Function `initializeStep3()` updated by adding columns for RNA and DNA plate positions to the left of the volume columns for each extract.[[BR]]c. Function `updateDetailsTable()` updated by changing name of JSON variable for RNA !NanoDrop plate position from `item.rna.well` to `item.rna.nanoDropWell`, in order to increase readability of the code. |
| 30 | 8. Javascript file `extraction_formcopy.js` in `resources/sampleproc/` updated:[[BR]]a. Function `initializeStep3()` updated by adding columns for RNA and DNA plate positions to the left of the comment column for a lab tracking sheet, and to the left of the volume columns for each extract for a lab tracking report. Also updated when calling `ExtractionServlet` with command "`GetSourceItemListFromStartPlate`" to add new parameter `includeSpecimenExtracts` with value `true`.[[BR]]b. Function `initializeStep3b(response)` updated by changing name of JSON variable for RNA !NanoDrop plate position from `item.rna.well` to `item.rna.nanoDropWell`, in order to increase readability of the code.[[BR]]c. Function `updateDetailsTable()` updated to enter DNA and RNA storage locations in table. Also change of name of JSON variable for RNA !NanoDrop plate position from `item.rna.well` to `item.rna.nanoDropWell`, in order to increase readability of the code. |
| 31 | 9. JSP file `extraction_protocol2.jsp` in `resources/sampleproc/` updated by adding columns for RNA and DNA plate positions to the left of the concentrations columns for each extract. |
| 32 | 10. Javascript file `extraction_protocol.js` in `resources/sampleproc/` updated in functions `tableRowsForItems(...)` and `tableRowForOptionalCounterbalanceItem(...)` to add data for RNA and DNA plate positions. |