Clinical Data Exchange using HL7 and Mirth Connect Lecture 14 - DICOM connectors - Encoding/decoding Base64 data - Message Attachments - System Events.

Slides:



Advertisements
Similar presentations
Basic Communication on the Internet:
Advertisements

Lecture 5: security: PGP Anish Arora CIS694K Introduction to Network Security.
Chapter 29 Structure of Computer Names Domain Names Within an Organization The DNS Client-Server Model The DNS Server Hierarchy Resolving a Name Optimization.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Remote mailbox access gateway Software lab project.
Chapter 30 Electronic Mail Representation & Transfer
Architecture of SMTP, POP, IMAP, MIME.
» Explain the way that electronic mail ( ) works » Configure an client » Identify message components » Create and send messages.
1 © 2001, Cisco Systems, Inc. All rights reserved. Voice Connector Features Voic Interoperability – 4.0(5) Voice Connector features Rahul Singh.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
1 Chapter Internet Applications (DNS, )
Application Layer Protocols Simple Mail Transfer Protocol.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Internet Applications  DNS   TELNET  FTP  Web browsing.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
A form of communication in which electronic messages are created and transferred between two or more devices connected to a network.
G.T.R. Data Inc. Welcome to our EDI Overview. G.T.R. Data Inc. EDI Demonstration This demonstration will take you on a guided tour of our software. After.
Computer Networks26-1 Chapter 26. Remote Logging, Electronic Mail and File Transfer.
Simple Mail Transfer Protocol (SMTP)
Electronic mail security. Outline Pretty good privacy S/MIME.
The Internet 8th Edition Tutorial 2 Basic Communication on the Internet: .
Electronic Mail. Client Software and Mail Hosts –Client PC has client software that communicates with user’s mail host –Mail hosts deliver.
Chapter 8 Cookies And Security JavaScript, Third Edition.
Chapter 6 Electronic Mail Security MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 26 (Data Communication and Networking): Remote Logging, Electronic Mail, and.
GTR Data Inc. Welcome to our EDI Demonstration G.T.R. Data Inc. August 1997.
Lecture 6: Sun: 8/5/1435 Distributed Applications Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
Information & Database System Laboratory EPCglobal Tag Data Translation - RFID Team 컴퓨터멀티미디어공학과 김성진.
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
[1] ISO TC215 / DICOM – Jan. 18, Health Informatics – Messages and Communication – Web Access to DICOM Persistent Objects (WADO) Ad Hoc Group ISO.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
Configuring MQ Connections and Handlers for MQ adapter 6.5 July 2008.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
Clinical Data Exchange using HL7 and Mirth Connect Lecture 8 - HTTP Connectors - Web Service Connectors - JMS Connectors Siv Raman, MD, MS.
Clinical Data Exchange using HL7 and Mirth Connect Lecture 2 - Toolset to use for working with Mirth Connect. - Mirth Connect architecture. - Changing.
Clinical Data Exchange using HL7 and Mirth Connect Lecture 12 - Using JavaScript with Mirth Connect – III - Advanced Message Routing - XSLT transforms.
Web fundamentals: Clients, Servers, and Communication
Applications: Remote Login (TELNET ,Rlogin)
SMTP - Simple Mail Transfer Protocol POP - Post Office Protocol
Networking Applications
Internet Business Associate v2.0
CS 330 Class 7 Comments on Exam Programming plan for today:
HTTP – An overview.
z/Ware 2.0 Technical Overview
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
22-INTEGRATION HUB
Processes The most important processes used in Web-based systems and their internal organization.
Net 323 D: Networks Protocols
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Simple Mail Transfer Protocol
WEB PROGRAMMING JavaScript.
ELECTRONIC MAIL SECURITY
Chapter 2: Application layer
Student: Ying Hong Course: Database Security Instructor: Dr. Yang
ELECTRONIC MAIL SECURITY
Net 323 D: Networks Protocols
Smart Integration Express
William Stallings Data and Computer Communications
Deepak Shenoy Agni Software
Intro to PHP.
Traditional Internet Applications
Chapter 7 Network Applications
HTTP Hypertext Transfer Protocol
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Presentation transcript:

Clinical Data Exchange using HL7 and Mirth Connect Lecture 14 - DICOM connectors - Encoding/decoding Base64 data - Message Attachments - System Events - Import/Export Siv Raman, MD, MS

