New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
13
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 - npm Package Compare versions

Comparing version 0.0.1-beta.20 to 0.0.1-beta.21

dist/lib/dict-drug-base-index-examine.js

97

dist/ics-imedx-chromely-plugin-index-examine.es5.js

@@ -281,2 +281,97 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk';

var DictDrugBaseIndex = /** @class */ (function () {
function DictDrugBaseIndex() {
}
/**
* 查询药品基础目录
* @param category:分类,药品分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugBaseIndex.query = function (category, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.query('DictDrugBaseIndex', '', this.QueryCondition(keys, category));
};
/**
* 分页查询药品基础目录
* @param indexId: 索引id
* @param pageIndex:page索引
* @param pageSize:page尺寸
* @param category:分类,药品分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugBaseIndex.page = function (pageIndex, pageSize, category, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.page('DictDrugBaseIndex', pageIndex, pageSize, '', this.QueryCondition(keys, category));
};
/**
* 查询条件组装
* @param keys
* @param category
* @returns
*/
DictDrugBaseIndex.QueryCondition = function (keys, category) {
var condition = [];
if (keys.trim()) {
condition.push("(id:*" + keys + "* OR name:\"*" + keys + "*\" OR alias:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)");
}
if (category.trim()) {
condition.push("category:" + category);
}
return condition.join(' AND ');
};
return DictDrugBaseIndex;
}());
var DictDrugPharmacologyIndex = /** @class */ (function () {
function DictDrugPharmacologyIndex() {
}
/**
* 查询药理分类
* @param parentId,父ID
* @param skinTestCategory 皮试分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugPharmacologyIndex.query = function (parentId, skinTestCategory, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.query('DictDrugPharmacologyIndex', '', this.QueryCondition(keys, skinTestCategory, parentId));
};
/**
* 分页查询药品基础目录
* @param indexId: 索引id
* @param pageIndex:page索引
* @param pageSize:page尺寸
* @param parentId,父ID
* @param skinTestCategory 皮试分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugPharmacologyIndex.page = function (pageIndex, pageSize, parentId, skinTestCategory, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.page('DictDrugPharmacologyIndex', pageIndex, pageSize, '', this.QueryCondition(keys, skinTestCategory, parentId));
};
/**
* 查询条件组装
* @param keys
* @param category
* @returns
*/
DictDrugPharmacologyIndex.QueryCondition = function (keys, skinTestCategory, parentId) {
var condition = [];
if (keys.trim()) {
condition.push("(id:*" + keys + "* OR name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)");
}
if (skinTestCategory.trim()) {
condition.push("skinTestCategory:" + skinTestCategory);
}
if (parentId.trim()) {
condition.push("parentId:" + parentId);
}
return condition.join(' AND ');
};
return DictDrugPharmacologyIndex;
}());
/*

@@ -292,3 +387,3 @@ * @Author: 陶慧灵

export default IndexExamine;
export { DictIndex, Icd10Index, IcdTcmIndex, SysAreaIndex, Icd9cm3Index };
export { DictIndex, Icd10Index, IcdTcmIndex, SysAreaIndex, Icd9cm3Index, DictDrugBaseIndex, DictDrugPharmacologyIndex };
//# sourceMappingURL=ics-imedx-chromely-plugin-index-examine.es5.js.map

@@ -287,2 +287,97 @@ (function (global, factory) {

var DictDrugBaseIndex = /** @class */ (function () {
function DictDrugBaseIndex() {
}
/**
* 查询药品基础目录
* @param category:分类,药品分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugBaseIndex.query = function (category, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.query('DictDrugBaseIndex', '', this.QueryCondition(keys, category));
};
/**
* 分页查询药品基础目录
* @param indexId: 索引id
* @param pageIndex:page索引
* @param pageSize:page尺寸
* @param category:分类,药品分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugBaseIndex.page = function (pageIndex, pageSize, category, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.page('DictDrugBaseIndex', pageIndex, pageSize, '', this.QueryCondition(keys, category));
};
/**
* 查询条件组装
* @param keys
* @param category
* @returns
*/
DictDrugBaseIndex.QueryCondition = function (keys, category) {
var condition = [];
if (keys.trim()) {
condition.push("(id:*" + keys + "* OR name:\"*" + keys + "*\" OR alias:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)");
}
if (category.trim()) {
condition.push("category:" + category);
}
return condition.join(' AND ');
};
return DictDrugBaseIndex;
}());
var DictDrugPharmacologyIndex = /** @class */ (function () {
function DictDrugPharmacologyIndex() {
}
/**
* 查询药理分类
* @param parentId,父ID
* @param skinTestCategory 皮试分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugPharmacologyIndex.query = function (parentId, skinTestCategory, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.query('DictDrugPharmacologyIndex', '', this.QueryCondition(keys, skinTestCategory, parentId));
};
/**
* 分页查询药品基础目录
* @param indexId: 索引id
* @param pageIndex:page索引
* @param pageSize:page尺寸
* @param parentId,父ID
* @param skinTestCategory 皮试分类
* @param keys:关键字
* @returns 成功返回结果
*/
DictDrugPharmacologyIndex.page = function (pageIndex, pageSize, parentId, skinTestCategory, keys) {
if (keys === void 0) { keys = ''; }
return IndexExamine.page('DictDrugPharmacologyIndex', pageIndex, pageSize, '', this.QueryCondition(keys, skinTestCategory, parentId));
};
/**
* 查询条件组装
* @param keys
* @param category
* @returns
*/
DictDrugPharmacologyIndex.QueryCondition = function (keys, skinTestCategory, parentId) {
var condition = [];
if (keys.trim()) {
condition.push("(id:*" + keys + "* OR name:\"*" + keys + "*\" OR spellCode:*" + keys + "* OR strokeCode:*" + keys + "*)");
}
if (skinTestCategory.trim()) {
condition.push("skinTestCategory:" + skinTestCategory);
}
if (parentId.trim()) {
condition.push("parentId:" + parentId);
}
return condition.join(' AND ');
};
return DictDrugPharmacologyIndex;
}());
/*

@@ -303,2 +398,4 @@ * @Author: 陶慧灵

exports.Icd9cm3Index = Icd9cm3Index;
exports.DictDrugBaseIndex = DictDrugBaseIndex;
exports.DictDrugPharmacologyIndex = DictDrugPharmacologyIndex;

@@ -305,0 +402,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

14

dist/lib/dict-drug-pharmacology-index-examine.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var index_examine_1 = require("./index-examine");
var DictDrugIndex = /** @class */ (function () {
function DictDrugIndex() {
var DictDrugPharmacologyIndex = /** @class */ (function () {
function DictDrugPharmacologyIndex() {
}

@@ -14,3 +14,3 @@ /**

*/
DictDrugIndex.query = function (parentId, skinTestCategory, keys) {
DictDrugPharmacologyIndex.query = function (parentId, skinTestCategory, keys) {
if (keys === void 0) { keys = ''; }

@@ -29,3 +29,3 @@ return index_examine_1.default.query('DictDrugPharmacologyIndex', '', this.QueryCondition(keys, skinTestCategory, parentId));

*/
DictDrugIndex.page = function (pageIndex, pageSize, parentId, skinTestCategory, keys) {
DictDrugPharmacologyIndex.page = function (pageIndex, pageSize, parentId, skinTestCategory, keys) {
if (keys === void 0) { keys = ''; }

@@ -40,3 +40,3 @@ return index_examine_1.default.page('DictDrugPharmacologyIndex', pageIndex, pageSize, '', this.QueryCondition(keys, skinTestCategory, parentId));

*/
DictDrugIndex.QueryCondition = function (keys, skinTestCategory, parentId) {
DictDrugPharmacologyIndex.QueryCondition = function (keys, skinTestCategory, parentId) {
var condition = [];

@@ -54,5 +54,5 @@ if (keys.trim()) {

};
return DictDrugIndex;
return DictDrugPharmacologyIndex;
}());
exports.default = DictDrugIndex;
exports.default = DictDrugPharmacologyIndex;
//# sourceMappingURL=dict-drug-pharmacology-index-examine.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Icd9cm3Index = exports.SysAreaIndex = exports.IcdTcmIndex = exports.Icd10Index = exports.DictIndex = void 0;
exports.DictDrugPharmacologyIndex = exports.DictDrugBaseIndex = exports.Icd9cm3Index = exports.SysAreaIndex = exports.IcdTcmIndex = exports.Icd10Index = exports.DictIndex = void 0;
/*

@@ -23,3 +23,7 @@ * @Author: 陶慧灵

exports.Icd9cm3Index = icd9_cm3_index_examine_1.default;
var dict_drug_base_index_examine_1 = require("./dict-drug-base-index-examine");
exports.DictDrugBaseIndex = dict_drug_base_index_examine_1.default;
var dict_drug_pharmacology_index_examine_1 = require("./dict-drug-pharmacology-index-examine");
exports.DictDrugPharmacologyIndex = dict_drug_pharmacology_index_examine_1.default;
exports.default = index_examine_1.default;
//# sourceMappingURL=ics-imedx-chromely-plugin-index-examine.js.map

@@ -1,2 +0,2 @@

export default class DictDrugIndex {
export default class DictDrugPharmacologyIndex {
/**

@@ -3,0 +3,0 @@ * 查询药理分类

@@ -7,3 +7,5 @@ import IndexExamine from './index-examine';

import Icd9cm3Index from './icd9-cm3-index-examine';
import DictDrugBaseIndex from './dict-drug-base-index-examine';
import DictDrugPharmacologyIndex from './dict-drug-pharmacology-index-examine';
export default IndexExamine;
export { DictIndex, Icd10Index, IcdTcmIndex, SysAreaIndex, Icd9cm3Index };
export { DictIndex, Icd10Index, IcdTcmIndex, SysAreaIndex, Icd9cm3Index, DictDrugBaseIndex, DictDrugPharmacologyIndex };
{
"name": "@imedx/ics-imedx-chromely-plugin-index-examine",
"version": "0.0.1-beta.20",
"version": "0.0.1-beta.21",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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