コード例 #1
0
ファイル: control.php プロジェクト: gianpascal/yachay
 case 'grabarDatoLaboratorio':
     require_once "ActionLaboratorio.php";
     $o_ActionLaboratorio = new ActionLaboratorio();
     $datos["tipoDato"] = $parametros["p2"];
     $datos["idDatoExamenPacienteLaboratorio"] = $parametros["p3"];
     $datos["valor"] = $parametros["p4"];
     $datos["idProcesarPuntoControl"] = $parametros["p5"];
     $datos["idDatoPuntoControl"] = $parametros["p6"];
     $resultado = $o_ActionLaboratorio->aGrabarDatoLaboratorio($datos);
     break;
 case 'terminarProceso':
     require_once "ActionLaboratorio.php";
     $o_ActionLaboratorio = new ActionLaboratorio();
     $datos["iIdProcesarPuntoControl"] = $parametros["p2"];
     $datos["observacion"] = $parametros["p3"];
     $resultado = $o_ActionLaboratorio->aTerminarProceso($datos);
     break;
 case 'recibirProceso':
     require_once "ActionLaboratorio.php";
     $o_ActionLaboratorio = new ActionLaboratorio();
     $datos["iIdProcesarPuntoControl"] = $parametros["p2"];
     $datos["observacion"] = $parametros["p3"];
     $resultado = $o_ActionLaboratorio->aRecibirProceso($datos);
     break;
 case 'mostrarExamenesLaboratorio':
     require_once "ActionLaboratorio.php";
     header("Content-type: text/xml");
     $o_ActionLaboratorio = new ActionLaboratorio();
     $resultado = $o_ActionLaboratorio->amostrarExamenesLaboratorio();
     break;
 case 'AdjuntoFotoMaterialLaboratorio':