Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@imedx/ics-imedx-chromely-plugin-index-examine

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imedx/ics-imedx-chromely-plugin-index-examine

```javascript import IndexExamine from '@imedx/ics-imedx-chromely-plugin-index-examine' ```

  • 0.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
89
increased by888.89%
Maintainers
0
Weekly downloads
 
Created
Source

引入

import IndexExamine from '@imedx/ics-imedx-chromely-plugin-index-examine'

通用索引调用方法

query 查询索引

/**
 * 
 * @param indexId: 索引id
 * @param category:分类
 * @param keys:关键字
 * @returns 成功:{code: 200, data, message: 'ok'}
 */
IndexExamine.query(indexId, category, keys)

page 分页查询索引

  /**
   * 
   * @param indexId: 索引id
   * @param pageIndex:page索引 
   * @param pageSize:page尺寸
   * @param category:分类 
   * @param keys:关键字 
   * @returns 成功:{code: 200, data, message: 'ok'}
   */
IndexExamine.page(indexId, pageIndex, pageSize, category, keys)

字典索引调用方法

import { DictIndex } from '@imedx/ics-imedx-chromely-plugin-index-examine'

query 查询索引

 /**
   * 查询字典索引
   * @param category:分类,例如DICT_SEX、DICT_NATION,支持数组 ['DICT_SEX','DICT_NATION']
   * @param keys:关键字
   * @param exact:精确匹配字段和值 精确匹配字段和值 { type : 1 },传入多个字典时不支持
   * @returns 成功返回结果,如果category是数组则返回{"DICT_SEX":[{},{}],"DICT_NATION":[{},{}]}
   */
  DictIndex.query(category: string|string[], keys: string = '',exact: {
      [key: string]: string
    } | null = null):Promise<any>

page 分页查询索引

   /**
   * 分页查询索引
   * @param pageIndex:page索引
   * @param pageSize:page尺寸
   * @param category:分类,例如DICT_SEX、DICT_NATION
   * @param keys:关键字
   * @param exact:精确匹配字段和值 精确匹配字段和值 { type : 1 }
   * @returns 成功返回结果
   */
 DictIndex.page(
    pageIndex: number,
    pageSize: number,
    category: string,
    keys: string = '',
    exact: {
      [key: string]: string
    } | null = null
  ): Promise<any>

ICD10诊断索引调用方法

import { Icd10Index } from '@imedx/ics-imedx-chromely-plugin-index-examine'

query 查询索引

/**
   * 查询icd10诊断
   * @param keys:关键字
   * @param category 诊断类别  11:疾病诊断 12:损伤中毒原因 13:肿瘤形态学(对应病案首页病理诊断)
   * @returns 成功返回结果
   */
  Icd10Index.query(category: string, keys: string = ''):Promise<any>

page 分页查询索引

    /**
   * 分页查询索引
   * @param pageIndex:page索引
   * @param pageSize:page尺寸
   * @param keys:关键字
   * @param category 诊断类别  11:疾病诊断 12:损伤中毒原因 13:肿瘤形态学(对应病案首页病理诊断)
   * @returns 成功返回结果
   */
 Icd10Index.page(
    pageIndex: number,
    pageSize: number,
    category: string, 
    keys: string = ''
  ): Promise<any>

中医诊断索引

import { IcdTcmIndex } from '@imedx/ics-imedx-chromely-plugin-index-examine'

query 查询索引

 /**
   * 查询中医诊断索引
   * @param category:分类,例如1 病,2 证,3 治
   * @returns 成功返回结果
   */
  IcdTcmIndex.query(category: string, keys: string = ''):Promise<any>

page 分页查询索引

   /**
   * 分页查询索引
   * @param pageIndex:page索引
   * @param pageSize:page尺寸
   * @param category:分类,例如1 病,2 证,3 治
   * @param keys:关键字
   * @returns 成功返回结果
   */
 IcdTcmIndex.page(
    pageIndex: number,
    pageSize: number,
    category: string,
    keys: string = ''
  ): Promise<any>

ICDCM3手术编码索引

import { Icd9cm3Index } from '@imedx/ics-imedx-chromely-plugin-index-examine'

query 查询索引

 /**
   * 查询中医诊断索引
   * @param category 诊断类别  1:治疗性操作 2:诊断性操作 3:手术  不传则查全部
   * @param keys:关键字
   * @param tcmOperation 中医操作 true:是 false:否
   * @returns 成功返回结果
   */
  Icd9cm3Index.query(category: string, keys: string = '', tcmOperation: boolean = false):Promise<any>

page 分页查询索引

   /**
   * 分页查询索引
   * @param pageIndex:page索引
   * @param pageSize:page尺寸
   * @param category 诊断类别  1:治疗性操作 2:诊断性操作 3:手术  不传则查全部
   * @param keys:关键字
   * @param tcmOperation 中医操作 true:是 false:否
   * @returns 成功返回结果
   */
 Icd9cm3Index.page(
    pageIndex: number,
    pageSize: number,
    category: string,
    keys: string = '',
    tcmOperation: boolean = false
  ): Promise<any>

行政区划索引

import { SysAreaIndex } from '@imedx/ics-imedx-chromely-plugin-index-examine'

query 查询索引

 /**
   * 查询中医诊断索引
   * @param category:分类,父行政区划编码
   * @param keys:关键字
   * @param rank:行政级别1~5,默认5
   * @returns 成功返回结果
   */
  SysAreaIndex.query(category: string, keys: string = '', rank: number = 5):Promise<any>

page 分页查询索引

   /**
   * 分页查询索引
   * @param pageIndex:page索引
   * @param pageSize:page尺寸
   * @param category:分类,分类,父行政区划编码
   * @param keys:关键字
   * @param rank:行政级别1~5,默认5
   * @returns 成功返回结果
   */
 SysAreaIndex.page(
    pageIndex: number,
    pageSize: number,
    category: string,
    keys: string = '', 
    rank: number = 5
  ): Promise<any>

FAQs

Package last updated on 23 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc