|
@@ -680,15 +680,12 @@ function getEMRParams(){
|
|
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;
|
|
- //console.log('message', message)
|
|
|
|
-
|
|
|
|
const diag = []
|
|
const diag = []
|
|
for(let i = 0; i < diagnosticList.diagnosticList.length; i++) {
|
|
for(let i = 0; i < diagnosticList.diagnosticList.length; i++) {
|
|
diag.push({"dateValue": "","name": "","uniqueName": diagnosticList.diagnosticList[i].name})
|
|
diag.push({"dateValue": "","name": "","uniqueName": diagnosticList.diagnosticList[i].name})
|
|
}
|
|
}
|
|
- let obj = {
|
|
|
|
|
|
+ const obj = {
|
|
"hosCode": message.hospitalCode,
|
|
"hosCode": message.hospitalCode,
|
|
- "ruleType": "string",
|
|
|
|
"age": message.patientAge,
|
|
"age": message.patientAge,
|
|
"sex": message.sex,
|
|
"sex": message.sex,
|
|
"chief": filterDataArr(mainSuit.saveText)||'',
|
|
"chief": filterDataArr(mainSuit.saveText)||'',
|