open-index/open-npm huggingface dataset:
npm package: @imedx/ics-imedx-permission
Description: imedx用户、患者权限封装
Author: 文贝
Latest version: 0.0.2

### Usage

```bash
npm i @imedx/ics-imedx-permission@0.0.1
```
### feature
```
0.0.1 初始提供
```

### Features

 - ImedxPermission:imedx 权限
 - 
### Importing library

You can import the generated bundle to use the whole library generated by this starter:

```javascript

import ImedxPermission from '@imedx/ics-imedx-permission'

// 安装指令，使用 v-imedx-permission="权限编码"
Vue.use(ImedxPermission)

```

### ImedxPermission

```javascript
   /**
   * 设置模块ID
   * @param moduleId 模块ID
   */
  setModuleId(moduleId: string): void

  /**
   * 设置用户权限
   * @param permission 用户权限列表
   */
  setUserPermission(permission: object): void

  /**
   * 设置用户权限
   * @param moduleId 模块ID
   * @param permission 用户权限列表
   */
  setUserPermissionByModuleId(moduleId: string, permission: object): void

  /**
   * 清除用户权限
   */
  clearUserPermission(): void

  /**
   * 设置患者权限
   * @param permission 患者权限列表
   * @returns 字符串结果
   */
  setPatientPermission(permission: object): void

  /**
   * 清除患者权限
   */
  clearPatientPermission(): void

  /**
   * 获取所有权限对象
   * @returns 所有权限对象
   */
  getPermission(): object

  /**
   * 判断是否有权限
   * @param permissionId 权限id
   * @returns true 有 false 无
   */
  hasPermission(permissionId: string): boolean

  /**
   * 判断是否有权限
   * @param moduleId 模块id
   * @param permissionId 权限id
   * @returns true 有 false 无
   */
  hasPermissionByModuleId(moduleId: string, permissionId: string): boolean

```
npm package: @imedx/ics-imedx-queue-js-sdk
Description: SDK
Author: 邵魁
Latest version: 0.0.1-beta.9

### Usage

```bash
npm i @imedx/ics-imedx-queue-js-sdk@0.0.1
```
### feature
```
0.0.1 初始提供
```

### Features

 - Test:测试
 - 
### Importing library

You can import the generated bundle to use the whole library generated by this starter:

```javascript
import Test from '@imedx/ics-imedx-queue-js-sdk'
```

### Test

```javascript
  /**
   * 登录登出 category-Number 其他-String
   * @param scene 场景： 门诊、检查、检验、药房、体检
   * @param category 类别：1- 登录 2- 退出
   * @param deptId 科室编码
   * @param deptName 科室名称
   * @param doctorId 医生编码
   * @param doctorName 医生名称
   * @param roomName 诊室编码
   * @param roomId 诊室名称
   */
  QueueLogin(scene: String, category: Number, deptId: String, deptName: String, doctorId: String, doctorName: String, roomId: String, roomName: String): Promise<string>
  /**
   * 排队叫号队列
   * @param startDate 日期
   * @param category 类别：1 - 未呼叫 2 - 已呼叫--Number
   * @param queueType 队列类型：1 - 未过号队列 2 - 过号队列 9 - 全部 -- Number
   * @param deptId 科室编码
   * @param deptName 科室名称
   * @param doctorId 医生编码
   * @param doctorName 医生名称
   * @param doctorQueueType 医生队列类型：1 - 挂号到医生 2 - 本科室全部队列（包含挂号到医生和科室） 3 - 未挂号到医生的本科室患者 --Number
   * @param keyword 关键字
   */
  QueueList(startDate: String, category: Number, queueType: Number, deptId: String, deptName: String, doctorId: String, doctorName: String, doctorQueueType: Number, keyword: String): Promise<string>
  /**
    * 叫号
    * @param scene 场景： 门诊、检查、检验、药房、体检
    * @param callType 叫号方式： 1- 顺呼 2- 复呼 3- 选呼 4- 过号 -- Number
    * @param visitId 就诊编码
    * @param queueId 队列编码
    * @param prePatientQueueId 上一个患者队列ID (仅叫号方式为顺呼 且上一个患者为过号，才传该参数)
    * @param callDeptId 叫号科室编码
    * @param callDeptName 叫号科室名称
    * @param callDoctorId 叫号医生编码
    * @param callDoctorName 叫号医生姓名
    * @param callRoomId 叫号诊室编码
    * @param callRoomName 叫号诊室名称
    */
   QueueCall(scene: String, callType: Number, visitId: String, queueId:String, prePatientQueueId: String, callDeptId: String, callDeptName: String, callDoctorId: String, callDoctorName: String): Promise<string>
```
npm package: @imedx/ics-imedx-rational-js-sdk
Description: SDK
Author: jiangbing
Latest version: 0.0.1-beta.9

### Usage

```bash
npm i @imedx/ics-imedx-rational-js-sdk@0.0.1
```
### feature
```
0.0.1 初始提供
```

### Features

 - Test:测试
 - 
### Importing library

You can import the generated bundle to use the whole library generated by this starter:

```javascript
import Test from '@imedx/ics-imedx-rational-js-sdk'
```

### Test

```javascript
  // 药品说明书 
  /**
   * drugInfo 药品信息
   * hospitalIfo 医院信息
   * visit 患者信息
  */
  DrugManual(drugInfo: any, hospitalIfo: any, visit: any): Promise<String>
  // 药品审查
  /**
   * visit 患者信息
   * prescriptionInfo 处方信息
   * drugInfo 药品信息
   * hospitalInfo 医院信息
   * diagnosisList 诊断列表 array
   * isDialog 是否开启审查弹框
  */
  DrugQuery(visit: any, prescriptionInfo: any, drugInfo: any, hospitalInfo: any, diagnosisList:any, isDialog: boolean): Promise<String>
```
npm package: @imedx/ics-imedx-readcard-platform-js-sdk
Description: <!--  * @Author: wenbei421 346972930@qq.com  * @Date: 2022-10-21 09:56:15  * @LastEditors: wenbei421 346972930@qq.com  * @LastEditTime: 2022-10-24 08:54:24  * @FilePath: \ics-imedx-readcard-platform-js-sdk\README.md  * @Description: 这是默认设置,请设置`customMade`
Author: wenbei421
Latest version: 0.0.1-beta.5

<!--
 * @Author: wenbei421 346972930@qq.com
 * @Date: 2022-10-21 09:56:15
 * @LastEditors: wenbei421 346972930@qq.com
 * @LastEditTime: 2022-10-24 08:54:24
 * @FilePath: \ics-imedx-readcard-platform-js-sdk\README.md
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
# ics-imedx-readcard-platform-js-sdk
通用读卡接口js-sdk封装

### Usage

```bash
npm i @imedx/ics-imedx-readcard-platform-js-sdk
```
### feature
```
0.0.1-beta.1 更新readme.md
0.0.1 初次提供
```

### Features

 - ReadcardPlatform:通用读卡接口
### Importing library

You can import the generated bundle to use the whole library generated by this starter:

```javascript
import ReadcardPlatform from '@imedx/ics-imedx-readcard-platform-js-sdk'
const readcardPlatform = new ReadcardPlatform('cc_dm_decard_t10_id')
const idCardInfo = await this.readcardPlatform.ReadIdCard()
console.log(idCardInfo, '身份证')
```