Our issue is that new Rx's will not document unless that Prescription form is open and the text component is generated.
Manually inserting the text component into the document template works unless someone clicks the Prescription form thus generating another text component causing duplicate text translation.
Is there a way to turn the automatic generation of that text component off from the prescription form or does anyone else have a better idea on how to handle this?
Under the current circumstance obviously the answer is to have the one prescribing launch the prescription form and then launch the update medications module from within but getting everyone onboard with those extra clicks has been a task.
You could either modify the RxRefill form or the text component it is inserting. I think either will require maintaining the change with every update. To edit the form, go to jboss server and to the Encounters folder \\[jboss-server]\c$\Program Files\Centricity Practice Solution\jboss\standalone\deployments\[database].ear\CentricityPracticeWS.war\\EncounterForms\rxrefill\controllers\rxrefill-controller.js. Find the line that contains ADD_TEXT_COMP and comment it out with two forward slashes (for me its line 69).
You could just edit the referenced text component as well, for me that is 'Enterprise\Medicalogic\Rx Refill 2016' and remove the text translation.
Thanks, figured there was jboss option didn't think about your 2nd option there, the simplest one haha.
Is there a document template for the Rx Refil button anymore?
EDIT: found it, it is the Encounter Type "RxRefill" with with Document Template "RxRefill".
This seems to be a canned default from Centricity one that cannot be re-selected or found in Document Templates. We now pointed ours to a custom template and remove the translation from the text component that is auto generated adding a custom text component to exist so it will always document.
Remove this entire statement??
$scope.InitializeForm = function () {
if ($scope.currentFormId > 0) {
emrApiAccessService.evalMel("{ADD_TEXT_COMP('Enterprise\\Medicalogic', 'Rx Refill 2016', 'AFTER_CURRENT', 1)}", false);
}
}
I would leave the function definition its probably called somewhere, you can gut it though.
$scope.InitializeForm = function () {
}
"Gutting" the function, but leaving it intact is exactly what we did and it's been working fine for the better part of a year. No issues.