Interfacing with Databases in Rhapsody. Presented by: Jamie Titak

Similar documents
MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

Oracle Fusion Middleware

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

Setting up SQL Translation Framework OBE for Database 12cR1

Toad for Data Analysts, Tips n Tricks

Using SQL Server Management Studio

ORACLE BUSINESS INTELLIGENCE WORKSHOP

Oracle Business Intelligence Server Administration Guide. Version December 2006

Generating Open For Business Reports with the BIRT RCP Designer

OLH: Oracle Loader for Hadoop OSCH: Oracle SQL Connector for Hadoop Distributed File System (HDFS)

MyOra 4.5. User Guide. SQL Tool for Oracle. Kris Murthy

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package Data Federation Administration Tool Guide

The data between TC Monitor and remote devices is exchanged using HTTP protocol. Monitored devices operate either as server or client mode.

Using the SQL TAS v4

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.

AWS Schema Conversion Tool. User Guide Version 1.0

Utilities ComCash

How to test and debug an ASP.NET application

SnapLogic Salesforce Snap Reference

ODBC Client Driver Help Kepware, Inc.

Siemens Applied Automation Page 1 11/26/03 9:57 PM. Maxum ODBC 3.11

Oracle Fusion Middleware

Report and Dashboard Template User Guide

DocumentsCorePack for MS CRM 2011 Implementation Guide

ibolt V3.2 Release Notes

Connecting to your Database!... 3

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created.

TIBCO Spotfire Automation Services 6.5. User s Manual

Pcounter Web Administrator User Guide - v Pcounter Web Administrator User Guide Version 1.0

Qlik REST Connector Installation and User Guide

Subscribe to RSS in Outlook Find RSS Feeds. Exchange Outlook 2007 How To s / RSS Feeds 1of 7

Top 10 Oracle SQL Developer Tips and Tricks

IBM DB2 XML support. How to Configure the IBM DB2 Support in oxygen

Developing SQL and PL/SQL with JDeveloper

1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe.

Database Linker Tutorial

Vector HelpDesk - Administrator s Guide

mylittleadmin for MS SQL Server Quick Start Guide

news from Tom Bacon about Monday's lecture

Virtual Communities Operations Manual

DbSchema Tutorial with Introduction in SQL Databases

Installation and Operation Manual Unite Log Analyser

-lead Grabber Business 2010 User Guide

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Chapter 4 Accessing Data

<Insert Picture Here> Oracle SQL Developer 3.0: Overview and New Features

This is a training module for Maximo Asset Management V7.1. It demonstrates how to use the E-Audit function.

Governance, Risk, and Compliance Controls Suite. Preventive Controls Governor Audit Rules User s Guide. Software Version

Trial version of GADD Dashboards Builder

Resources You can find more resources for Sync & Save at our support site:

Welcome to the topic on Master Data and Documents.

Exploring Microsoft Office Access Chapter 2: Relational Databases and Multi-Table Queries

Data Tool Platform SQL Development Tools

WebSphere Business Monitor V6.2 KPI history and prediction lab

Guide to Automating Workflows Quickly and Easily

Table of Contents SQL Server Option

Using the Query Analyzer

Monitoring PostgreSQL database with Verax NMS

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

HEAT Service & Support Version 8.4.0

Oracle Business Intelligence 11g OPN Advanced Workshop

Advanced BIAR Participant Guide

Mastering Mail Merge. 2 Parts to a Mail Merge. Mail Merge Mailings Ribbon. Mailings Create Envelopes or Labels

Data Movement Modeling PowerDesigner 16.1

HTSQL is a comprehensive navigational query language for relational databases.

Jet Data Manager 2012 User Guide

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

Kaldeera Workflow Designer 2010 User's Guide

Nintex Workflow for Project Server 2010 Help

Developing and Implementing Windows-Based Applications With Microsoft Visual C#.NET and Microsoft Visual Studio.NET

Migration Manager v6. User Guide. Version

Intelligent Event Processer (IEP) Tutorial Detection of Insider Stock Trading

Embarcadero Rapid SQL Developer 2.0 User Guide

BUSINESS OBJECTS DATA INTEGRATOR

Excel Companion. (Profit Embedded PHD) User's Guide

RDS Migration Tool Customer FAQ Updated 7/23/2015

Tips and Tricks SAGE ACCPAC INTELLIGENCE

DEPLOYMENT GUIDE Version 2.1. Deploying F5 with Microsoft SharePoint 2010

Exchanger XML Editor - Data Import

INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3

Hummingbird BI BI Query Queries User s Guide

Oracle Business Intelligence Publisher: Create Reports and Data Models. Part 1 - Layout Editor

database abstraction layer database abstraction layers in PHP Lukas Smith BackendMedia

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

MobiLink Synchronization with Microsoft SQL Server and Adaptive Server Anywhere in 30 Minutes

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, Integration Guide IBM

CA Nimsoft Service Desk

Two new DB2 Web Query options expand Microsoft integration As printed in the September 2009 edition of the IBM Systems Magazine

Nintex Workflow 2013 Help

Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports

EVENT LOG MANAGEMENT...

Bitrix Site Manager 4.1. User Guide

2Creating Reports: Basic Techniques. Chapter

Transition from Pegasus Mail To Exchange/Outlook 2003

