Solved

Help writing Java - for Orion Rhapsody

Posted on 2013-05-15
2
1,505 Views
Last Modified: 2016-10-19
I'm new to JavaScript - have zero experience.  

I am creating an interface in a tool called Rhapsody - by Orion.  There is a place to manipulate fields using JavaScript.  I found the attached template on the Rhapsody website.  

I want to extract values from a field and place it back in the same field.

The data element I want is 'PID.18'
Segment = PID
Field = 18
next.setField("PID/PatientAccountNumber - not sure what else to put...

I want to change the field using Right and Left functions.  The expression would look like this in another program - like Excel: Left(PID.18,1)+Right(PID.18,7).  Rhapsody has built in string functions of StrLeft and StrRight.

Can anyone help me write this in JavaScript?  I know this is a stretch because it's a different program.  Any help is greatly appreciated.
JavaScript-Properties.txt
0
Comment
Question by:Scotto111
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39168961
Integrating HL7 based interfaces with Javascript is not very straight forward.  I don't know if there are any Experts on the site famliar with Rhapsody, so you might want to see if you can get some assistance from http://www.orionhealth.com/support/ where they appear to have pretty extensive documentation and a forum.

Cd&
0
 

Expert Comment

by:sidwelle
ID: 41850830
Did you ever get help w/this ?
We have had a Rhapsody engine running for a few years now.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how can i make 2 columns? 4 42
jquery tab header text 1 23
Javascript: Setting a dropdown based on another dropdown selection 5 20
Validating Date Part2 2 8
Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question