|
@@ -801,6 +801,7 @@ function filterDataArr(arrTmp){ //数据处理
|
|
|
return '';
|
|
|
}
|
|
|
return it.replace(config.punReg,function(word){
|
|
|
+ console.log(9898)
|
|
|
return word.substr(0,1);
|
|
|
});
|
|
|
});
|
|
@@ -926,7 +927,7 @@ function getEMRParams(){
|
|
|
for(let i = 0; i < diagnosticList.diagnosticList.length; i++) {
|
|
|
diag.push({"dateValue": "","name": diagnosticList.diagnosticList[i].name,"uniqueName": ""})
|
|
|
}
|
|
|
- if(diagnosticList.length>0)diagnosticList.diseaseName.uniqueName = ''
|
|
|
+ if(diagnosticList.diagnosticList.length>0)diagnosticList.diseaseName.uniqueName = ''
|
|
|
let templis = (inspect.labelListSmall).concat(inspect.labelListBig)
|
|
|
templis = templis.filter((item)=>!item.check)
|
|
|
let temppacs = assistCheck.assistLabel
|
|
@@ -953,15 +954,16 @@ function getEMRParams(){
|
|
|
"age": formatFormParmas('patientAge', patInfoData),
|
|
|
"sex": sex,
|
|
|
"deptName": formatFormParmas('hospitalDeptName', patInfoData),
|
|
|
- "chief": filterDataArr(mainSuit.saveText)||'', //主诉
|
|
|
- "symptom": filterDataArr(currentIll.saveText)||'', //现病史
|
|
|
- "vital": filterDataArr(checkBody.saveText)||'', //查体
|
|
|
- "pasts": filterDataArr(pastHistory.saveText)||'', //既往史
|
|
|
+ "chief": mainSuit.saveText[0]||'', //主诉
|
|
|
+ "symptom": currentIll.saveText[0]||'', //现病史
|
|
|
+ "vital": checkBody.saveText[0]||'', //查体
|
|
|
+ "pasts": pastHistory.saveText[0]||'', //既往史
|
|
|
+ // "pasts": filterDataArr(pastHistory.saveText)||'', //既往史
|
|
|
"marriage": '',
|
|
|
- "personal": filterDataArr(personalHistory.saveText)||'', //个人史
|
|
|
- "family": filterDataArr(familyHistory.saveText)||'', //家族史
|
|
|
- "marital": filterDataArr(marriageHistory.saveText)||'', //婚育史
|
|
|
- "menstrual": filterDataArr(menstruationHistory.saveText)||'', //月经史
|
|
|
+ "personal": personalHistory.saveText[0]||'', //个人史
|
|
|
+ "family": familyHistory.saveText[0]||'', //家族史
|
|
|
+ "marital": marriageHistory.saveText[0]||'', //婚育史
|
|
|
+ "menstrual": menstruationHistory.saveText[0]||'', //月经史
|
|
|
"diseaseName":diagnosticList.diseaseName,
|
|
|
"operationName":newAdvice.operationName,
|
|
|
"infectious": "",
|
|
@@ -1808,7 +1810,8 @@ function getAllString(checkedListImport,assistLabel,flg){
|
|
|
"result": tempArr[i].value||"",
|
|
|
}
|
|
|
tmpArr.push(obj)
|
|
|
- tmpString += (tempArr[i].name + (tmpVal ? (':' + tmpVal) + ', ' : ':') + (tempArr[i].time ? '报告日期:' + tempArr[i].time : '') + '^;')
|
|
|
+ // tmpString += (tempArr[i].name + (tmpVal ? (':' + tmpVal) + ', ' : ':') + (tempArr[i].time ? '报告日期:' + tempArr[i].time : '') + '^;')
|
|
|
+ tmpString += (tempArr[i].name + (tmpVal ? (':' + tmpVal) + ', ' : ':') + (tempArr[i].time ? tempArr[i].time : '') + '^;')
|
|
|
}
|
|
|
return tmpObj = {
|
|
|
arr:tmpArr,
|