ShowProfiles()

Top  Previous  Next

Object: EHL7Interface.eUtilities

FileName: EHL7Interface.dll

 

Method

 

Name: ShowProfiles()

Parameters:

1.strFileName (optional String Default = "") a full path/filename to open automatically when the Profiles window loads.
2.bDenyExecute (optional Boolean Default = False) If set to 'True' the user cannot 'Run' the profile.

Returns: N/A

Description: Shows the built-in EasyHL7 Processing Profiles window.  If bDenyExecute is 'False' (the default) the user can also execute the profile.  *NOTE* Think carefully about this if you distribute solutions using the EHL7Processor object.  If you pass 'True' in this parameter when the user clicks the 'Run' button on the toolbar of the profiles window, a call to the Validate() method is made and then the user is shown a message stating that the developer has disabled further manual execution of profiles.

 

EasyHL7 Processing Profiles are used by the EHL7Processor object in EHL7.dll. Basically they are just an ini file with a set of preselected options to configure the object.  Profile settings can be saved in an ini file OR set at run-time manually and run.

 

Example of an INI file contents for a processing profile:

[EasyHL7]

VendorID=63578DEA-9541-4663-B484-111919054FBC

VendorPath=I:\HL7\VBTools\HL7Easy\HL7Definitions\

CompleteAction=0

ErrorPath=J:\HL7_Final\TestFiles\ERRORS\

InboundExtension=hl7

InboundFormat=0

InboundPath=J:\HL7_Final\TestFiles\Inbox\

OutboundExtension=hl7

OutboundFormat=0

OutboundPath=J:\HL7_Final\TestFiles\Output\

PollingInterval=5

StopTime=02:00 PM

PauseHours=2

ProcessingOptions=1

TruncateFields=1

 

Code Example:

Dim myInterfaceObj As New EHL7Interface.eUtilities

 

If myInterfaceObj.SetUpComplete Then

       myInterfaceObj.ShowProfiles()

Else

       myInterfaceObj.ShowConfiguration()

       If Not myInterfaceObj.SetUpComplete Then

               Msgbox "Try again later"

               'Now get out and exit program

       End If

End If

 

Graphic:

 

clip0007