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

SL-835 add link to O3 patient chart in ward app patient workspace #7

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

chibongho
Copy link
Collaborator

Summary

Screenshots

image

Related Issue

@@ -48,17 +49,34 @@ const O2PregnancyInfantProgramDashboard: React.FC<{ patientUuid: string }> = ({
'.infant\\.dashboard\\.indicator a',
];

const o2PatientChartLink = (
<div className={styles.patientChartLinkContainer}>
<a href={`/openmrs/coreapps/clinicianfacing/patient.page?patientId=${patientUuid}`}>Full patient chart</a>
Copy link
Member

Choose a reason for hiding this comment

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

The /openmrs really can't be hard-coded in, I'm pretty sure this came up in a prior PR and not sure if we addressed it there or let it go, but this needs to be based on the window.openmrsBase.

Additionally, we should follow best practices and have the display text using the translation utility.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right... forgot about that. I'll fix.

@chibongho chibongho requested a review from mseaton January 9, 2025 14:31
@chibongho chibongho merged commit a32151b into main Jan 9, 2025
3 checks passed
@chibongho chibongho deleted the SL-835 branch January 13, 2025 21:18
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