--- /dev/null
+<nav class="navbar navbar-expand-lg navbar-light bg-light">
+<?php
+if(!empty($_GET["pid"])){
+ echo '<a href="view.php?pid='.$_GET["pid"].'" class="navbar-brand">View Patient</a>';
+}
+else{
+ echo '<a class="navbar-brand" href="#">'.CONFIG_TITLE.'</a>';
+}
+?>
+<div class="ml-auto">
+ <span class="mr-2"><?php echo $_SESSION["user"];?></span>
+ <a href="login?action=logout" class="btn btn-sm btn-secondary">Logout</a>
+ </div>
+</nav>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">Patient Information</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">Add New Report</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<?php echo getInfo($pid);?>
<form class="mt-3 mb-3" method="post" enctype="multipart/form-data" <?php echo checkAccess("attachments", "form");?>>
<label for="upload">Select file to upload. JPG, PNG, GIF and PDF files are supported. Size limit: <span id="size-limit"><?php echo str_replace("M", "MB", ini_get("upload_max_filesize"));?></span><span id="upload-error"></span></label>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<?php echo getInfo($pid);?>
<?php echo str_replace("Save", "Declare Death", $form);?>
</div>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card mb-4">
<div class="card-body">
<h4 class="card-title">Medicine List</h4>
"description": "Body Weight",
"type": "string"
},
- "bp": {
- "description": "Blood Pressure",
+ "temperature": {
+ "description": "Temperature",
"type": "string"
- },
- "pr": {
- "description": "Pulse",
- "type": "integer"
- },
- "rr": {
- "description": "Respiratory Rate",
- "type": "integer"
- },
- "spo2": {
- "description": "SpO2",
- "type": "integer"
}
},
"required": ["date","time"]
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<?php echo getInfo($pid);?>
<div <?php echo checkAccess("history", "form");?>>
<?php echo $form;?>
</head>
<body>
<div class="container">
- <h1><?php echo CONFIG_TITLE;?></h1>
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">Patient List</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">List of Tests</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<?php echo $error;?>
<form method="post">
<input class="m-2 form-control" type="text" name="username" placeholder="Username" required>
<button class="m-2 btn btn-primary" type="submit">Login</button>
</form>
</div>
-
<?php include(CONFIG_LIB."foot.php");?>
</body>
</html>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<?php echo getInfo($pid);?>
<div <?php echo checkAccess("nursing", "form");?>>
<?php echo $form;?>
</div>
</div>
-
<?php include(CONFIG_LIB."foot.php");?>
</body>
</html>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<?php echo getInfo($pid);?>
<div <?php echo checkAccess("physician", "form");?>>
<?php echo $form;?>
</div>
</div>
-
<?php include(CONFIG_LIB."foot.php");?>
</body>
</html>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">Add New Report</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">List of Requisitions</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card mb-4">
<div class="card-body">
<h4 class="card-title">Medicine List</h4>
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<h1>Patient Data</h1>
<div class="card">
<div class="card-body">
<div class="form-row">
<input type="hidden" name="shiftWard" value="true">
<div class="col">
- <input type="text" name="ward" class="form-control" placeholder="Ward">
+ <input type="text" name="ward" class="form-control" placeholder="Ward" required>
</div>
<div class="col">
- <input type="text" name="bed" class="form-control" placeholder="Bed">
+ <input type="text" name="bed" class="form-control" placeholder="Bed" required>
</div>
<div class="col">
<input type="date" name="date" class="form-control" placeholder="Date">
</head>
<body>
<div class="container">
+ <?php include(CONFIG_LIB."top.php");?>
<div class="card">
<div class="card-body">
<h4 class="card-title">Type of Organism</h4>