|
@@ -0,0 +1,266 @@
|
|
1
|
+<!-- 透析器(滤器) -->
|
|
2
|
+<!-- 自带 -->
|
|
3
|
+<template>
|
|
4
|
+ <div style="border:1px solid gainsboro ;padding:10px">
|
|
5
|
+ <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
|
|
6
|
+ <!-- <el-button type="primary">主要按钮</el-button> -->
|
|
7
|
+ <el-button type="primary" style="" @click="bianji">
|
|
8
|
+ 编辑
|
|
9
|
+ </el-button>
|
|
10
|
+ <!--<el-button type="danger" style="" @click="">
|
|
11
|
+ 删除
|
|
12
|
+ </el-button> -->
|
|
13
|
+ <el-button type="success" style="" @click="printThisPage">
|
|
14
|
+ 打印
|
|
15
|
+ </el-button>
|
|
16
|
+ </div>
|
|
17
|
+ <div id="print_content">
|
|
18
|
+ <div class="print_page_main_content">
|
|
19
|
+ <div class="content">
|
|
20
|
+ <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
|
|
21
|
+ <h2 style="text-align: center;margin-bottom: 10px;">拒绝或放弃医学治疗告知书</h2>
|
|
22
|
+
|
|
23
|
+ <div style="border-bottom: 1px solid gainsboro;display: flex;justify-content: space-around;">
|
|
24
|
+ <div >姓名:
|
|
25
|
+ {{ patient.name }}
|
|
26
|
+ </div>
|
|
27
|
+ <div >性别:
|
|
28
|
+ <span v-if="patient.gender == 1">男</span>
|
|
29
|
+ <span v-if="patient.gender == 2">女</span>
|
|
30
|
+ </div>
|
|
31
|
+ <div >门诊号:
|
|
32
|
+ {{ patient.admission_number }}
|
|
33
|
+ </div>
|
|
34
|
+ </div>
|
|
35
|
+ <div style="margin-top: 10px;" v-html="content"></div>
|
|
36
|
+
|
|
37
|
+ </div>
|
|
38
|
+ </div>
|
|
39
|
+ </div>
|
|
40
|
+ <el-dialog
|
|
41
|
+ title="提示"
|
|
42
|
+ :visible.sync="dialogVisible"
|
|
43
|
+ width="60%"
|
|
44
|
+ >
|
|
45
|
+ <div>
|
|
46
|
+ <h2 style="text-align: center;">患方要求终止治疗及风险、责任承担承诺书</h2>
|
|
47
|
+
|
|
48
|
+ <div style="text-align: right;">
|
|
49
|
+ 透析号:{{ patient.dialysis_no }}
|
|
50
|
+ </div>
|
|
51
|
+ <div style="display: flex;margin: 10px 0;">
|
|
52
|
+ <div style="flex:1">姓名:{{ patient.name }}</div>
|
|
53
|
+ <div style="flex:1">性别:
|
|
54
|
+ <span v-if="patient.gender == 1">男</span>
|
|
55
|
+ <span v-if="patient.gender == 2">女</span>
|
|
56
|
+ </div>
|
|
57
|
+ <div style="flex:1">年龄:
|
|
58
|
+ {{ getAge(patient) }}
|
|
59
|
+ </div>
|
|
60
|
+ <div style="flex:1">住院(门诊)号:
|
|
61
|
+ {{ patient.admission_number }}
|
|
62
|
+ </div>
|
|
63
|
+ </div>
|
|
64
|
+ <div style="border-bottom: 1px solid gainsboro;">
|
|
65
|
+ 诊断:
|
|
66
|
+ {{ patient.diagnose }}
|
|
67
|
+ </div>
|
|
68
|
+ <keep-alive>
|
|
69
|
+ <editor ref="editor"
|
|
70
|
+ id="editor"
|
|
71
|
+ style="width: 100%"
|
|
72
|
+ v-bind:r_content="content">
|
|
73
|
+ </editor>
|
|
74
|
+ </keep-alive>
|
|
75
|
+ </div>
|
|
76
|
+ <span slot="footer" class="dialog-footer">
|
|
77
|
+ <el-button @click="dialogVisible = false">取 消</el-button>
|
|
78
|
+ <el-button type="primary" @click="saveDialyzerInformed">保 存</el-button>
|
|
79
|
+ </span>
|
|
80
|
+ </el-dialog>
|
|
81
|
+ </div>
|
|
82
|
+</template>
|
|
83
|
+
|
|
84
|
+<script>
|
|
85
|
+import print from "print-js";
|
|
86
|
+import Editor from '@/components/Editor'
|
|
87
|
+import { getPatientDetailInformedconsent,saveDialyzerInformed } from '@/api/patient'
|
|
88
|
+import { jsGetAge, uParseTime } from "@/utils/tools";
|
|
89
|
+const content=`
|
|
90
|
+ <p style="">
|
|
91
|
+ <span>尊敬的患者、患者家属或患者的法定监护人、授权委托人:</span>
|
|
92
|
+ </p>
|
|
93
|
+ <p style="text-indent:20px">
|
|
94
|
+ <span>根据患者目前的疾病状况,医生认为患者应当接受治疗,并建议患者接受适当的医疗措施。</span>
|
|
95
|
+ </p>
|
|
96
|
+ <p style="text-indent:20px">
|
|
97
|
+ <span>但是患者现在拒绝或者放弃我院医护人员建议的以下医疗措施(指明操作/治疗名称):</span>
|
|
98
|
+ </p>
|
|
99
|
+ <p style="text-indent:20px">
|
|
100
|
+ <span>特此告知可能出现的后果,请患者、患者家属或患者的法定监护人、授权委托人认真斟酌后决定。</span>
|
|
101
|
+ </p>
|
|
102
|
+ <p style="text-indent:20px">
|
|
103
|
+ <span>1、拒绝或放弃医学治疗,在我院原有的治疗中断,有可能导致病情反复甚至加重,从而为以后的诊断和治疗增加困难,甚至使原有疾病无法治煎或者使患者丧失最佳治疗时机,也有可能促进或者导致患者死亡;</span>
|
|
104
|
+ </p>
|
|
105
|
+ <p style="text-indent:20px">
|
|
106
|
+ <span>2、拒绝或放弃医学治疗,在我院原有的治疗中断,有可能出现各种感染或使原有的感染加重、伤口延迟愈合、疼痛等各种症状加重或症状持续时间延长,增加患者的痛苦,甚至可能导致不良后果;</span>
|
|
107
|
+ </p>
|
|
108
|
+ <p style="text-indent:20px">
|
|
109
|
+ <span>3、拒绝或放弃医学治疗,在我院原有的治疗中断,患者有可能会出现某一个或者多个器官功能减退部分功能甚或全部功能的丧失,有可能诱发患者出现出血、休克、其他疾病和症状,甚至产生不良后果;</span>
|
|
110
|
+ </p>
|
|
111
|
+ <p style="text-indent:20px">
|
|
112
|
+ <span>4、拒绝或放弃医学治疗有可能导致原有的医疗花费失去应有的作用;</span>
|
|
113
|
+ </p>
|
|
114
|
+ <p style="text-indent:20px">
|
|
115
|
+ <span>5、拒绝或放弃医学治疗有可能增加患者其他不可预料的风险及不良后果。</span>
|
|
116
|
+ </p>
|
|
117
|
+ <p style='font-weight: bold;'>
|
|
118
|
+ <span>患者家属或患者的法定监护人、授权委托人意见:</span>
|
|
119
|
+ </p>
|
|
120
|
+ <p style="text-indent:20px">
|
|
121
|
+ <span>我(或是患者的监护人)已年满18周岁且具有完全民事行为能力,我拒绝或放弃医院对我的医学治疗服务。医护人员已经向我解释了接受医疗措施对我的疾病治疗的重要性和必要性,并且已将拒绝或者放弃医学治疗的风险及后果向我作了详细的告知。我仍然坚持拒绝或放弃医学治疗。</span>
|
|
122
|
+ </p>
|
|
123
|
+ <p style="text-indent:20px">
|
|
124
|
+ <span>我自愿承担拒绝或放弃医学治疗所带来的风险和不良后果。我拒绝或放弃医学治疗产生的不良后果与医院及医护人员无关。</span>
|
|
125
|
+ </p>
|
|
126
|
+
|
|
127
|
+ <p style="padding:10px 0px;display:flex;align-items: center;">
|
|
128
|
+ <span style="display: inline-block;flex: 1;">患者/法定监护人/委托代理人/签名: </span>
|
|
129
|
+ <span style="display: inline-block;flex: 1;">与患者关系: </span>
|
|
130
|
+ </p>
|
|
131
|
+ <p style="padding:10px 0px;align-items: center;">
|
|
132
|
+ <span>签名曰期: </span>
|
|
133
|
+ </p>
|
|
134
|
+ <p style="font-weight: bold;"><span>医生陈述:</span></p>
|
|
135
|
+ <p style="text-indent:20px">
|
|
136
|
+ <span>我已经将患者继续接受医学治疗的重要性和必要性以及拒绝或者放弃治疗的风险及后果向患者、患者家属或患者的法定监护人、授权委托人告知,并且解答了关于拒绝或者放弃治疗的相关问题。</span>
|
|
137
|
+ </p>
|
|
138
|
+ <p style="padding:10px 0px;display:flex;align-items: center;">
|
|
139
|
+ <span style="display: inline-block;flex: 1;">医师签名: </span>
|
|
140
|
+ <span style="display: inline-block;flex: 1;">签名曰期: </span>
|
|
141
|
+ </p>`
|
|
142
|
+export default{
|
|
143
|
+ props: {
|
|
144
|
+ patient_id: {
|
|
145
|
+ type: Number,
|
|
146
|
+ },
|
|
147
|
+ dialyzerInformedPrint:{
|
|
148
|
+ type:Object
|
|
149
|
+ }
|
|
150
|
+ },
|
|
151
|
+ components:{
|
|
152
|
+ Editor
|
|
153
|
+ },
|
|
154
|
+ data(){
|
|
155
|
+ return{
|
|
156
|
+ patient:{},
|
|
157
|
+ dialogVisible:false,
|
|
158
|
+ content:content,
|
|
159
|
+ orgname:'',
|
|
160
|
+ }
|
|
161
|
+ },
|
|
162
|
+ methods:{
|
|
163
|
+ getlist(){
|
|
164
|
+ getPatientDetailInformedconsent(this.patient_id).then(response=>{
|
|
165
|
+ if(response.data.state == 1){
|
|
166
|
+ var patient = response.data.data.patients
|
|
167
|
+ console.log("patinet",patient)
|
|
168
|
+ this.patient =patient
|
|
169
|
+ }
|
|
170
|
+ })
|
|
171
|
+ },
|
|
172
|
+ printThisPage(){
|
|
173
|
+ const style = '@media print {.content p{font-size: 16px;font-family: 新宋体; margin-bottom: 5px;}}'
|
|
174
|
+ printJS({
|
|
175
|
+ printable: 'print_content',
|
|
176
|
+ type: 'html',
|
|
177
|
+ documentTitle: ' ',
|
|
178
|
+ style: style,
|
|
179
|
+ scanStyles: false
|
|
180
|
+ })
|
|
181
|
+ },
|
|
182
|
+ getAge: function(val) {
|
|
183
|
+ if (val.id_card_no == undefined) {
|
|
184
|
+ return false
|
|
185
|
+ }
|
|
186
|
+ var thisLen = val.id_card_no.length
|
|
187
|
+ var birth = ''
|
|
188
|
+ if (thisLen == 15) {
|
|
189
|
+ birth = '19' + val.id_card_no.substr(6, 6)
|
|
190
|
+ } else {
|
|
191
|
+ birth = val.id_card_no.substr(6, 8)
|
|
192
|
+ }
|
|
193
|
+ var birthtwo =
|
|
194
|
+ birth.substr(0, 4) +
|
|
195
|
+ '-' +
|
|
196
|
+ birth.substr(4, 2) +
|
|
197
|
+ '-' +
|
|
198
|
+ birth.substr(6, 2)
|
|
199
|
+
|
|
200
|
+ var age = jsGetAge(birthtwo, '-')
|
|
201
|
+ return age
|
|
202
|
+ },
|
|
203
|
+ bianji(){
|
|
204
|
+ this.dialogVisible=true
|
|
205
|
+ },
|
|
206
|
+ show(val){
|
|
207
|
+
|
|
208
|
+ if(val!=null){
|
|
209
|
+ console.log("valw233223",val)
|
|
210
|
+ if(val.content!=""){
|
|
211
|
+ this.content = ""
|
|
212
|
+ this.content = val.content
|
|
213
|
+ }
|
|
214
|
+
|
|
215
|
+ }
|
|
216
|
+ },
|
|
217
|
+ saveDialyzerInformed(){
|
|
218
|
+ var params = {
|
|
219
|
+ content:this.$refs.editor.content,
|
|
220
|
+ }
|
|
221
|
+ saveDialyzerInformed(params).then(response=>{
|
|
222
|
+ if(response.data.state ==1){
|
|
223
|
+ var list = response.data.data.list
|
|
224
|
+ this.$message.success("保存成功!")
|
|
225
|
+ this.dialogVisible = false
|
|
226
|
+ this.$emit("getDialyzerInformed","");
|
|
227
|
+ }
|
|
228
|
+ })
|
|
229
|
+ }
|
|
230
|
+
|
|
231
|
+ },
|
|
232
|
+ created(){
|
|
233
|
+ this.orgname = this.$store.getters.xt_user.org.org_name;
|
|
234
|
+ console.log("hhahdfhahdfhahdf",this.dialyzerInformedPrint)
|
|
235
|
+ if(this.dialyzerInformedPrint!=null&& this.dialyzerInformedPrint.id >0){
|
|
236
|
+ this.content = ""
|
|
237
|
+ this.content =this.dialyzerInformedPrint.content
|
|
238
|
+ }
|
|
239
|
+ this.getlist()
|
|
240
|
+ }
|
|
241
|
+}
|
|
242
|
+</script>
|
|
243
|
+<style lang="scss" scoped>
|
|
244
|
+
|
|
245
|
+*{
|
|
246
|
+ // margin: 0;
|
|
247
|
+ // padding: 0;
|
|
248
|
+ border: 0;
|
|
249
|
+}
|
|
250
|
+ .content{
|
|
251
|
+ p{
|
|
252
|
+ font-size: 16px;
|
|
253
|
+ font-family: '新宋体';
|
|
254
|
+ line-height: 22px;
|
|
255
|
+ // padding-left: 20px;
|
|
256
|
+ margin-bottom: 5px;
|
|
257
|
+ text-align: justify;
|
|
258
|
+ }
|
|
259
|
+ }
|
|
260
|
+ .print_page_main_content {
|
|
261
|
+ background-color: white;
|
|
262
|
+ width: 100%;
|
|
263
|
+ padding: 0 0 0 0;
|
|
264
|
+ page-break-after: always;
|
|
265
|
+ }
|
|
266
|
+</style>
|