Opened 11 years ago

Closed 11 years ago

#443 closed enhancement (fixed)

Sample count report should allow selection of "no specimen" items

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

Description

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

Change History (4)

comment:1 by olle, 11 years ago

Status: newassigned

Ticket accepted.

comment:2 by olle, 11 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).
  • The sample count report was updated in Ticket #434 (Sample count report should allow selection of specimen or blood sample), where a sample type pop-up menu was introduced, that allowed the user to select if the report should concern specimens or blood samples.

comment:3 by olle, 11 years ago

Design discussion:

  1. JSP script samplereportgenerator in reggie/resources/ will be updated in step 2 by adding option "No specimen" to pop-up menu "Sample type" ("Specimen" should remain 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 in private method JSONObject createSampleCountReport(...) to filter the sample query after Subtype.NO_SPECIMEN, when sample type "No specimen" has been selected.

comment:4 by olle, 11 years ago

Resolution: fixed
Status: assignedclosed

(In [1766]) Fixes #443. Sample count report generator updated to allow the user to select sample type "no specimen" for the report.

Note: See TracTickets for help on using tickets.