ShowElements() |
Top Previous Next |
Object: EHL7Interface.eUtilities FileName: EHL7Interface.dll
Method
Name: ShowElements() Parameters: 1. SegmentName (string) identifying which segment to display field elements for Returns: Boolean Description: Shows the built-in EasyHL7 Segment Elements window for the selected vendor and segment. 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.ShowElements("MSH") 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
|