| 
					
				 | 
			
			
				@ -26,10 +26,7 @@ import io.swagger.annotations.ApiParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.apache.commons.lang.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.json.JSONArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.GetMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RequestMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RequestParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RestController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import java.util.HashMap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import java.util.Map; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -131,6 +128,19 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping(value = "getPatientInfoNew") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("获取居民详情页") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public ObjEnvelop getPatientInfoNew(@ApiParam(name="patient",value = "居民id",required = true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @RequestParam(value = "patient")String patient, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @ApiParam(name="patientType",value="患者类型 1老人 2 新生儿") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @RequestParam(name = "patientType",required = false,defaultValue = "1")Integer patientType){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return ObjEnvelop.getSuccess("查询成功",patientInfoPlatFormService.getPatientInfoNew(patient,patientType)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return failedObjEnvelopException2(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping(value = "getPatientEvent") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("获取就诊事件") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public ObjEnvelop getPatientEvent(@ApiParam(name="patient",value = "居民id",required = true) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -211,9 +221,11 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping(value = "getPatientMonitoringInfo") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("获取居民安监护信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String getHealthIndexInfo(@ApiParam(name="patient",value="患者代码",defaultValue = "808080eb7917a3be017918a979380055") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @RequestParam(value="patient",required = true) String patient){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @RequestParam(value="patient",required = true) String patient, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @ApiParam(name = "topicItem", value = "专题code,关联security_topic_dict字典", required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     @RequestParam(value = "topicItem",required = false) String topicItem){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return baseController.write (200,"查询成功","data",patientInfoPlatFormService.getPatientMonitoringInfo(patient)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return baseController.write (200,"查询成功","data",securityMonitoringOrderService.patientMonitoringInfo(patient,topicItem)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return baseController.errorResult(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 |