+ All Categories
Home > Education > VRE Cancer Imaging BL RIC Workshop 22032011

VRE Cancer Imaging BL RIC Workshop 22032011

Date post: 04-Dec-2014
Category:
Upload: djmichael156
View: 463 times
Download: 0 times
Share this document with a friend
Description:
 
39
1 British Library – RIC Workshop 22 March 2011 A Virtual Research Environment for Cancer Imaging (VRE-CI)
Transcript
Page 1: VRE Cancer Imaging BL RIC Workshop 22032011

1

British Library – RIC Workshop22 March 2011

A Virtual Research Environment for Cancer Imaging (VRE-CI)

Page 2: VRE Cancer Imaging BL RIC Workshop 22032011

2

Outline

• VRE-CI Project

• Manage Image Metadata

• Using Business Connectivity Services (BCS)

• Building the VRE-CI Site Template

Page 3: VRE Cancer Imaging BL RIC Workshop 22032011

3

A Virtual Research Environment for Cancer Imaging (VRE-CI)

• VRE-CI project is funded by the Joint Information Systems Committee (JISC) to provide a framework to allow researchers and clinicians involved in Cancer Imaging to share information, images and algorithms.

JISC VRE frameworks phase 3. 22 months 01/05/2009 – 21/02/2011. Project Partner: Microsoft Research

Lee DirksAlex WadeRoger Barga

Team members: PI. Prof. Anne E. Trefethen Co-I. Dr. Vicente Grau Project Manager Dr. M. Susana Avila-Garcia. Technical developers: Xin Xiong, Charles Crichton and Andrew Tsui.

Page 4: VRE Cancer Imaging BL RIC Workshop 22032011

4

VRE-CI

VRE Toolkit for SP2010

Page 5: VRE Cancer Imaging BL RIC Workshop 22032011

5

DICOM Image Viewer

Page 6: VRE Cancer Imaging BL RIC Workshop 22032011

6

Manage Image Metadata

• All of the images in the document set share the common metadata

Page 7: VRE Cancer Imaging BL RIC Workshop 22032011

7

Manage Image Metadata

• These fields are the Managed Terms which can be modified by users

Page 8: VRE Cancer Imaging BL RIC Workshop 22032011

8

Manage Image Metadata

• Managed Terms is stored in the Taxonomy Term Store in the Managed Metadata Service

Page 9: VRE Cancer Imaging BL RIC Workshop 22032011

9

The Image Metadata can be used for...

• Filtering images

Page 10: VRE Cancer Imaging BL RIC Workshop 22032011

10

The Image Metadata can be used for...

• Grouping images

Page 11: VRE Cancer Imaging BL RIC Workshop 22032011

11

The Image Metadata can be used for...

• Searching images

Page 12: VRE Cancer Imaging BL RIC Workshop 22032011

12

The Image Metadata can be used for...

• Searching Results

Page 13: VRE Cancer Imaging BL RIC Workshop 22032011

13

Exposing external data using Business Connectivity Services (BCS)

• Improved Business Data Catalog (BDC) in MOSS 2007

• BCS Architecture

• Rely on External Content Types & External Lists

• Options to create BCS solution: SharePoint Designer 2010 & Visual Studio 2010

Image Source: http://msdn.microsoft.com/en-us/magazine/ee819133.aspx

Page 14: VRE Cancer Imaging BL RIC Workshop 22032011

14

SharePoint Designer 2010 BCS Solution to Access Trident Registry

Add a new External Content Type

Page 15: VRE Cancer Imaging BL RIC Workshop 22032011

15

Connection to Trident SQL Server

Page 16: VRE Cancer Imaging BL RIC Workshop 22032011

16

Create Operations on “Activity” table

Page 17: VRE Cancer Imaging BL RIC Workshop 22032011

17

Create Filter Parameters

Page 18: VRE Cancer Imaging BL RIC Workshop 22032011

18

Create External List

Page 19: VRE Cancer Imaging BL RIC Workshop 22032011

19

Retrieve Trident Registry Information

• Trident Workflow Information

Page 20: VRE Cancer Imaging BL RIC Workshop 22032011

20

Visual Studio 2010 BCS Solution to Access Remote Image Metadata

• User Case:

– Unix file storing system in ROB

– Large volume of files

– Raw data containing no or less meaningful metadata

– Using a specific folder structure to indicate the image metadata e.g. Technology, Image Acquisition

Machine, Group Head, Users.

– Allow SSH to the file server

Page 21: VRE Cancer Imaging BL RIC Workshop 22032011

21

Folder Structure Example

tomography

Systems

Inveon MRI47

Data

RM1

SF1

RM1_SF1_SF36_420

20100223_static_VCAM_tumour_M1_5hpi

Data

RM1

SF1

RM1_SF1_SF36_420

20100223180102_01

Page 22: VRE Cancer Imaging BL RIC Workshop 22032011

22

Image Metadata Retrieved:

• Technology: Tomography

• Image Acquisition Machines: Inveon; MRI47

• Group Head: RM1

• User: SF1

