Workflow - causing cascade on delete data loss

Considering the following workflow.

Patient Checkin - admin form creation

Patient Invoice started - pre anaesethetic blood testing - automatic investigation generation.

Lab reports and docloader attaches to the investigation

Proceedure peformed

Vet Invoices - uses template which adds another blood test (same one)

Vet then deletes the extra blood test but actually deletes the first test - 

this causes a cascading delete which removes the investigation and associated reports

 

I think that once a document is attached to an investigation that the investigation should be finalized and immutable.   The associated invoice item can be removed but I would just remove the link rather than the investigation.  

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Workflow - causing cascade on delete data loss

Can you raise this as an improvement request in JIRA?

Re: Workflow - causing cascade on delete data loss

https://openvpms.atlassian.net/browse/OVPMS-1583

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au
Syndicate content