Abstract
Abstract
Objective. Low-coupling seamless integration of multiple systems is the core foundation of smart radiotherapy. Following Service-Oriented Architecture style, a set of named operations (Eclipse Web Service API, EWSAPI) was developed for realizing network call of Eclipse. Approach. Under the guidance of Vertical Slice Architecture, EWSAPI was implemented in the C# language and based on ASP .Net Core 6.0. Each operation consists of three components: Request, Endpoint and Response. Depending on the function, the exchanged data for each operation, as input or output parameters, is the empty or a predefined JSON data. These operations were realized and enriched gradually, layer by layer, with reference to the clinical business classification. The business logic of each operation was developed and maintained independently. In situations where Eclipse Scripting API(ESAPI) was required, constraints of ESAPI were followed. Main results. Selected features of Eclipse TPS were encapsulated as standard web services, which can be invocated by other software through network. Several processes for data quality control and planning were encapsulated into interfaces, thereby extending the functionality of Eclipse. Currently, EWSAPI already covers testing of service interface, quality control of radiotherapy data, automation tasks for plan designing and DICOM RT files’ transmission. All the interfaces support asynchronous invocation. A separate Eclipse context will be created for each invocation, and is released in the end. Significance. EWSAPI which is a set of standard web services for calling Eclipse features through network is flexible and extensible. It is an efficient way to integration of Eclipse and other systems and will be gradually enriched with the deepening of clinical applications.
Funder
National Natural Science Foundation of China
National Key Research and Develop Program of China
Shenzhen Science and Technology Program
Shenzhen Engineering Laboratory for Diagnosis & Treatment key technologies of interventional surgical robots
Youth Fund of Sichuan Provincial People's Hospital