From dd1b97278e2538e4cc14b9b76046dcf1bf545266 Mon Sep 17 00:00:00 2001 From: vinish Date: Thu, 28 Jul 2011 15:31:23 +0530 Subject: [PATCH] Added AMC for ePrescription Signed-off-by: vinish --- interface/soap_functions/soap_patientfullmedication.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/interface/soap_functions/soap_patientfullmedication.php b/interface/soap_functions/soap_patientfullmedication.php index 6b0234500..dab2b2a58 100644 --- a/interface/soap_functions/soap_patientfullmedication.php +++ b/interface/soap_functions/soap_patientfullmedication.php @@ -34,6 +34,7 @@ $fake_register_globals=false; require_once('../globals.php'); require_once('../eRx_xml.php'); require_once('../../library/xmltoarray_parser_htmlfix.php'); +require_once($GLOBALS['fileroot'] . "/library/amc.php"); set_time_limit(0); if(!$patientid) $patientid=$pid; @@ -132,10 +133,10 @@ for($i=0;$i