-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Conversation
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Outdated
Show resolved
Hide resolved
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Outdated
Show resolved
Hide resolved
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Outdated
Show resolved
Hide resolved
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Outdated
Show resolved
Hide resolved
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Outdated
Show resolved
Hide resolved
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Outdated
Show resolved
Hide resolved
server/hedley/modules/custom/hedley_admin/scripts/generate-acute-illness-completion-report.php
Show resolved
Hide resolved
} | ||
$count = 0; | ||
foreach ($ids as $id) { | ||
if ($id == count($constraints)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not easily understandable what do we do here. Can we explain it in a comment? Thanks!
|
||
$count = 0; | ||
foreach ($ids as $id) { | ||
if ($id == count($constraints) - $modifier) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above, worth a comment, not trivial to follow the intention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Aron - I added some explanatory comments to this section and the one mentioned above. Please let me know if you feel it could still benefit from a more detailed explanation or if it's good where it is.
No description provided.