Skip to content

Commit

Permalink
Fix null dosage in Medicine Administrations (ohcnetwork#7626)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Apr 16, 2024
1 parent 833100b commit 4d43f17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Facility/DoctorVideoSlideover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function DoctorVideoSlideover(props: {
<p className="-mt-3 pb-4 text-sm text-gray-600">
Select a doctor to connect via video
</p>
<div className="flex justify-center">
<div className="flex justify-center" id="doctor-connect-filter-tabs">
<Switch
tabs={
Object.values(FilterTypes).reduce(
Expand Down
4 changes: 3 additions & 1 deletion src/Components/Medicine/PrescrpitionTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ const MedicineAdministeredNode = ({
className={classNames(event.cancelled && "opacity-70")}
titleSuffix={`administered ${
event.administration.dosage
} dose of the medicine at ${formatTime(
? event.administration.dosage + " dose of "
: ""
}the medicine at ${formatTime(
event.administration.administered_date,
)}.`}
actions={
Expand Down

0 comments on commit 4d43f17

Please sign in to comment.