Skip to content
Back to search

hm_editor

一款轻量级、可扩展的、跨平台的、专为医疗信息化设计的电子病历编辑器内核,为EMR(电子病历系统)提供专业的结构化病历编辑与AI接入解决方案。

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/huimeicloud--hm-editor/badge.svg)](/listings/huimeicloud--hm-editor)

HTML

<a href="/listings/huimeicloud--hm-editor"><img src="/api/listings/huimeicloud--hm-editor/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.MD · README · 119 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # 惠每电子病历编辑器 HmEditor
  2. [![License: LGPL v2.1](https://img.shields.io/badge/License-LGPL%20v2.1-blue.svg)](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)
  3. ![CKEditor4](https://img.shields.io/badge/CKEditor-4.x-blue)
  4. ![JavaScript](https://img.shields.io/badge/JavaScript-ES6%2B-yellow)
  5. ![Node.js](https://img.shields.io/badge/Node.js-%3E%3D12.0.0-brightgreen)
  6. ![AI](https://img.shields.io/badge/AI-Ready-red)
  7. > 集成AI、满足信创、开源的医疗电子病历编辑器
  8. ---
  9. ## 目录
  10. - [惠每电子病历编辑器 HmEditor](#惠每电子病历编辑器-hmeditor)
  11. - [目录](#目录)
  12. - [项目简介](#项目简介)
  13. - [特性亮点](#特性亮点)
  14. - [快速开始](#快速开始)
  15. - [1. Docker 部署(推荐)](#1-docker-部署推荐)
  16. - [2. 源码编译部署](#2-源码编译部署)
  17. - [3. 访问页面](#3-访问页面)
  18. - [示例代码](#示例代码)
  19. - [在线演示](#在线演示)
  20. - [文档与二次开发](#文档与二次开发)
  21. - [开源协议](#开源协议)
  22. - [反馈与交流](#反馈与交流)
  23. ---
  24. ## 项目简介
  25. HmEditor 是一款专为医疗行业设计的智能电子病历编辑器插件,结合 CKEditor4 文本编辑功能与自研 AI 技术,为医院信息科和 EMR 厂商提供高效、灵活、智能化的病历编辑解决方案。支持多种病历模板创建与编辑,具备强大的数据绑定能力,并可与医疗信息系统无缝对接。
  26. ---
  27. ## 特性亮点
  28. - **完全开源**,LGPLv2.1 协议,开箱即用
  29. - 丰富数据元组件:文本、时间、单选、多选、下拉、表格、图片、示意图等
  30. - 原生 JS 开发,纯前端运行,易集成,支持多平台
  31. - 智能病历编辑:修订、只读、水印、AI 服务对接
  32. - 支持信创,兼容国产操作系统
  33. ---
  34. ## 快速开始
  35. ### 1. Docker 部署(推荐)
  36. ```bash
  37. # 安装 docker 和 docker-compose
  38. # 下载 docker-compose.yml
  39. # 启动服务
  40. $ docker-compose -f /path/to/docker-compose.prod.yml up -d
  41. ```
  42. ### 2. 源码编译部署
  43. ```bash
  44. # 下载 hm_editor、hm_editor.service、hm_editor.admin.client
  45. # 进入 hm_editor 目录
  46. npm install # 安装依赖
  47. grunt release # 编译
  48. nodemon index.js # 启动
  49. ```
  50. ### 3. 访问页面
  51. - 编辑器 SDK 演示:[http://127.0.0.1:7070/hmEditor/demo/index.html](http://127.0.0.1:7070/hmEditor/demo/index.html)
  52. - 后台管理演示:[http://127.0.0.1:7070/hmEditor/admin-client](http://127.0.0.1:7070/hmEditor/admin-client)
  53. ---
  54. ## 示例代码
  55. 只需 15 行核心代码即可集成:
  56. ```html
  57. <script src="https://editor.huimei.com/hmEditor/iframe/HmEditorIfame.js"></script>
  58. <div id="editorContainer" style="width:850px;height:500px;"></div>
  59. <script>
  60. HMEditorLoader.createEditorAsync({
  61. container: "#editorContainer",
  62. sdkHost: "https://editor.huimei.com/hmEditor"
  63. }).then(function(editor) {
  64. editor.setDocContent({
  65. code: 'doc001',
  66. docTplName: '测试病历名称',
  67. docContent: '...'
  68. });
  69. });
  70. </script>
  71. ```
  72. > 更多 API 及用法详见 [官方文档](https://editor.huimei.com/)
  73. ---
  74. ## 在线演示
  75. - [编辑器 SDK 演示](https://editor.huimei.com/hmEditor/demo/index.html)
  76. - [后台管理演示](https://editor.huimei.com/hmEditor/admin-client)
  77. ---
  78. ## 文档与二次开发
  79. - [开发流程介绍](hmEditor/开发流程介绍.md)
  80. - [基础接口说明](hmEditor/extensions/base/README.MD)
  81. ---
  82. ## 开源协议
  83. 本项目遵循 [LGPLv2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) 协议,允许自由使用、修改和分发。
  84. ---
  85. ## 反馈与交流
  86. - 问题反馈:GitHub Issue(即将开放)
  87. - 钉钉交流群:81935038067
  88. ![钉钉群二维码](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/2M9qP5joJg2VDO01/img/910afe1a-efe9-4296-aedd-f6d3c16aa6da.png)
  89. ---
  90. > © 2025-2026 惠每云 HMCLOUD. 保留所有权利。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.