|
@ -497,6 +497,28 @@ public class PrescriptionService extends ZysoftBaseService{
|
|
|
return response;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 挂号作废处方接口
|
|
|
* @param json
|
|
|
* @param hospital
|
|
|
* @param licence @return
|
|
|
*/
|
|
|
public String fadeRecipe(JSONObject json, String hospital, String licence) throws Exception{
|
|
|
if(hospital==null){
|
|
|
String[] hospitalMapping = getHospitalMapping(null); //获取机构映射
|
|
|
hospital = hospitalMapping[0];
|
|
|
licence = hospitalMapping[1];
|
|
|
}
|
|
|
|
|
|
Map<String,String> header = new HashMap<>();
|
|
|
header.put("ORGCODE",hospital);
|
|
|
header.put("LICENCE",licence);
|
|
|
|
|
|
String response = postSecond("fadeRecipe","挂号作废处方接口",null,json,header,false,2);
|
|
|
|
|
|
return response;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*********************************************请求智业接口数据 end**************************************************/
|
|
|
|