Skip to content

Commit

Permalink
MHV-60548: Labs and tests content updates (#31463)
Browse files Browse the repository at this point in the history
* MHV-60548: Chem/hem content updates

* MHV-60548: Removed location from chem/hem results in pdf

* MHV-60548: Pdf and txt updates

* MHV-60548: removed location from chem/hem results

* MHV-60548: Interpretation field changed to Lab comments

---------

Co-authored-by: Matthew Wright <[email protected]>
  • Loading branch information
mattwrightva and wright0776 authored Aug 26, 2024
1 parent 73c3195 commit e2d0af3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ ${txtLineDotted}
Result: ${entry.result}
Standard range: ${entry.standardRange}
Status: ${entry.status}
Lab location: ${entry.labLocation}
Lab comments: ${entry.labComments}\n`,
)
.join('')}`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const generateChemHemContent = record => ({
inline: true,
},
{
title: 'Sample tested',
title: 'Site or sample tested',
value: record.sampleTested,
inline: true,
},
Expand Down Expand Up @@ -50,7 +50,7 @@ export const generateChemHemContent = record => ({
inline: true,
},
{
title: 'Standard range',
title: 'Reference range',
value: item.standardRange,
inline: true,
},
Expand All @@ -59,11 +59,6 @@ export const generateChemHemContent = record => ({
value: item.status,
inline: true,
},
{
title: 'Lab location',
value: item.labLocation,
inline: true,
},
{
title: 'Lab comments',
value: item.labComments,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ ${
? `${`
Details about this test
${'sampleTested' in record ? `Sample tested: ${record.sampleTested}` : ''}
${
'sampleTested' in record
? `Site or sample tested: ${record.sampleTested}`
: ''
}
${'reason' in record ? `Reason for test: ${record.reason}` : ''}
${
'clinicalHistory' in record
Expand Down Expand Up @@ -53,7 +57,7 @@ ${
? `Location: ${record.collectingLocation}`
: ''
}
${'labLocation' in record ? `Lab location: ${record.labLocation}` : ''}
${'labLocation' in record ? `Location: ${record.labLocation}` : ''}
${'date' in record ? `Date completed: ${record.date}` : ''}
${
'comments' in record
Expand All @@ -73,7 +77,7 @@ ${
result =>
`\n\n${'name' in result ? `${result.name}` : ''}
${'result' in result ? `Result: ${result.result}` : ''}
${'standardRange' in result ? `Standard range: ${result.standardRange}` : ''}
${'standardRange' in result ? `Reference range: ${result.standardRange}` : ''}
${'status' in result ? `Staus: ${result.status}` : ''}
${'labComments' in result ? `Lab comments: ${result.labComments}` : ''}`,
)
Expand All @@ -84,7 +88,6 @@ ${'labComments' in result ? `Lab comments: ${result.labComments}` : ''}`,
}`}\n`
: `
${'date' in record ? `Date: ${record.date}` : ''}
${'facility' in record ? `Location: ${record.facility}` : ''}
${'orderedBy' in record ? `Provider: ${record.orderedBy}` : ''}\n`
}
`,
Expand Down

0 comments on commit e2d0af3

Please sign in to comment.