Code: Select all
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept');
$emailSubject = 'Lean Healthcare Assessment and Gap Analysis Guide';
$webMaster = 'info@leanfoxsolutions.com';
// $emailField = $_POST['email'];
$email = $_POST['sendTo'];
$total1 = intval($_POST['vision']) + intval($_POST['planning']) + intval($_POST['resources']) + intval($_POST['objectives']) + intval($_POST['accountability']);
$total2 = intval($_POST['listening']) + intval($_POST['measures']) + intval($_POST['benchmarking']) + intval($_POST['expectations']) + intval($_POST['flexibility']) + intval($_POST['equity']);
$total3 = intval($_POST['processfocus']) + intval($_POST['processmeasures']) + intval($_POST['efficiency']) + intval($_POST['influence']) + intval($_POST['processinformation']) + intval($_POST['variation']);
$total4 = intval($_POST['safety']) + intval($_POST['training']) + intval($_POST['development']) + intval($_POST['obstacles']) + intval($_POST['staffaccountability']) + intval($_POST['beingvalued']);
$total5 = intval($_POST['information']) + intval($_POST['monitoring']) + intval($_POST['visibility']) + intval($_POST['decisions']) + intval($_POST['challenge']) + intval($_POST['improvement']);
$average1 = round($total1 / 5, 1);
$average2 = round($total2 / 6, 1);
$average3 = round($total3 / 6, 1);
$average4 = round($total4 / 6, 1);
$average5 = round($total5 / 6, 1);
$body = <<<EOD
Dear Lean Cohort:<br>
<br>
Every journey begins with that first step. By completing the Lean Healthcare Assessment and Gap Analysis you now have an understanding where to initially focus your time and resources. Additionally, your results provide you with a baseline to compare with future improvement initiatives (and subsequent assessments).<br>
<br>
If you have other business performance (scorecard) measurements, you should factor those in to determine where the resources of the organization will most likely have the biggest impact. Your results along with our downloadable Improvement Guide can be used to assist you in prioritizing where to start your journey and how to best communicate to others.<br>
<br>
Best wishes for a successful journey,<br>
<br>
**********************************************************************************************************************<br>
Where can I learn more about Lean and improving the patient experience?<br>
<br>
Visit TheLeanStore.com to find books like: (1) Value Stream Management for Lean Healthcare (2) The New Lean Healthcare Pocket Guide-Tools for the Elimination of Waste in Hospitals, Clinics, and Other Healthcare Facilities and (3) Practical Lean Six Sigma for Hospitals, Clinics, and Physician Group Practices.<br>
<br>
***********************************************************************************************************************<br>
Sensei Tips<br>
1. It is desirable for Section Scores to achieve a score of 3.6 or above. Scores 3.5 or below represent a gap or opportunity for improvement and/or additional investigation or study. Once you have determined which section (Leadership, Patient Focus, Process Management, People Management, Information and Analysis) to address first, focus on the items that scored the lowest within that section.<br>
2. Download our Improvement Guide in PDF format for practical solutions/suggestions to help you move forward. If that link doesn’t work, you can find the Improvement Guide by typing or pasting this link:<br>
<a href="www.leanfoxsolutions.com/improvement-guide">www.leanfoxsolutions.com/improvement-guide</a><br>
<br>
Your Lean Healthcare Assessment Results by Section<br>
1. Leadership: $average1<br>
2. Patient Focus: average2<br>
3. Process Management: $average3<br>
4. People Management: $average4<br>
5. Information and Analysis: $average5<br>
<br>
************************************************************************************************************************<br>
Section 1: Leadership Overall section score: $average1<br>
Vision: {$_POST['vision']}<br>
Planning: {$_POST['planning']}<br>
Resources: {$_POST['resources']}<br>
Objectives: {$_POST['objectives']}<br>
Accountability: {$_POST['accountability']}<br>
<br>
Section 2: Patient Focus Overall section score: $average2<br>
Listening: {$_POST['listening']}<br>
Measures: {$_POST['measures']}<br>
Benchmarking: {$_POST['benchmarking']}<br>
Expectations: {$_POST['expectations']}<br>
Flexibility: {$_POST['flexibility']}<br>
Equity: {$_POST['equity']}<br>
<br>
Section 3: Process Management Overall section score: $average3<br>
Process Focus: {$_POST['processfocus']}<br>
Measures: {$_POST['processmeasures']}<br>
Efficiency: {$_POST['efficiency']}<br>
Influence: {$_POST['influence']}<br>
Information: {$_POST['processinformation']}<br>
Variation: {$_POST['variation']}<br>
<br>
Section 4: Staff Management Overall section score: $average4<br>
Safety: {$_POST['safety']}<br>
Training: {$_POST['training']}<br>
Development: {$_POST['development']}<br>
Obstacles: {$_POST['obstacles']}<br>
Accountability: {$_POST['staffaccountability']}<br>
Being Valued: {$_POST['beingvalued']}<br>
<br>
Section 5: Information & Analysis Overall section score: $average5<br>
Information: {$_POST['information']}<br>
Monitoring: {$_POST['monitoring']}<br>
Visibility: {$_POST['visibility']}<br>
Decisions: {$_POST['decisions']}<br>
Challenge: {$_POST['challenge']}<br>
Improvement: {$_POST['improvement']}<br>
<br>
EOD;
$headers = "From: $webMaster\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($email, $emailSubject, $body, $headers);
echo ($success ? "Sent" : "Failed");
?>