Opened 8 years ago

Closed 8 years ago

#348 closed enhancement (fixed)

Consent form registration wizard should allow 'Yes' in all cases

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

Description

The current implementation will only allow a 'Yes' to be registered if the 'Personal information registration wizard' has been completed for that case and added case and patient information. Due to different routines where the forms may be received in a different order, it would be nice to be able to register a 'Yes' before the patient information is available.

It is relatively easy to implement this in the 'Consent form registration wizard', but we also need to modify the other wizards to make sure that they work as expected.

The current situation is as follows:

  • Specimen tube registration wizard: The case (4563214) already exists in BASE. This wizard cannot be used to update tubes that already been connected to a case. This wizard should be able to continue as if nothing was already registered. It should not link the specimen tubes with the case (since we do not know if the case should be merged with another until we have the patient information).
  • Personal information registration wizard: The case (4563214) was found but it is not associated with any patient. This wizard can't be used until that is corrected. This wizard should be able to continue and either:
    1. use the existing case and link it with specimen tubes (existing) and patient information (created or existing)
    2. merge with another already existing case (based on the usual laterality information). The case with the consent information should be deleted and the consent information moved to the existing case (unless it has consent information already).

Change History (5)

comment:1 Changed 8 years ago by Nicklas Nordborg

Status: newassigned

comment:2 Changed 8 years ago by Nicklas Nordborg

(In [1513]) References #348: Consent form registration wizard should allow 'Yes' in all cases

This should more or less be working now... I hope I havn't missed some exotic case. Need to add more things when the blood registration wizard (#350) has been implemented so I'll keep this ticket open.

comment:3 Changed 8 years ago by Nicklas Nordborg

(In [1519]) References #348: Consent form registration wizard should allow 'Yes' in all cases

The consent registration wizard now check blood registrations and register consent with the blood if found.

The personal registration wizard can now handle the case were things are registered in the following order: blood, consent, case.

comment:4 Changed 8 years ago by Nicklas Nordborg

(In [1520]) References #348: Copy consent information to multiple cases

The consent registration wizard can now find other cases and blood samples registered for a patient and display a list of checkboxes which enable/disable consent registration for that case/blood. The drawback is that if not all cases/blood are selected, it is not possible to register a consent later for those with the wizard.

This need to be fixed, but before that I think the code need to be cleaned up a bit. I has become messy and we have similar code in the other wizards for finding case/patient/blood/consent information that I think should collected into a single place.

comment:5 Changed 8 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.