Skip to content

Link the encounter audit's patient at the OpenMRS 2.x dashboard - #45

Merged
cioan merged 1 commit into
mainfrom
audit-patient-dashboard-link
Sep 10, 2026
Merged

cioan merged 1 commit into
mainfrom
audit-patient-dashboard-link

Conversation

@cioan

@cioan cioan commented Sep 9, 2026

Copy link
Copy Markdown
Member

@chibongho , Fiona has asked me to replace the link to the O3 patient chart with the link to the O2 patient dashboard:

The patient's name in the Encounter Summary section pointed at the O3 patient chart. Point it at the legacy clinician dashboard instead, which is where an auditor goes to read the rest of the record:

/openmrs/pihcore/router/programDashboard.page?patientId=<uuid>

Renames the config key from patientChartUrl to patientDashboardUrl, since it no longer names a chart. The default uses ${openmrsBase} rather than a literal /openmrs so that it resolves correctly on deployments served from another context path. The target is outside the SPA, so ConfigurableLink falls back to a full page load.

The patient's name in the Encounter Summary section pointed at the O3
patient chart. Point it at the legacy clinician dashboard instead, which
is where an auditor goes to read the rest of the record:

    /openmrs/pihcore/router/programDashboard.page?patientId=<uuid>

Renames the config key from patientChartUrl to patientDashboardUrl, since
it no longer names a chart. The default uses ${openmrsBase} rather than a
literal /openmrs so that it resolves correctly on deployments served from
another context path. The target is outside the SPA, so ConfigurableLink
falls back to a full page load.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@cioan
cioan requested a review from chibongho September 9, 2026 23:22
@cioan

cioan commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Post commit review is welcome. I was just trying to get this in for the ZL release this week. Thanks @chibongho

@cioan
cioan merged commit 295090b into main Sep 10, 2026
3 checks passed
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.

1 participant