2024-03-24 18:30:21 -04:00
|
|
|
<%@ Page Title="Edit Medication" Language="C#" MasterPageFile="main.master" CodeBehind="medEdit.aspx.cs" Inherits="FWA_MAIN.medEdit" %>
|
|
|
|
|
|
|
|
<asp:Content runat="server" ContentPlaceHolderID="cph1">
|
2024-04-03 10:01:25 -04:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(document).keypress(function(e) {
|
|
|
|
if (e.which === 13) { // Enter key = keycode 13
|
|
|
|
e.preventDefault(); // Prevent the default Enter action
|
|
|
|
$("#<%= btnSaveMed.ClientID %>").click(); // Trigger the search button click
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2024-03-24 18:30:21 -04:00
|
|
|
<link type="text/css" href="main.css"/>
|
|
|
|
|
2024-03-24 19:29:36 -04:00
|
|
|
<h1 style="text-align: center; font-size: 44px">Edit Medication</h1>
|
2024-03-24 18:30:21 -04:00
|
|
|
<div class="patDiv">
|
|
|
|
<div class="patDiv">
|
|
|
|
<div class="patDiv" style="padding-left: 150px; padding-right: 5px;width: 100px">
|
2024-03-24 19:29:36 -04:00
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication ID: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication Name: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Intake Method: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Patient ID: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Frequency: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Dosage: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Purpose: </label></div>
|
|
|
|
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">RX Number: </label></div>
|
2024-03-24 18:30:21 -04:00
|
|
|
</div>
|
|
|
|
<div class="patDiv">
|
2024-03-24 19:29:36 -04:00
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtMedID"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtMedName"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtIntake"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtPatID"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtFrequency"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtDosage"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtPurpose"></asp:TextBox></div>
|
|
|
|
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtRxNum"></asp:TextBox></div>
|
2024-03-24 18:30:21 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-24 19:29:36 -04:00
|
|
|
|
2024-03-24 18:30:21 -04:00
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<div class="patDiv" style="margin-left: 500px">
|
2024-04-03 10:01:25 -04:00
|
|
|
<div style="margin-right: 10px; display: inline-block"><asp:Button runat="server" CssClass="standardbtn" ID="btnSaveMed" Text="Save" OnClick="btnSaveMed_OnClick"/></div>
|
|
|
|
<div style="display: inline-block"><asp:Button runat="server" CssClass="standardbtn" ID="btnCancelMed" Text="Cancel" OnClick="btnCancelMed_OnClick"/></div>
|
2024-03-24 18:30:21 -04:00
|
|
|
</div>
|
|
|
|
</asp:Content>
|