change eligibility batch from ssn to policy number, minor fix to filename with extra...
[openemr.git] / library / ajax / amc_misc_data.php
blobb01e47a6571a7f002f20fa54a50e418c6c72ea14
1 <?php
2 // Copyright (C) 2011 Brady Miller <brady.g.miller@gmail.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 //
10 // This file contains functions to manage some AMC items.
15 require_once(dirname(__FILE__) . "/../../interface/globals.php");
16 require_once(dirname(__FILE__) . "/../amc.php");
18 // If all items are valid(ie. not empty) (note object_category and object_id and date_created can be empty), then proceed.
19 if (!(empty($_POST['amc_id'])) &&
20 !(empty($_POST['complete'])) &&
21 !(empty($_POST['mode'])) &&
22 !(empty($_POST['patient_id'])) ) {
23 processAmcCall($_POST['amc_id'], $_POST['complete'], $_POST['mode'], $_POST['patient_id'], $_POST['object_category'], $_POST['object_id'], $_POST['date_created']);