|
@@ -365,9 +365,6 @@ public class ModelDocGenerate {
|
|
|
|
|
|
TreatPlanLabel treatPlanLabel = new TreatPlanLabel();
|
|
|
treatPlanLabel.setText(structureMap.get("诊疗计划"));
|
|
|
- List<String> keys = Lists.newArrayList("需求评估", "预期目标", "诊疗计划", "治疗监测计划");
|
|
|
- String treatPlanJoin = structureMapJoin(structureMap, keys);
|
|
|
- treatPlanLabel.setAiText(treatPlanJoin);
|
|
|
firstCourseRecordDoc.setTreatPlanLabel(treatPlanLabel);
|
|
|
// structureMap.remove("诊疗计划");
|
|
|
|
|
@@ -460,7 +457,7 @@ public class ModelDocGenerate {
|
|
|
/**
|
|
|
* 拼接结构化数据
|
|
|
**/
|
|
|
- private static String structureMapJoin(Map<String, String> structureMap, List<String> keys) {
|
|
|
+ public static String structureMapJoin(Map<String, String> structureMap, List<String> keys) {
|
|
|
String textJoin = "";
|
|
|
for (String key : keys) {
|
|
|
if (StringUtil.isNotBlank(structureMap.get(key))) {
|