Lesson 5 Build Transformations

Configuring the SST DeviceNet OPC Server

Transcription:

Interfacing with Databases in Rhapsody Presented by: Jamie Titak

Welcome Database Communication Points Database, database insertion Database Filters Database lookup, database message extraction, generic code translation, HL7 external code translation, HL7 external code validation Configuration Editor Connection details Database drivers SQL statement editor Stored Procedure Demo

Database Communication Points Database Communication Point Input-query database to read records which have been inserted or updated since the last time the query was run Output-communication point executes the query in its configuration Out->In-operates in a manner similar to the Database Lookup filter In->Out-waits before sending out a message until a response to the previous message has been received

Sequence of Events in Input Mode The sequence of events for a Database communication point in Input mode is as follows: 1. Query the database 2. Records are returned 3. Place records into a XML message and place on the route 4. Immediately query the database again If records are returned, repeat the sequence If no records are returned, sleep for the period defined in the Refresh Rate parameter of the configuration and then query the database again.

Database Communication point properties Database The type of database with which the communication point is connecting Configuration file XML file that controls how the communication point interacts with the database Query Timeout Used to specify how long in seconds a remote operation can take before the procedure times out Message Type Identifies the output message type when no definition is specified Definition Identifies the message definition used to parse the message

Polling Parameters Polling Parameters must be configured if the database communication point is in an Input mode Refresh Rate-Controls the length of time that the communication point will sleep after the statements return no records Key Column-Name of the field which must be returned by the query Initial Value-Value used the first time the database is polled by the component

Database Communication Point Demo (Output/Input)

Database Communication Points Database Insertion Communication Point Output only Optimized to insert or update records in a single database table Used when the extra complexity of the database communication point is not required

Database Insertion Communication Point Properties Definition Message definition that identifies the structure and type of incoming messages Database Connection details for the database JDBC Driver/Database URL Database Table Column Values Mode Identifies columns to be updated Insert or update Update Where Clause Identifies conditions under which the information in the database is to be updated

Column Values Column Name Name of the Column in the database Value Value to be saved in the database from the HL7 message Type Null Body Timestamp Literal Field Property

Update Where Clause Identifies the condition that must be met before existing information in the database table will be updated with data from an incoming message In the example below an existing row will only be updated if the value in MSH.SendingFacility.NamespaceID field of an incoming message does not match the value in the IssuingAuthority column in the database table

Database Filters Database Lookup Used to look up values in a record from a table and to create or update property values and field values as required Database Message Extraction Replaces the body of the message with an XML message generated from database queries

Database Filters Continued Generic Code Translation Performs a database lookup to replace or populate the content of specified fields in a message HL7 external code translation Similar to the Code Translation filter, optimized for translating codes in HL7 messages. HL7 external code validation Similar to the HL7 External Code Translation filter, but is used to validate values and errors if they are invalid.

Database Filter performance Database filters use the database to look up coded fields and can therefore become a bottleneck There are two strategies to improve performance Connection Pooling Allows the filter to hold multiple connections at the same time If the pool size is too large other connections may not be able to connect to database Recommended size is 2 to 5 Caching Stores the coding systems that have been previously looked up which makes the subsequent lookups faster

Database Configuration Editor External, Windows based component Provides a graphical interface for managing the database component configurations. Provides support for the databases which Rhapsody supports (Oracle, MS SQL Server and postgresql)

Configuration Editor Interface Follows the model for the Rhapsody IDE environment Menu bar Used in database communication point and database filters Toolbar containing common configuration requirements The design canvas within which the configuration is displayed Component menu on the right hand side Ability to toggle between editor view and XML view

Creating a New Configuration The process for creating a configuration is as follows 1. Define the details Database Connection 2. Define the Polling parameters (input modes only) 3. Define the Options 4. Build the required Statements 5. Save and Exit from the Editor 6. Check in the component and test.

Defining the Connection Details Driver Class: the driver specific name required for the driver JDBC connection string: the location of the database that Rhapsody will connect to (defined in a database specific format) Username Password

Support for Database Drivers Rhapsody environment provides built-in support for a number of databases (MS SQL Server, Oracle and postgresql) Support for other databases requires that a JDBC driver be available Utilizing another JDBC driver requires that both the engine and the Database Configuration Editor are able to access the driver

Connection Details Good Practice Use Rhapsody Variables for consistency JDBC URL Username Password Protects details as the configuration is migrated between hosts Specify in Configuration Tab if using Rhapsody Variables

SQL Statement Editor Work of database components carried out by statements Each statement is named with the name utilized in the structure of the output Each statement contains one or more SQL statements to be excuted against the database

SQL Statement Editor Continued Key Features Browse the database schema Auto generate statements from schema (select, insert, update) Insertion of fields from a message definition via drag and drop Update fields in the message automatically Set message properties from fields returned by the statements Define a stored procedure output parameter Reference the complete message body

Database Options The default execution mode for the database components is to execute all of the configured statements as a transaction Convert missing fields to empty strings ensures that all fields will be returned by the statements with at least an empty string The Output Message options provide control of the format of the XML message returned by the statements

Stored Procedure DEMO

Thank you for joining us today, for additional questions regarding Rhapsody. You can contact us through our forum at http://interfaces.galenhealthcare.com/