|
@@ -41,20 +41,9 @@ export const getTreatResult = (item) =>{
|
|
|
}
|
|
|
}
|
|
|
const params = {
|
|
|
- "age": emrData.age,
|
|
|
"featureType": "8",
|
|
|
"ruleType":config.ruleTypeMap["8"],
|
|
|
- "diag": diag,
|
|
|
- "diseaseName": item.name,
|
|
|
- "lis": emrData.lis,
|
|
|
- "other": emrData.other,
|
|
|
- "pasts": emrData.other,
|
|
|
- "pacs": emrData.pacs,
|
|
|
- "sex": emrData.sex,
|
|
|
- "symptom": emrData.current + emrData.main,
|
|
|
- "vital": emrData.vital,
|
|
|
- "patientId": emrData.patientId,
|
|
|
- "hosCode": emrData.hosCode
|
|
|
+ "diseaseName": item.name
|
|
|
};
|
|
|
// const params = {
|
|
|
// "disType":"1",
|
|
@@ -120,7 +109,7 @@ export const getTreatResult = (item) =>{
|
|
|
params.disType = 1
|
|
|
}
|
|
|
}
|
|
|
- getTreatment(item, dispatch, state, url,params, isChronic)
|
|
|
+ getTreatment(item, dispatch, state, url,Object.assign({},params,emrData), isChronic)
|
|
|
|
|
|
});
|
|
|
} else {
|
|
@@ -129,10 +118,10 @@ export const getTreatResult = (item) =>{
|
|
|
params.disType = 1
|
|
|
}
|
|
|
}
|
|
|
- getTreatment(item, dispatch, state,url,params, isChronic)
|
|
|
+ getTreatment(item, dispatch, state,url,Object.assign({},params,emrData), isChronic)
|
|
|
}
|
|
|
} else {
|
|
|
- getTreatment(item, dispatch, state,url,params, isChronic)
|
|
|
+ getTreatment(item, dispatch, state,url,Object.assign({},params,emrData), isChronic)
|
|
|
}
|
|
|
|
|
|
}
|