|
@@ -2,6 +2,7 @@
|
|
|
import router from "@/router";
|
|
|
import { onMounted, ref } from "vue";
|
|
|
import { useEmrInit, UseEmrInitReturn } from "@/utils/emr/emr-init-v2";
|
|
|
+import {getMzBlRecord} from "@/api/medical-insurance/si-outpatient";
|
|
|
import {
|
|
|
getMzEmrModel,
|
|
|
queryMzEmrTree,
|
|
@@ -112,6 +113,12 @@ const clickSaveData = async () => {
|
|
|
parent: parent.value,
|
|
|
userIdCode: mzEmrPatientVo.value.userIdCode,
|
|
|
documentData: null,
|
|
|
+ emrChiefComplaint: mzEmrInfoVo.emrChiefComplaint,
|
|
|
+ emrHpi: mzEmrInfoVo.emrHpi,
|
|
|
+ emrPs: mzEmrInfoVo.emrPs,
|
|
|
+ emrPe: mzEmrInfoVo.emrPe,
|
|
|
+ emrFzjc: mzEmrInfoVo.emrFzjc,
|
|
|
+ emrProcess: mzEmrInfoVo.emrProcess
|
|
|
};
|
|
|
let newDate = await getServerDateApi();
|
|
|
const document = editor.editor.getDocument();
|
|
@@ -177,6 +184,18 @@ const appContext = () => {
|
|
|
患者年龄: mzEmrPatientVo.value.age,
|
|
|
"门/急诊号": mzEmrPatientVo.value.patientId,
|
|
|
接诊科室门诊: mzEmrPatientVo.value.deptName,
|
|
|
+ 主诉: mzEmrInfoVo.value.emrChiefComplaint,
|
|
|
+ 现病史: mzEmrInfoVo.value.emrHpi,
|
|
|
+ 既往史: mzEmrInfoVo.value.emrPs,
|
|
|
+ 个人史: mzEmrInfoVo.value.personalHistory,
|
|
|
+ 门诊家族史: mzEmrInfoVo.value.familyHistory,
|
|
|
+ 体重: mzEmrInfoVo.value.weight,
|
|
|
+ 体温: mzEmrInfoVo.value.temperature,
|
|
|
+ 脉搏: mzEmrInfoVo.value.sphygmus,
|
|
|
+ 呼吸: mzEmrInfoVo.value.breathe,
|
|
|
+ 血压高值: mzEmrInfoVo.value.pressureHigh,
|
|
|
+ 血压低值: mzEmrInfoVo.value.pressureFloor,
|
|
|
+ 体格检查: mzEmrInfoVo.value.emrPe,
|
|
|
编辑者: [
|
|
|
{
|
|
|
code: mzEmrPatientVo.value.userIdCode,
|
|
@@ -207,12 +226,19 @@ const mzEmrPatientVo = ref<object>({
|
|
|
sex: "",
|
|
|
age: null,
|
|
|
type: null,
|
|
|
+});
|
|
|
+const mzEmrInfoVo = ref<object>({
|
|
|
+
|
|
|
});
|
|
|
onMounted(() => {
|
|
|
patNo = JSON.parse(window.atob(router.currentRoute.value.params.patientInfo));
|
|
|
queryMzPatientInfo(patNo).then((res: any) => {
|
|
|
mzEmrPatientVo.value = res;
|
|
|
});
|
|
|
+ getMzBlRecord(patNo.patientId,patNo.times).then((res:any) =>{
|
|
|
+ mzEmrInfoVo.value = res
|
|
|
+ console.log('mzEmrInfoVo.value',mzEmrInfoVo.value)
|
|
|
+ })
|
|
|
useEmrInit(emrDivRef.value, {
|
|
|
appContext: appContext,
|
|
|
}).then(res => {
|