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

Various changes and fixes #7424

Merged
merged 3 commits into from May 7, 2024
Merged

Various changes and fixes #7424

merged 3 commits into from May 7, 2024

Conversation

sjpadgett
Copy link
Sponsor Member

  • Add Prescriptions and Insurance to hide dashboard items
  • Fix recent exception in Crypto styling to error log.

Fixes #

Short description of what this resolves:

Change to previous commits.

- Add Prescriptions and Insurance to hide dashboard items
- Fix recent exception in Crypto styling to error log.
@@ -47,6 +49,9 @@
use OpenEMR\FHIR\SMART\SmartLaunchController;
use OpenEMR\Menu\PatientMenuRole;
use OpenEMR\OeUI\OemrUI;
use OpenEMR\Patient\Cards\BillingViewCard;
use OpenEMR\Patient\Cards\DemographicsViewCard;
use OpenEMR\Patient\Cards\InsuranceViewCard;
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kung-fu-baby-funny

$allergy = (AclMain::aclCheckIssue('allergy') ? 1 : 0) && !in_array('card_allergies', $hiddenCards) ? 1 : 0;
$pl = (AclMain::aclCheckIssue('medical_problem') ? 1 : 0) && !in_array('card_medicalproblems', $hiddenCards) ? 1 : 0;
$meds = (AclMain::aclCheckIssue('medication') ? 1 : 0) && !in_array('card_medication', $hiddenCards) ? 1 : 0;
$rx = !$GLOBALS['disable_prescriptions'] && AclMain::aclCheckCore('patients', 'rx') && !in_array('card_prescriptions', $hiddenCards) ? 1 : 0;
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2DV

@sjpadgett
Copy link
Sponsor Member Author

Bringing in so master works. Will open new PR for some other stuff.
Boy it doesn't pay to go off looking around for problems!:)

@sjpadgett sjpadgett merged commit 6cef758 into openemr:master May 7, 2024
25 checks passed
@sjpadgett sjpadgett deleted the various branch May 7, 2024 20:46
sjpadgett added a commit to sjpadgett/openemr that referenced this pull request May 21, 2024
* Various changes and fixes
- Add Prescriptions and Insurance to hide dashboard items
- Fix recent exception in Crypto styling to error log.

* - add alert if fax view is blocked by braowser.

* - resolve possible JS function naming conflict with address template

(cherry picked from commit 6cef758)
@sjpadgett sjpadgett mentioned this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants