21
Combining Healthcare Standards with Other RESTful APIs Brad Genereaux Product Manager, Agfa HealthCare Co-chair, DICOM WG-27 Web Technologies Co-chair, HL7 Imaging Integration / DICOM WG-20 @IntegratorB rad

Combining Healthcare Standards with Other RESTful APIs

Embed Size (px)

Citation preview

Page 1: Combining Healthcare Standards with Other RESTful APIs

Combining Healthcare Standards with Other

RESTful APIs

Brad GenereauxProduct Manager, Agfa HealthCare

Co-chair, DICOM WG-27 Web TechnologiesCo-chair, HL7 Imaging Integration / DICOM WG-20

@IntegratorBrad

Page 2: Combining Healthcare Standards with Other RESTful APIs

Disclosures• Product Manager at Agfa HealthCare• Co-chair of DICOM WG-27 Web Technologies• Co-chair of HL7 Imaging Integration / DICOM WG-20

Page 3: Combining Healthcare Standards with Other RESTful APIs

Learning Objectives• By the end of this presentation, attendees should be able to:• Understand the value in connecting non-healthcare REST APIs• Understand the general methods to accomplish this• Understand the risks and mitigation strategies in doing this

Page 4: Combining Healthcare Standards with Other RESTful APIs

Last Year at SIIM15…

Page 5: Combining Healthcare Standards with Other RESTful APIs

Healthcare Standards are at your Disposal

HL7® /

FHI

R® • In production everywhere

• Use only the messages you want

• FHIR uses industry standard REST technologies DICO

Mw

eb™ • Pull in images to

enrich your patient and clinician experiences

• Pull in imaging meta-data to further enrich the detail you show

And

Mor

e! • Human API• Radiology Gamuts• RadReport API• SWIM / TRIP• RadLex Playbook

… but challenges expand beyond these domains ...

Page 6: Combining Healthcare Standards with Other RESTful APIs

My Eleventy Billion Dollar Innovation

The Innovation

“Hi Alex. You have an appointment today at

9:30am. Will you still be coming?”

“Yes.”

“Sally, before we can image you, is there any chance you

might be pregnant?

“Yes.”

“It is unsafe to proceed with your CT. We will release your CT slot to other patients, and follow-up with an MRI. How is Friday at 10am?”

Missed Appointment $70=Avg Cancellation Rate 20%=

Annual Loss for 1,000 monthly visits $168,000=Challenge – Connecting Telephony:• Do you perform integrations into each

PBX system or into each telephony provider?

• How do you guarantee up-time? What happens when an API changes?

• This quickly becomes untenable when scaling deployments

How can we maximize re-use and minimize effort?

Page 7: Combining Healthcare Standards with Other RESTful APIs

Someone else has solved your problem …

… but they may not be in the healthcare space ...

Page 8: Combining Healthcare Standards with Other RESTful APIs

Example API : Twilio

• Telephony REST API provider• Enable your applications to• send out text messages• make phone calls• solicit input via voice or digit presses• text-to-speech and speech-to-text

• Simple to implement using “TwiML” language (XML-driven)

https://www.twilio.com

Page 9: Combining Healthcare Standards with Other RESTful APIs

Good APIs follow the “555” Rule

5 seconds to Documentation

5 minutes to Hello World

5 hours to Prototype

Page 10: Combining Healthcare Standards with Other RESTful APIs

Combine APIs to Innovate Exponentially

?

Page 11: Combining Healthcare Standards with Other RESTful APIs

Example API Aggregator : IFTTT

• If This, Then That• “Consumertizes” API access for the end users• Defines a “service” as an API endpoint• Defines a “recipe” as a combination of two services with an action

https://ifttt.com

Page 12: Combining Healthcare Standards with Other RESTful APIs

Innovate with Building Blocks

Send myself a text five mins before my meeting

Call an Uber to take me to work when it rains

Log tweets on #SIIM16 to my notepad

Page 13: Combining Healthcare Standards with Other RESTful APIs

Innovate with Healthcare Standards

Call patients to remind them of appointments

Log all images with cancer to my notepad

When patient admitted to room, warm to 72 degrees

Call Uber to pick up patients for appointments without transport

Increase staff in ER during freezing rain forecasts

E-mail patient their images after each visit

Page 14: Combining Healthcare Standards with Other RESTful APIs

How to Connect to an API

Find Docs Register Play

BuildComplete

5 seconds 5 minutes

5 hours

Page 15: Combining Healthcare Standards with Other RESTful APIs

What is an API key?• This uniquely identifies you to the service• They may collect usage metrics or for billing

• Usually passed as an HTTP header or query parameter

Page 16: Combining Healthcare Standards with Other RESTful APIs

Security• Always use HTTPS• Never post your application keys anywhere• Nor embed the keys in a system at risk of being reverse-compiled

• Proxy calls to drive connectivity from servers where relevant (XSS)

!!

Won’t work due to XSS

Page 17: Combining Healthcare Standards with Other RESTful APIs

Privacy• Understand the cloud environment where data is stored• Need to understand your liability• Understand methods to mitigate or control risk• i.e., two-factor authentication

Page 18: Combining Healthcare Standards with Other RESTful APIs

Testing• Health data have structures that will break your apps• Both in your own application and in the API provider• i.e., looking up an address in Google Maps but the patient has no fixed

address

• So, test both your core and edge cases• Follow OWASP guidelines

(https://www.owasp.org/index.php/Data_Validation)• Handle HTTP errors you receive gracefully• Know your rate limits

Page 19: Combining Healthcare Standards with Other RESTful APIs

Useful Links• API Directory from Programmable Web

http://www.programmableweb.com• API Conferences and Hackathons

http://devpost.com• If This, Then That

http://ifttt.com• Open Web Application Security Project (OWASP)

https://www.owasp.org/index.php/Data_Validation

Page 20: Combining Healthcare Standards with Other RESTful APIs

Connect to APIs …

Find Docs Register Play

BuildComplete

Page 21: Combining Healthcare Standards with Other RESTful APIs

… And Innovate Healthcare

Someone else has solved your problem …Use their solutions to your advantage, to innovate and drive change

@IntegratorBrad