News

Easy documentation with Docsy

The Docsy Hugo theme lets project maintainers and contributors focus on content, not on reinventing a website infrastructure from scratch

This is a typical blog post that includes images.

The front matter specifies the date of the blog post, its title, a short description that will be displayed on the blog landing page, and its author.

Including images

Here’s an image (featured-sunset-get.png) that includes a byline and a caption.

Fetch and scale an image in the upcoming Hugo 0.43.
Photo: Riona MacNamara / CC-BY-CA

The front matter of this post specifies properties to be assigned to all image resources:

resources:
- src: "**.{png,jpg}"
  title: "Image #:counter"
  params:
    byline: "Photo: Riona MacNamara / CC-BY-CA"

To include the image in a page, specify its details like this:

{{< imgproc sunset Fill "600x300" >}}
Fetch and scale an image in the upcoming Hugo 0.43.
{{< /imgproc >}}

The image will be rendered at the size and byline specified in the front matter.

Second blog post

A short lead description about this content page. Text here can also be bold or italic and can even be split over multiple paragraphs.

This is a placeholder page. For an example of the kind of content that can be added here, see the example page.

Welcome!

Welcome to the Docsy theme user guide! This guide shows you how to get started creating technical documentation sites using Docsy, including site customization and how to use Docsy’s blocks and templates.

What is Docsy?

Docsy is a theme for the Hugo static site generator that’s specifically designed for technical documentation sets and has a lot of best practices built in. Use Docsy to get a working and reliable documentation site up and running fast, and then get back to focusing on great content for your users. Learn more about Docsy.

Releases

Another Great Release

A short lead description about this content page. Text here can also be bold or italic and can even be split over multiple paragraphs.

This is a placeholder page. For an example of the kind of content that can be added here, see the example page.

Welcome!

Welcome to the Docsy theme user guide! This guide shows you how to get started creating technical documentation sites using Docsy, including site customization and how to use Docsy’s blocks and templates.

What is Docsy?

Docsy is a theme for the Hugo static site generator that’s specifically designed for technical documentation sets and has a lot of best practices built in. Use Docsy to get a working and reliable documentation site up and running fast, and then get back to focusing on great content for your users. Learn more about Docsy.

技术文章

云影像、云胶片 DICOM 下载指南

什么是云影像和云胶片

云影像和云胶片是现代医疗影像服务的重要组成部分。随着医疗信息化的发展,传统的胶片正在逐步被数字化影像所替代。

云影像

云影像是指将医学影像数据存储在云端服务器上,患者和医生可以通过互联网随时随地访问和查看这些影像资料。这种方式具有以下优势:

  • 便捷性:无需携带实体胶片,通过手机或电脑即可查看
  • 安全性:云端存储提供多重备份,数据不易丢失
  • 共享性:方便不同医疗机构之间的影像资料共享
  • 环保性:减少胶片使用,降低环境污染

云胶片

云胶片是传统胶片的数字化替代品,通常以 DICOM 格式存储。它不仅包含了影像数据,还包含了患者的相关信息、检查参数等完整信息。

DICOM 格式简介

DICOM(Digital Imaging and Communications in Medicine)是医学影像领域的国际标准格式。它具有以下特点:

  • 标准化的医学影像存储格式
  • 包含丰富的元数据信息
  • 支持多种医学影像类型(CT、MRI、X光等)
  • 便于不同医疗系统之间的数据交换

云影像 DICOM 下载方法

方法一:通过医院提供的云平台下载

大多数医院都会提供专门的云影像平台,患者可以通过以下步骤下载 DICOM 文件:

  1. 登录平台:使用医院提供的账号和密码登录云影像平台
  2. 查找检查记录:在个人中心或检查记录中找到需要下载的影像
  3. 选择下载格式:通常提供 DICOM 原始文件和压缩包两种格式
  4. 执行下载:点击下载按钮,等待文件下载完成

方法二:通过第三方医学影像查看器下载

一些第三方医学影像软件也支持从云平台下载 DICOM 文件:

  • RadiAnt DICOM Viewer:支持从 PACS 服务器下载影像
  • Horos:开源的医学影像查看器,支持多种数据源
  • Weasis:基于 Web 的医学影像查看器

方法三:使用 API 接口下载

对于开发者,可以通过医院的 API 接口获取 DICOM 数据:

import requests

def download_dicom(api_url, access_token, study_id, save_path):
    headers = {
        'Authorization': f'Bearer {access_token}',
        'Content-Type': 'application/json'
    }
    
    params = {
        'studyId': study_id,
        'format': 'dicom'
    }
    
    response = requests.get(api_url, headers=headers, params=params)
    
    if response.status_code == 200:
        with open(save_path, 'wb') as f:
            f.write(response.content)
        print('DICOM 文件下载成功')
    else:
        print(f'下载失败: {response.status_code}')

# 使用示例
download_dicom(
    api_url='https://api.hospital.com/v1/studies/download',
    access_token='your_access_token',
    study_id='ST123456',
    save_path='medical_image.dcm'
)

DICOM 文件查看工具

下载 DICOM 文件后,需要使用专门的医学影像查看器来打开:

桌面端查看器

  1. RadiAnt DICOM Viewer(Windows)

    • 界面友好,操作简单
    • 支持多种影像处理功能
    • 免费试用,付费版功能更全
  2. Horos(macOS)

    • 完全免费开源
    • 功能强大,支持高级影像分析
    • 适合医学专业人士使用
  3. 3D Slicer(跨平台)

    • 支持三维重建
    • 适合科研和教学使用
    • 功能最为全面

移动端查看器

  1. RadiAnt Mobile(iOS/Android)
  2. DICOM Viewer(Android)
  3. Miele-LXIV(iOS)

注意事项

数据安全

  • 保护好登录凭证,避免账号被盗用
  • 下载后的 DICOM 文件应妥善保管,避免泄露患者隐私
  • 不要在公共网络环境下下载敏感医疗数据

文件管理

  • DICOM 文件通常较大,下载前确保有足够的存储空间
  • 建议按检查日期和类型对文件进行分类存储
  • 定期备份重要的医学影像数据

兼容性问题

  • 不同厂商的 DICOM 文件可能存在细微差异
  • 确保使用的查看器支持对应的 DICOM 版本
  • 遇到无法打开的文件时,联系医院技术支持

常见问题

Q1: 为什么下载的 DICOM 文件无法打开?

A: 可能的原因包括:

  • 文件下载不完整,尝试重新下载
  • 查看器版本过旧,更新到最新版本
  • 文件格式不兼容,尝试使用其他查看器

Q2: DICOM 文件能否转换为普通图片格式?

A: 可以。大多数医学影像查看器都支持将 DICOM 文件导出为 JPG、PNG 等常见图片格式。但需要注意,转换后的图片会丢失部分医学信息,仅用于查看,不能用于诊断。

Q3: 云影像数据保存多久?

A: 不同医院的政策不同,一般保存 3-15 年不等。建议及时下载重要的影像资料到本地保存。

Q4: 下载 DICOM 文件需要付费吗?

A: 大多数医院提供免费的云影像下载服务,但部分医院可能会对超过一定时间或次数的下载收取费用。具体请咨询医院相关部门。

总结

云影像和云胶片为患者和医生提供了便捷的医学影像访问方式。通过掌握 DICOM 文件的下载方法,患者可以更好地管理自己的健康档案,医生也能更高效地进行远程会诊和诊断。在使用过程中,要注意数据安全和隐私保护,合理利用这些数字化医疗资源。