XDS/XDR/XCA Testing

32
Afdasfdasfd Adfasdfasfd asd XDS/XDR/XCA Testing Tools Class – Oakbrook September 14-16, 2010 Bill Majurski National Institute of Standards and Technology

description

XDS/XDR/XCA Testing. Tools Class – Oakbrook September 14-16, 2010 Bill Majurski National Institute of Standards and Technology. Audience. Wish to run an IHE-backed testing event Include XDS/XDR/XCA testing Have XDS/XDR/XCA technical background. Outline. Short XDS/XDR/XCA overview - PowerPoint PPT Presentation

Transcript of XDS/XDR/XCA Testing

Page 1: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

XDS/XDR/XCA Testing

Tools Class – OakbrookSeptember 14-16, 2010Bill Majurski

National Institute of Standards and Technology

Page 2: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Audience

• Wish to run an IHE-backed testing event• Include XDS/XDR/XCA testing• Have XDS/XDR/XCA technical background

Page 3: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Outline

• Short XDS/XDR/XCA overview• Pre-Connectathon testing and tools– Client– Server

• Connectathon testing and tools

Page 4: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Short XDS/XDR/XCA Overview

Page 5: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

XDS

Patient Identity Source

Document Registry

Document Repository

Document Source

Document Consumer

Patient Identity Feed

Query Documents

Retrieve Document

Provide and Register

Document Set

Register Document Set

Page 6: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

XDR

Document RecipientDocument Source

Provide and Register Document Set

Page 7: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

XCA

Responding GatewayInitiating Gateway

Cross Gateway Query

Cross Gateway Retrieve

Page 8: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Pre-Connectathon Testing

• Client Testing (Server is the reference)– XDS Document Source, XDS Document Consumer,

XDR Document Source, XCA Initiating Gateway– Test over the Internet to Public Registry server

• Server Testing (Client is the reference)– XDS Registry, XDS Repository, XDR Recipient, XCA

Responding Gateway– Test at home behind your firewall

Page 9: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client Testing

• Goal– Test your Document Source and Document

Consumer (client) against the Public Registry Server

Page 10: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Online Documentation

• http://ihexds.nist.gov– Review Quick Links on left, most point to:– http://ihewiki.wustl.edu/wiki/index.php/XDS_Main_Page

– Become very familiar with:• This page!• The Quick Links!

Page 11: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client Testing

• Focus on Quick Links: For Client Testing– Overview– Affinity Domain Configuration– Endpoints– Public Registry Tools

• Focus on Quick Links: Tests

Page 12: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client Testing …

• Endpoints – Per transaction, specialty

• ID management– Patient ID allocation– Unique IDs

• Test Log

Page 13: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client Testing…

• Client (XDS Document Source for example) configures to send Provide and Register.b to Public Registry server

• If failure – use Test Log to get details• If success– use Test Log to get proof

Page 14: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client testing

• Launch XDS Toolkit (your client) from http://x.x.x.x:9080/xdstools2

• Connectathon Tools => Repository Test Data• This will issue a Provide and Register.b

transaction• Use Patient ID 111^^^&1.1&ISO• Use Repository “pub”

Page 15: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client testing

• Launch Public Registry Test Log browser from• http://ihexds.nist.gov:9080/LogReader• Enter IP address of XDS Toolkit• Find your entry• Diagnose your problem

Page 16: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client testing

• Need to allocate a Patient ID• Bring up tools menu• http://ihexds.nist.gov:9080/xdstools• Go to Allocate Patient ID• Use in Submission

Page 17: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Client test descriptions

• http://ihexds.nist.gov• Tests: Organized by transaction• Select Provide and Register Document Set• Select 12049

Page 18: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Recap

• Public Registry• Test log on Public Registry• XDS Toolkit

Page 19: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Homework

• Install XDS Toolkit on your machine and test against the Public Registry– Down load from

http://ihexds.nist.gov/XdsDocs/xdstoolkitgui– Grab most recent version– Remove version number from filename– Install in webapps of a Tomcat 5.5 installation– Repeat Public Registry test

Page 20: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Testing a server

• Goal – Use xdstest to test Public Registry Document

Registry implementation• Xdstest is a command line tool for testing

servers on a private network

Page 21: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Toolkit installation

• Download toolkit from– http://ihexds.nist.gov/XdsDocs/xdstoolkit/xdsto

olkit_06_13.zip– Unzip– Look in docs/install.txt

Page 22: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Installation

• Installed toolkit at ~/tmp/class• Added to .bash_profile:– export PATH=~/bin:~/tmp/class/xdstoolkit/bin:

$PATH– export XDSTOOLKIT=~/tmp/class/xdstoolkit

• Test installation with– Xdstest - -config

Page 23: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Try It

• Before trying to run a test– go to xdstoolkit/logs– delete the contents (4-5 directories)

• From the command line:– xdstest –t 11990

Page 24: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Error

• SubmissionSet uniqueId 1.2.3.4.5.3 already present in the registry

• Default was to send to the Public Registry• Default parameters are not good enough• Go to xdstoolkit/xdstest and edit

uniqueid_base.txt• Must be OID plus terminating .

• Example 4.5.6.

Page 25: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Error

• Patient ID must be registered with Document Registry

• Go to http://ihexds.nist.gov/xdstools/pidallocate

• Allocate a Patient ID• Copy Patient ID and paste it into

xdstoolkit/xdstest/patientid.txt

Page 26: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Why did submission go to Public Registry?• Look in xdstoolkit/xdstest/actors.xml• Multiple site definitions• Default site is pub

Page 27: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Recap

• Pre-Connectathon (conformance) testing allows vendors to test their implementations against a reference to prepare for Connecathon (interoperability) testing

• Command line tool xdstest acts as the reference client

Page 28: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Connectathon

• Validate what vendors have done• Tooling: XDS Toolkit

Page 29: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Phase 1

• Vendors prove they passed Pre-Connectathon tests

• XDS Toolkit– Connectathon Tools Registry Validations– Connectathon Tools Repository Validations

• No Peer tests• Show basic competence

Page 30: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Phase 2

• XDS.b_Doc_Source_Stores_Document test• Submission– Doc Src Doc Repository Doc Registry

• Validate with Query/Retrieve

Page 31: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Phase 3

• Get creative with the tools to meet local needs– Document Replace• Original DocumentEntry Deprecated• Replacement linked to Original by RPLC Association

• Each event has own expectations• Target for new tools

Page 32: XDS/XDR/XCA Testing

AfdasfdasfdAdfasdfasfdasd

AfdasfdasfdAdfasdfasfdasd

Conclusion

• Go forth and test