Skip to content

Feat: add specialist name to the eChart Consultations box#2487

Open
LiamStanziani wants to merge 4 commits into
developfrom
feat/specialist-name-in-consultation-echart-box
Open

Feat: add specialist name to the eChart Consultations box#2487
LiamStanziani wants to merge 4 commits into
developfrom
feat/specialist-name-in-consultation-echart-box

Conversation

@LiamStanziani

@LiamStanziani LiamStanziani commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the referred-to specialist's name into each row of the Consultations box in the eChart
left navbar, so referrals can be identified at a glance without opening them. Rows now read
Service - Specialist before the date (e.g. OBGYN - Smith, John ... 2023-09-15), and the hover
tooltip is aligned to the same format.

Closes: Add the specialist name into the consultation box in the chart

Problem

In the eChart Consultations box, each referral row showed only the service type and the referral
date — with no indication of who the referral was to:

OBGYN  ......  2023-09-15

This made it slow to identify the right referral when processing appointment notifications or
locating a referral referenced in a tickler, and contributed to duplicate-referral errors (a new
referral created when one already existed).

Solution

Surface the specialist inline as Service - Specialist, immediately before the existing date. The
specialist name was already loaded by the same query that builds the list (and already shown in the
row's hover tooltip), so this surfaces existing data rather than adding any new query.

Changes:

  • EctDisplayConsult2Action.java — builds the row label as Service - Specialist, omitting
    whichever part is missing so there is never a stray separator or an "N/A" placeholder
    (both → Service - Specialist; specialist only → Specialist; service only → Service). The
    visible title and the hover tooltip now use the same format; the tooltip also appends the date,
    replacing the legacy Service(Specialist) Date parenthesis format (which removes the old
    Service(N/A) Date artifact on no-specialist rows).
  • ConsultationListDTO.javaNOT_APPLICABLE ("N/A") promoted to public so the
    no-specialist sentinel has a single source of truth that the action references.
  • Output encoding — both HTML sinks are encoded in the action: Encode.forHtml(...) for the visible title (anchor body) and Encode.forHtmlAttribute(...) for the tooltip (title= attribute), since specialist names are user-entered. Encoding is done at the source, not in the shared LeftNavBarDisplay.jsp, because that JSP renders the title as raw HTML for boxes that intentionally embed markup (e.g. EctDisplayPregnancy2Action's red ), so a blanket sink-level encode would break them. The visible title is length-capped before encoding so the cap can't split an HTML entity; the tooltip is left full-length by design.

Behavior (visible row / hover tooltip):

Case Visible Hover
Normal referral OBGYN - Smith, John OBGYN - Smith, John 2023-09-15
No specialist OBGYN OBGYN 2023-09-15
eReferral Cardiology - Dr. Jones Cardiology - Dr. Jones 2023-09-15
Empty service + specialist Smith, John Smith, John 2023-09-15

UI Before:

image image

UI After

image image

Summary by Sourcery

Show referral service and specialist inline in eChart Consultations rows and tooltips to make referrals identifiable at a glance.

New Features:

  • Display combined "Service - Specialist" referral labels in the eChart Consultations box, falling back cleanly when either value is missing.

Bug Fixes:

  • Remove "N/A" specialist placeholders from consultation labels and tooltips to avoid confusing artifacts.
  • Ensure consultation tooltip formatting does not include stray spaces when no label is available.

Enhancements:

  • HTML-encode consultation titles and tooltips and centralize the "N/A" sentinel for specialists via a shared constant to improve safety and consistency.

Summary by cubic

Show the specialist’s name in each row of the eChart Consultations box so referrals are identifiable at a glance. Rows now read “Service - Specialist” before the date, and the hover tooltip matches this format.

  • New Features

    • Display “Service - Specialist” per row; omit missing parts to avoid stray separators or “N/A”.
    • Tooltip shows the full label plus the date; visible label is truncated to fit the navbar.
    • Reuse existing data (no new queries). Exposed NOT_APPLICABLE as public for consistent checks.
  • Bug Fixes

    • Use only the date in the tooltip when the label is empty to avoid stray spaces.
    • HTML-encode the visible title and tooltip to prevent injection; truncate before encoding.
    • Trim specialist text and use the trimmed value consistently for comparisons and display (including against NOT_APPLICABLE) to avoid edge-case formatting issues.

Written for commit e5c915b. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Bug Fixes
    • Improved referral label formatting so when specialist details are missing or marked “N/A”, they no longer appear as awkward placeholders.
    • Updated displayed referral titles and hover/tooltip text to reflect the complete, correctly composed label for clearer consistency.
    • Standardized “N/A” handling across consultation display logic to ensure consistent presentation.

… the hover format to follow the new format in the echart box, guard for missing values to format correctly in potential use cases
@LiamStanziani LiamStanziani self-assigned this Jun 29, 2026
@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

NOT_APPLICABLE in ConsultationListDTO is now public. EctDisplayConsult2Action uses it to omit "N/A" specialists from the referral label, updates the tooltip text, and truncates the full label for display.

Changes

Referral Label N/A Handling

Layer / File(s) Summary
Expose NOT_APPLICABLE and update label formatting
src/main/java/ca/openosp/openo/consultation/dto/ConsultationListDTO.java, src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java
NOT_APPLICABLE is made public, then used to conditionally build referralLabel, set linkTitle, HTML-encode the tooltip, and truncate the visible title from the full label.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐇 I hopped by the label, neat and new,
With "N/A" tucked out of view.
The tooltip sparkles, the title stays trim,
And public constants now shine with vim.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: showing the specialist name in the eChart Consultations box.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/specialist-name-in-consultation-echart-box

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@LiamStanziani

Copy link
Copy Markdown
Collaborator Author

@SourceryAI review

@LiamStanziani

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA e5c915b.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@sourcery-ai

sourcery-ai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Reviewer's Guide

Update eChart Consultations list items to show a combined service/specialist label before the date, with HTML-encoded titles/tooltips and shared handling of the "N/A" sentinel.

Sequence diagram for building consultation row label and tooltip

sequenceDiagram
    participant EctDisplayConsult2Action
    participant ConsultationListDTO
    participant NavBarItem

    EctDisplayConsult2Action->EctDisplayConsult2Action: hasService = !service.trim().isEmpty()
    EctDisplayConsult2Action->EctDisplayConsult2Action: trimmedSpecialist = specialist.trim()
    EctDisplayConsult2Action->ConsultationListDTO: check NOT_APPLICABLE against trimmedSpecialist
    EctDisplayConsult2Action->EctDisplayConsult2Action: build referralLabel (service, specialist)
    EctDisplayConsult2Action->EctDisplayConsult2Action: linkTitle = referralLabel + " " + date or date alone
    EctDisplayConsult2Action->NavBarItem: setLinkTitle(Encode.forHtmlAttribute(linkTitle))
    EctDisplayConsult2Action->NavBarItem: setTitle(Encode.forHtml(StringUtils.maxLenString(referralLabel)))
Loading

File-Level Changes

Change Details Files
Refactor consultation row labeling to display "Service - Specialist" where available and keep tooltip/title formats consistent and safe.
  • Determine presence of service and specialist (including trimming and NOT_APPLICABLE checks) before building the label.
  • Build referral labels as "Service - Specialist", falling back to the single available value or empty string when none.
  • Set tooltip text to either date alone or "label date" to avoid stray spaces when label is empty.
  • HTML-encode both tooltip and visible title; cap visible title length before encoding so truncation does not split entities.
  • Keep tooltip full length while truncating only the visible label for the navbar list.
src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java
Expose the consultation "N/A" sentinel so label-building logic can identify non-specialist rows consistently.
  • Promote NOT_APPLICABLE from private to public constant for reuse outside the DTO.
  • Use the shared NOT_APPLICABLE value in consultation display logic to suppress placeholder specialists from labels.
src/main/java/ca/openosp/openo/consultation/dto/ConsultationListDTO.java

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the referral label construction in EctDisplayConsult2Action to dynamically format "Service - Specialist" while omitting missing parts or "N/A" placeholders. To support this, NOT_APPLICABLE in ConsultationListDTO was made public. The review feedback suggests conditionally formatting the link title to prevent a leading space when both the service and specialist are empty.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java Outdated

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 1 issue, and left some high level feedback:

  • If both service and specialist are empty, referralLabel becomes an empty string; consider falling back to showing at least the date or a minimal label so the row isn’t visually blank.
  • The referralLabel construction logic is embedded in EctDisplayConsult2Action; consider extracting it into a reusable helper or method (potentially near ConsultationListDTO) so other views that show consultations can use the same formatting consistently.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- If both service and specialist are empty, `referralLabel` becomes an empty string; consider falling back to showing at least the date or a minimal label so the row isn’t visually blank.
- The `referralLabel` construction logic is embedded in `EctDisplayConsult2Action`; consider extracting it into a reusable helper or method (potentially near `ConsultationListDTO`) so other views that show consultations can use the same formatting consistently.

## Individual Comments

### Comment 1
<location path="src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java" line_range="145-154" />
<code_context>
+                String referralLabel;
</code_context>
<issue_to_address>
**issue:** Handle the case where both service and specialist are missing to avoid odd-looking labels.

If both `service` and `specialist` are empty/blank/`N/A`, `referralLabel` becomes `""`. This makes `setLinkTitle(referralLabel + " " + serviceDateStr)` start with a space when only the date is present, and `setTitle(...)` become an empty title. Please add a fallback (e.g., `serviceDateStr` alone or a minimal description) so the navbar label remains meaningful and avoids leading whitespace.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java`:
- Around line 142-157: The referral label built in EctDisplayConsult2Action is
passed into two HTML sinks without encoding, which can allow stored XSS. Update
the values sent to item.setTitle() and item.setLinkTitle() so the visible text
is encoded with Encode.forHtml() and the tooltip/attribute value is encoded with
Encode.forHtmlAttribute(), using the OWASP Encoder imports from
org.owasp.encoder. Keep the sanitization at the point where referralLabel and
serviceDateStr are combined so LeftNavBarDisplay.jsp receives already-safe
output.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4fdfb90d-bb1f-4dd2-b5d4-7a7284e51355

📥 Commits

Reviewing files that changed from the base of the PR and between 5f49a01 and 8857a56.

📒 Files selected for processing (2)
  • src/main/java/ca/openosp/openo/consultation/dto/ConsultationListDTO.java
  • src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java

Comment thread src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java Outdated
…l and conditional path for hasService boolean, catch potential formatting issue with LinkTitle if referralLabel is empty (fall back to only service date in that case), and encode LinkTitle and Title
@LiamStanziani

Copy link
Copy Markdown
Collaborator Author

@SourceryAI review

@LiamStanziani

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 2 issues, and left some high level feedback:

  • The referral label construction in getInfo is getting a bit complex; consider extracting it into a reusable helper (e.g., on ConsultationListDTO or a formatter class) so the formatting rules are defined and updated in a single place.
  • Now that NOT_APPLICABLE is public and used in equality checks, it may be worth normalizing specialist values (trim/case) before comparison or centralizing similar sentinel values to avoid subtle mismatches in placeholder filtering.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The referral label construction in `getInfo` is getting a bit complex; consider extracting it into a reusable helper (e.g., on `ConsultationListDTO` or a formatter class) so the formatting rules are defined and updated in a single place.
- Now that `NOT_APPLICABLE` is public and used in equality checks, it may be worth normalizing specialist values (trim/case) before comparison or centralizing similar sentinel values to avoid subtle mismatches in placeholder filtering.

## Individual Comments

### Comment 1
<location path="src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java" line_range="140-144" />
<code_context>
-                item.setTitle(service);
+                //label as "Service - Specialist", omitting any missing part or the "N/A" placeholder
+                boolean hasService = service != null && !service.trim().isEmpty();
+                boolean hasSpecialist = specialist != null && !specialist.trim().isEmpty()
+                        && !ConsultationListDTO.NOT_APPLICABLE.equals(specialist);
+                String referralLabel = "";
+                if (hasService && hasSpecialist) {
</code_context>
<issue_to_address>
**suggestion (bug_risk):** Align the NOT_APPLICABLE comparison with the trimmed specialist value.

You already trim `specialist` to check emptiness, but the NOT_APPLICABLE comparison uses the untrimmed value. This means values like " N/A" or "N/A " will still be treated as valid and displayed. Compare against the trimmed (and possibly case-insensitive) value instead, e.g.:

```java
String trimmedSpecialist = specialist.trim();
boolean hasSpecialist = specialist != null
        && !trimmedSpecialist.isEmpty()
        && !ConsultationListDTO.NOT_APPLICABLE.equalsIgnoreCase(trimmedSpecialist);
```

This keeps the display logic consistent even when the source data has extra whitespace.

```suggestion
                //label as "Service - Specialist", omitting any missing part or the "N/A" placeholder
                boolean hasService = service != null && !service.trim().isEmpty();
                String trimmedSpecialist = specialist != null ? specialist.trim() : "";
                boolean hasSpecialist = specialist != null
                        && !trimmedSpecialist.isEmpty()
                        && !ConsultationListDTO.NOT_APPLICABLE.equalsIgnoreCase(trimmedSpecialist);
                String referralLabel = "";
```
</issue_to_address>

### Comment 2
<location path="src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java" line_range="153-157" />
<code_context>
+
+                //date alone when no label, to avoid a leading space in the tooltip
+                String linkTitle = referralLabel.isEmpty() ? serviceDateStr : referralLabel + " " + serviceDateStr;
+                //encode both sinks (JSP writes them unescaped); truncate before encoding
+                item.setLinkTitle(Encode.forHtmlAttribute(linkTitle));
+                item.setTitle(Encode.forHtml(StringUtils.maxLenString(referralLabel, MAX_LEN_TITLE, CROP_LEN_TITLE, ELLIPSES)));
                 item.setURL(url);
                 item.setDate(date);
</code_context>
<issue_to_address>
**suggestion:** Consider truncating the linkTitle string before encoding, or update the comment to match behavior.

Only `referralLabel` (used for `setTitle`) is truncated; `linkTitle` (used for `setLinkTitle`) is encoded without truncation, so the current behavior doesn’t match the "truncate before encoding" comment. Either also apply `StringUtils.maxLenString` to `linkTitle` before encoding, or update the comment to reflect that only the title is truncated.

```suggestion
                //date alone when no label, to avoid a leading space in the tooltip
                String linkTitle = referralLabel.isEmpty() ? serviceDateStr : referralLabel + " " + serviceDateStr;
                //encode both sinks (JSP writes them unescaped); truncate before encoding
                String truncatedLinkTitle = StringUtils.maxLenString(linkTitle, MAX_LEN_TITLE, CROP_LEN_TITLE, ELLIPSES);
                item.setLinkTitle(Encode.forHtmlAttribute(truncatedLinkTitle));
                item.setTitle(Encode.forHtml(StringUtils.maxLenString(referralLabel, MAX_LEN_TITLE, CROP_LEN_TITLE, ELLIPSES)));
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@LiamStanziani LiamStanziani marked this pull request as ready for review June 29, 2026 16:45
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 1 issue, and left some high level feedback:

  • When building referralLabel, you use the untrimmed specialist rather than trimmedSpecialist, which can reintroduce leading/trailing spaces; consider using the trimmed value consistently.
  • The tooltip falls back to serviceDateStr when referralLabel is empty; if serviceDateStr can be null or blank, it may be worth guarding against that to avoid an entirely empty tooltip.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- When building `referralLabel`, you use the untrimmed `specialist` rather than `trimmedSpecialist`, which can reintroduce leading/trailing spaces; consider using the trimmed value consistently.
- The tooltip falls back to `serviceDateStr` when `referralLabel` is empty; if `serviceDateStr` can be null or blank, it may be worth guarding against that to avoid an entirely empty tooltip.

## Individual Comments

### Comment 1
<location path="src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java" line_range="145-152" />
<code_context>
+                boolean hasSpecialist = !trimmedSpecialist.isEmpty()
+                        && !ConsultationListDTO.NOT_APPLICABLE.equals(trimmedSpecialist);
+                String referralLabel = "";
+                if (hasService && hasSpecialist) {
+                    referralLabel = service + " - " + specialist;
+                } else if (hasSpecialist) {
+                    referralLabel = specialist;
</code_context>
<issue_to_address>
**suggestion:** Use the trimmed specialist value when building the referral label to avoid stray whitespace or inconsistent display.

`trimmedSpecialist` is used for the presence check, but `referralLabel` still uses `specialist`, which can reintroduce leading/trailing spaces in the UI. Please use `trimmedSpecialist` when constructing `referralLabel` (and in other branches using `specialist`) so the displayed label is consistently normalized.

```suggestion
                String referralLabel = "";
                if (hasService && hasSpecialist) {
                    referralLabel = service + " - " + trimmedSpecialist;
                } else if (hasSpecialist) {
                    referralLabel = trimmedSpecialist;
                } else if (hasService) {
                    referralLabel = service;
                }
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

1 issue found across 2 files

Confidence score: 5/5

  • In src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java, specialist-only labels still use the untrimmed value, so leading/trailing whitespace can leak into rendered text and cause minor formatting inconsistencies after merge; switch those label assignments to trimmedSpecialist before merging.

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread src/main/java/ca/openosp/openo/encounter/pageUtil/EctDisplayConsult2Action.java Outdated
@LiamStanziani LiamStanziani requested a review from D3V41 June 29, 2026 17:04
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.

2 participants