Adding drug dose calculator (Atorvastatin), GRACE(Discharge) score

This commit is contained in:
2026-04-06 08:59:10 +05:30
parent 4c36ad570c
commit dfe1f52545
9 changed files with 505 additions and 41 deletions

View File

@@ -32,7 +32,7 @@ export default function Result({interpretation, calculated_value, unit, id, sect
<path d="M8.37032 11.0726L5.41421 14.0287C4.63317 14.8097 4.63316 16.076 5.41421 16.8571L6.95611 18.399C7.73715 19.18 9.00348 19.18 9.78453 18.399L12.7406 15.4429M11.0726 8.37032L14.0287 5.41421C14.8097 4.63317 16.076 4.63316 16.8571 5.41421L18.399 6.95611C19.18 7.73715 19.18 9.00348 18.399 9.78453L15.4429 12.7406M6.64883 6.64883L4.88296 4.88296M19.0992 19.0992L17.3333 17.3333M9.35119 5.87299V4M14.6488 20V18.127M5.87299 9.35119H4M20 14.6488H18.127" stroke="#000000" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
<h6 className="leading-none">{calc.name}</h6></Link> : null}
<h2 className="card-title self-center">Calculated Score/Value: {calculated_value} {unit}</h2>
<h2 className="card-title self-center">Calculated Score/Value: {String(calculated_value)} {unit}</h2>
<p>{message}</p>
{diagnosis ? <p>Diagnosis: {diagnosis}</p> : null}
{advice ? <p>Advice: {advice}</p> : null}