arlin2050/dcmph

php接口,用于offis的dcmtk

dev-master 2015-06-09 07:52 UTC

This package is not auto-updated.

Last update: 2024-09-28 17:43:50 UTC


README

findscu的库/wrapper

我能用它做什么?

可以使用这些库从PACS检索信息。您可以阅读tests/simple_test.php以查看从您的PACS访问数据有多容易。只是一个例子

use HalSoft\DcmPh\Query\PatientQuery;
use HalSoft\DcmPh\Query\StudyQuery;

$called_aet = "TESTSERVER";
$pacs_ip = "www.dicomserver.co.uk";
$pacs_port = 104;
$calling_aet = "LOCALAET";

//Create a new patient query
$pq = new PatientQuery($called_aet, $pacs_ip, $pacs_port, $calling_aet);
//Find all patients who's name's like JOHN^
$patients = $pq->findPatientsByName('JOHN^');

//Create a new study query
$stq = new StudyQuery($called_aet, $pacs_ip, $pacs_port, $calling_aet);
//Find all studies for the patient whose id is 2222.2222
$studies = $stq->findStudiesByPatientId('2222.2222');

这样,可以轻松检索检索wado对象所需的信息

  • studyUID(研究实例UID)
  • seriesUID(系列实例UID)
  • objectUID(SOP实例UID)

免责声明

这个库真的处于早期阶段。请小心处理!

如果您想使用它,您必须拥有来自http://dicom.offis.de/的findscu和dcm2xml,并在您的路径中可用。

库必须具有写入权限(以保存dcm文件)。

待办事项

该库使用dcm2xml和simple-xml来读取dicom文件。

我认为在不久的将来,它将使用(nanodicom)[https://github.com/nanodocumet/Nanodicom]来读取dicom文件。但我对两个原因不确定

  • 最后一次提交已经有一年了
  • nanodicom相当完整,它使用了一个巨大且完整的Dicom字典,而我更喜欢保持DcmPh...更轻量

许可证

本库采用MIT许可证。