ouhft / COPE

Project Repository for Work Package 4 of the COPE Transplant Trial
https://cope.nds.ox.ac.uk
1 stars 0 forks source link

Make Admin fields accessible on main system for Admin team members #282

Closed marshalc closed 7 years ago

marshalc commented 7 years ago

Bring things like the Admin Notes, and Record Locked fields to the main user interface so that more metadata can be captured as data cleanup and backfill is done.

This will likely link in with the #196 task showing reversion data for each record.

marshalc commented 7 years ago

There the following fields to add in:

There's no Recipient admin_notes - The relevant Organ's notes are sufficient here, thus we use Donor notes for Procurement Forms, and Organ notes for Transplant Forms.

marshalc commented 7 years ago

... only we'll not do the record locking stuff at this stage, as that is far more complex than just adding notes.

For future reference (and this'll need it's own task, perhaps even release cycle), record locking needs the process determining (who can lock, unlock, when, and how), the logging confirmed (recording all changes), the UI locking out to show which aspects are covered (should it be one lock for the entire visual form, or a lock per record in the form), etc

marshalc commented 7 years ago

Ideally this wants to be achieved using some form of dynamic changing of the form (adding fields, layout, etc) as we'll need to do that for the record locking to be any use without massive increase in modelform definitions and conditional deployments. So far, that method eludes me...

marshalc commented 7 years ago

Going to wrap this into the 0.9.0 release - partly because of the scale of the work, partly because it is relevant to showing admin extra info as part of document management, and partly because I need to close the 0.8.4 branch so we can move onto 0.9.0 quickly.

marshalc commented 7 years ago

Released in the 0.8.5 branch

marshalc commented 5 years ago

v0.9.3 has record locking implemented for the Donor record (and thus the Procurement form). This will allow the admin team to update a procurement form to record locked (a one way process), and will hide the save button on records that are locked.

marshalc commented 5 years ago

This was looked at during the #336 work