轉帖|使用教程|編輯:楊鵬連|2021-01-11 11:51:27.150|閱讀 218 次
概述:在本教程中,您將學會創建一個示例SQL數據庫并將其連接到LEAD醫療存儲服務器。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關鏈接:
LEADTOOLS Recognition Imaging SDK是精選的LEADTOOLS SDK功能集,旨在在企業級文檔自動化解決方案中構建端到端文檔成像應用程序,這些解決方案需要OCR,MICR,OMR,條形碼,表單識別和處理,PDF,打印捕獲 ,檔案,注釋和圖像查看功能。 這套功能強大的工具利用LEAD屢獲殊榮的圖像處理技術,智能識別可用于識別和提取任何類型的掃描或傳真形式圖像數據的文檔功能。
點擊下載LEADTOOLS Recognition Imaging SDK試用版
概述
LEAD Medical Storage Server可以配置為,使用特定的數據庫模式來存儲患者檢驗數據和實例信息。同時,也可以將LEAD Medical Storage Server配置為,使用具有不同架構的數據庫來存儲此信息。便是描述了實現上述目標的體系結構和必要步驟。在本教程中,您將學會創建一個示例SQL數據庫并將其連接到LEAD醫療存儲服務器。
“自定義數據庫”系列教程介紹
在本系列文章中,任何定義為允許數據庫與新模式交互的類都以“我”開頭。這包括覆蓋現有類的新類和類。
在內部,LEAD醫用存儲服務器使用System.Data.DataSet類作為應用程序和數據庫之間的接口。從數據庫讀取的任何數據都讀入System.Data.DataSet。同樣,寫入數據庫的任何數據首次存儲在System.Data.DataSet對象中,然后寫入數據庫。
本博客分為11個主題。前幾個主題描述了現有組件如何在替換模式下工作,如何修改行為以與其他數據庫一起工作,以及如何通過修改特定行為以使用教程示例數據庫。后面的主題是實際教程:它僅列出將存儲服務器連接到教程數據庫的具體步驟。最后一個主題介紹如何恢復LEAD醫療存儲服務器以使用替換的LEADTOOLS數據庫。
實施本教程后,建議閱讀系列其他文章以了解如何映射由LEADTOOLS數據訪問層使用的模式。
數據訪問層數據訪問層
Leadtools.Medical.Storage。數據訪問層組件包括允許用戶存儲,查詢和修改DICOM組合實例的類。
IStorageDataAccessAgent接口的存儲數據訪問代理。
public interface IStorageDataAccessAgent { DataSet QueryPatients( MatchingParameterCollection matchingEntitiesCollection ) ; DataSet QueryStudies ( MatchingParameterCollection matchingEntitiesCollection ) ; DataSet QuerySeries ( MatchingParameterCollection matchingEntitiesCollection ) ; DataSet QueryCompositeInstances ( MatchingParameterCollection matchingEntitiesCollection ) ; int MaxQueryResults {get; set;} bool QueryCompositeInstancesAsync ( MatchingParameterCollection matchingEntitiesCollection, QueryPageInfo queryPageInfo) ; void CancelQueryCompositeInstancesAsync(QueryCompositeInstancesArgs args); event EventHandler\<QueryCompositeInstancesArgs\>QueryCompositeInstancesStarting; event EventHandler \<QueryCompositeInstancesArgs\>QueryCompositeInstancesCompleted; int FindPatientsCount ( MatchingParameterCollection matchingEntitiesCollection ) ; int FindStudiesCount ( MatchingParameterCollection matchingEntitiesCollection ) ; int FindSeriesCount ( MatchingParameterCollection matchingEntitiesCollection ) ; int FindCompositeInstancesCount ( MatchingParameterCollection matchingEntitiesCollection ) ; bool IsPatientsExists ( string patientID ) ; bool IsStudyExists ( string studyInstanceUID ) ; bool IsSeriesExists ( string seriesInstanceUID ) ; bool IsCompositeInstancesExists ( string sopInstanceUID ) ; void UpdateCompositeInstance ( CompositeInstanceDataSet compositeInstanceDataSet ) ; void StoreDicom ( DicomDataSet dataSet, string referencedFileName, string retrieveAe, ReferencedImages[] images, bool updateExistentPatient, bool updateExistentStudy, bool updateExistentSeries, bool updateExistentInstances ) ; int DeletePatient ( MatchingParameterCollection matchingEntitiesCollection ) ; int DeleteStudy ( MatchingParameterCollection matchingEntitiesCollection ) ; int DeleteSeries ( MatchingParameterCollection matchingEntitiesCollection ) ; int DeleteInstance ( MatchingParameterCollection matchingEntitiesCollection ) ; }在將示例數據庫連接到LEAD服務器存儲教程中,您可創建并實現IStorageDataAccessAgent接口的MyStorageSqlDbDataAccessAgent。由于本教程將使用的SQL Server 2008作為數據庫引擎,我們的MyStorageSqlDbDataAccessAgent類將直接從現有的StorageSqlDbDataAccessAgent類派生(它實現IStorageDataAccessAgent),和僅準備覆蓋SQL查詢的方法。如果您不想使用基于SQL的數據庫引擎,則您的存儲數據訪問代理直接實現IStorageDataAccessAgent成員即可。
了解更多
這是本系列的第一篇文章,此處介紹了數據訪問層數據訪問層的基本概念,我們將在《LEAD醫療存儲服務器自定義數據庫系列教程–數據庫》系列的第二篇文章中,著重介紹LEAD醫用存儲服務器數據庫的基本概念。
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自: