123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <!--
- 出院小结
- -->
- <div class="os-main">
- <ul class="info-list">
- <li class="il-item">
- <h3 class="os-tit-o"><i class="icon i-ess-info"></i><span class="os-t-o-name">基本信息</span></h3>
- <ul class="os-base-info" ms-if="data['姓名'].length > 0 || data['性别'].length > 0">
- <li ms-if="data['姓名'].length > 0"><label>姓 名:</label><span ms-text="data['姓名']"></span></li>
- <li ms-if="data['性别'].length > 0"><label>性 别:</label><span ms-text="data['性别']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['民族'].length > 0 || data['婚姻'].length > 0">
- <li ms-if="data['民族'].length > 0"><label>民 族:</label><span ms-text="data['民族']"></span></li>
- <li ms-if="data['婚姻'].length > 0"><label>婚姻状况:</label><span ms-text="data['婚姻']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['入院时间'].length > 0">
- <li><label>入院日期:</label><span ms-text="data['入院时间'] | date('yyyy-MM-dd')"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['入院时间'].length > 0">
- <li><label>出院日期:</label><span ms-text="data['出院时间'] | date('yyyy-MM-dd')"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['住院天数'].length > 0">
- <li><label>住院天数:</label><span ms-text="data['住院天数']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['床号'].length > 0 || data['住院号'].length > 0">
- <li ms-if="data['床号'].length > 0"><label>床 号:</label><span ms-text="data['床号']"></span></li>
- <li ms-if="data['住院号'].length > 0"><label>住 院 号::</label><span ms-text="data['住院号']"></span></li>
- </ul>
- <ul class="os-base-info" ms-if="data['科室'].length > 0">
- <li><label>科室/医院:</label><span ms-text="data['科室']"></span></li>
- </ul>
- </li>
- </ul>
- <ul class="info-list-t">
- <li style="padding-left: 10px;">
- <h3 class="os-tit-o"><i class="icon i-hos-sum"></i><span class="os-t-o-name">具体内容</span></h3>
- </li>
- <li class="il-t-item" ms-if="data['入院情况'].length > 0">
- <h4 class="os-tit-th">入院情况:</h4>
- <p ms-text="data['入院情况']"></p>
- </li>
- <li class="il-t-item" ms-if="data['入院诊断'].length > 0">
- <h4 class="os-tit-t">入院诊断:</h4>
- <p ms-text="data['入院诊断']"></p>
- </li>
- <li class="il-t-item" ms-if="data['出院诊断']">
- <h4 class="os-tit-t">出院诊断:</h4>
- <p ms-text="data['出院诊断']"></p>
- </li>
- <li class="il-t-item" ms-if="data['诊疗经过'].length > 0">
- <h4 class="os-tit-t">诊疗经过:</h4>
- <p ms-text="data['诊疗经过']"></p>
- </li>
- <li class="il-t-item" ms-if="data['出院情况'].length > 0">
- <h4 class="os-tit-t">出院情况:</h4>
- <p ms-text="data['出院情况']"></p>
- </li>
- <li class="il-t-item" ms-if="data['出院医嘱'].length > 0">
- <h4 class="os-tit-t">出院医嘱:</h4>
- <p ms-text="data['出院医嘱']"></p>
- </li>
- <li class="il-t-item" ms-if="data['治疗结果'].length > 0">
- <h4 class="os-tit-t">治疗结果:</h4>
- <p ms-text="data['治疗结果']"></p>
- </li>
- <li class="il-t-item" ms-if="data['住院医师'].length > 0">
- <h4 class="os-tit-t">住院医师:</h4>
- <p ms-text="data['住院医师']"></p>
- </li>
- <li class="il-t-item" ms-if="data['主治医师'].length > 0">
- <h4 class="os-tit-t">主治医师:</h4>
- <p ms-text="data['主治医师']"></p>
- </li>
- <li class="il-t-item" ms-if="data['时间'].length > 0">
- <h4 class="os-tit-t">时间:</h4>
- <p ms-text="data['时间'] | date('yyyy-MM-dd HH:mm:ss')"></p>
- </li>
- </ul>
- <p class="p-bottom">详情内容以医院出具纸质病例为准</p>
- </div>
- <script>
- function dsXmlToJson0213_2(xmlStr) {
- var $xmlDom = $(xmlStr),
- $nodes = {
-
- } ;
- var resultData = [];
- return {
- data:{
- "科室": $xmlDom.find('component section entry inDept').text(),
- "床号": $xmlDom.find('component section entry bed').text(),
- "住院号": "",
- "姓名": $xmlDom.find('recordTarget patient name').text(),
- "性别": $xmlDom.find('recordTarget patient sex').text(),
- "民族": $xmlDom.find('recordTarget nation').text(),
- "婚姻": $xmlDom.find('recordTarget marriage').text(),
- "入院时间": $xmlDom.find('component section entry inTime').attr('value'),
- "出院时间": $xmlDom.find('component section entry outTime').attr('value'),
- "住院天数": $xmlDom.find('component section entry inHospitalDay').text(),
- "入院情况": $xmlDom.find('component section entry inCondition').text(),
- "入院诊断": $xmlDom.find('component section entry inDiagnosis').text(),
- "出院诊断": $xmlDom.find('component section entry outDiagnosis').text(),
- "诊疗经过": $xmlDom.find('component section entry remedialCourse').text(),
- "出院情况": $xmlDom.find('component section entry outCondition').text(),
- "出院医嘱": $xmlDom.find('component section entry outOrder').text(),
- "治疗结果": $xmlDom.find('component section entry remedialResult').text(),
- "住院医师": $xmlDom.find('residentDoctor name').text(),
- "主治医师": $xmlDom.find('inChargeDoctor name').text(),
- "时间": $xmlDom.find('inChargeDoctor time').attr('value')
- }
- }
- }
- function dsXmlToJson0213_1(xmlStr) {
- var $xmlDom = $(xmlStr),
- $nodes = {
-
- } ;
- var resultData = [];
- return {
- data:{
- "科室": $xmlDom.find('component section entry inDept').text(),
- "床号": $xmlDom.find('component section entry bed').text(),
- "住院号": "",
- "姓名": $xmlDom.find('recordTarget patient name').text(),
- "性别": $xmlDom.find('recordTarget patient sex').text(),
- "民族": $xmlDom.find('recordTarget nation').text(),
- "婚姻": $xmlDom.find('recordTarget marriage').text(),
- "入院时间": $xmlDom.find('component section entry inTime').attr('value'),
- "出院时间": $xmlDom.find('component section entry outTime').attr('value'),
- "住院天数": $xmlDom.find('component section entry inHospitalDay').text(),
- "入院情况": $xmlDom.find('component section entry inCondition').text(),
- "入院诊断": $xmlDom.find('component section entry inDiagnosis').text(),
- "出院诊断": $xmlDom.find('component section entry outDiagnosis').text(),
- "诊疗经过": $xmlDom.find('component section entry remedialCourse').text(),
- "出院情况": $xmlDom.find('component section entry outCondition').text(),
- "出院医嘱": $xmlDom.find('component section entry outOrder').text(),
- "治疗结果": $xmlDom.find('component section entry remedialResult').text(),
- "住院医师": $xmlDom.find('residentDoctor name').text(),
- "主治医师": $xmlDom.find('inChargeDoctor name').text(),
- "时间": $xmlDom.find('inChargeDoctor time').attr('value')
- }
- }
- }
- </script>
|