Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acute illness usage stats #795

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
14 changes: 14 additions & 0 deletions server/RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,18 @@ public function reportNutrition($region = NULL) {
$this->_exec("cd /var/www/html/server/www && drush scr profiles/hedley/modules/custom/hedley_admin/scripts/generate-nutrition-report.php --region=$region");
}

/**
* Generates the chic report.
*/
public function reportChic($start_date = NULL, $end_date = NULL) {
$this->_exec("cd /var/www/html/server/www && drush scr profiles/hedley/modules/custom/hedley_admin/scripts/generate-chic-report.php --start_date=$start_date --end_date=$end_date");
}

/**
* Generates the acute illness completion report
smericle marked this conversation as resolved.
Show resolved Hide resolved
*/
public function reportAiComplete($start_date = NULL, $end_date = NULL, $mode = NULL, $name = NULL) {
$this->_exec("cd /var/www/html/server/www && drush scr profiles/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php --start_date=$start_date --end_date=$end_date --mode=$mode --name=$name");
}

}
Loading