The database that ships with the LEAD Medical Storage Server uses over 30 different tables to store all types of data, including configuration, logging, users, passwords, client communication information (application entities), options, presentation states, and so on. This tutorial focuses on patient, study, series, and instance data (i.e. “medical data”.).
The shipping database uses the following tables to store the medical data:
OtherPatientNames
Study
ProcedureCodeSequence
Series
ReferencedPerformedProcedureStepSequence
Instance
PresentationInstance
ReferencedPatientSequence
For the sample database tutorial, we define a much simpler database schema with four tables:
It is logical to have a schema that contains at least these four tables, since there is a one-to-many relationship between patient, study, series, and instance data:
Note that this basic structure is logical, but not required. If you choose to do so, you could have a single table containing all the information.
Below is a graphical representation of the sample schema used in this tutorial:
The shipping database schema uses the following primary keys:
Table |
Primary Key |
Patient |
PatientID |
Study |
StudyInstanceUID |
Series |
SeriesInstanceUID |
Instance |
SOPInstanceUID |
For the tutorial schema, the primary key of each table will be an identity key that is automatically created for each record. For example, the first patient record that is added to table MyPatientTable will have the primary key PatientId automatically generated, and will have a value of ‘1’. The next patient record added will have a PatientId of ‘2’ automatically generated. The same holds for MyStudyTable and the primary key StudyId, MySeriesTable and SeriesId, and MyInstanceTable and ImageId.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document