Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkDICOMweb.h>
Public Types | |
typedef web::http::uri_builder | MitkUriBuilder |
typedef web::http::http_request | MitkRequest |
typedef web::http::http_response | MitkResponse |
typedef web::http::methods | MitkRESTMethods |
Public Member Functions | |
DICOMweb () | |
DICOMweb (utility::string_t baseURI) | |
Creates a DICOMweb service instance which allow basic DICOM operations on the given base URI. More... | |
pplx::task< void > | SendSTOW (utility::string_t filePath, utility::string_t studyUID) |
Sends a STOW request with the file in the given path to the study given bei its UID. More... | |
pplx::task< void > | SendWADO (utility::string_t filePath, utility::string_t studyUID, utility::string_t seriesUID, utility::string_t instanceUID) |
Sends a WADO request for an DICOM object instance matching the given uid parameters and stores it at the given file path. More... | |
pplx::task< std::string > | SendWADO (utility::string_t folderPath, utility::string_t studyUID, utility::string_t seriesUID) |
Sends a WADO request for an DICOM object series matching the given uid parameters and stores all the containing instances at the given folder path. More... | |
pplx::task< web::json::value > | SendQIDO (mitk::RESTUtil::ParamMap map) |
Sends a QIDO request containing the given parameters to filter the query. More... | |
Definition at line 39 of file mitkDICOMweb.h.
Definition at line 43 of file mitkDICOMweb.h.
Definition at line 44 of file mitkDICOMweb.h.
Definition at line 45 of file mitkDICOMweb.h.
typedef web::http::uri_builder mitk::DICOMweb::MitkUriBuilder |
Definition at line 42 of file mitkDICOMweb.h.
mitk::DICOMweb::DICOMweb | ( | ) |
Definition at line 15 of file mitkDICOMweb.cpp.
mitk::DICOMweb::DICOMweb | ( | utility::string_t | baseURI | ) |
Creates a DICOMweb service instance which allow basic DICOM operations on the given base URI.
baseURI | the uri for the PACS server: for example a dcm4chee http://<ip:port>/dcm4chee-arc/aets/DCM4CHEE/ |
Definition at line 17 of file mitkDICOMweb.cpp.
References mitk::RESTUtil::convertToUtf8(), and MITK_INFO.
pplx::task< web::json::value > mitk::DICOMweb::SendQIDO | ( | mitk::RESTUtil::ParamMap | map | ) |
Sends a QIDO request containing the given parameters to filter the query.
Example Map: mitk::RESTUtil::ParamMap seriesInstancesParams; seriesInstancesParams.insert(mitk::RESTUtil::ParamMap::value_type(U("limit"), U("1")));
map | the map of parameters to filter the query |
Definition at line 196 of file mitkDICOMweb.cpp.
References mitk::IRESTManager::Get, us::GetModuleContext(), and mitk::IRESTManager::SendJSONRequest().
Referenced by SendWADO().
pplx::task< void > mitk::DICOMweb::SendSTOW | ( | utility::string_t | filePath, |
utility::string_t | studyUID | ||
) |
Sends a STOW request with the file in the given path to the study given bei its UID.
filePath | the path to a valid DICOM file which should be send |
studyUID | the DICOM study uid |
the | task to wait for |
Definition at line 56 of file mitkDICOMweb.cpp.
References mitk::RESTUtil::convertToUtf8(), MITK_INFO, MITK_WARN, mitk::IRESTManager::Post, and mitk::IRESTManager::SendBinaryRequest().
pplx::task< void > mitk::DICOMweb::SendWADO | ( | utility::string_t | filePath, |
utility::string_t | studyUID, | ||
utility::string_t | seriesUID, | ||
utility::string_t | instanceUID | ||
) |
Sends a WADO request for an DICOM object instance matching the given uid parameters and stores it at the given file path.
filePath | the path at which the retrieved DICOM object instance will be stored |
studyUID | the DICOM study uid |
seriesUID | the DICOM series uid |
instanceUID | the DICOM instance uid |
Definition at line 118 of file mitkDICOMweb.cpp.
References mitk::IRESTManager::Get, mitkThrow, and mitk::IRESTManager::SendJSONRequest().
Referenced by SendWADO().
pplx::task< std::string > mitk::DICOMweb::SendWADO | ( | utility::string_t | folderPath, |
utility::string_t | studyUID, | ||
utility::string_t | seriesUID | ||
) |
Sends a WADO request for an DICOM object series matching the given uid parameters and stores all the containing instances at the given folder path.
folderPath | the path at which the retrieved DICOM object instances of the retrieved series will be stored |
studyUID | the DICOM study uid |
seriesUID | the DICOM series uid |
Definition at line 137 of file mitkDICOMweb.cpp.
References MITK_ERROR, mitkThrow, SendQIDO(), and SendWADO().