function GetPageData() {
var result = {};
$("input[type='text'][name],input[type='number'][name],textarea[id][name],input[type='checkbox'][name],input[type='radio'][name],input[type='hidden'][name],select[name][name!='g']").each(function () {
var cName = $(this).attr("name");
var nName = cName.toUpperCase();
if (result.nName === undefined) {
result[nName] = "";
}
var cType = $(this).prop("type");
if (cType == "checkbox") {
result[nName] = $.makeArray($("input[type='checkbox'][name='" + cName + "']:checked").map(function () { return $(this).val(); })).join("|");
} else if (cType == "radio") {
result[nName] = $("input[type='radio'][name='" + cName + "']:checked").val();
}
else {
result[nName] = $(this).val();
}
});
var sbpValue = "拒测|外出|请假";
if (sbpValue.indexOf(result["SBP"]) < 0 && result["SBP"] != "" && result["DBP"] != "") {
result["XY"] = result["SBP"] + "/" + result["DBP"];
} else {
result["XY"] = result["SBP"];
}
if (result["SKIN_NURSE"].length > 0 && result["SKIN_NURSE"].indexOf("|") > 0) {
var newSkinNurse = removeDuplicatedItem3(result["SKIN_NURSE"].split("|"));
result["SKIN_NURSE"] = newSkinNurse.join("|");
}
var PIPENAMEChecked = $("input[type='checkbox'][id^=PIPENAME]:checked");
var PIPENAMEValue = "";
if (PIPENAMEChecked.length > 0) {
PIPENAMEValue = $.makeArray($(PIPENAMEChecked).map(function () { return $(this).val(); })).join(",");
}
result["PIPENAME"] = PIPENAMEValue;
if (PIPENAMEValue.indexOf("24小时总计") > -1) {
$("#txtTime").val("07:00");
}
else if (PIPENAMEValue.indexOf("白班小计") > -1) {
$("#txtTime").val("17:00");
}
var pipeValues = $("input[type='text'][id^='pipeValue']");
result["PIPEVALUE"] = $.makeArray($(pipeValues).map(function () { return $(this).val(); })).join(",");
var pipeCharacters = $("input[type='text'][id^='pipeCharacter']");
result["PIPECHARACTER"] = $.makeArray($(pipeCharacters).map(function () { return $(this).val(); })).join(",");
delete result.SBP;
delete result.DBP;
return result;
}
<div class="list" style="margin-top: 10px;">
<input type="hidden" name="ID" id="ID" />
<input type="hidden" name="PATIENT_ID" id="PATIENT_ID" />
<input type="hidden" name="VISIT_ID" id="VISIT_ID" />
<input type="hidden" name="CREATORID" id="CREATORID" />
<!--<input type="hidden" name="CREATOR" id="CREATOR" />-->
<input type="hidden" name="UPDATOR_ID" id="UPDATOR_ID" />
<input type="hidden" name="UPDATOR" id="UPDATOR" />
<input type="hidden" name="CREATE_DATE" id="CREATE_DATE" />
<input type="hidden" name="UPDATE_DATE" id="UPDATE_DATE" />
<input type="hidden" name="DEPT_CODE" id="DEPT_CODE" />
<input type="hidden" name="DEPT_NAME" id="DEPT_NAME" />
<input type="hidden" name="WARD_CODE" id="WARD_CODE" />
<input type="hidden" name="WARD_NAME" id="WARD_NAME" />
<table id="tableInputItems" class="blueBorderTable" style="width: 100%; font-size: 10pt;border-bottom:none;" align="center">
<tr>
<th class="auto-style2"><div style="margin-top:10px;">录入时间</div></th>
<td class="auto-style3" colspan="5">
<div class="ui-grid-d">
<div class="ui-block-a">
<input type="hidden" id="txtDate" />
</div>
<div class="ui-block-b" style="width: 80px; margin-left: -120px; margin-top: 15px;">
<input type="time" name="data[txtTime]" id="txtTime" value="" data-width="80" style="width: 80px" />
</div>
<div style="float:left;margin-top:30px;width:150PX;">
<div style="font-size: 14px; font-weight: bold; float: left">心率</div>
<div style="float:left;margin-top:-15px;margin-left:40px;">
<input type="number" min="60" max="160" step="1.0" placeholder="心率" name="HEART_RATE" id="HEART_RATE" />
</div>
</div>
<div class="ui-block-c" style="width: 100px; margin-top: 15px; margin-left:25px;display:none;">
<div style="display: inline-block; margin-left:10px">
<input type="checkbox" value="true" id="chkSaveToCareRecord" data-inline="true" data-mini="true" />
<label for="chkSaveToCareRecord" style="width: 85px">同步至体温单</label>
</div>
</div>
<div class="ui-block-d" style="margin-top: 15px; margin-right: 10px;margin-left:50px" id="addMessage">
<input type="button" data-mini="true" data-inline="true" value="新增" οnclick="SaveData()" />
</div>
<div class="ui-block-e" style="margin-top: 15px; margin-left: 50px; display: none" id="updateMessage">
<input type="button" data-mini="true" data-inline="true" value="修改" οnclick="update()" />
</div>
</div>
</td>
</tr>
<tr>
<th class="auto-style1">
神志
</th>
<td colspan="2" class="auto-style1" style="width: 16%">
<select name="CONSCIOUSNESS" data-mini="true" id="CONSCIOUSNESS">
<option value=""></option>
<option value="1">清醒</option>
<option value="2">嗜睡</option>
<option value="3">意识模糊</option>
<option value="4">昏睡</option>
<option value="5">浅昏迷</option>
<option value="6">深昏迷</option>
</select>
</td>
<th class="auto-style1">体温</th>
<td colspan="2" class="auto-style1">
<div style="width:280px">
<input type="number" min="34" max="42" step="1.0" placeholder="体温" name="TW" id="TW" />
</div>
</td>
</tr>
<tr style="height: 26px">
<th>脉搏</th>
<td colspan="2">
<input type="number" min="34" max="42" step="1.0" placeholder="脉搏" id="MB" name="MB" />
</td>
<th>
呼吸
</th>
<td colspan="2">
<div style="width:280px">
<input type="number" step="1" placeholder="呼吸" name="BREATH" id="BREATH" />
</div>
</td>
<th style="display:none">
心率
</th>
<td style="display:none">
<!--<input type="number" step="1" placeholder="心率" name="data[XL]" id="XL" />-->
</td>
</tr>
<tr>
<th>
血压
</th>
<td colspan="2">
<div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset" id="bpRang" style="float: left; width: 160px;">
<input type="number" step="1" placeholder="收缩压" name="sbp" id="sbp" style="width: 60px;" data-role="none" οnkeydοwn="" />
<span>/</span>
<input type="number" step="1" placeholder="舒张压" name="dbp" id="dbp" style="width: 60px;" data-role="none" />
</div>
<input type="hidden" step="1" placeholder="动脉压" name="XY" id="XY" style="display: none" />
</td>
<th>
SpO₂%
</th>
<td colspan="2">
<div style="width:280px">
<input type="number" step="1" placeholder="血氧" name="SPO" id="SPO" />
</div>
</td>
</tr>
<tr>
<th>瞳孔大小</th>
<td colspan="2">
<div class="ui-grid-b">
<div class="ui-block-a" style="width:88px">
<input name="TKL" type="number" min="2" max="5" id="TKL" style="width:85px; padding-right: 5px" data-mini="true" placeholder="左" />
</div>
<div class="ui-block-b" style="margin-top: 15px; width: 9px;">/</div>
<div class="ui-block-c" style="width:88px">
<input name="TKR" min="2" max="5" type="number" id="TKR" style="width: 85px;" data-mini="true" placeholder="右" />
</div>
</div>
</td>
<th>对光反应</th>
<td colspan="2">
<div class="ui-grid-c">
<div class="ui-block-a" style="width: 142px">
<select name="TKLL" id="TKLL" style="width: 140px;" data-mini="true">
<option selected="selected" value=""></option>
<option value="1">灵敏</option>
<option value="2">迟钝</option>
<option value="3">消失</option>
</select>
</div>
<div class="ui-block-b" style="width: 5px; margin-top: 20px; margin-left: -3px; margin-right: -3px">/</div>
<div class="ui-block-c" style="width: 142px">
<select name="TKRL" id="TKRL" data-mini="true" style="width:140px">
<option selected="selected" value=""></option>
<option value="1">灵敏</option>
<option value="2">迟钝</option>
<option value="3">消失</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<th>吸氧</th>
<td colspan="2">
<div class="ui-grid-a">
<div class="ui-block-a" style="width:120px;">
<select data-mini="true" name="XIYANGM" id="XIYANGM">
<option value="" style="display:none">吸氧方式</option>
<option value="1">鼻塞</option>
<option value="2">面罩</option>
<option value="3">鼻导管</option>
<option value="4">气管插管</option>
<option value="5">气管切开</option>
</select>
</div>
<div class="ui-block-b" style="width:50px;margin-left:2px;">
<input type="text" name="XIYANGL" id="XIYANGL" data-mini="true" placeholder="流量" />
</div>
</div>
</td>
<th>吸痰/雾化</th>
<td colspan="2">
<div class="ui-grid-a">
<div class="ui-block-a" style="width:90px;">
<label>
<input type="checkbox" name="XITANL" id="XITANL" data-mini="true" value="√" />吸痰
</label>
</div>
<div class="ui-block-b" style="width:120px;margin-left:2px;">
<label>
<input type="checkbox" name="WUHUA" id="WUHUA" data-mini="true" value="√" />雾化
</label>
</div>
</div>
</td>
</tr>
<tr>
<th>心电监护</th>
<th style="text-align:right">窦性</th>
<td><input type="text" name="ECG_DX" placeholder="窦性" /></td>
<th style="text-align:right">异常</th>
<td><input type="text" name="ECG_YC" placeholder="异常" /></td>
<td></td>
</tr>
<tr>
<th>静脉置管</th>
<td colspan="3">
<div class="ui-grid-a">
<div class="ui-block-a" style="width:150px;">
<select data-mini="true" title="静脉置管名称" id="JINGMAI" name="JINGMAI">
<option value="" style="display:none">静脉置管名称</option>
<option value="1">外周</option>
<option value="2">中心静脉</option>
<option value="3">PICC</option>
<option value="4">其他</option>
</select>
</div>
<div class="ui-block-b" style="width:120px;margin-left:2px;">
<label>
<input type="checkbox" name="JINGMAI_NURSE" id="JINGMAI_NURSE" data-mini="true" value="√" />护理
</label>
</div>
</div>
</td>
<td colspan="2">
<div class="ui-grid-a">
<div class="ui-block-a">
<label>
<input type="checkbox" name="SHANGKOU" id="SHANGKOU" data-mini="true" value="√" />伤口渗出
</label>
</div>
<div class="ui-block-b">
<input type="text" placeholder="伤口渗出量" id="SHANGKOUL" name="SHANGKOUL" />
</div>
</div>
</td>
</tr>
<tr>
<th>管道</th>
<td colspan="5">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" data-inline="true">
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="导尿管" id="PIPENAME1" />1导尿管
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="胃管" id="PIPENAME2" />2胃管
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="T管" id="PIPENAME3" />3T管
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="伤口引流管" id="PIPENAME4" />4伤口引流管
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="胸引管" id="PIPENAME5" />5胸引管
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="气管插管" id="PIPENAME6" />6气管插管
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="气切套管" id="PIPENAME7" />7气切套管
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="PTCD" id="PIPENAME8" />8PTCD
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="鼻肠管" id="PIPENAME9" />9鼻肠管
</label>
<label style="width: 70px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="鼻胆管" id="PIPENAME10" />10鼻胆管
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="24小时总计" id="PIPENAME11" />24小时总计
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="PIPENAME" value="白班小计" id="PIPENAME12" />白班小计
</label>
</fieldset>
</td>
</tr>
<tr id="pipeValueRow"></tr>
<tr>
<th>晨间护理</th>
<td colspan="5">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" data-inline="true">
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="1" />口腔护理
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="2" />面部清洁
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="3" />会阴护理
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="4" />床上洗头
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="5" />床上擦浴
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="6" />足部清洁
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="7" />趾/指甲护理
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="8" />床单元
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="9" />更衣裤
</label>
<label style="width: 90px; text-align: center;">
<input type="checkbox" name="MORNING_NURES" value="10" />协助进食水
</label>
</fieldset>
</td>
</tr>
<tr>
<th>晚间护理</th>
<td colspan="5">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" data-inline="true">
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="1" />口腔护理
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="2" />面部清洁
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="3" />会阴护理
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="4" />床上洗头
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="5" />床上擦浴
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="6" />足部清洁
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="7" />趾/指甲护理
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="8" />床单元
</label>
<label style="width: 50px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="9" />更衣裤
</label>
<label style="width: 80px; text-align: center;">
<input type="checkbox" name="NIGHT_NURSES" value="10" />协助进食水
</label>
</fieldset>
</td>
</tr>
<tr>
<th>皮肤</th>
<td colspan="2">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" data-inline="true">
<label>
<input type="radio" name="SKIN" value="1" />皮肤完整
</label>
<label>
<input type="radio" name="SKIN" value="2" />皮肤不完整
</label>
</fieldset>
</td>
<th>护理措施</th>
<td colspan="2" id="SKINY">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" data-inline="true">
<label>
<input type="checkbox" name="SKIN_NURSE" value="a" />气垫床
</label>
<label>
<input type="checkbox" name="SKIN_NURSE" value="b" />温水擦浴
</label>
<label>
<input type="checkbox" name="SKIN_NURSE" value="c" />保护膜应用
</label>
</fieldset>
</td>
<td colspan="2" id="SKINN" class="dn">
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" data-inline="true">
<label>
<input type="checkbox" name="SKIN_NURSE" value="a" />贴膜
</label>
<label>
<input type="checkbox" name="SKIN_NURSE" value="b" />伤口处理
</label>
</fieldset>
</td>
</tr>
<tr>
<td>
<div>
<input type="button" value="提取医嘱" οnclick="ShowINOUTItme()" data-mini="true" />
</div>
</td>
<td><input type="button" value="白班小计" data-mini="true" οnclick="SumInOut(0)" /></td>
<td><input type="button" value="24小时总计" data-mini="true" οnclick="SumInOut(1)" /></td>
<td colspan="3">
<span style="color:red;">白班小计:早7点至17点;24小时总计:昨日早7点至今日早7点</span>
</td>
</tr>
<tr>
<th>入量名称1</th>
<td colspan="2"><input type="text" name="INNAME" id="INNAME" /></td>
<th>入量剂量1(ml)</th>
<td><input type="text" name="INVALUE" id="INVALUE" /></td>
<td></td>
</tr>
<tr>
<th>入量名称2</th>
<td colspan="2"><input type="text" name="INNAME1" id="INNAME1" /></td>
<th>入量剂量2(ml)</th>
<td><input type="text" name="INVALUE1" id="INVALUE1" /></td>
<td></td>
</tr>
<tr>
<th>入量名称3</th>
<td colspan="2"><input type="text" name="INNAME2" id="INNAME2" /></td>
<th>入量剂量3(ml)</th>
<td><input type="text" name="INVALUE2" id="INVALUE2" /></td>
<td></td>
</tr>
<tr>
<th>入量名称4</th>
<td colspan="2"><input type="text" name="INNAME3" id="INNAME3" /></td>
<th>入量剂量4(ml)</th>
<td><input type="text" name="INVALUE3" id="INVALUE3" /></td>
<td></td>
</tr>
<tr>
<th>入量名称5</th>
<td colspan="2"><input type="text" name="INNAME4" id="INNAME4" /></td>
<th>入量剂量5(ml)</th>
<td><input type="text" name="INVALUE4" id="INVALUE4" /></td>
<td></td>
</tr>
<tr>
<th>入量名称6</th>
<td colspan="2"><input type="text" name="INNAME5" id="INNAME5" /></td>
<th>入量剂量6(ml)</th>
<td><input type="text" name="INVALUE5" id="INVALUE5" /></td>
<td></td>
</tr>
<tr>
<th>入量名称7</th>
<td colspan="2"><input type="text" name="INNAME6" id="INNAME6" /></td>
<th>入量剂量7(ml)</th>
<td><input type="text" name="INVALUE6" id="INVALUE6" /></td>
<td></td>
</tr>
<tr>
<th>入量名称8</th>
<td colspan="2"><input type="text" name="INNAME7" id="INNAME7" /></td>
<th>入量剂量8(ml)</th>
<td><input type="text" name="INVALUE7" id="INVALUE7" /></td>
<td></td>
</tr>
<tr>
<th>出量名称1</th>
<td colspan="2"><input type="text" id="OUTNAME" name="OUTNAME" /></td>
<th>出量剂量1(ml)</th>
<td><input type="text" id="OUTVALUE" name="OUTVALUE" /></td>
<td></td>
</tr>
<tr>
<th>出量名称2</th>
<td colspan="2"><input type="text" id="OUTNAME1" name="OUTNAME1" /></td>
<th>出量剂量2(ml)</th>
<td><input type="text" id="OUTVALUE1" name="OUTVALUE1" /></td>
<td></td>
</tr>
<tr>
<th>出量名称3</th>
<td colspan="2"><input type="text" id="OUTNAME2" name="OUTNAME2" /></td>
<th>出量剂量3(ml)</th>
<td><input type="text" id="OUTVALUE2" name="OUTVALUE2" /></td>
<td></td>
</tr>
<tr>
<th>体位</th>
<td>
<select id="TIWEI" name="TIWEI" data-mini="true">
<option value="">体位</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</td>
<td colspan="4">
<div class="ui-grid-a" style="width:70%">
<div class="ui-block-a">
<label>
<input type="checkbox" name="YUESU" id="YUESU" value="√" data-mini="true" />约束
</label>
</div>
<div class="ui-block-b">
<label>
<input type="checkbox" name="NOTICE_DOCTOR" id="NOTICE_DOCTOR" value="√" data-mini="true" />通知医生
</label>
</div>
</div>
</td>
</tr>
<tr id="Tr1">
<th style="border-bottom:none">
病情、治疗<br />
及护理措施
</th>
<td colspan="5" style="border-bottom:none">
<div class="ui-grid-d">
<div class="ui-block-a" style="width: 180px;">
<select id="DropDownList1" οnchange="change()" data-mini="true">
<option value=" " style="display:none">模版选择</option>
</select>
</div>
<div class="ui-block-b" style="width: 180px; margin-left:5px;">
<select id="DropDownListchar" οnchange="changechar()" data-mini="true">
<option value=" " style="display:none">符号选择</option>
</select>
</div>
<div style="display:none;"><input type="button" id="btnImportCheckList" value="导入检验" data-mini="true" data-inline="true" οnclick="openCheckList();" /></div>
<div class="ui-block-c" style="margin-top: 18px; margin-left: 10px;"><a οnclick="MobanClickUrl()" style="display: none">进入护理模版设置</a></div>
</div>
<textarea name="MEASURE" rows="2" cols="20" id="MEASURE" class="RecordText" style="height: 47px; width: 100%; height: 70px;"></textarea>
</td>
</tr>
<tr>
<td></td>
<th colspan="4" style="text-align:right;">护士签名</th>
<td>
<input type="text" name="CREATOR" id="CREATOR" placeholder="护士签名" />
</td>
</tr>
</table>
</div>