Opened 12 years ago
Closed 12 years ago
#448 closed enhancement (fixed)
Register comments for blood samples
Reported by: | Nicklas Nordborg | Owned by: | olle |
---|---|---|---|
Priority: | minor | Milestone: | Reggie v2.10 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description (last modified by )
It should be possible to register comments for the blood samples. The value should be stored in the OtherPathNote
annotation. Make sure that this value is retrieved and made visible if updating an existing blood registration.
The installation wizard should also be updated to include the OtherPathNote
annotation in the 'Blood' category.
Change History (5)
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
comment:4 by , 12 years ago
Design discussion:
- The blood registration form is managed by JSP script
bloodform.jsp
inreggie/resources/
, which communicates with servletBloodRegistrationServlet.java
inreggie/src/net/sf/basedb/reggie/servlet/
. - The JSP script is updated by adding a
textarea
input field in the blood registration form, whose value is sent to the servlet via variablebloodInfo.otherPathNote
. The servlet stores the value as an annotation of typeAnnotationtype.OTHER_PATH_NOTE
for the blood sample item. To ensure that an existing comment is shown, when updating a blood registration, the servlet should in this case retrieve the value from the database and transfer it to the JSP script via variablebloodInfo.otherPathNote
. - The design for adding a comment to the blood registration wizard will be based on the one for handling a comment for a specimen tube in JSP script
specimentube.jsp
inreggie/resources/
and servletSpecimenTubeServlet.java
inreggie/src/net/sf/basedb/reggie/servlet/
(there are some differences, such as in what registration step, the comment is added, but the same outline will be followed). - The installation wizard is managed by JSP script
install.jsp
inreggie/resources/
, which communicates with servletInstallServlet.java
inreggie/src/net/sf/basedb/reggie/servlet/
. The latter servlet should be updated to includeAnnotationtype.OTHER_PATH_NOTE
forSubtype.BLOOD
, in order for theOtherPathNote
annotation to be shown in the 'Blood' category.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Ticket accepted.