Medications hotfix package#200
Merged
warrendennis merged 16 commits intoopen-osp:mainfrom Mar 9, 2026
Merged
Conversation
…) with underline decoration to make it visible against light backgrounds - Aligned "Drug Name:" label inline with search textbox using flexbox layout (display: flex, align-items: center) - Added black border (1px solid #000) to drug search input for better visual definition - Applied consistent spacing with 8px gap between label and input field
…ectly on the legacy search page
…casting exists, null if no value is found not a string with the value of null
…lacing float-based layout with modern flexbox, ensuring consistent label widths and proper field alignment.
Applied Encode.forHtmlAttribute() and Encode.forJavaScript() to ATC, ATCcode, and drugName variables in prescribe.jsp lines 247-252 to prevent XSS vulnerabilities. - Encoded ATC in label title attribute - Encoded ATCcode in hidden input value - Encoded drugName in value attributes, JavaScript function calls, and TITLE attribute - Preserved all element IDs and event handlers Co-authored-by: Deval Italiya <D3V41@users.noreply.github.com>
…sibility' into medications-hotfix-package
…rator' into medications-hotfix-package
…erisk' into medications-hotfix-package
…rch-button-rx' into medications-hotfix-package
…gnment' into medications-hotfix-package
23 tasks
warrendennis
approved these changes
Mar 9, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
This branch (
medications-hotfix-package) builds on top of PR #188 and includes 5 medication-specific bug fixes and UI improvements.These medication-related changes have been packaged separately from the main hotfix package PR #199 to minimize merge conflicts with ongoing medications module development work from OpenOSP.
Individual PRs in medications-hotfix-package (beyond PR #188)
1. PR #1924 - Fix invisible "Edit List" link and improve layout of drug search interface (2 commits)
Related Issue: #1914
2. PR #2105 - Fix: missing ":" seperator for Tel in Rx printout (1 commit)
Related Issue: #2098
3. PR #2171 - Fix: 404 error when clicking on the red asterisk in the Rx Medications tab (1 commit)
Related Issue: #2100
4. PR #2180 - Fix: Class cast exception search button in the Medications tab, console error when clicking the legacy reset button (4 commits)
Related Issue: #2222
5. PR #2226 - Fix "Special Instructions" box hiding the Qty/Mitte and Repeats fields, improve field alignment (2 commits)
Related Issue: #2217
Summary Statistics: