Page tree

Should you require any more information or have encountered a problem, please call the support helpdesk on (07) 5456 6000.

Skip to end of metadata
Go to start of metadata

Overview

This section includes instructions for setting up the Medical-Objects Capricorn for sending through Genie. This step is designed to be included in the Capricorn configuration for Genie Here.

If you require any assistance with the installation or configuration, or if you have any questions, please contact the Medical-Objects Helpdesk on (07) 5456 6000.

If you have not Installed the Medical-Objects Download client, Please see the guide for Installing Capricorn on Windows.

For instructions on sending through Genie using Medical-Objects, See This Guide.

Configuring Capricorn Software

Accessing the Capricorn Configuration Window
 

Note:

In some cases, the Capricorn may be configured as a service. See this guide for instructions on how to launch the Capricorn if it is set up as a service. 

  1. To launch the HL7 Tray application, Go to Start Menu, All Programs, Medical-Objects and select the Medical-Objects Capricorn. Alternatively, You can go to C:\MO\Capricorn and run the Capricorn.exe.
     
  2. The following icon will appear in the tray. Double click on it to bring up the log window.



  3. When the log window is displayed, Click on the Configuration icon highlighted below, or select Utility and select Configuration.

     

Capricorn Configuration Settings

  1. Click on Manage Queues in the left hand side panel.



  2. Click Add.

    Enter HL7 Outgoing for the Queue name.

    Enter C:\Genie\Medical Objects\Outgoing\ for the Base Directory.


     
  3. Click on HL7 OUTGOING in the Queues to watch for messages pane and then click on Setup.



  4. Click on Add in the window that appears and choose the following decorator from the menu that appears.

     

    Specify File Mask

     



    Note:

    For this particular decorator, When you are returned to the queue building screen you will have to set *.HL7 (HL7 Messages) from the drop down for that Decorator.

  5. Repeat Step 4 for the following decorators.

    Note:

    You must do them in sequence.

    Strip Illegal Characters
    Move ACKs to Application ACK Folder
    Fix REF Message
    Convert REF message to ORU format
    Route with Capricorn

    Note:

    If you need to change the order of the decorators, you can click on the decorator in the queue and use the arrow buttons on the right hand side of the screen to change their priority.


    If you get an error at anytime sending from Genie that looks similar to the following: EFTInvalidFormatCode:Invalid escape sequence format code ".RTF"' then you will have to add the following decorator after the Strip Illegal Characters Decorator.

    Modify Message with HL7 Script


    Once you have added the Decorator, add to it the following code in its main settings box just under the Edit button.


    Program Test;
    var i:Integer;
     s : String;
     OBXStart: Integer;
    begin
     //HL7 Data is a precreated object with the HL7Data loaded
     OBXStart := HL7Data.IndexofSegment('OBX');
     writeln('OBX Index is '+ inttostr(OBXStart));
     for i := OBXStart + 1 to HL7Data.segmentCount-1 do
     begin
     if HL7data[inttostr(i) + '.3.1.1'] = 'RTF' then
     begin
     HL7Data.DeleteSegment(i);
     break;
     end;
     end;
    end.
  6. Go to the Server Parameters option on the left hand menu. Here you need to Enter the Server File Prefix. Enter a 3 letter acronym for the practice. This prefix will be used when naming outgoing messages.



  7. Next go to the Setup Global Parameters. Set the Seconds to wait before processing files to 10 seconds. This allows Genie time to save the file completely before Capricorn tries to send it.

  • No labels