npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

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

v0.0.4

Published

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

Downloads

68

Readme

引入

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>