/
Applying REST to DICOM Applying REST to DICOM

Applying REST to DICOM - PowerPoint Presentation

sherrill-nordquist
sherrill-nordquist . @sherrill-nordquist
Follow
412 views
Uploaded On 2015-09-19

Applying REST to DICOM - PPT Presentation

Chris Hafey Feb 23 2011 Introduction Three Types of Web Services RPC Based WS REST RESTRPC Hybrid Pure REST is a great fit for DICOM Simple Wide technology support Many DICOM use cases are ID: 134064

study dicom http image dicom study image http rest resources series instance web delete resource transactions path representations services

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Applying REST to DICOM" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Applying REST to DICOM

Chris Hafey

Feb 23, 2011Slide2

Introduction

Three Types of Web Services

RPC Based (WS*)

REST

REST/RPC Hybrid

Pure REST is a great fit for DICOM

Simple

Wide technology support

Many DICOM use cases are

CRUDishSlide3

Resource Oriented Architecture

Resources

URIs

Addressability

Statelessness

Representations

Links and Connectedness

Uniform InterfaceSlide4

Resources

Entities

DICOM Modules

Patient

Study

UID Based

Study, Series, Instance

Internals

Image Frame

Algorithms

Render Image

Search

Complex Transactions

Merge StudiesSlide5

URIs

Entites

Use path to specify where an entity is

E.g

– A study

http://server/study/1.2.3.4.5

Algorithms

Use Path to specify which algorithm/entity to run

Pass algorithm parameters via http query parameters

E.g. – render a sop instance as a JPEG with a specific window center/window width

http://server/study/1.2.3.4.5/series/1.2.3/instance/1.2.3?windowWidth=400&windowCenter=40

Transactions

Use path to specify transactions

The transaction resource can point to other entities that will be affectedSlide6

Addressability

Expose interesting aspects of its data set as resources

Allows data to be used in ways not originally

anticipated

E.g. exposing individual DICOM Modules to be independently accessedSlide7

Statelessness

Each HTTP Request happens in complete

isolation

No “session”

Simplifies error conditions

Can

send the same web request multiple times without side effectsSlide8

Representations

Leverage MIME Types

Application/XML

Application/JSON

Application/DICOM

Image/JPEG

Image/PNG

A resource can be returned in multiple representationsSlide9

Links and Connectedness

Use HREF to link between resources

DICOM Examples

Patient to Study

Study to Series

Series to Instance

Presentation State to Image

Structured report to ImageSlide10

Uniform Interface

HTTP Method

Purpose

RDBMS

Analog

GET

Retrieve

Select

PUT

Update

Update

POST

Create

Insert

DELETE

Delete

DeleteSlide11

Reference Books

RESTful

Web Services

Leonard Richardson & Sam Ruby

RESTful

Web Services Cookbook

Subbu

Allamaraju

REST in Practice

Ian Robinson, Jim Webber, and

Savas

Parastatidis