ShowAnnotations()

Top  Previous  Next

Object: EHL7Interface.eUtilities

FileName: EHL7Interface.dll

 

Method

 

Name: ShowAnnotations()

Parameters:

1.strSegment (optional string = "") which segment to show initially
2.strVendorID (optional string = "") Vendor Guid
3.strVendorPath (optional string = "")

Returns: Boolean (true on success)

Description: Shows the built-in EasyHL7  Vendor Annotationswindow.  You MUST either pass a vendor ID in parameter 2 or set the vendorID property (and optionally the vendorpath property) prior to calling this method.

 

*Note: You can click on 'Annotations' in the 'File' menu of EasyHL7.exe to see this method in action.

 

Example:

Dim myInterfaceObj As New EHL7Interface.eUtilities

Dim myVendorID As String

       If Not myInterfaceObj.SetUpComplete Then

               Msgbox "Try again later"

               'Now get out and exit program

       End If

 

       MsgBox "Everythings good, vendor files are installed in: " & myInterfaceObj.VendorPath

       myVendorID = myInterfaceObj.GetVendorID("Default","2.3")

       myInterfaceObj.ShowAnnotations("MSH",myVendorID)

       'OR YOU COULD

       myInterfaceObj.VendorID = myVendorID

       myInterfaceObj.ShowAnnotations("PID")

 

 

See Also: User Defined Annotations