// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
// SPDX-License-Identifier: Apache-2.0
import { Container, Group } from '@mantine/core';
import { Suspense } from 'react';
import type { JSX } from 'react';
import { Outlet } from 'react-router';
import { Loading } from '../../components/Loading';
import { SideMenu } from '../../components/SideMenu';
const sideMenu = {
title: 'Care Plan',
menu: [{ name: 'Action Items', href: '/care-plan/action-items' }],
};
export function CarePlanPage(): JSX.Element {
return (
<Container>
<Group align="top">
<SideMenu {...sideMenu} />
<div style={{ width: 800, flex: 800 }}>
<Suspense fallback={<Loading />}>
<Outlet />
</Suspense>
</div>
</Group>
</Container>
);
}