轉(zhuǎn)帖|使用教程|編輯:楊鵬連|2021-01-11 11:51:27.150|閱讀 218 次
概述:在本教程中,您將學(xué)會(huì)創(chuàng)建一個(gè)示例SQL數(shù)據(jù)庫(kù)并將其連接到LEAD醫(yī)療存儲(chǔ)服務(wù)器。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門(mén)軟控件火熱銷售中 >>
相關(guān)鏈接:
LEADTOOLS Recognition Imaging SDK是精選的LEADTOOLS SDK功能集,旨在在企業(yè)級(jí)文檔自動(dòng)化解決方案中構(gòu)建端到端文檔成像應(yīng)用程序,這些解決方案需要OCR,MICR,OMR,條形碼,表單識(shí)別和處理,PDF,打印捕獲 ,檔案,注釋和圖像查看功能。 這套功能強(qiáng)大的工具利用LEAD屢獲殊榮的圖像處理技術(shù),智能識(shí)別可用于識(shí)別和提取任何類型的掃描或傳真形式圖像數(shù)據(jù)的文檔功能。
點(diǎn)擊下載LEADTOOLS Recognition Imaging SDK試用版
概述
LEAD Medical Storage Server可以配置為,使用特定的數(shù)據(jù)庫(kù)模式來(lái)存儲(chǔ)患者檢驗(yàn)數(shù)據(jù)和實(shí)例信息。同時(shí),也可以將LEAD Medical Storage Server配置為,使用具有不同架構(gòu)的數(shù)據(jù)庫(kù)來(lái)存儲(chǔ)此信息。便是描述了實(shí)現(xiàn)上述目標(biāo)的體系結(jié)構(gòu)和必要步驟。在本教程中,您將學(xué)會(huì)創(chuàng)建一個(gè)示例SQL數(shù)據(jù)庫(kù)并將其連接到LEAD醫(yī)療存儲(chǔ)服務(wù)器。
“自定義數(shù)據(jù)庫(kù)”系列教程介紹
在本系列文章中,任何定義為允許數(shù)據(jù)庫(kù)與新模式交互的類都以“我”開(kāi)頭。這包括覆蓋現(xiàn)有類的新類和類。
在內(nèi)部,LEAD醫(yī)用存儲(chǔ)服務(wù)器使用System.Data.DataSet類作為應(yīng)用程序和數(shù)據(jù)庫(kù)之間的接口。從數(shù)據(jù)庫(kù)讀取的任何數(shù)據(jù)都讀入System.Data.DataSet。同樣,寫(xiě)入數(shù)據(jù)庫(kù)的任何數(shù)據(jù)首次存儲(chǔ)在System.Data.DataSet對(duì)象中,然后寫(xiě)入數(shù)據(jù)庫(kù)。
本博客分為11個(gè)主題。前幾個(gè)主題描述了現(xiàn)有組件如何在替換模式下工作,如何修改行為以與其他數(shù)據(jù)庫(kù)一起工作,以及如何通過(guò)修改特定行為以使用教程示例數(shù)據(jù)庫(kù)。后面的主題是實(shí)際教程:它僅列出將存儲(chǔ)服務(wù)器連接到教程數(shù)據(jù)庫(kù)的具體步驟。最后一個(gè)主題介紹如何恢復(fù)LEAD醫(yī)療存儲(chǔ)服務(wù)器以使用替換的LEADTOOLS數(shù)據(jù)庫(kù)。
實(shí)施本教程后,建議閱讀系列其他文章以了解如何映射由LEADTOOLS數(shù)據(jù)訪問(wèn)層使用的模式。
數(shù)據(jù)訪問(wèn)層數(shù)據(jù)訪問(wèn)層
Leadtools.Medical.Storage。數(shù)據(jù)訪問(wèn)層組件包括允許用戶存儲(chǔ),查詢和修改DICOM組合實(shí)例的類。
IStorageDataAccessAgent接口的存儲(chǔ)數(shù)據(jù)訪問(wèn)代理。
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 ) ; }在將示例數(shù)據(jù)庫(kù)連接到LEAD服務(wù)器存儲(chǔ)教程中,您可創(chuàng)建并實(shí)現(xiàn)IStorageDataAccessAgent接口的MyStorageSqlDbDataAccessAgent。由于本教程將使用的SQL Server 2008作為數(shù)據(jù)庫(kù)引擎,我們的MyStorageSqlDbDataAccessAgent類將直接從現(xiàn)有的StorageSqlDbDataAccessAgent類派生(它實(shí)現(xiàn)IStorageDataAccessAgent),和僅準(zhǔn)備覆蓋SQL查詢的方法。如果您不想使用基于SQL的數(shù)據(jù)庫(kù)引擎,則您的存儲(chǔ)數(shù)據(jù)訪問(wèn)代理直接實(shí)現(xiàn)IStorageDataAccessAgent成員即可。
了解更多
這是本系列的第一篇文章,此處介紹了數(shù)據(jù)訪問(wèn)層數(shù)據(jù)訪問(wèn)層的基本概念,我們將在《LEAD醫(yī)療存儲(chǔ)服務(wù)器自定義數(shù)據(jù)庫(kù)系列教程–數(shù)據(jù)庫(kù)》系列的第二篇文章中,著重介紹LEAD醫(yī)用存儲(chǔ)服務(wù)器數(shù)據(jù)庫(kù)的基本概念。
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自: