添加规则信息

简要描述:

  • 添加规则信息

请求URL:

  • http://ip:端口/v1/dataExporRule/add

请求方式:

  • post

请求参数示例

{"ruleName":"规则名称","ruleContent":"{"sex":"","startExamDate":"2020-10-01","endExamDate":"2021-11-11","isAbnormal":"1","clinDiag":"糖尿病","examClassList":[{"examClass":"CT"}],"examItemList":[{"itemCode":"C00021"}],"examOrganList":[{"organName":"胸部"}],"favoriteTitleList":[{"favoriteTitle":"收藏夹"}]}"}

参数:

参数名 是否必选 类型 说明
ruleName 必选 string 规则名称
ruleContent 可选 string 规则内容,json字符串

返回示例

{
  "status":"0",
  "message":"成功",
  "result":{
    "ruleId":"123456"
  }
}

返回参数说明

参数名 类型 说明
ruleId string 规则ID

备注

  • 规则内容,json字符串,例如{“sex”:”男”,”startExamDate”:”2020-10-01”,”endExamDate”:”2021-11-11”,”isAbnormal”:”1”,”clinDiag”:”糖尿病”,”examClassList”:[{“examClass”:”CT”}],”examItemList”:[{“itemCode”:”C00021”}],”examOrganList”:[{“organName”:”胸部”}],”favoriteTitleList”:[{“favoriteTitle”:”收藏夹”}]}