ShowTables()

Top  Previous  Next

Object: EHL7Interface.eUtilities

FileName: EHL7Interface.dll

 

Method

 

Name: ShowTables()

Parameters:

1.    nTableID (optional Long default 0) the HL7 Table ID to show when it loads

2.sVendorID (optional string default "") identifying the vendor definition files to use

3.    sVendorPath (optional string default = "") identifying a path to the vendor files to use

Returns: N/A

Description: Shows the built-in EasyHL7 Table definitions window.  If you have previously set the VendorID property it is not necessary to pass it as a parameter.  The same applies to the VendorPath property.

 

 

Example:

Private Sub ViewTables(strVendorID As String)

Dim myInterfaceObj As New EHL7Interface.eUtilities

 

If myInterfaceObj.SetUpComplete Then

       'The interface object will use the default vendorpath

  'Show the patient sex table

       myInterfaceObj.ShowTables(1,strVendorID)

       If myInterfaceObj.IsError Then

        Msgbox myInterfaceObj.LastError

    End If

Else

       myInterfaceObj.ShowConfiguration()

       If Not myInterfaceObj.SetUpComplete Then

               Msgbox "Try again later"

               'Now get out and exit program

       End If

End If

End Sub

 

See Also: HL7 Table Definitions