Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#434 closed enhancement (fixed)

Sample count report should allow selection of specimen or blood sample

Reported by: olle Owned by: olle
Priority: major Milestone: Reggie v2.9
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

Sample count report should allow selection of specimen or blood sample. Currently the sample count report creates a report for specimens. It should be updated to allow the user to select if the report should be for specimens or blood samples.

Change History (6)

comment:1 by olle, 12 years ago

Status: newassigned

Ticket accepted.

comment:2 by olle, 12 years ago

Traceability note:

  • The report generator was introduced in Ticket #339 (Report generator). It included a sample count report.
  • The sample count report was updated in Ticket #419 (Allow user to select resolution in sample count report), Ticket #420 (Sample count report should have two columns for summed data), and Ticket #421 (Sample count report does not always handle all views correctly).
  • The general layout of the reports was updated in Ticket #428 (Reports should have sites in alphabetic order and a column with latest item dates).

comment:3 by olle, 12 years ago

Design discussion:

  1. JSP script samplereportgenerator will be extended in step 2 with a new pop-up menu "Sample type" with selection for "Specimen" or "Blood" ("Specimen" should be the default choice). The value of the menu selection will be sent to servlet SampleReportServlet.
  2. Servlet SampleReportServlet in reggie/src/net/sf/basedb/reggie/servlet/ will be updated to retrieve the sample type chosen, and transfer the value to private method JSONObject createSampleCountReport(...) via a new argument String sampleType. The latter method will then filter the sample query to use the chosen sample type.

comment:4 by olle, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [1748]) Fixes #434. Sample count report generator updated to allow the user to select if sample type should be specimen or blood.

comment:5 by olle, 12 years ago

(In [1749]) Refs #434. Compiler warnings removed. Either by adding @SuppressWarnings() annotations for "unchecked" and "rawtypes", or commenting out unused variables, kept in code for future use.

Version 0, edited 12 years ago by olle (next)

comment:6 by olle, 12 years ago

(In [1750]) Refs #434. JSP script samplereportgenerator.jsp in in reggie/resources/ updated by fixing typos in help text for parameters.

Note: See TracTickets for help on using tickets.