RxNav

RxMix Tutorial

Simple Example

Lister Hill Center

RxMix will not work properly with Internet Explorer. Please use FireFox, Chrome or Safari to run RxMix.

Introduction

RxMix is an interface for building applications that allows users to combine functions of the RxNorm, RxTerms, and NDF-RT APIs. RxMix offers several notable features:

Users of the RxMix interface should be familiar with the RxNorm, NDF-RT and/or the RxTerms API functions.

The RxMix web page is located here.

Batch example

A Simple Example

This example illustrates the basic operations of the RxMix interface. In this example, we will build a workflow containing two functions in order to find drug interactions using the NDF-RT API. We will run this workflow interactively.

The figure below shows the initial RxMix page.

The main panel is divided up into five sections.

To define a workflow, first click on the arrows at the right side of the box under "Select Function", and a menu of the available functions will be displayed like the figure below.

The menu of available functions shows the API (RxNorm, RxTerms or NDF-RT) type and the names for each available function.

Scroll down to the NDF-RT functions and select the NDF-RT API function "findConceptsByName". The workflow area is changed to the figure below.

The findConceptsByName function needs two parameters. The concept name parameter will be specified in the input data section. The other parameter, the kind name, is specified in the workflow area. RxMix provides a default value (all kinds are highlighted) for this field.

Note: The documentation for a selected function can be viewed by positioning the cursor over the help icon .

Select "DRUG_KIND" in the kind menu. Click the "Add to Workflow" button to add the function to the workflow. The workflow area is changed to the figure below.

Notice that a "Remove Last" button has appeared below the workflow diagram. This allows the last function in the workflow to be removed.

The next step is to add the second function to the workflow. From the function menu under NDF-RT, select "findDrugInteractions". Then click on the "Add to Workflow" button. The workflow is changed to the figure below.

The next step is to add the input data. The input for this workflow needs a drug name. Type in "morphine" in the input box.

The Output Filter lists the fields to be included in the output. Uncheck the comment and kind boxes to exclude them from the output.

Now click on the "Run" button in the EXECUTE section to start the processing. The results will be shown as a table (the output format selected) in the RESULT area.

Congratulations, you have created and ran your first workflow in RxMix.

The next example will demonstrate the use of batch processing in RxMix. Click here to view the batch example.


Comments? Feedback? Questions?
Contact: Contact us


U.S. National Library of Medicine, 8600 Rockville Pike, Bethesda, MD 20894
National Institutes of Health, Department of Health & Human Services
Copyright, Privacy, Accessibility