open-index/open-npm huggingface dataset:
npm package: @imedx/ics-imedx-chromely-plugin-intf-platform
Description: ```javascript import IntfPlatform from '@imedx/ics-imedx-chromely-plugin-intf-platform' ```
Author: 34692730@qq.com
Latest version: 0.0.8-beta.1

### 引入

```javascript
import IntfPlatform from '@imedx/ics-imedx-chromely-plugin-intf-platform'
```

### 使用方法
> init 初始化接口
```javascript
/**
 * 
 * @returns 成功：{code: 200, data, message: 'ok'}
 */
IntfPlatform.init()
```

> dispose 释放核心接口
```javascript
  /**
   * 
   * @returns 成功：{code: 200, data, message: 'ok'}
   */
IntfPlatform.dispose()
```
> bussiness 业务交互接口
```javascript
  /**
   * 
   * @param intfCode: string 
   * @param code: string
   * @param param: any
   * @returns 成功：{code: 200, data, message: 'ok'}
   */
IntfPlatform.bussiness(intfCode, code, param)
```
> register 注册接口
```javascript
   /**
   * 注册接口
   * @param name 接口名称
   * @param intfType 接口类型
   * @param config 接口配置
   */
  public static register(name: string, intfType: any, config: ConfigRecord)
```
> getCoreInterface 获取核心接口
```javascript
   /**
   * 获取核心接口
   * @param name 接口名称
   * @returns
   */
  public static getCoreInterface(name: string): IInterfaceCore | undefined
```
> getInterface 获取实现接口
```javascript
  /**
   * 获取实现接口
   * @param name 接口名称
   * @returns
   */
  public static getInterface(name: string): any | undefined
```
> getInterfaceConfig 获取实现接口配置
```javascript
  /**
   * 获取实现接口配置
   * @param name 接口名称
   * @returns
   */
  public static getInterfaceConfig(name: string): ConfigRecord | undefined
```

> getCoreInterfaceConfig 获取核心接口配置
```javascript
   /**
   * 获取核心接口配置
   * @param name 接口名称
   * @returns
   */
  public static getCoreInterfaceConfig(name: string): ConfigRecord | undefined
```
npm package: @imedx/ics-imedx-chs-intelligent-review-js-sdk
Description: 提供医保智能审核接口js-sdk
Author: 邵魁
Latest version: 0.0.1-beta.22

<!--
 * @Author: shaokui shaokui98@qq.com
 * @Date: 2024-04-17 11:25:20
 * @LastEditors: shaokui shaokui98@qq.com
 * @LastEditTime: 2024-04-25 11:31:47
 * @FilePath: \ics-imedx-intf-chs-js-sdk\ics-imedx-chs-intelligent-review-js-sdk\README.md
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
### Usage

```bash
npm i @imedx/ics-imedx-chs-intelligent-review-js-sdk@0.0.1
```

### 应用

```javascript
/**
   *  医保智能审核
   * @param code his交易码
   * @param scene 场景类型
   * @param params
   * @param params.patientId 患者id
   * @param params.visitId 就诊号
   * @param params.orderIdList 医嘱/诊断id集合
   */
import Test from '@imedx/ics-imedx-chs-intelligent-review-js-sdk'

const test = new Test()
const param = {
  code: '',
  params: {
    patientId: '',
    visitId: '',
    orderIdList: '',
  },
  scene: 2
}
const result = await test.IntelligentReview(param.code, param.params, param.scene)
```

### 回参

```javascript
// 实现接口配置关闭
{
  code: 1200,
  data: {},
  message: "执行成功"
}

// 审核通过
{
  code: 1200,
  data: {
    result: []
  },
  message: "执行成功"
}

// 审核不通过-弹出审核不通过弹框
{
  info: [] // 不通过数据
  type: '' // 用户操作类  close: 右上角关闭，cancel：取消按钮，confirm：确认按钮
}
```