140 likes | 322 Views
DVTk – DICOM External Validation Service (EVS) Web Service. Rick Busbridge Agfa Healthcare. DVTk – External Validation Service. Cooperation with Gazelle to provide a generic web service interface to External Validation Service providers. 5 Web Service methods defined for easy use.
E N D
DVTk – DICOM External Validation Service (EVS) Web Service Rick Busbridge Agfa Healthcare
DVTk – External Validation Service • Cooperation with Gazelle to provide a generic web service interface to External Validation Service providers. • 5 Web Service methods defined for easy use. • DVTk DICOM Validation service as Web Service. • Validation of DICOM objects – DCM files, Datasets and Commands. • Overview, Summary and Detailed results.
DVTk DICOM EVS Web Service Internet
EVS Web Service Methods 1) String (xmlResultsOverview) Validate(String oid, String xmlReferencedStandard, String xmlValidationContext, String xmlObjectMetaData, Byte[ ] binaryObjectData) Arguments: oid: Unique object identifier (GUID / UID) xmlReferencedStandard: <?xml version="1.0"?> <ReferencedStandard> <StandardName>DICOM</StandardName> <StandardVersion>3.0 2007</StandardVersion> </ReferencedStandard>
xmlValidationContext: <?xml version="1.0"?> <ValidationContext> <GenerateSummaryResults>true</GenerateSummaryResults> <GenerateDetailedResults>true</GenerateDetailedResults> <EvsSpecificContext></EvsSpecificContext> </ValidationContext> xmlObjectMetaData: <?xml version="1.0"?> <ObjectMetaData> <EvsSpecificMetaData> <DicomBinaryObjectDataType>MediaFile | CommandSet | DataSet</DicomBinaryObjectDataType> <DicomSopClassUid>1.2.840.10008.5.1.4.1.1.7</DicomSopClassUid> <DicomSopInstanceUid>1.2.3.4</DicomSopInstanceUid> <DicomTransferSyntaxUid>1.2.840.10008.1.2</DicomTransferSyntaxUid> </EvsSpecificMetaData> </ObjectMetaData> binaryObjectData: Byte stream representation of the DICOM object to validate
Returned value: ValidationResultsOverview: <?xml version="1.0" ?> <ValidationResultsOverview> <Oid>1.23.456.7890</Oid> <ReferencedStandard> <!-- See ReferencedStandard definition --> </ReferencedStandard> <ValidationServiceName>Validation Service X</ValidationServiceName> <ValidationServiceVersion>3.1</ValidationServiceVersion> <ValidationServiceStatus> <!-- See ValidationServiceStatus definition --> </ValidationServiceStatus> <ValidationDate>20070816</ValidationDate> <ValidationTime>130500</ValidationTime> <ValidationTestId>Test 1.2</ValidationTestId> <ValidationTest>PASSED</ValidationTest> </ValidationResultsOverview>
EVS Web Service Methods 2) String (xmlSummaryResults) GetSummaryResults(String oid) 3) String (xmlDetailedResults) GetDetailedResults(String oid) Argument: oid: Unique object identifier (GUID / UID)
Returned value: Summary / Detailed Results: <?xml version="1.0" ?> <DetailedResults> <ValidationResultsOverview> <!-- See ValidationResultsOverview definition --> </ValidationResultsOverview> <ValidationResults> <!-- See ValidationResults definition --> </ValidationResults> <ValidationCounters> <!-- See ValidationCounters definition --> </ValidationCounters> </DetailedResults>
4) Void ClearResultsCache() 5) String (xmlValidationServiceStatus) GetValidationServiceStatus() Returned value: EVS Web Service Methods <?xml version="1.0"> <ValidationServiceStatus> <Status>OK</Status> <AdditionalStatusInfo /> </ValidationServiceStatus>
Client development • .Net language or Java clients can be developed. • WSDL defines contract between Server and Client – WSDL can be used to generate client-side wrapper code for the validation service methods. Web Service Hosting • Still under discussion but maybe at www.dvtk.org