2 DICOM Connectors  DICOM: Digital Imaging and Communications in Medicine ( and  DICOM is both a binary file format and communications protocol (over TCP/IP)  The DICOM file format contains data other than image data (e.g., patient data)  DICOM Listener and DICOM Sender connectors available in Mirth Connect  Receive/send DICOM messages over DICOM protocol  All protocol attributes supported  The DICOM Header information is available in Inbound/Outbound Message Templates as XML  This DICOM Header information is automatically generated when opening a DICOM message as a message template  Images can be viewed in the Mirth Connect Administrator on the Attachments tab in the Message View

3 DICOM Connectors, cont.  Raw message is Base64 code representing binary DICOM data  DICOM Sender:  Use the DICOM Message Raw Data destination mapping in the template field to write out DICOM data  Creates a Response Map variable with the message "DICOM message successfully sent“  Currently, the DICOM Connectors work best with uncompressed DICOM data.  Sample DICOM data downloaded from ftp://medical.nema.org/medical/dicom/ (from the /medical/Dicom/DataSets/WG04 folder) ftp://medical.nema.org/medical/dicom/ =============================================  Base64 encoding (  Base64 is a group of similar encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation.  The Base64 term originates from a specific MIME (Multipurpose Internet Mail Extensions ) content transfer encoding. ================================================  Open-source software for working with DICOM:

4 Encoding and Decoding Base64 data  Binary data can be added to messages using Base64 encoding  Base64 is a MIME content transfer encoding scheme that represents data using alphanumeric characters  E.g. NDAuMTAwMDguNS4xLjQuMS4xLjcAAgADAFVJMAAxLjMuNi4xLjQuMS41OTYyLjEuMS4xNC4xLjEu MjAwNDA4MjYxODUwNTkuNTQ1NwACABAAVUkUADEuMi44NDAuMTAwMDguMS4yLjEAAgASAFVJEgAx LjMuNi4xLjQuMS41OTYyLjICABMAU0gKAERDVE9PTDEwMCACABYAQUUIAENMVU5JRTEgCAASAERB CAAyMDA0MDgyNggAEwBUTQYAMTg1ODU2CAAUAFVJEgAxLjMuNi4xLjQuMS41OTYyLjMIABYAVUka  File Reader and File Writer connectors support binary data files  File Reader automatically converts incoming binary data to Base64  Use a Preprocessor script to put Base64 data into XML structure  By default, the message variable is Base64 data  File Writer automatically converts outbound Base64 data to binary

5 Encoding and Decoding Base64 data, cont.  In JavaScript context:  Call FileUtil.encode() to encode binary data  Takes a byte array as the parameter and returns a String  Available as "BASE-64 Encode Data" code template from the Reference tab (Utility Functions category)  Call FileUtil.decode() to decode Base64 data  Takes a String as the parameter and returns a byte array  Available as "Decode BASE-64 Data" code template from the Reference tab (Utility Functions category)

6 Encoding and Decoding Base64 data, cont.  Base64 data can be embedded into HL7 messages (e.g. in Z segment, OBX segment)  When embedding Base64 data into HL7 messages, many systems require linefeed characters to be escaped  For example: \X0A\  To do this escaping, use the String object's replace() function to do a global replace using a regular expression match for the newline  Example: base64dataString.replace(/\n/g, "\\X0A\\")  When extracting Base64 data from inbound HL7 messages, if the linefeed characters are escaped, replace the escape sequences with actual linefeed characters  To do this, use the String object's replace() function to do a global replace using a regular expression match for the escaped characters  Example: base64dataString.replace(/\\X0A\\/g, "\n")

7 Encoding and Decoding Base64 data, cont.  If linefeed characters in the inbound message are not escaped, disable the convert LF to CR option on the inbound message template for all connectors that handle the Base64  Or use a preprocessor script to strip out the linefeed characters  This needs to be done so that the HL7 parser does not try to interpret lines of Base64 code as segments

8 Message Attachments  Base64-encoded data in messages can be temporarily removed from messages and "attached" to message data in the internal Mirth Connect database  This can include  documents, images, etc. from HL7 messages,  image data in DICOM files,  etc.  Such data can often account for increasing the size of a message dramatically  When receiving a message with Base64 data, removing the data from the message and creating an attachment can greatly improve performance  Do this in a Preprocessor script  Replace Base64 data with the attachment's ID  ${MESSAGEATTACH} destination mapping is available and is the encoded message with the attachments re-inserted as Base64

9 Message Attachments, cont.  Call the addAttachment() function to add an attachment to any message  Takes Base64 data and MIME type as parameters  Returns internal Attachment class representation  Call getAttachments() to return the attachments  Returns ArrayList of Attachment objects  The getData() method returns the attachment's binary data

10 Message Attachments, cont.  When a message has attachments, the Attachments tab lists the attachments in the Channel Messages view  Mirth Connect has built-in viewers for PDF, RTF, DICOM and images  For the DICOM protocol, the image is automatically attached to the message data

11 System Events  Mirth Connect system events are logged to an internal database and can be viewed using the System Events browser  User login and logout events are stored for auditing  Errors in channel configuration are displayed in the event log upon deployment

12 Import and Export  Several Mirth Connect components can be imported and exported  Channels  Global Scripts  Connectors  Code Templates  Transformers  Alerts  Filters  Messages  Exported files are XML  In addition, server configuration back-ups and restores are possible