70 lines
3.7 KiB
PHP
70 lines
3.7 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>SdC - Patient Transfer</title>
|
|
<meta name="description" content="Built with Flatlogic Generator">
|
|
<meta name="keywords" content="patient transfer, ambulance, hospital, emergency, medical, Built with Flatlogic Generator">
|
|
<meta property="og:title" content="SdC - Patient Transfer">
|
|
<meta property="og:description" content="Built with Flatlogic Generator">
|
|
<meta property="og:image" content="">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css">
|
|
</head>
|
|
<body>
|
|
<header class="bg-primary text-white text-center py-3">
|
|
<h1>Patient Transfer Request</h1>
|
|
</header>
|
|
<main class="container mt-5">
|
|
<div class="card shadow-sm">
|
|
<div class="card-body">
|
|
<h2 class="card-title text-center mb-4">New Patient</h2>
|
|
<form id="patient-form" action="add_patient.php" method="POST">
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="name" class="form-label">Name</label>
|
|
<input type="text" class="form-control" id="name" name="name" required>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="lastname" class="form-label">Last Name</label>
|
|
<input type="text" class="form-control" id="lastname" name="lastname" required>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="age" class="form-label">Age</label>
|
|
<input type="number" class="form-control" id="age" name="age" required>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="insurance" class="form-label">Health Insurance</label>
|
|
<input type="text" class="form-control" id="insurance" name="insurance" required>
|
|
</div>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="symptoms" class="form-label">Symptoms</label>
|
|
<textarea class="form-control" id="symptoms" name="symptoms" rows="3" required></textarea>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="specialty" class="form-label">Urgency Specialty</label>
|
|
<input type="text" class="form-control" id="specialty" name="specialty" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="pre_arrival_instructions" class="form-label">Pre-arrival Instructions</label>
|
|
<textarea class="form-control" id="pre_arrival_instructions" name="pre_arrival_instructions" rows="3" required></textarea>
|
|
</div>
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</div>
|
|
</form>
|
|
<div id="success-message" class="alert alert-success mt-4 d-none" role="alert">
|
|
Patient data submitted successfully!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<script src="assets/js/main.js"></script>
|
|
</body>
|
|
</html> |