HL7TableLookup

Object Method - HL7TableLookup()

Parent Object - HL7Vendor

Returns - String


Name: HL7TableLookup(ByVal lngTableID, ByVal strCodeToFind, Optional ByVal strIfNotFound = "")

Parameters: 1. lngTableID (Long - HL7 Table ID) 2. strCodeToFind (String - Code to look for) 3. strIfNotFound (Optional String - default return value)

Description: Looks up <strCodeToFind> in the internal HL7 table represented by <lngTableID> and returns the value (if found) or <strIfNotFound>   (if not found or <lngTableID> does not exist).

 

 

Example:

 

'MyVendorObject is an open HL7Vendor object.

With MyVendorObject

    Dim s As String = .HL7TableLookup(1,"M","Unknown")

    MessageBox.Show(s,"Value of 'M' in Table #1")

End With