#3481 Can't detach some labs from consultation on edit
#3485 Character limit is too short in Rx search bar 

-removed max character limit

Change-Id: I0ced90a70daebebc3e4af8569cb470bd1f346b01
Merge "#3481 Can't detach some labs from consultation on edit" into RELEASE_12_1
#3447 Reprot By Template - edit link broken when viewing xml 

Change-Id: I4e2ec1b685c06d558fc5b92b4b1f8ac133d643ac
#2897 Entering BP in flowsheet copies data into another chart 

this commit fixes various bugs that have been entered into the comments
of this bug request. Please see ticket for details.