|
@ -62,7 +62,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
private BaseController baseController = new BaseController();
|
|
|
|
|
|
@GetMapping(value = "findOrgLocations")
|
|
|
@ApiParam("查找机构坐标")
|
|
|
@ApiOperation("查找机构坐标")
|
|
|
public ListEnvelop findOrgLocations(){
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功",baseServiceNewsService.findOrgLocations());
|
|
@ -72,7 +72,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "findPatinetLocations")
|
|
|
@ApiParam("查找所有居民坐标")
|
|
|
@ApiOperation("查找所有居民坐标")
|
|
|
public ListEnvelop findPatinetLocations(){
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功",baseServiceNewsService.findPatinetLocations());
|
|
@ -82,7 +82,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "findPatinetByName")
|
|
|
@ApiParam("获取居民详情页")
|
|
|
@ApiOperation("获取居民详情页")
|
|
|
public ListEnvelop findPatinetByName(@ApiParam(name="name",value = "居民姓名",required = true)
|
|
|
@RequestParam(value = "name")String name){
|
|
|
try {
|
|
@ -93,7 +93,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "findNews")
|
|
|
@ApiParam("获取居民详情页")
|
|
|
@ApiOperation("获取居民详情页")
|
|
|
public ListEnvelop findNews(@ApiParam(name="size",value = "页面大小",required = true)
|
|
|
@RequestParam(value = "size")Integer size){
|
|
|
try {
|
|
@ -104,7 +104,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "getPatientInfo")
|
|
|
@ApiParam("获取居民详情页")
|
|
|
@ApiOperation("获取居民详情页")
|
|
|
public ObjEnvelop getPatientInfo(@ApiParam(name="patient",value = "居民id",required = true)
|
|
|
@RequestParam(value = "patient")String patient,
|
|
|
@ApiParam(name="patientType",value="患者类型 1老人 2 新生儿")
|
|
@ -117,7 +117,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "getPatientEvent")
|
|
|
@ApiParam("获取就诊事件")
|
|
|
@ApiOperation("获取就诊事件")
|
|
|
public ObjEnvelop getPatientEvent(@ApiParam(name="patient",value = "居民id",required = true)
|
|
|
@RequestParam(value = "patient")String patient,
|
|
|
@ApiParam(name="patientType",value="患者类型 1老人 2 新生儿")
|
|
@ -134,7 +134,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "getServiceOrder")
|
|
|
@ApiParam("获取服务工单列表")
|
|
|
@ApiOperation("获取服务工单列表")
|
|
|
public ObjEnvelop getServiceOrder(@ApiParam(name="patient",value = "居民id",required = true)
|
|
|
@RequestParam(value = "patient")String patient,
|
|
|
@ApiParam(name="patientType",value="患者类型 1老人 2 新生儿")
|
|
@ -151,7 +151,7 @@ public class PatientInfoPlatFormEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "getHealthIndexInfo")
|
|
|
@ApiParam("获取居民体征信息")
|
|
|
@ApiOperation("获取居民体征信息")
|
|
|
public String getHealthIndexInfo(@ApiParam(name="patient",value="患者代码",defaultValue = "eb0b478fbe9245428ecf63cd7517206f")
|
|
|
@RequestParam(value="patient",required = true) String patient,
|
|
|
@ApiParam(name="type",value="指标类型",defaultValue = "1")
|
|
@ -169,6 +169,17 @@ 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){
|
|
|
try {
|
|
|
return baseController.write (200,"查询成功","data",patientInfoPlatFormService.getPatientMonitoringInfo(patient));
|
|
|
}catch (Exception e){
|
|
|
return baseController.errorResult(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@GetMapping("getDoorCoachByOrderId")
|
|
|
@ApiOperation(value = "根据工单id获取相应的工单,如果为空,则获取该患者当前最新一条的工单")
|
|
|
public ObjEnvelop getByOrderId(
|