Opened 9 years ago

Closed 8 years ago

#291 closed task (fixed)

Personal information registration

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

Description

A wizard for registration of personal information. It should create a Patient (biosource) and Case (sample) and link this with existing Specimen (samples).

A patient is identified by the PersonalNumber (string annotation) which should be unique. The uniqueness can of course not be enforced by BASE but the registration wizard should make checks to avoid duplicates. If the registration is a new entry the wizard should also ask for FamilyName and AllFirstNames, which are also stored as annotations. A name for the biosource entry in BASE is automatically generated using a counter.

If the registration is an existing entry the existing information is displayed for verification.

A case is identified by CaseName (name of sample) which should be unique. Again, the uniqueness can't be enfored by BASE, but the registration wizard should check. Each patient can have at most two cases corresponding to left and right breast.

Specimens are expected to exist in the database and should have names that are starting with the case name. When a new case is registered the existing specimen should be linked to the case.

When a case for an existing patient is registered it should be possible to merge the new case with an existing case. This means that the new specimen are linked to the old case and that we also need to add an annotation to keep track of the case name. More details about this will follow...

Change History (12)

comment:1 Changed 9 years ago by Nicklas Nordborg

Status: newassigned

comment:2 Changed 9 years ago by Nicklas Nordborg

(In [1283]) References #291: Personal information registration

Implemented first step with input fields for Case name and Personal number. The personal number is validated and when everything seems ok the second step with patient information is displayed. Existing patient information should be verified and for new patients some information needs to be entered. Functions for validating and going to the next step are not yet implemented.

comment:3 Changed 9 years ago by Nicklas Nordborg

(In [1286]) References #291: Personal information registration

If one is careful it is now possible to register new patients and cases. Error handling is not fully working and may result in corrupted data. Several use cases are still not supported.

comment:4 Changed 9 years ago by Nicklas Nordborg

(In [1289]) References #291: Personal information registration

Copy PAD annotations to PADcase. Display more specimen information in the third step of the registration. Automatic selection of laterality if it is present on the specimen. More error handling in case no specimen is found.

comment:5 Changed 9 years ago by Nicklas Nordborg

(In [1290]) References #291: Personal information registration

Should now handle the case with an existing patient properly. Depedning on the number of cases already registered the user may create a new case or merge with an existing case.

Display messages after the registration and added a button to restart the wizard for a second registration.

comment:6 Changed 8 years ago by Nicklas Nordborg

(In [1300]) References #291: Personal information registration

Better handling of cases where laterality information is missing on specimen tubes or when it is not consistent.

Cleaning up some validation code.

comment:7 Changed 8 years ago by Nicklas Nordborg

(In [1305]) References #291: Personal information registration

Move to next input field when ENTER is pressed.

comment:8 Changed 8 years ago by Nicklas Nordborg

(In [1306]) References #291: Personal information registration

Added a 'Cancel' button that aborts the current registration.

comment:9 Changed 8 years ago by Nicklas Nordborg

(In [1307]) References #291: Personal information registration

Allow laterality=unknown option since that is not always known at the time of registration. On the other hand, if a laterality has been selected but the associated specimen tubes doesn't have that information the specimen tubes will be updated with the selected laterality.

comment:10 Changed 8 years ago by Nicklas Nordborg

(In [1308]) References #291: Personal information registration

Added a warning message if no project is active.

comment:11 Changed 8 years ago by Nicklas Nordborg

(In [1311]) References #291: Personal information registration

Fixes a bug in PersonalNumber? validation when the control digit is 0.

comment:12 Changed 8 years ago by Nicklas Nordborg

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