ShowElementProperties()

Top  Previous  Next

Object: EHL7Interface.eUtilities

FileName: EHL7Interface.dll

 

Method

 

Name: ShowElementProperties()

Parameters:

1. SegmentName (string) identifying which segment to display field elements for

2. nElementNumber (long default = 1) which element to display on load.

Returns: Boolean

Description: Shows the built-in EasyHL7 Extended element properties window for the selected vendor, segment and optional nElementNumber.  You must set the VendorID property (and if necessary, the VendorPath property) before calling this method.

 

In the file manager window and profiles window you can also access all of the definition editing functions by clicking on the 'Hot Spots' in the data section of an open HL7 file.

 

Example:

Private Sub ViewSegmentElements(strVendorID As String)

Dim myInterfaceObj As New EHL7Interface.eUtilities

 

If myInterfaceObj.SetUpComplete Then

       myInterfaceObj.VendorID = strVendorID

       If Not myInterfaceObj.ShowElementProperties("ZCI", 3) 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

 

 

clip0022