互联网医院


4.1.2 S1002获取部门信息

<p>[TOC]</p> <table> <thead> <tr> <th>服务编码</th> <th>S1002</th> </tr> </thead> <tbody> <tr> <td>服务名称</td> <td>获取部门信息</td> </tr> <tr> <td>功能简述</td> <td>根据多种条件查询部门信息</td> </tr> </tbody> </table> <h4>详细描述(应用场景、数据处理逻辑描述)</h4> <ol> <li>支持单一查询(如科室id、科室名称查询)</li> <li>支持按部门性质查询,如只检查或检验</li> <li>支持全量数据查询,考虑数据可能超长,采用分页模式,缺省每页返回500条记录</li> </ol> <h4>入参示例</h4> <pre><code>{     &amp;quot;query_key&amp;quot;: &amp;quot;1&amp;quot;,     &amp;quot;query_content&amp;quot;: &amp;quot;118&amp;quot;,     &amp;quot;page_no&amp;quot;: &amp;quot;&amp;quot;,     &amp;quot;query_site&amp;quot;: &amp;quot;&amp;quot; } </code></pre> <table> <thead> <tr> <th>节点</th> <th>父节点</th> <th>类型</th> <th>必填</th> <th>数组</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>query_key</td> <td></td> <td>C</td> <td>1</td> <td></td> <td>查询方式:0-分页查询所有;1-部门id;2-部门编码;3-部门名称;4-部门性质(如检验、检查..)</td> </tr> <tr> <td>query_content</td> <td></td> <td>C</td> <td></td> <td></td> <td>查询关键值,query_key=0时不传入,否则传入对应查询方式的业务关键值</td> </tr> <tr> <td>page_no</td> <td></td> <td>C</td> <td></td> <td></td> <td>页号:缺省为1,每页显示500条记录,不足500则按实际记录数返回</td> </tr> <tr> <td>query_site</td> <td></td> <td>C</td> <td></td> <td></td> <td>站点传入作为联合查询条件</td> </tr> </tbody> </table> <h4>出参示例</h4> <pre><code>{     &amp;quot;code&amp;quot;: 200,     &amp;quot;message&amp;quot;: &amp;quot;成功&amp;quot;,     &amp;quot;success&amp;quot;: true,     &amp;quot;result&amp;quot;: [         {             &amp;quot;seq&amp;quot;: &amp;quot;1&amp;quot;,             &amp;quot;page_no&amp;quot;: &amp;quot;1&amp;quot;,             &amp;quot;item_id&amp;quot;: &amp;quot;118&amp;quot;,             &amp;quot;item_no&amp;quot;: &amp;quot;331&amp;quot;,             &amp;quot;parent_no&amp;quot;: &amp;quot;33&amp;quot;,             &amp;quot;item_name&amp;quot;: &amp;quot;【北】超声科&amp;quot;,             &amp;quot;add_no&amp;quot;: null,             &amp;quot;mark&amp;quot;: null,             &amp;quot;create_date&amp;quot;: &amp;quot;2014-09-12 17:15:51&amp;quot;,             &amp;quot;modify_date&amp;quot;: &amp;quot;2014-09-12 17:15:51&amp;quot;,             &amp;quot;item_stat&amp;quot;: &amp;quot;S&amp;quot;,             &amp;quot;item_end&amp;quot;: null,             &amp;quot;parent_id&amp;quot;: &amp;quot;116&amp;quot;,             &amp;quot;parent_name&amp;quot;: &amp;quot;辅检科室&amp;quot;,             &amp;quot;expired_date&amp;quot;: &amp;quot;3000-01-01 00:00:00&amp;quot;,             &amp;quot;dept_addr&amp;quot;: null,             &amp;quot;dept_addr_code&amp;quot;: null,             &amp;quot;contacts_name&amp;quot;: null,             &amp;quot;dept_site&amp;quot;: null,             &amp;quot;clnispec_code&amp;quot;: null,             &amp;quot;clnispec_name&amp;quot;: null,             &amp;quot;inp_bed_no&amp;quot;: null,             &amp;quot;staff_by&amp;quot;: &amp;quot;BCSK&amp;quot;,             &amp;quot;dept_relation&amp;quot;: null         }     ] } </code></pre>

页面列表

ITEM_HTML