Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@cnhis-frontend/cdss
Advanced tools
cdss决策分析技术方案,cdss-js-sdk属于前端打包部分的sdk。
huimei(HM): 惠美科技 baidu(BAIDU): 百度灵医智惠科技 aybt(AYBT): 爱医博通(帮医) dashu(DASHU): 瑞慈大数
Cdss.factoryConfig:获取配置信息
Cdss.initAuth:初始化患者信息
Cdss.importData:上传业务数据
Cdss.listenEvent:监听事件数据回显
Cdss.hide:隐藏cdss弹窗
Cdss.show:展示cdss弹窗
Cdss.remove:移除cdss弹窗
import Cdss from '@cnhis-frontend/cdss';
async function initWindow() {
// 第一步
const initData = await Cdss.factoryConfig(
{
// 可选参数
baseUrl: '...',
accessToken: '...',
},
async (isEnable, obj) => {
// 在以下结构中:enable判断cdss后端是否开启了服务,tag用来判断厂商标识:
// {"appId": "1347067098022678529","appSecret": "...","enable": true,"tag": "DASHU","sdkUrl": "https://cdss.rich-hosp.com/doctor","hospitalGuid": "2","hospitalName": "南通瑞慈医院","dashuCdss": {},"isListen": true}
console.log('返回厂商的配置信息>>>>>', obj);
// 第二步
await Cdss.initAuth({
...
})
// 第三步
await Cdss.importData({
...
})
// 第四步
Cdss.listenEvent((data) => {
...
})
}
)
}
initWindow();
Cdss.hide();
Cdss.show();
Cdss.remove();
1.0.1:兼容惠美和百度cdss的第一版
1.0.2:增加患者id与回显数据关联,方便AIGC团队跑数据
# 版本同步
npm version 1.0.2-beta.12
# 打包
yarn run build
# 上传到npm(发布release版本时不需要--tag=beta)
npm publish --tag=beta --access publish
cdss代码分支是单独的功能,不可与其他分支合并。
FAQs
将各个厂商的cdss服务聚合在一起,向业务端提供统一的接口进行调用
The npm package @cnhis-frontend/cdss receives a total of 1 weekly downloads. As such, @cnhis-frontend/cdss popularity was classified as not popular.
We found that @cnhis-frontend/cdss demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.