Skip to content

feat: update lab value documentation and add file icon for report details #152

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

Merged
merged 2 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ For lab values:
- Provide brief "conclusion" about what the value means for health
- Add brief "suggestions" based on the value
- If you use standard ranges because the document lacks them, clearly mark this in your response
- "normalRange" should be a string with the range (e.g., "4.5-5.5") as concise as possible without explanations

CRITICAL FORMATTING RULES:
- Begin immediately with { and end with }
Expand Down
13 changes: 13 additions & 0 deletions frontend/src/assets/icons/file-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion frontend/src/pages/Reports/ReportDetailPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,6 @@
}

&__uploaded-file {
background-color: #fff;
border: 1px solid #ebeef8;
border-radius: 16px;
padding: 16px;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/Reports/components/OriginalReportTab.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { format } from 'date-fns';
import Icon from '../../../common/components/Icon/Icon';
import fileLinesIcon from '../../../assets/icons/file-lines.svg';
import { MedicalReport } from '../../../common/models/medicalReport';
import orangeAlertIcon from '../../../assets/icons/orange-alert.svg';
import redAlertIcon from '../../../assets/icons/red-alert.svg';
Expand Down Expand Up @@ -89,7 +89,7 @@ const OriginalReportTab: React.FC<OriginalReportTabProps> = ({ reportData }) =>
<h4 className="report-detail-page__uploaded-file-title">Uploaded file</h4>
<div className="report-detail-page__file-container">
<div className="report-detail-page__file-icon">
<Icon icon="filePdf" />
<img src={fileLinesIcon} alt="File icon" />
</div>
<div className="report-detail-page__file-details">
<div className="report-detail-page__file-name">{filename}</div>
Expand Down