import React, { type ReactNode } from 'react'; import { getPatientName, launchWorkspace2 } from '@openmrs/esm-framework'; import { type WardPatient } from '../types'; import styles from './ward-patient-card.scss'; interface Props { children: ReactNode; wardPatient: WardPatient; /** * Related patients that are in the same bed as wardPatient. On transfer or bed swap * these related patients have the option to be transferred / swapped together */ relatedTransferPatients?: WardPatient[]; } const WardPatientCard: React.FC = ({ children, wardPatient, relatedTransferPatients }) => { const { patient } = wardPatient; return (
{children}
); }; export default WardPatientCard;