|
@@ -676,6 +676,7 @@ function handleEnter(event){
|
|
// return {main,current,other,vital,lis,pacs,dis,advice,diseaeId,sex,age, patientId, hosCode};
|
|
// return {main,current,other,vital,lis,pacs,dis,advice,diseaeId,sex,age, patientId, hosCode};
|
|
// };
|
|
// };
|
|
function getEMRParams(){
|
|
function getEMRParams(){
|
|
|
|
+ getMRInfo()
|
|
const state = store.getState();
|
|
const state = store.getState();
|
|
const {message} = state.patInfo;
|
|
const {message} = state.patInfo;
|
|
const {mainSuit,currentIll,otherHistory,checkBody,inspect,assistCheck,diagnosticList} = state;
|
|
const {mainSuit,currentIll,otherHistory,checkBody,inspect,assistCheck,diagnosticList} = state;
|
|
@@ -719,6 +720,17 @@ function getEMRParams(){
|
|
}
|
|
}
|
|
return obj;
|
|
return obj;
|
|
};
|
|
};
|
|
|
|
+function getMRInfo() {
|
|
|
|
+ const state = store.getState();
|
|
|
|
+ const {message} = state.patInfo;
|
|
|
|
+ const {mainSuit,currentIll,otherHistory,checkBody,inspect,assistCheck,diagnosticList} = state;
|
|
|
|
+ console.log('state', state)
|
|
|
|
+ let str = ""
|
|
|
|
+ str += `姓名: ${message.patientName}性别:${message.patientSex}年龄:${message.patientAge}主诉:${filterDataArr(mainSuit.saveText)}
|
|
|
|
+ 现病史:${filterDataArr(currentIll.saveText)}其他史:${filterDataArr(otherHistory.saveText)}查体:${filterDataArr(checkBody.saveText)}
|
|
|
|
+ 化验:${inspect.inspectStrPlus}辅检:${assistCheck.dataString}诊断:${diagnosticList.diagnosticStr}医师签名:${message.doctorName}`
|
|
|
|
+ console.log('strrr', str)
|
|
|
|
+}
|
|
|
|
|
|
function didPushParamChange(){
|
|
function didPushParamChange(){
|
|
const emrData = getEMRParams();
|
|
const emrData = getEMRParams();
|
|
@@ -1685,6 +1697,7 @@ module.exports = {
|
|
handleEnter,
|
|
handleEnter,
|
|
didPushParamChange,
|
|
didPushParamChange,
|
|
getEMRParams,
|
|
getEMRParams,
|
|
|
|
+ getMRInfo,
|
|
windowEventHandler,
|
|
windowEventHandler,
|
|
isAllClear,
|
|
isAllClear,
|
|
normalVal,
|
|
normalVal,
|