运管工具-量表列表
<p><strong>迭代版本:</strong>2.9.8(新增)</p>
<p><strong>简要描述:</strong></p>
<p><strong>请求URL:</strong> </p>
<ul>
<li><a href="http://aky.mynatapp.cc/chronic/diagnosticPaper/listOnManage">http://aky.mynatapp.cc/chronic/diagnosticPaper/listOnManage</a></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST/GET</li>
<li>Content-Type:application/form</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">state</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>状态:0=无效,1=有效,2=待激活</td>
</tr>
<tr>
<td style="text-align: left;">pageNum</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>默认1</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>默认10</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"retcode": "0000",
"errMsg": "操作成功",
"body": {
"total": 3,
"list": [
{
"paperId": 1001,
"paperName": "焦虑自评量表(SAS)",
"state": 1,
"price": 50.0,
"hospitalId": "2",
"departId": "36,51,52,53",
"createTime": "2020-01-08 11:39:47",
"createBy": 0,
"paperDesc": "本量表包含20个项目,分为4级评分,请您仔细阅读以下内容,根据最近一星期的情况如实回答。",
"answerDesc": "所有题目均共用答案,请在A、B、C 、D下划“√”,每题限选一个答案。",
"optionDesc": "答案:A没有或很少时间;B小部分时间;C相当多时间;D绝大部分或全部时间。",
"resultDesc": "按照中国常模结果,SAS标准分的分界值为50分,其中50-59分为轻度焦虑,60-69分为中度焦虑,70分以上为重度焦虑",
"resultSql": "update diagnostic_result e join ( select a.result_id, SUM(d.score) result from diagnostic_result a join diagnostic_paper b on a.result_id = '${resultId}' and a.paper_id = b.paper_id join diagnostic_answer c on c.result_id = a.result_id join diagnostic_option d on d.question_id = c.question_id and FIND_IN_SET(d.option_id, c.option_id)) f on e.result_id = f.result_id set e.result = f.result, e.standard = FLOOR(f.result * 1.25) where e.result_id = f.result_id",
"resultTip": "总粗分",
"standardTip": "标准总分",
"type": 0,
"hasRatio": 1,
"scoreRatio1": 1.0000,
"scoreRatio2": 1.2500
},
{
"paperId": 1002,
"paperName": "抑郁自评量表(SDS)",
"state": 1,
"price": 50.0,
"hospitalId": "2",
"departId": "36,51,52,53",
"createTime": "2020-01-08 11:39:48",
"createBy": 0,
"paperDesc": "本量表包含20个项目,分为4级评分,为保证调查结果的准确性,务请您仔细阅读以下内容,根据最近一星期的情况如实回答。",
"answerDesc": "所有题目均共用答案,请在A、B、C 、D下划“√”,每题限选\n一个答案。",
"optionDesc": "答案:A没有或很少时间;B小部分时间;C相当多时间;D绝大部分或全部时间。",
"resultDesc": "指数范围为0.25-1.0,指数越高,抑郁程度越高,其中评分指数在0.50以下者为无抑郁;0.50-0.59为轻微至轻度抑郁;0.60-0.69为中至高度抑郁;0.70以上为重度抑郁",
"resultSql": "update diagnostic_result e join ( select a.result_id, SUM(d.score) result from diagnostic_result a join diagnostic_paper b on a.result_id = '${resultId}' and a.paper_id = b.paper_id join diagnostic_answer c on c.result_id = a.result_id join diagnostic_option d on d.question_id = c.question_id and FIND_IN_SET(d.option_id, c.option_id)) f on e.result_id = f.result_id set e.result = ROUND(f.result / 80, 2) where e.result_id = f.result_id",
"resultTip": "抑郁严重度指数",
"standardTip": null,
"type": 0,
"hasRatio": 1,
"scoreRatio1": 0.0125,
"scoreRatio2": null
},
{
"paperId": 1003,
"paperName": "脑卒中早期识别及溶栓评估表",
"state": 1,
"price": null,
"hospitalId": "14",
"departId": "85",
"createTime": "2020-01-17 11:53:42",
"createBy": 0,
"paperDesc": null,
"answerDesc": null,
"optionDesc": null,
"resultDesc": null,
"resultSql": "update diagnostic_result e join ( select a.result_id, SUM(d.score) result from diagnostic_result a join diagnostic_paper b on a.result_id = '${resultId}' and a.paper_id = b.paper_id join diagnostic_answer c on c.result_id = a.result_id join diagnostic_option d on d.question_id = c.question_id and FIND_IN_SET(d.option_id, c.option_id)) f on e.result_id = f.result_id set e.result = f.result, e.standard = FLOOR(f.result * 1) where e.result_id = f.result_id",
"resultTip": null,
"standardTip": null,
"type": 0,
"hasRatio": 0,
"scoreRatio1": null,
"scoreRatio2": null
}
],
"pageNum": 1,
"pageSize": 10,
"size": 3,
"startRow": 1,
"endRow": 3,
"pages": 1,
"prePage": 0,
"nextPage": 0,
"isFirstPage": true,
"isLastPage": true,
"hasPreviousPage": false,
"hasNextPage": false,
"navigatePages": 8,
"navigatepageNums": [
1
],
"navigateFirstPage": 1,
"navigateLastPage": 1
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">mediaId</td>
<td style="text-align: left;">int</td>
<td>叮嘱ID</td>
</tr>
<tr>
<td style="text-align: left;">price</td>
<td style="text-align: left;">double</td>
<td>价格 单位元</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>0=自评 1=他评</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>