
function dates_display($date_format1, $date_format2, $date_str) { $base_struc = preg_split( '/[-\.\:\/ ]/', $date_format1); $date_str_parts = preg_split( '/[-\.\:\/ ]/', $date_str ); // print_r( $base_struc ); echo "\n"; // for testing // print_r( $date_str_parts ); echo "\n"; // for testing $date_elements = array(); $p_keys = array_keys( $base_struc ); foreach ( $p_keys as $p_key ) { if ( !empty( $date_str_parts[$p_key] )) { $date_elements[$base_struc[$p_key]] = $date_str_parts[$p_key]; } else return false; } // print_r($date_elements); // for testing if (array_key_exists('M', $date_elements)) { $Mtom=array( "Jan"=>"01", "Feb"=>"02", "Mar"=>"03", "Apr"=>"04", "May"=>"05", "Jun"=>"06", "Jul"=>"07", "Aug"=>"08", "Sep"=>"09", "Oct"=>"10", "Nov"=>"11", "Dec"=>"12", ); $date_elements['m']=$Mtom[$date_elements['M']]; } // print_r($date_elements); // for testing $dummy_ts = mktime( $date_elements['m'], $date_elements['d'], $date_elements['Y'] ); return date( $date_format2, $dummy_ts ); } //Returning Last Day of any given month to help in exh. period and resolving the MMYY PO number equivelent. // Take an integer month and year and returns the date of the last day in MM/DD/YY format function lastDay($month, $year){ $lastDay; $longMonths = array(1,3,5,7,8,10,12); // Months that end in 31 $shortMonths = array(4,6,9,11); // Months that end in 30 if(in_array($month,$longMonths)) $lastDay=31; else if(in_array($month, $shortMonths)) $lastDay=30; else if($month==2){ // February, check for leap year if(date('L',mktime(0,0,0,1,1,$year))==1 ) $lastDay = 29; else $lastDay =28; } return date('Y-m-d',mktime(0,0,0,$month,$lastDay,$year)) . " 23:59:59"; } function firstDay($month, $year){ return date('Y-m-d',mktime(0,0,0,$month,01,$year)) . " 00:00:00"; } //Status Code Resolved function StatusCode_Resolved($sdcode) { $SDNames = array('SD1','SD2','SD3','SD4','SD5','SD16','SD7'); $SDLabels = array('Draft Order','Order Posted','Order Approved','Lab Recieved','Materials Delivered','Closed','Voided'); for($i = 0;$i < count($SDNames);$i++) { if($sdcode==$SDNames[$i]){ return $SDLabels[$i]; } else { return "Not Found"; } } } function ShortenText($text,$chars) { if(strlen($text) > ($chars -3)){ $text = $text." "; $text = substr($text,0,$chars); $text = substr($text,0,strrpos($text,' ')); $text = $text."..."; } return $text; } ?>
How Medical Professionals Help Identify Abuse In Nursing Homes
Posted: March 22, 2019 Author: Georgina Tyburski
While there are no exact statistics for instances of elder abuse in nursing homes, many medical professionals have estimated that about 1 in 10 nursing home residents experience abuse. Even more troublesome, anonymous surveys and interviews with staff members and assistants paint a worse picture: over 30 percent of staff reported ...
Medical Malpractice: Exploring Common Errors And Oversights
Posted: April 1, 2016 Author: Georgina Tyburski
Broadly speaking, medical malpractice is defined as act (or an omission) by a doctor or medical professional which results in or causes injury to a patient. While most people trust the medical professionals around them, the alarming truth is that medical malpractice is not an uncommon occurrence. In this post, we've decided to exp...
Nursing Home Facilities Shrug Off Fines, Fail To Improve Patient Care
Posted: March 25, 2016 Author: Georgina Tyburski
Many people trust the care of their loved ones to nursing home facilities without giving it much thought. After all, there are safety standards and regulations that they need to follow, right? Well, it might come as a nasty shock for many to learn that while there are certainly standards and laws in place for nursing home faciliti...
Medical Chronologies In Medical Malpractice Cases
Posted: March 18, 2016 Author: Georgina Tyburski
When it comes to medical malpractice cases, just like other personal injury cases, the burden of proof lies on the plaintiff. This can be difficult for many, as medical malpractice cases often involve complex medical issues. The fact of the matter is, most people cannot be reasonably expected to wield the robust type of medical ex...
Life Care Planners And The Services They Provide
Posted: March 11, 2016 Author: Georgina Tyburski
Earlier, we spent some time discussing the important role that life care planners fill in cases where catastrophic injury took place, covering topics such as the manner in which they collaborate with attorneys in the legal arena, and their expertise regarding Medicare Set Asides. However, the extent of their work spans a larger sc...
Key Things To Know About Medicare Set Asides
Posted: March 4, 2016 Author: Georgina Tyburski
In personal injury cases where there is a third party responsible for the accident, Medicare adopts the position of secondary payer. This means that Medicare has a vested interest in the expenses incurred by the injured party, both present and future costs. A Medicare Set Aside arrangement is one such mechanism which Medicare reli...
Life Care Planners In The Legal Arena
Posted: February 26, 2016 Author: Georgina Tyburski
Life care planners are medical professionals who help establish a long-term plan for patients who have suffered a catastrophic injury, have a chronic disease, or are dealing with any other type of long term disability. This involves many factors, which makes the job of life care planners a multifaceted one that hones their analyti...
Traumatic Brain Injury: Why You Need A Medical Expert On Your Side
Posted: February 19, 2016 Author: Georgina Tyburski
Traumatic brain injuries are a particularly catastrophic type of physical injury, as the immediate and long-term health implications can be devastating. Not only that, but medical costs for long-term treatment are oppressively high, often involving long-term monitoring by a variety of different specialists.
Hernia Mesh Complications And Recalls: What You Need To Know
Posted: February 12, 2016 Author: Georgina Tyburski
Hernia mesh, patches, and plugs are medical devices used to treat hernias, a medical condition where organs bulge out of weakened muscles. Hernias are usually only treated via surgery, but this type of complication can rip out and recur, which is why hernia mesh has been increasingly used to reinforce weaker tissue, and is now uti...
Nursing Home Negligence: How LNC's Can Help Protect Your Loved Ones
Posted: February 5, 2016 Author: Georgina Tyburski
The elderly are a particularly vulnerable population, and the trust that individuals place in nursing home management and staff to care for their loved ones is something that should not be taken lightly. Unfortunately, reports of elder abuse in nursing homes are not uncommon, and many investigative efforts during the last few year...