|
@@ -22,8 +22,10 @@ import com.lantone.qc.pub.model.doc.operation.OperationRecordDoc;
|
|
import com.lantone.qc.pub.model.doc.operation.PreoperativeDiscussionDoc;
|
|
import com.lantone.qc.pub.model.doc.operation.PreoperativeDiscussionDoc;
|
|
import com.lantone.qc.pub.model.doc.transferrecord.TransferIntoDoc;
|
|
import com.lantone.qc.pub.model.doc.transferrecord.TransferIntoDoc;
|
|
import com.lantone.qc.pub.model.doc.transferrecord.TransferOutDoc;
|
|
import com.lantone.qc.pub.model.doc.transferrecord.TransferOutDoc;
|
|
|
|
+import com.lantone.qc.pub.model.label.CaseCharacteristicLabel;
|
|
import com.lantone.qc.pub.model.label.ChiefLabel;
|
|
import com.lantone.qc.pub.model.label.ChiefLabel;
|
|
import com.lantone.qc.pub.model.label.DiagLabel;
|
|
import com.lantone.qc.pub.model.label.DiagLabel;
|
|
|
|
+import com.lantone.qc.pub.model.label.DiagnosisLabel;
|
|
import com.lantone.qc.pub.model.label.FamilyLabel;
|
|
import com.lantone.qc.pub.model.label.FamilyLabel;
|
|
import com.lantone.qc.pub.model.label.MaritalLabel;
|
|
import com.lantone.qc.pub.model.label.MaritalLabel;
|
|
import com.lantone.qc.pub.model.label.MenstrualLabel;
|
|
import com.lantone.qc.pub.model.label.MenstrualLabel;
|
|
@@ -31,6 +33,7 @@ import com.lantone.qc.pub.model.label.PacsLabel;
|
|
import com.lantone.qc.pub.model.label.PastLabel;
|
|
import com.lantone.qc.pub.model.label.PastLabel;
|
|
import com.lantone.qc.pub.model.label.PersonalLabel;
|
|
import com.lantone.qc.pub.model.label.PersonalLabel;
|
|
import com.lantone.qc.pub.model.label.PresentLabel;
|
|
import com.lantone.qc.pub.model.label.PresentLabel;
|
|
|
|
+import com.lantone.qc.pub.model.label.TreatPlanLabel;
|
|
import com.lantone.qc.pub.model.label.VitalLabel;
|
|
import com.lantone.qc.pub.model.label.VitalLabel;
|
|
import com.lantone.qc.pub.model.label.VitalLabelSpecial;
|
|
import com.lantone.qc.pub.model.label.VitalLabelSpecial;
|
|
|
|
|
|
@@ -300,6 +303,32 @@ public class ModelDocGenerate {
|
|
*/
|
|
*/
|
|
public static FirstCourseRecordDoc firstCourseRecordDocGen(Map<String, String> structureMap) {
|
|
public static FirstCourseRecordDoc firstCourseRecordDocGen(Map<String, String> structureMap) {
|
|
FirstCourseRecordDoc firstCourseRecordDoc = new FirstCourseRecordDoc();
|
|
FirstCourseRecordDoc firstCourseRecordDoc = new FirstCourseRecordDoc();
|
|
|
|
+
|
|
|
|
+ DiagLabel initialDiagLabel = new DiagLabel();
|
|
|
|
+ initialDiagLabel.setText(structureMap.get("初步诊断"));
|
|
|
|
+ firstCourseRecordDoc.setInitialDiagLabel(initialDiagLabel);
|
|
|
|
+ structureMap.remove("初步诊断");
|
|
|
|
+
|
|
|
|
+ CaseCharacteristicLabel caseCharacteristicLabel = new CaseCharacteristicLabel();
|
|
|
|
+ caseCharacteristicLabel.setText(structureMap.get("病例特点"));
|
|
|
|
+ firstCourseRecordDoc.setCaseCharacteristicLabel(caseCharacteristicLabel);
|
|
|
|
+ structureMap.remove("病例特点");
|
|
|
|
+
|
|
|
|
+ DiagnosisLabel diagnosisLabel = new DiagnosisLabel();
|
|
|
|
+ diagnosisLabel.setText(structureMap.get("诊断依据"));
|
|
|
|
+ firstCourseRecordDoc.setDiagnosisLabel(diagnosisLabel);
|
|
|
|
+ structureMap.remove("诊断依据");
|
|
|
|
+
|
|
|
|
+ DiagLabel differentialDiagLabel = new DiagLabel();
|
|
|
|
+ differentialDiagLabel.setText(structureMap.get("鉴别诊断"));
|
|
|
|
+ firstCourseRecordDoc.setDifferentialDiagLabel(differentialDiagLabel);
|
|
|
|
+ structureMap.remove("鉴别诊断");
|
|
|
|
+
|
|
|
|
+ TreatPlanLabel treatPlanLabel = new TreatPlanLabel();
|
|
|
|
+ treatPlanLabel.setText(structureMap.get("诊疗计划"));
|
|
|
|
+ firstCourseRecordDoc.setTreatPlanLabel(treatPlanLabel);
|
|
|
|
+ structureMap.remove("诊疗计划");
|
|
|
|
+
|
|
firstCourseRecordDoc.setStructureMap(structureMap);
|
|
firstCourseRecordDoc.setStructureMap(structureMap);
|
|
return firstCourseRecordDoc;
|
|
return firstCourseRecordDoc;
|
|
}
|
|
}
|