dicomConnection
Description
Healthcare organizations use the picture archiving and communication system (PACS)
for secure storage and transmission of digital medical images and clinical reports. The PACS
server stores medical data in the Digital Imaging and Communications in Medicine (DICOM)
format. You can establish a connection with a PACS server by creating a
dicomConnection
object. Further, you can test the connection with the
PACS server, and conveniently store, query, and get DICOM data from the server, using the
functions associated with the dicomConnection
object. The algorithms for
the dicomConnection
object and its related functions are based on the DICOM
Toolkit (DCMTK).
Creation
Syntax
Description
establishes a secure Transport Layer Security (TLS) connection with the PACS server host
dConn
= dicomConnection(peerName
,portNum
,key
,certificate
,trustedCertificate
)peerName
through the port portNum
using the
specified TLS key, TLS certificate, and the PACS trusted certificate, and returns a
dicomConnection
object, dConn
, with the details
of the connection. The peerName
, portNum
,
key
, certificate
, and
trustedCertificate
arguments set the PeerName,
PortNum,
Key,
Certificate,
and TrustedCertificate properties, respectively.
establishes a non-TLS connection with the PACS server.dConn
= dicomConnection(peerName
,portNum
,EnableTLS
=false)
sets the properties of the dConn
= dicomConnection(___,Name=Value
)dicomConnection
object using one or more
name-value arguments, in addition to any combination of input arguments from previous
syntaxes. For example, ConnectionTimeOut=30
limits the time out period
for a connection request to 30 seconds.
Properties
Object Functions
testConnection | Test connection with PACS server |
dicomstore | Store DICOM files to PACS server |
dicomquery | Query PACS server for DICOM metadata |
dicomget | Retrieve DICOM files from PACS server |
Examples
Version History
Introduced in R2024b