"Armed Forces Americas", 'AE'=>"Armed Forces Europe", 'AL'=>"Alabama", 'AK'=>"Alaska", 'AP'=>"Armed Forces Pacific", 'AS'=>"American Samoa", 'AZ'=>"Arizona", 'AR'=>"Arkansas", 'CA'=>"California", 'CO'=>"Colorado", 'CT'=>"Connecticut", 'DE'=>"Delaware", 'DC'=>"District Of Columbia", 'FL'=>"Florida", 'FM'=>"Micronesia", 'FPO'=>"FPO", 'GA'=>"Georgia", 'GU'=>"Guam", 'HI'=>"Hawaii", 'ID'=>"Idaho", 'IL'=>"Illinois", 'IN'=>"Indiana", 'IA'=>"Iowa", 'KS'=>"Kansas", 'KY'=>"Kentucky", 'LA'=>"Louisiana", 'ME'=>"Maine", 'MD'=>"Maryland", 'MA'=>"Massachusetts", 'MH'=>"Marshall Islands", 'MI'=>"Michigan", 'MN'=>"Minnesota", 'MS'=>"Mississippi", 'MO'=>"Missouri", 'MT'=>"Montana", 'NE'=>"Nebraska", 'NV'=>"Nevada", 'NH'=>"New Hampshire", 'NJ'=>"New Jersey", 'NM'=>"New Mexico", 'NY'=>"New York", 'NC'=>"North Carolina", 'ND'=>"North Dakota", 'OH'=>"Ohio", 'OK'=>"Oklahoma", 'OR'=>"Oregon", 'PA'=>"Pennsylvania", 'PW'=>"Palau", 'RI'=>"Rhode Island", 'SC'=>"South Carolina", 'SD'=>"South Dakota", 'TN'=>"Tennessee", 'TX'=>"Texas", 'UT'=>"Utah", 'VT'=>"Vermont", 'VA'=>"Virginia", 'VI'=>"Virgin Island", 'WA'=>"Washington", 'WV'=>"West Virginia", 'WI'=>"Wisconsin", 'WY'=>"Wyoming", 'PR'=>"Puerto Rico", 'MP'=>"Northern Mariana Islands", ); $link = mysqli_connect("localhost", "root", "pencil123", "medicare"); if (!$link) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL; exit; } $sql1 = "Select SQL_NO_CACHE * from homehealth where link = '$hhlink'"; $query1 = MySQLi_query($link,$sql1); $homerow = MySQLi_fetch_array($query1, MYSQLI_BOTH); $PID = $homerow['CCN']; if(empty($PID)) { include '404.php'; exit; } $name = ucwords(strtolower($homerow['Provider'])); $address = ucwords(strtolower($homerow['Address'])); $city = ucwords(strtolower($homerow['City'])); $state = $homerow['State']; $zip = $homerow['Zip']; $phone = $homerow['Phone']; $formattedphone = "(".substr($phone,0,3).") ".substr($phone,3,3)."-".substr($phone,6); $owner = ucwords(strtolower($homerow['Ownership'])); $services = ""; $Nursing_Care = $homerow['Nursing_Care']; if($Nursing_Care=="Yes") $services = $services."Nursing Care"; $Physical_Therapy = $homerow['Physical_Therapy']; if($Physical_Therapy=="Yes") $services = $services.", Physical Therapy"; $Occupational_Therapy = $homerow['Occupational_Therapy']; if($Occupational_Therapy=="Yes") $services = $services.", Occupational Therapy"; $Speech_Pathology = $homerow['Speech_Pathology']; if($Speech_Pathology=="Yes") $services = $services.", Speech Pathology"; $Medical_Social_Services = $homerow['Medical_Social_Services']; if($Medical_Social_Services=="Yes") $services = $services.", Medical Social Services"; $Home_Health_Aide = $homerow['Home_Health_Aide']; if($Home_Health_Aide=="Yes") $services = $services.", Home Health Aide"; $certdate = $homerow['Date_Certified']; $certyear = date('Y', strtotime($certdate)); //$certduration = date('Y') - $certyear; $certduration = date('Y') - $certyear; $rating = $homerow['Q_Star_Rating']; $ratingfootnote = $homerow['Footnote1']; $zipcodes = $homerow['zipcodes']; //$lastsurvey = date("F, Y", strtotime($homerow['CYCLE_1_SURVEY_DATE'])); $fullstate = $states[$state] ?? $state; $providerlink = $hhbase.$hhlink."/"; $fulladdress = $address.", ".$city.", ".$fullstate." ".$zip; //$mapaddress = implode("+",explode(" ",$fulladdress)); $mapaddress = urlencode($fulladdress); $temp = explode(" ",strtolower($city)); $tempcity = urlencode(implode("-",$temp)); $tempstate = strtolower($state); $statelink = $catlink.$tempstate."/"; $citylink = $statelink.$tempcity."/"; $desc = $name." in ".$city.", ".$state." - Medicare Certified Home Health Care Agency Details including NPI, Location and Contact Numbers."; $title = $name." in ".$city.", ".$state." - Medicare Home Health Care Agency"; $header = $name." in ".$city.", ".$state." - Home Health Agency"; $advert = '
$name";?> | |
$formattedphone";?> | |
"; else if($rating=="1.5") echo ""; else if($rating=="2") echo ""; else if($rating=="2.5") echo ""; else if($rating=="3") echo ""; else if($rating=="3.5") echo ""; else if($rating=="4") echo ""; else if($rating=="4.5") echo ""; else if($rating=="5") echo ""; else echo "Not Available"; ?> |
Name | $name | "; echo "
---|---|
Location | $address, $city, $fullstate |
Certified By | Medicare |
Services Offered | ";
if($Nursing_Care=="Yes")
echo "Nursing Care "; else echo " "; if($Physical_Therapy=="Yes") echo "Physical Therapy "; else echo " "; if($Occupational_Therapy=="Yes") echo "Occupational Therapy "; else echo " "; if($Speech_Pathology=="Yes") echo "Speech Pathology "; else echo " "; if($Medical_Social_Services=="Yes") echo "Medical Social Services "; else echo " "; if($Home_Health_Aide=="Yes") echo "Home Health Aide "; else echo " "; echo " |
Medicare ID | $PID |
Ownership Type | $owner |
Service Area Zip Codes | $zipcodes |
NPI Number | $npix |
Organization Name | $orgnamex |
Doing Business As | $dbanamex |
Address | $fulladdress |
Phone Number | $phonex |
Quality Rating: | "; echo ""; if($rating=="1") echo ""; else if($rating=="1.5") echo ""; else if($rating=="2") echo ""; else if($rating=="2.5") echo ""; else if($rating=="3") echo ""; else if($rating=="3.5") echo ""; else if($rating=="4") echo ""; else if($rating=="4.5") echo ""; else if($rating=="5") echo ""; else { echo "Not Available* |
* $ratingfootnote |
Quality Measure | Provider | National Avg. |
---|---|---|
$def | $score | $national_avg |
$def | $score | $national_avg |
$def | $score | $national_avg |
Quality Measure | Provider | National Avg. |
---|---|---|
$def | $score | $national_avg |
$def | $score | $national_avg |
$def | $score | $national_avg |
$def | $score | $national_avg |
$def | $score | $national_avg |
Question Type: | Rating by Patients |
---|---|
Health team gave care in a professional way | "; echo ""; if($S_Pro_Rating==1) echo ""; else if($S_Pro_Rating==2) echo ""; else if($S_Pro_Rating==3) echo ""; else if($S_Pro_Rating==4) echo ""; else if($S_Pro_Rating==5) echo ""; else { echo "Not Available"; } echo " |
Health team communicated well with them | "; echo ""; if($S_Comm_Rating==1) echo ""; else if($S_Comm_Rating==2) echo ""; else if($S_Comm_Rating==3) echo ""; else if($S_Comm_Rating==4) echo ""; else if($S_Comm_Rating==5) echo ""; else { echo "Not Available"; } echo " |
Health team discussed medicines, pain, and home safety | "; echo ""; if($S_Safety_Rating==1) echo ""; else if($S_Safety_Rating==2) echo ""; else if($S_Safety_Rating==3) echo ""; else if($S_Safety_Rating==4) echo ""; else if($S_Safety_Rating==5) echo ""; else { echo "Not Available"; } echo " |
How patients rated overall care from agency | "; echo ""; if($S_Overall_Rating==1) echo ""; else if($S_Overall_Rating==2) echo ""; else if($S_Overall_Rating==3) echo ""; else if($S_Overall_Rating==4) echo ""; else if($S_Overall_Rating==5) echo ""; else { echo "Not Available"; } echo " |
Experience Measure | Provider | National Avg. |
---|---|---|
$def | $score | $national_avg |
$def | $score | $national_avg |
$def | $score | $national_avg |
News Archive
European regulators should avoid excessive legislation when trying to tackle the increasing problem of overweight groups in their population, according to a new study by Austrian researchers published today by the Brussels think-tank the European Enterprise Institute (EEI).
The American Society for Radiation Oncology (ASTRO) has developed a guideline on the radiotherapeutic and surgical management for newly diagnosed brain metastases. It has been published in Practical Radiation Oncology (PRO), ASTRO's official clinical practice journal.
Trustees of the Jesuit [Loyola Marymount University] will decide on Monday whether to remove coverage for elective abortions from the faculty and staff health care plans. The coming vote has exposed a deep rift over just how Catholic a Catholic university should be in the 21st century - and how to maintain that distinctive Catholic identity amid growing diversity on campus (Lovett, 10/6).
A new understanding of insulin resistance and the action of diabetes drugs such as Avandia and Actos could pave the way for improved medications that are more selective and safer, say scientists from Dana-Farber Cancer Institute and The Scripps Research Institute.Our findings strongly suggest that good and bad effects of these drugs can be separated by designing second-generation drugs that focus on the newly uncovered mechanism, said Bruce Spiegelman, PhD, of Dana-Farber, senior author on a report appearing in the July 22 issue of Nature.
› Verified 2 days ago
";
echo " $name "; echo "Location: $fulladdress "; echo "Ratings: "; if($rating=="1") echo ""; else if($rating=="1.5") echo ""; else if($rating=="2") echo ""; else if($rating=="2.5") echo ""; else if($rating=="3") echo ""; else if($rating=="3.5") echo ""; else if($rating=="4") echo ""; else if($rating=="4.5") echo ""; else if($rating=="5") echo ""; else echo "NA"; echo " Phone: $formattedphone "; echo " |