<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>处方详情</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <style>
    .session-title{
        font-size: 16px;
    }
    .container{
        width: 100% !important;
    }
    </style>
</head>
<body class="white-bg plr10">
    <div id="main">
    </div>

    <div class="c-tac mb20 mt20">
        <button id="backBtn" type="button" class="btn btn-w-m btn-danger mlr20">返回</button>
    </div>

    <script  type="text/html" id="tmp">
        <h2 class="text-center">门诊</h2>
        <div class="session-title border-bottom pb5">基本信息</div>
        <div class="container">
            <div class="row mtb5">
                <div class="col-xs-6">
                    <span class="c-999">开方时间：</span>
                    <span>{{createTime}}</span>
                </div>
                <div class="col-xs-6">
                    <span class="c-999">科室/医院：</span>
                    <span>{{hospitalName}}</span>
                </div>
            </div>
            <div class="row mtb5">
                <div class="col-xs-6">
                    <span class="c-999">开方医生：</span>
                    <span>{{doctorName}}</span>
                </div>
            </div>
        </div>
    </div>
    <div class="session-title border-bottom pb5 mt20">临床诊断</div>
    <div class="container">
        <div class="row mtb5">
            <div class="col-xs-12">
                <span class="c-999">临床诊断：</span>
                <span>
                {{each prescriptionDt as dt index}}
                {{if index == 0}}
                    {{dt.name}}
                {{else}}
                    ，{{dt.name}}
                {{/if}}
                {{/each}}
                </span>
            </div>
        </div>
    </div>
    <div class="session-title pb5 mt20">RP</div>
    <table class="table">
        {{each prescriptionInfo as it}}
        <tr>
            <td>{{it.drugName}}</td>
            <td><span class="c-999">用法：</span>{{it.usageName}}</td>
            <td><span class="c-999">总量：</span>{{it.num}}{{it.drugNumUnitName}}</td>
            <td><span class="c-999">规格：</span>{{it.drugFormat}}</td>
        </tr>
        {{/each}}
    </table>
    </script>

    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/content.min.js?v=1.0.0"></script>
    <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
    <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script src="js/plugins/toastr/toastr.min.js"></script>
    <script src="js/es6-promise.js"></script>
    <script src="js/underscore.js"></script>
    <script src="js/api-service.js"></script>
    <script src="js/prescription-detail-api.js"></script>
    <script src="js/util.js"></script>
    <script src="js/template.js"></script>
    <script src="js/buz/jw-prescription-info.js"></script>
</body>
</html>
