Opened 7 years ago

Closed 7 years ago

Last modified 7 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 Changed 7 years ago by olle

Status: newassigned

Ticket accepted.

comment:2 Changed 7 years ago by olle

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 Changed 7 years ago by olle

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 Changed 7 years ago by olle

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 Changed 7 years ago by olle

(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.

Last edited 7 years ago by olle (previous) (diff)

comment:6 Changed 7 years ago by olle

(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.