📄 shortqolurinary.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ShortQOLUrinary.ascx.cs" Inherits="Caisis.UI.Modules.Prostate.Eforms.ShortQOLUrinary" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="euc" Namespace="Caisis.UI.Core.Classes.CustomControls" Assembly="Caisis.UI" %>
<link href="../../../StyleSheets/EformStyles.css" rel="stylesheet" type="text/css">
<script>
function getRadioButtonValue(radioButtonName)
{
var radioValue = '';
for (var i=0; i < document.dataForm.radioButtonName.length; i++)
{
if (document.dataForm.radioButtonName[i].checked)
{
radioValue = document.dataForm.radioButtonName[i].value;
}
}
}
function updateSurveyNotes() {
var s;
var surveyNotes = document.getElementById('<%= SurveyNotes_1.ClientID %>');
if (surveyNotes != null) {
var urinarySum = document.getElementById('UrinaryQTotal');
var sexualSum = document.getElementById('SexualQTotal');
if (urinarySum.innerHTML != null && urinarySum.innerHTML != '') {
s = 'Urinary Total: ' + urinarySum.innerHTML;
if (sexualSum.innerHTML != null && sexualSum.innerHTML != '') {
s += ', Sexual Total: ' + sexualSum.innerHTML;
}
} else {
if (sexualSum.innerHTML != null && sexualSum.innerHTML != '') {
s = 'Sexual Total: ' + sexualSum.innerHTML;
} else {
// no value
s = '';
}
}
surveyNotes.value = s;
}
}
function updateUrinarySum() {
updateSumWithSelections('UrinaryQTotal','<%= SurveyItemResult_1.ClientID %>','<%= SurveyItemResult_2.ClientID %>','<%= SurveyItemResult_3.ClientID %>');
updateSurveyNotes();
}
function executePageEventOnComboClick(selVal, inputFieldName) {
if (selVal != null && selVal != '') {
if (inputFieldName.indexOf("IncontinenceTX") > -1) {
document.getElementById('<%= IncontinenceTX_Indication.ClientID %>').removeAttribute('disabled');
} else if (inputFieldName.indexOf("StrictureTX") > -1) {
document.getElementById('<%= StrictureTX_Indication.ClientID %>').removeAttribute('disabled');
}
}
}
function enableIncontinenceHidden(val) {
if (val != null && val != '') {
document.getElementById('<%= IncontinenceTX_Indication.ClientID %>').removeAttribute('disabled');
}
}
function enableStrictureHidden(val) {
if (val != null && val != '') {
document.getElementById('<%= StrictureTX_Indication.ClientID %>').removeAttribute('disabled');
}
}
</script>
<a name="ShortQOLUrinary" /><span class="controlBoxTitle">Urinary Function Survey </span><br>
<euc:EformHidden id="SurveyType_1" runat="server" RecordId="1" Table="Surveys" Field="SurveyType" Value="Short QOL Urinary and Sexual"/>
<euc:EformHidden id="SurveyTotal_1" runat="server" RecordId="1" Table="Surveys" Field="SurveyTotal" Value="33"/>
<euc:EformHidden id="SurveyNotes_1" runat="server" RecordId="1" Table="Surveys" Field="SurveyNotes"/>
<euc:EformHidden id="SurveyDate_1" runat="server" RecordId="1" Table="Surveys" Field="SurveyDate"/>
<euc:EformHidden id="SurveyDateText_1" runat="server" RecordId="1" Table="Surveys" Field="SurveyDateText"/>
<table width="650" border="0" cellspacing="0" cellpadding="5" style="border: solid 1px #cccccc;">
<tr>
<td width="5%" valign="top" class="ControlBoxRowAlternatingRowsA"><strong>1</strong></td>
<td width="6%" valign="top" class="ControlBoxRowAlternatingRowsA">Q1</td>
<td colspan="2" valign="top" class="ControlBoxRowAlternatingRowsA">Over the past four (4) weeks, how often have you leaked urine? </td>
<td valign="top" class="ControlBoxRowAlternatingRowsA" >
<euc:EformHidden id="SurveyQuestion_1" runat="server" RecordId="1" ParentRecordId="1" Table="SurveyItems" Field="SurveyItem" Value="Q1 How often did you leak urine"/>
<euc:EformDropDownList TABLE="SurveyItems" FIELD="SurveyItemResult"
id="SurveyItemResult_1" runat="server" RecordId="1" ParentRecordId="1"
EnableHiddenOnUIEvent="SurveyQuestion_1,SurveyType_1,SurveyTotal_1,SurveyNotes_1,SurveyDate_1,SurveyDateText_1"
AppendToOnChange="updateUrinarySum();">
<asp:ListItem Value="">-- Select Value --</asp:ListItem>
<asp:ListItem Value="1">1: Not at all</asp:ListItem>
<asp:ListItem Value="2">2: Rarely</asp:ListItem>
<asp:ListItem Value="3">3: More than once a week</asp:ListItem>
<asp:ListItem Value="4">4: About once a day</asp:ListItem>
<asp:ListItem Value="5">5: More than once a day</asp:ListItem>
</euc:EformDropDownList> </td>
</tr>
<tr>
<td class="ControlBoxRowAlternatingRowsB"> </td>
<td valign="top" class="ControlBoxRowAlternatingRowsB">Q2</td>
<td colspan="2" valign="top" class="ControlBoxRowAlternatingRowsB">Over the past four (4) weeks, how much urine did you leak?</td>
<td valign="top" class="ControlBoxRowAlternatingRowsB">
<euc:EformHidden id="SurveyQuestion_2" runat="server" RecordId="2" ParentRecordId="1" Table="SurveyItems" Field="SurveyItem" Value="Q2 How much urine did you leak"/>
<euc:EformDropDownList TABLE="SurveyItems" FIELD="SurveyItemResult"
id="SurveyItemResult_2" runat="server" RecordId="2" ParentRecordId="1"
EnableHiddenOnUIEvent="SurveyQuestion_2,SurveyType_1,SurveyTotal_1,SurveyNotes_1"
AppendToOnChange="updateUrinarySum();">
<asp:ListItem Value="">-- Select Value --</asp:ListItem>
<asp:ListItem Value="1">1: Did not leak urine</asp:ListItem>
<asp:ListItem Value="2">2: When I leaked, it was only a few drops</asp:ListItem>
<asp:ListItem Value="3">3: When I leaked, it was less than a tablespoon</asp:ListItem>
<asp:ListItem Value="4">4: When I leaked, it was more than a tablespoon</asp:ListItem>
</euc:EformDropDownList> </td>
</tr>
<tr>
<td class="ControlBoxRowAlternatingRowsA"> </td>
<td valign="top" class="ControlBoxRowAlternatingRowsA">Q3</td>
<td colspan="2" valign="top" class="ControlBoxRowAlternatingRowsA">How many pads or adult diapers per 24-hour period did you use to control urine leakage during the last four (4) weeks?</td>
<td valign="top" class="ControlBoxRowAlternatingRowsA">
<euc:EformHidden id="SurveyQuestion_3" runat="server" RecordId="3" ParentRecordId="1" Table="SurveyItems" Field="SurveyItem" Value="Q3 How many pads or adult diapers in 24 hrs"/>
<euc:EformDropDownList TABLE="SurveyItems" FIELD="SurveyItemResult"
id="SurveyItemResult_3" runat="server" RecordId="3" ParentRecordId="1"
EnableHiddenOnUIEvent="SurveyQuestion_3,SurveyType_1,SurveyTotal_1,SurveyNotes_1"
AppendToOnChange="updateUrinarySum();">
<asp:ListItem Value="">-- Select Value --</asp:ListItem>
<asp:ListItem Value="1">1: None (or no leakage)</asp:ListItem>
<asp:ListItem Value="2">2: An occasional pad or protective material</asp:ListItem>
<asp:ListItem Value="3">3: One pad per 24-hour period</asp:ListItem>
<asp:ListItem Value="4">4: Two pads per 24-hour period</asp:ListItem>
<asp:ListItem Value="5">5: Three or more pads per 24-hour period</asp:ListItem>
<asp:ListItem Value="6">6: Adult diapers</asp:ListItem>
</euc:EformDropDownList> </td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -