Please note that these authorization requirements apply to in-network providers and facilities only. All services rendered by out of network providers and facilities require prior authorization. For a list of in-network provider click here.
[insert_php]
$search=$_POST[‘search’];
$metode=$_POST[‘metode’];
$hp=$_POST[‘hp’];
if((isset($_POST[‘hp’])&& $_POST[‘hp’]==”NONE”)or trim($_POST[‘hp’]==”))
$errMsg = “
You must select a health plan from the dropdown box.
Go back and try your search again.
“;
else
{
// display what the person searched for
$hostname = “localhost”; // The HDNFMC DB server.
$username = “hdnfmc_cptlookup”; // The username you created for this database.
$password = “gx23rd”; // The password you created for the username.
$usertable = “cpt_2008”; // The name of the table you made.
$dbName = “hdnfmc_cpt”; // This is the name of the database you made.
$db = mysqli_connect($hostname, $username, $password) OR DIE(“DB connection unavailable”);
mysqli_select_db ($db, “$dbName”) or die( “Unable to select database”);//error message (not found message)begins
$XX = “
No Record Found for “.$search.”, to search again please go back to the search window
“;
//query details table begins
switch ($hp)
{
case “CALC”:
$hpauth= “CALCReq”;
$searchCriteria = “Health Plan: Anthem”;
break;
case “HBS”:
$hpauth= “HBSReq”;
$searchCriteria = “Health Plan: Blue Shield”;
break;
case “BLAKE”:
$hpauth= “BLAKEReq”;
$searchCriteria = “Health Plan: Blue Lake Rancheria”;
break;
default:
$hpauth= “None”;
$searchCriteria = “Health Plan: None”;
}
echo “
“.$searchCriteria.” (To start a new search, go back to the search window)
“;
$query = “SELECT CPT,Description,”. $hpauth . ” AS Auth FROM cpt_2008 WHERE $metode LIKE ‘%$search%'”;
//print(“
“.$query);
//$query = “SELECT * FROM cpt_2008 WHERE $metode LIKE ‘%$search%'”;
$rs = mysqli_query($db, $query);
while($row = mysqli_fetch_row($rs))
{
$variable1=$row[“CPT”];
$variable2=$row[“Description”];
$variable3=$row[“Auth”];
$variable4=$row[“Comment”];
$variable1=$row[0];
$variable2=$row[1];
$variable3=$row[2];
$variable4=$row[3];
if (strstr($variable3, ‘Requires’)) {
$variable3.=” (Submit Authorization)“;
}
//table layout for results
print (“
print (“
“);
print (“
“);
print (“
“);
print (“
print (“
“);
print (“
“);
print (“
print (“
“);
print (“
“);
print (“
print (“
“);
print (“
“);
}
//below this is the function for no record!!
if (!$variable1)
{
print (“
“);
}
//end
} //no health plan entered
if (isset($errMsg))
echo $errMsg;
[/insert_php]