Bug: Can't untag a document / encounter pair

tmccormi wrote on Monday, October 26, 2015:

There is a minor bug someone could fix. In Document Manager you can Tag a document to an encounter, but if you pick the wrong encounter you can NOT Un-Tag it.

aethelwulffe wrote on Tuesday, October 27, 2015:

will look at that since I am headed there anyways…

Hi Brady ,

We found the same issue in openemr development code base ( 5.0.1 dev) and we did fix for this .
Here is the fix
https://github.com/visolve-openemr/Openemr_features_enhancements/commit/832813387b939d98eb1e820918490c4cca46b339

Please check this and review it . Let us know if any changes requires .

Thanks
Visolve

Hi @visolveemr ,

Thanks! And the code looks very reasonable. Can you post that code as a Pull Request on github?

thanks,
-brady