Files
HIS_Sur_Data_Deal/README.md
2026-05-08 21:28:39 +08:00

34 lines
915 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HIS_Sur_Data_Deal
网页端检测数据处理工具。上传 `待处理检测数据.zip` 后,服务会自动识别 V1/V2 数据结构,调用原处理脚本生成 Excel并返回结果压缩包。
## 本地运行
```bash
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8000
```
访问 `http://localhost:8000`
## Docker 构建与运行
```bash
docker build -t his-sur-data-deal .
docker run --rm -p 8000:8000 his-sur-data-deal
```
## 推送镜像示例
```bash
docker tag his-sur-data-deal 192.168.31.5:5002/admin/his-sur-data-deal:latest
docker push 192.168.31.5:5002/admin/his-sur-data-deal:latest
```
## 数据模式
V1zip 解压后包含 `Patients_info.csv``Tests_List``Tests_Detail_List`,输出一个汇总 Excel。
V2zip 解压后包含 `Patients_info.csv`,并按患者目录分别保存检测汇总和具体检测,输出多个患者 Excel。