Skip to content

Commit ee4df6c

Browse files
authored
Merge pull request #152 from ModusCreateOrg/ADE-203
feat: update lab value documentation and add file icon for report details
2 parents 2291606 + 1155fe2 commit ee4df6c

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

backend/src/document-processor/services/aws-bedrock.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ For lab values:
7575
- Provide brief "conclusion" about what the value means for health
7676
- Add brief "suggestions" based on the value
7777
- If you use standard ranges because the document lacks them, clearly mark this in your response
78+
- "normalRange" should be a string with the range (e.g., "4.5-5.5") as concise as possible without explanations
7879
7980
CRITICAL FORMATTING RULES:
8081
- Begin immediately with { and end with }
Lines changed: 13 additions & 0 deletions
Loading

frontend/src/pages/Reports/ReportDetailPage.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,6 @@
702702
}
703703

704704
&__uploaded-file {
705-
background-color: #fff;
706705
border: 1px solid #ebeef8;
707706
border-radius: 16px;
708707
padding: 16px;

frontend/src/pages/Reports/components/OriginalReportTab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { format } from 'date-fns';
3-
import Icon from '../../../common/components/Icon/Icon';
3+
import fileLinesIcon from '../../../assets/icons/file-lines.svg';
44
import { MedicalReport } from '../../../common/models/medicalReport';
55
import orangeAlertIcon from '../../../assets/icons/orange-alert.svg';
66
import redAlertIcon from '../../../assets/icons/red-alert.svg';
@@ -89,7 +89,7 @@ const OriginalReportTab: React.FC<OriginalReportTabProps> = ({ reportData }) =>
8989
<h4 className="report-detail-page__uploaded-file-title">Uploaded file</h4>
9090
<div className="report-detail-page__file-container">
9191
<div className="report-detail-page__file-icon">
92-
<Icon icon="filePdf" />
92+
<img src={fileLinesIcon} alt="File icon" />
9393
</div>
9494
<div className="report-detail-page__file-details">
9595
<div className="report-detail-page__file-name">{filename}</div>

0 commit comments

Comments
 (0)