Healthcare Interoperability Blog

interfaceware.com
  • Iguana Integration Engine
  • Resource Center
  • Blog
Home Controlling Interfaces via Cellphone

Controlling Interfaces via Cellphone

Imagine this:

  • One of your critical interfaces goes down (or is mistakenly shut down) one evening
  • You immediately receive a phone call alerting you
  • You press a button on your phone and the interface starts back up again
  • You continue <insert happy activity here> without having to run back to the office…

Does that sound like fiction to you?  It’s not, and today I’m going to show you how it’s done!

Watch the video above to see all the steps required, then grab the project files to setup your own implementation.

Ready to try for yourself?

Prerequisites:
Unfortunately, there are a few gotchas/must haves if you want to set this up yourself…

  1. You must have a working copy of IGUANA.  Sorry, other engines just won’t cut it.
  2. The web service URL you create must be publically accessible
  3. You’ll need to create a free (or paid) Twilio account.

Once you’re sure you have those three things, you’re all set.  Just follow the instructions below and you’ll be on your way to a (slightly more) automated life.

Note: In order to provide a generic, extendible version of this solution, I have modified the scripts from the video to include placeholders and other parameters.

Step 1: Setting up the web service channel

The first thing you’ll need to do is create the web service that will receive requests from Twilio.  To do this, simply:

  1. Set up a channel with From HTTPS –> To Channel components
  2. Set the URL path (Source > URL Path) to “twilio”.
  3. Go to the translator (Source > Edit Script) and import this project: Twilio__Web_Service_From_HTTPS
  4. Complete the “Configuration Details” at the top of the script to match your setup.  (See the screenshot below)
  5. Save a milestone

PastedGraphic-2

 

STEP 2:  Setting up the monitoring channel

Next up you’ll need to create the channel that is responsible for monitoring your interface(s).  To do this:

  1. Set up a channel with From Translator –> To Channel components
  2. Go to the translator (Source > Edit Script) and import this project: Twilio__Monitor_From_Translator
  3. Complete the “Configuration Details” at the top of the script to match your setup.  (See the screenshot below)
    Be sure you use the full path / port of the web service you created in step #1
  4. Save a milestone

PastedGraphic-1

 

Step 3: You’re all done…

That’s all there is to it.  Once you’ve created and configured your channels, you’re all set.  All that’s left is for you to start both channels and then stop the interface you are monitoring.  As soon as you do this, you should receive a call from Twilio asking you whether or not you’d like to take action.

I hope you enjoyed this fun little example, and as always:  If there’s something you’d like to see accomplished with IGUANA, just leave a comment below describing your issue and I’ll do my best to demonstrate how to (or how not to) go about it.

Kind regards,
-Art Harrison

 

Mar 12, 2014iNTERFACEWARE
  • Email
  • LinkedIn
  • More
  • Facebook
  • Twitter

Related

Mission Community Hospital"Art-full Integrations" - Web Services
March 12, 2014 Tips and Tricks, Videosmonitor, twilio, web services
Enjoying this blog?

Sign up to receive healthcare integration news, just like this, from iNTERFACEWARE Inc.

iNTERFACEWARE needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Privacy Policy.

Resources

Integration Resources & Guides

HL7 Resources

Iguana Case Studies

Iguana Integration Engine

Overview: Integration Engine

Features: Building HL7 Interfaces

Benefits: Why Choose Iguana

Company

About Us

Integration Services

Contact Us

Connect

LinkedIn

Twitter

YouTube

© - iNTERFACEWARE Inc.