Pathora_Colposcopy_Assistant / src /pages /PatientHistoryPage.tsx
nusaibah0110's picture
Update application with new features and components
1c68fe6
raw
history blame contribute delete
627 Bytes
import { PatientHistoryForm } from '../components/PatientHistoryForm';
type Props = {
goToImaging: () => void;
goBackToRegistry: () => void;
patientID?: string | undefined;
goToGuidedCapture?: () => void;
};
export function PatientHistoryPage({
goToImaging,
goBackToRegistry,
patientID,
goToGuidedCapture
}: Props) {
return <div className="w-full bg-white/95 relative p-8 font-sans">
<div className="relative z-10">
<PatientHistoryForm onContinue={goToGuidedCapture || goToImaging} onBack={goBackToRegistry} patientID={patientID} autoGeneratedPatientId={patientID} />
</div>
</div>;
}