Skip to content

Commit

Permalink
add badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 committed Sep 16, 2023
1 parent a5b3a6c commit e14f386
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import { ConsultationVentilatorTab } from "./ConsultationVentilatorTab";
import { ConsultationPressureSoreTab } from "./ConsultationPressureSoreTab";
import { ConsultationDialysisTab } from "./ConsultationDialysisTab";
import { ConsultationNeurologicalMonitoringTab } from "./ConsultationNeurologicalMonitoringTab";
import Chip from "../../../CAREUI/display/Chip";

const Loading = lazy(() => import("../../Common/Loading"));
const PageTitle = lazy(() => import("../../Common/PageTitle"));
Expand Down Expand Up @@ -195,13 +194,9 @@ export const ConsultationDetails = (props: any) => {

{diagnoses.slice(0, !showMore ? nshow : undefined).map((diagnosis) =>
diagnosis.id === consultationData.icd11_principal_diagnosis ? (
<div className="flex items-center">
<Chip
size="small"
variant="secondary"
startIcon="l-clock"
text={diagnosis.label}
/>
<div className="flex items-center gap-2">
<p>{diagnosis.label}</p>
<CareIcon className="care-l-stethoscope rounded-lg bg-primary-500 p-1 text-2xl text-white" />
</div>
) : (
<p>{diagnosis.label}</p>
Expand Down

0 comments on commit e14f386

Please sign in to comment.