forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance Profile Tuning (openemr#3598)
* Profile Tuning [WIP] - combine reminders to one ajax call - mod globals for session write type flags - eob invoice bug fix * - add flag for <7.3 * - revert old flags for new default read and close * dealing with prior session_write_close() calls, api, and commandline driven scripts * fix to remove session write requirement from last_updated * - removed jsFetchGlobals - but we have js xl() - clean up main.php some - replaced a couple ajaxs * - oops forgot delete * - fix dup dependencies * session work 1. fix line 222 of clinical_rules.php and line 28 of active_reminder_popup.php (DONE) 2. look at setencounter php function (library/encounter.inc) use in interface/patient_file/encounter/encounter_top.php and interface/forms/newpatient/save.php (DONE) 3. look at setpid php function (library/pid.inc) use in 11 scripts (DONE) 4. a lot of form saves (maybe every save form) will modify the encounter session. Just removed them all :) (DONE) 5. calendar/index.php does quite a few session edits. Had to block entire calendar, but this is something that we should be able to clean all session writes from and will have big impact since calendar load time is so long. (TEMPORARILY DONE BUT PLAN TO LOOK INTO MORE) 6. some misc items (PENDING) phpstorm regex search using: `^\s*\$_SESSION.*=` (PENDING) `^\s*\$_SESSION\[['"]pid.*=` (DONE) `^\s*\$_SESSION\[['"]encounter.*=` (DONE) * couple loose ends * -- add setSession and unsetSession to Session class -- rework pid and encounter includes * used Session Master's (aka Jerry) technique to turbo charge session performance * quick fix * bug fix, psr2 fix, comments, and misc 1. Fixed issue where the form_tracker code war running in patient summary when not supposed to be. 2. Added some comments to code so don't forget why we did what we did 3. PSR2 fix 4. Incremented database counter Co-authored-by: Brady Miller <[email protected]>
- Loading branch information
1 parent
674c2f9
commit d76c881
Showing
95 changed files
with
1,893 additions
and
1,882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,6 @@ | |
); | ||
} | ||
|
||
$_SESSION["encounter"] = $encounter; | ||
formHeader("Redirecting...."); | ||
formJump(); | ||
formFooter(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.