Class Name: UPSInfo
Scope: Public - Restricted - Child Class of UPSInfo - No public constructor.
Description: The UPSHL7SegmentTables Class is a very short, but useful class. Create the object by calling the UPSInfo.GetUPSHL7SegmentTables(String segmentName) method. The object only consists of 6 ReadOnly properties 3 Booleans, 1 String, and 2 UPSTable objects with no public methods. Use this class to quickly and easily determine whether a segment name has segment data tables associated with it and if so which ones. See the Properties below.
String SegmentName. The name of the HL7 segment ("MSH", "PID", "OBX", etc)
Boolean Exists. Will be False if your schema contains no data tables for SegmentName.
Boolean ATableExists. Will be False if your schema contains no _A tables for SegmentName.
Boolean BTableExists. Will be False if your schema contains no _B tables for SegmentName.
Description: Remember the way that your segment data tables are designed. If the HL7 Definition shows that the HL7 Segment contains 40 or FEWER HL7 fields then only a _A table is created. For segments with more than 40 HL7 fields a _B table is also created with Fields 41-nnn.
UPSTable ATable. Will be an object representing the _A table. The object will never be null. IF the table doesn't exist it will be an empty UPSTable object (UPSTable.Exists will be False).
UPSTable BTable. Will be an object representing the _B table. The object will never be null. IF the table doesn't exist it will be an empty UPSTable object (UPSTable.Exists will be False).
|
See Also: UPSInfo Class, UPSTable Class, UPSColumn Class.