• Study Name\Number: RM1_SF1_SF36_420

• DataSet Name: 20100223_static_VCAM_tumour_M1_5hpi; 20100223180102_01

Page 23: VRE Cancer Imaging BL RIC Workshop 22032011

23

Solution

– Shell script to populate the image metadata XML

– Use SSH to transfer the image metadata XML to the SharePoint Server

– Apply Business Data Connectivity Services to connect SharePoint to the external image metadata XML

– Navigating and searching the image metadata within SharePoint

Page 24: VRE Cancer Imaging BL RIC Workshop 22032011

24

Business Data Connectivity Model template

Page 25: VRE Cancer Imaging BL RIC Workshop 22032011

25

Edit TypeDescriptor Xml

Page 26: VRE Cancer Imaging BL RIC Workshop 22032011

26

Implement ReadItem & ReadList Methods in the service class

Page 27: VRE Cancer Imaging BL RIC Workshop 22032011

27

New External Content Type Created in BDC Service

Page 28: VRE Cancer Imaging BL RIC Workshop 22032011

28

Create External List

Page 29: VRE Cancer Imaging BL RIC Workshop 22032011

29

ROB Image List in SharePoint

Page 30: VRE Cancer Imaging BL RIC Workshop 22032011

30

Aims

• A reusable site definition for SharePoint to manage cancer related DICOM files.

• Make visible the metadata from inside the DICOM files within SharePoint. Especially within Search.

• Enable areas of the DICOM files to be marked for subsequent analysis.

• To link with Trident for subsequent analysis

Page 31: VRE Cancer Imaging BL RIC Workshop 22032011

31

Visual Studio 2010

• XML, C#, SharePoint APIs, Silverlight APIs

• The definition is built using Visual Studio

Page 32: VRE Cancer Imaging BL RIC Workshop 22032011

32

Creating a new site from a site definition

Page 33: VRE Cancer Imaging BL RIC Workshop 22032011

33

Site provisioning

• SharePoint ‘provisions’ a new site from a site definition.

• This requires the site definition to have to perform various actions – in the right order:

1. Global onet.xml

This file defines list templates for hidden lists, list base types, a default definition

configuration, and modules that apply globally to the deployment.

2. SPSite scoped features defined in site definitions onet.xml, in the order they are defined in

the file.

The onet.xml file defined in the site definition can define navigational areas, list templates,

document templates, configurations, modules, components, and server e-mail footers used in

the site definition to which it corresponds.

3. SPSite scoped stapled features, in quasi random order

4. SPWeb scoped features defined in onet.xml, in the order they are defined in the file.

5. SPWeb scoped stapled features, in quasi random order

6. List instances defined in onet.xml

7. Modules defined in onet.xml

[Source: Site Configurator v2: User Guide for Developers]

• This is frustratingly easy to get wrong!

Page 34: VRE Cancer Imaging BL RIC Workshop 22032011

34

Site Configurator

• To help build the definition we used the SharePoint Site Configurator Feature

– http://spsiteconfigurator.codeplex.com/ (January 2011)

• This enabled simpler ‘provisioning’

Page 35: VRE Cancer Imaging BL RIC Workshop 22032011

35

Useful techniques: mapping folders

Page 36: VRE Cancer Imaging BL RIC Workshop 22032011

36

Issues with document library names

• Site Configurator does not deal correctly with spaces in document library names for provisioning. Best to avoid spaces.

• Thicket folders: folders ending in ‘_Files’ and a host of other similar names are hidden/renamed by SharePoint. See KB905231.

– This ‘feature’ directly interacts with the DeepZoom technology, which uses ‘_files’ as a suffix

for a directory.

Page 37: VRE Cancer Imaging BL RIC Workshop 22032011

37

Including external unmanaged code

• Technically tricky: avoid if at all possible

• Map C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN and place unmanaged DLLs in it.

• Use managed code to call the unmanaged code. E.g. [DllImport("DICOM.dll")]

IIS (64bit)

SharePoint

Managed DLL (GAC) .

.

.

Unmanaged DLL

Page 38: VRE Cancer Imaging BL RIC Workshop 22032011

38

DICOM types

• DICOM has approximately 3500 field types – identified by their Tag name which has the form (Group, Element).

• We adapted the IETF RFC4122 name-based GUID algorithm (section 4.3 of http://www.ietf.org/rfc/rfc4122.txt) to map these onto SharePoint Field definitions with name based GUIDs, and generated corresponding fields within the site definition.

• An example generated field is:

• There can be issues when re-loading fields into SharePoint. It worked first time isn’t good enough! We found that the above form worked the second time as well. The key extra attribute is ‘DisplaceOnUpgrade’.

Page 39: VRE Cancer Imaging BL RIC Workshop 22032011

39

Things we would do differently

• Use the Silverlight client object model

• Prefer ‘Plain Old Document Libraries’ over Document Sets until they are more mature

• Separate the DICOM field definitions from the site definition during development (they take an age to load on a development VM)

• Consider recoding some of the ‘Untrusted code’ as trusted code.


Recommended