上海交通大学硕士学位论文基于SOA的数字化医院心电图设备集成技术研究姓名:苏英申请学位级别:硕士专业:软件工程指导教师:饶若楠20090112SOAISOACase-by-caseCase-by-caseSOASOA12,SOASOAIISTUDYONTHEINTEGRATIONOFECGSDEVICESINDIGITALHOSPITALBASEDONSERVICEORIENTEDARCHITECTUREABSTRACTDigitalisanimportanttoolforhospital,anditcanimproveservicesandbenefit,Optimizemanagementpatternandworkflow.Asthedegreeofdigitalinformationdeepsandtherequirementofmedicaldatasharingincreases,theintegrationofmedicaldevicesandinformationsystemsgraduallybecamepopularindigitaltreatment.Digitalhospitalinvolvestheintegrationandshareofamountsofmedicaldata.Forthedeviceintegration,nowthegeneralsolutioniscase-by-caseaccessorsmall-scaleinteroperationbysystemintegratororprovideraccordingtothedetailedrequirement,thissolutionresultsinInformationIslandsandinfluencesthedepthandextentofinformationsharing.Fortheinformationsystemintegration,thestandardizationofinformationsysteminmanyhospitalsfallbehindanditmakestheeffectiveintegrationbetweensystemsbecomeimpossible.Electrocardiogram(ECG)isoneofthethreeroutineexaminationsinhospital.BecauseofthecomplexECGinformation,coveringallECGinformationisalmostimpossible.Moreover,informationsystemsaredividedverticalbytheirfunctionindepartments.ECGdevicesapplyinmanydepartment,anditmaybeneedtointegratewithdifferentinformationsystems.Eventhesameinformationmaybeexpressedbydifferentformats.Nowtherearemanystandardsofelectrocardiogramdataformatanditisagreatdisadvantagetotheintegrationandshare.BasedonthedeepresearchofaMedicalDeviceIntegrationFrameworkbasedofSOAandanalysisofrequirementofECGdevices,thispaperfirstproposeasolutionabouttheintegrationofECGdevicesinthatframework.Wetakethe12leadsECGdevicesasavirtualdevice,designhowitworks.Virtualdevicescanshieldthecomplexityofphysicaldevicesandimproveefficiencyofdevicesintegratinginthedigitalhospital.ThispaperalsoSOAIIIimplementsdesignadatagatewaywhichimplementanykindofmutualconversionofSCP-ECG,FDAXMLECGandDICOMECG.Atlast,thispapergivesanapplicationofECGdatagatewayintheexperimentalsystemofcoreplatformofdigitalhospital,andreceivedafavorablefeedback.KEYWORDSDigitalhospital,ECG,DataGateway,SOA20092252009225200922511.12-3Point-of-carePOCHL7DICOMHISHospitalInformationSystemRISPACS2,[1],[2][3]ECGECGECGECG[4][5],12121231.2POCCase-by-caseCase-by-case(IntegratingthehealthcareEnterpriseIHE)IHEIHE(technicalframework)WebWebOpenECG[6]SCP-ECGDICOMECGWebservice2006OpenECGSCP-ECGFDA/HL7XMLECG[7]GeneralDataFormatforbiomedicalsignalsGDFSCP-ECGFDAXMLECGDICOMSOA41.3SOA,,1.4SOA1SOA2SCP-ECGHL7DICOM3SCP-ECGFDAXMLECGDICOMECG4FDAXMLECGSCP-ECGDICOM5SOA1.5WebOSGi5SOASOA-62.12.1.1e-Hospital[8][9]7[10](1)XML(2)(3)1987HL7HealthLevel7HL7(IntegratingtheHealthcareEnterpriseIHE)Enterprise8ApplicationIntegrationEAIServiceOrientedArchitectureSOA2.1.2IHEIHEIntegratingtheHealthcareEnterprise(RSNA)(HIMSS)1998IHE,DICOMHL7IHEDICOMHL7HL7HIS/RISPACSHISRISHL7HISRISHISPACS[11]HISRISHL7PACSHISDICOM/HL7PACSHISDICOMHL7HISPACSRISIHEIHEHL7DICOMIHEIHEIHEDICOMHL7IHE92.1.3EAI(EnterpriseapplicationintegrationEAI)EAIERPCRMSCMEAIInternetEAIEAIN(N-1)*NN*2EAIBizTalkServerIBMWebSpereWebLogicSeeBeyond/EAIEAIEAI[12]2.1.4SOASOASOASOASOA10SOA2.22.2.1SOASOAservice-orientedarchitectureInternetSOASOAXMLWSDLWebServicesDescriptionLanguageWebSOAXMLSchemaXSDXMLSchemaDefinitionSOAInternetSOA(Transaction)(MessageQueue)(RedundantDeployment)(Cluster)SOA2.2.2SOASOASOA(1eaveand1ayer)WebSOASOASOA11(1)(2)XMLWebServices(3)(4)(5)2.2.3WebSOAWebSOAWebInternetIntranetXMLWeb[12]Web2-1122-1WebFig.2-1ThearchitectureofWebservices1SimpleObjectAccessProtocolSOAPXMLSOAPXMLHTTPHTTPInternet2WebWebServiceDescriptionLanguageWSDL)XMLWebSOAP3(UniversalDiscovery,Description,IntegrationUDDI)UDDIWebUDDIWebSOAWeb(XML/SOAP/WSDLWebSOAWebAxisApacheExtensibleInteractionSystemApacheSOAPWebSOAP13AxisWebJBuilderEclipseJ2EELomboz2.2.4OSGiOSGi[13]OpenServiceGatewayInitiative,OSGi2-2OSGi2-2OSGiFig.2-2OSGiFrameworkOSGiJavaJavaJava2J2SECDCCLDCMIDPOSGiOSGiOSGiJavaHTTPOSGiBundleJavabundleBundleMANIFEST.MFBundleJARBundleOSGiJavaBundlesSOA14WebWebOSGiOSGiOSGiOSGiOSGiHTTPXMLOSGiOSGiOSGi2.32.3.1ElectrocardiogramECGEinthovenECT64CTIaVRaVLaVFV1V615IaVRaVLaVFV1V6VLAVRAVLLI=VLA-VRA2-1=VLL-VRA2-2=VLL-VLA2-3=I+aVRaVLaVFaVR=-(I+)/22-4aVL=(+)/22-5aVF=(I-)/22-6aVRaVLaVFI2.3.2SCP-ECG1989AIM1015StandardCommunicationsProtocolforComputer-AssistedElectrocardiographySCP-ECG[14]6SCP-ECGCENTC251CEN/TC251prENV10641.0199329SCP-ECGECG10sECGECGECGSCP-ECGSCP-ECGSCP-ECG24SCP-ECG[15]16SCP-ECGSCP-ECG[16]OpenECGSCP-ECGSCP-ECGSCP-ECGSCP-ECGSCP-ECGSCP-ECG[17]SCP-ECG6SCP-ECG2-32-3SCP-ECGFig.2-3ThestructureofSCP-ECGrecord(1)2CRC4(CRC)CRCCCITTCRC176(2)SCP-ECGID162-42-4SCP-ECGFig.2-4thestructureofSCP-ECGsectionIDID011SCPECG012-11012ID12~1271024ID128~1023SCP-ECG011~16SCPECGASCIIECGSCP-ECG0~11()IDSCP-ECG0NULL02-52-50Fig.2-5thestructureofdatapartofsection0181135IDID2SCP-ECG3SCP-ECGSCP-ECG5578102.3.3XMLECG-FDAXMLECG(1)XMLWorldWideWebConsortium,W3C1996ExtensibleMarkupLanguageXML[18]1998XML1.0XMLXMLXMLXML19XMLXMLXMLXMLXMLXMLXMLXPathXQueryXML(2)HL7XMLECGHealthLevelSevenHL7AmericanNationalStandardsInstit