CNSA-216-FP/FWA_MAIN/preNew.aspx

52 lines
3.5 KiB
Plaintext
Raw Permalink Normal View History

<%@ Page Title="New Prescription" Language="C#" MasterPageFile="main.master" CodeBehind="preNew.aspx.cs" Inherits="FWA_MAIN.preNew" %>
<asp:Content runat="server" ContentPlaceHolderID="cph1">
2024-04-01 16:02:24 -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
$("#<%= btnSavePat.ClientID %>").click(); // Trigger the search button click
}
});
});
</script>
<link type="text/css" href="main.css"/>
<h1 style="text-align: center; font-size: 44px">New Prescription</h1>
<div class="patDiv">
<div class="patDiv">
<div class="patDiv" style="padding-left: 450px; padding-right: 30px;width: 100px">
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Rx Number: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Patient ID: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Medication ID: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Physician ID: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Refills Used: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Refills Allowed: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Date Prescribed: </label></div>
<div class="indivPatDiv" style="text-align: right; width: 120px"><label class="buttonLabel">Expiration Date: </label></div>
</div>
<div class="patDiv">
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtRxNum"></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="txtMedID"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtPhysID"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtUsed"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtAllowed"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtStart"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtEnd"></asp:TextBox></div>
</div>
</div>
</div>
<br/>
<div class="patDiv" style="margin-left: 500px">
<div style="margin-right: 10px; display: inline-block"><asp:Button runat="server" CssClass="standardbtn" ID="btnSavePat" Text="Create" OnClick="btnSavePat_OnClick"/></div>
<div style="display: inline-block"><asp:Button runat="server" CssClass="standardbtn" ID="btnCancelPat" Text="Cancel" OnClick="btnCancelPre_OnClick"/></div>
</div>
</asp:Content>