| 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>; | |
| } |