// ************************************************
// log database connection
// ************************************************
// $link = mysql_connect( "localhost", "clientinfo", "clientinfo2004" );
// if (!$link)
// {
// $status = "F";
// return;
// }
// else
// {
// $test = mysql_select_db ("clientinfo");
// if (!$test)
// {
// $status = "F";
// return;
// }
// }
// ************************************************
// check for cookies
// ************************************************
// if (!isset($_COOKIE['atlasmedical_id']))
// {
// $l_origid = 0;
// }
// else
// {
// $l_origid = $_COOKIE['atlasmedical_id'];
// }
// ************************************************
// create log file
// ************************************************
$l_date = date("Y-m-d H:i:s");
$l_ipaddr = $_SERVER["REMOTE_ADDR"];
$l_iphost = gethostbyaddr($_SERVER["REMOTE_ADDR"]);
$l_remuser = $_SERVER["REMOTE_USER"];
$l_secure = $_SERVER["HTTPS"];
$l_reqmethod = $_SERVER["REQUEST_METHOD"];
$l_httphost = $_SERVER["HTTP_HOST"];
$l_requri = $_SERVER["REQUEST_URI"];
$l_phpself = $_SERVER["PHP_SELF"];
$l_protocol = $_SERVER["SERVER_PROTOCOL"];
$l_qstring = $_SERVER["QUERY_STRING"];
$l_remport = $_SERVER["REMOTE_PORT"];
$l_referer = $_SERVER["HTTP_REFERER"];
$l_uagent = $_SERVER["HTTP_USER_AGENT"];
// $queery = "INSERT INTO atlasm (atlasm.origid, atlasm.date, atlasm.ipaddr, atlasm.iphost,
// atlasm.remuser, atlasm.secure, atlasm.reqmethod, atlasm.httphost, atlasm.requri,
// atlasm.phpself, atlasm.protocol, atlasm.qstring, atlasm.remport, atlasm.referer,
// atlasm.uagent) " .
// "VALUES ('" .
// mysql_escape_string($l_origid) . "', '" .
// mysql_escape_string($l_date) . "', '" .
// mysql_escape_string($l_ipaddr) . "', '" .
// mysql_escape_string($l_iphost) . "', '" .
// mysql_escape_string($l_remuser) . "', '" .
// mysql_escape_string($l_secure) . "', '" .
// mysql_escape_string($l_reqmethod) . "', '" .
// mysql_escape_string($l_httphost) . "', '" .
// mysql_escape_string($l_requri) . "', '" .
// mysql_escape_string($l_phpself) . "', '" .
// mysql_escape_string($l_protocol) . "', '" .
// mysql_escape_string($l_qstring) . "', '" .
// mysql_escape_string($l_remport) . "', '" .
// mysql_escape_string($l_referer) . "', '" .
// mysql_escape_string($l_uagent) . "')";
// mysql_query($queery, $link);
// $nrows = mysql_affected_rows();
// if ($nrows != "0")
// {
// $lid = mysql_insert_id();
// if ($l_origid == 0)
// {
// $l_origid = $lid;
// }
// }
// ************************************************
// check for cookies
// ************************************************
// setcookie("atlasmedical_id", $l_origid, time() + 15552000);
// ************************************************
// allowable characters in form fields
// ************************************************
$allowed = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.-' ";
$zallowed = "0123456789- ";
$pallowed = "0123456789.-+() ";
// ************************************************
// constants
// ************************************************
$frmdir = "/var/www/phpcode/forms/"; // form directory
$ck = "CHECKED"; // used for checkboxes/radio buttons
// ************************************************
// arrays
// ************************************************
$methods = array ("email", "phone", "mail");
$states = array ("ALAlabama", "AKAlaska", "AZArizona", "ARArkansas", "CACalifornia", "COColorado",
"CTConnecticut", "DCDC Washington", "DEDelaware", "FLFlorida", "GAGeorgia",
"HIHawaii", "IDIdaho", "ILIllinois", "INIndiana", "IAIowa", "KSKansas", "KYKentucky",
"LALouisiana", "MEMaine", "MDMaryland", "MAMassachusetts", "MIMichigan", "MNMinnesota",
"MSMississippi", "MOMissouri", "MTMontana", "NENebraska", "NVNevada", "NHNew Hampshire",
"NJNew Jersey", "NMNew Mexico", "NYNew York", "NCNorth Carolina", "NDNorth Dakota",
"OHOhio", "OKOklahoma", "OROregon", "PAPennsylvania", "RIRhode Island", "SCSouth Carolina",
"SDSouth Dakota", "TNTennessee", "TXTexas", "UTUtah", "VTVermont", "VAVirginia", "WAWashington",
"WVWest Virginia", "WIWisconsin", "WYWyoming");
// ************************************************
// functions
// ************************************************
function is_email_valid($email)
{
if(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $email))
return TRUE;
else
return FALSE;
}
function is_phone_valid($ph)
{
$ph = ereg_replace("[^[:digit:]]", "", $ph);
if ($ph[0] == "1")
{
$ph = substr($ph, 1);
}
if (strlen($ph) == 10)
{
return ("(" . substr($ph, 0, 3) . ") " . substr($ph, 3, 3) . "-" . substr($ph, 6));
}
else
return FALSE;
}
// ************************************************
// process forms
// ************************************************
$rtn = stripslashes($_POST['rtn']);
if ($rtn != "")
{
if ((substr($rtn,0,7) == "request") || ($rtn == "test"))
{
include ($frmdir . $rtn . ".frm");
}
}
?>
Atlas Radiology Overview
Built on the proven Atlas LabWorks platform, Atlas Radiology is designed to deliver the same robust functionality, scalability and flexibility that has made Atlas LabWorks the best of breed for laboratory outreach programs across the country.
In today’s competitive marketplace you need every advantage you can get. Atlas delivers:
Standalone or Integrated Deployment
Atlas Radiology can be deployed as a standalone system or as an integrated
module within Atlas LabWorks. Configurable parameters allow you to change deployment
from imaging only to imaging and lab at the “flip of a switch”.
HL7 Orders and Results
Atlas Radiology transmits and receives HL7 standard messages for both orders and results. The system creates separate requisitions for each procedure that can be printed locally or centrally. Requisitions can be customized to meet your unique needs.
Dictionary-driven Test Catalog Management
Diagnostic imaging test catalogs are managed centrally using a dictionary-driven
test catalog management environment. Catalogs can be loaded from your RIS or
a standard file format. Once edited, updates are published automatically to
all ordering sites.
Custom Scheduling Interfaces
Atlas can develop a custom interface to your RIS that enables users access to scheduling at the point of order entry.
New Order Screen
Robust Feature Set
-Thin or Thick client Deployment –
Mix and Match
-Order entry
-Result reporting
-Customized Requisitions
-ICD-9 diagnosis entry
-LMRP validation
-Advanced Beneficiary Notices
-Historical Patient Database
-Command and Control Center
(exception monitoring)
-Dictionary Manager (advanced
control of test catalog, ordering
questions, pricing, billing rules, etc.)
-Practice Management and EMR
System interfaces