Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#374 closed enhancement (fixed)

Store operation date on case items

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v2.4
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The operation date is stored as an annotation on specimen tubes. This creates a problem for cases were no specimen has been received. The personal registration wizard should be updated to also store a copy of the operation date on the case item. Existing cases need to be updated manually with the help of a batch import.

Change History (7)

comment:1 by Nicklas Nordborg, 12 years ago

Status: newassigned

comment:2 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [1592]) Fixes #374: Store operation date on case items

comment:3 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: closedreopened

We can't simply copy the date from the specimen to the case, since a single case may represent multiple operation dates. We need a different annotation type on the case that allow multiple values to be stored.

comment:4 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: reopenedclosed

(In [1597]) Fixes #374: Store operation date on case items

Added SamplingDateTimeCase annotation type that can hold multiple values.

comment:5 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: closedreopened

There is no need to store the time part on the case level. We should change the annotation type to only hold date values and update the registration wizard.

comment:6 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: reopenedclosed

(In [1600]) Fixes #374: Store operation date on case items

Renamed SamplingDateTimeCase to SamplingDateCase and changed it's type to only store date values. Existing annotation values are not modified and should be moved to the new annotation type with a batch importer. The old annotation type can then be deleted.

comment:7 by Nicklas Nordborg, 12 years ago

(In [1609]) References #374: Store operation date on case items

Fixes an issue with the sampling date field being disabled with a message 'Multiple dates have already been registered ...' when no date at all has been registered. This could happen if a consent was registered before the main referral form and no specimen has been received.

Note: See TracTickets for help on using tickets.