1st Appearance: Version 1.0.6
Class Name: HTSQLHL7Segment
Scope: Public - Restricted - Child Class of HTSQLHL7Message - No public constructor.
All HL7 messages are made up of HL7 Segments.
String ATableName - The name of the _A table in your Schema tables. String BTableName - The name of the _B table in your Schema tables.
NOTE: These values only return what the names of the tables would be. It's not an indication of whether they do (or even should) exist. You can query that using the UPSInfo class.
Integer FieldCount - The number of HTSQLHL7Field instances the class contains.
Integer Index - The ordinal position of the segment within the HL7 message. The MSH segment is always #1.
HTSQLHL7Message ParentMessage - Object reference to the parent message object.
String SegmentName - The name of the HL7 segment (MSH, PID, OBX, etc)
String Value - The HL7 formatted value of the segment. |
Boolean IsLoaded() - Has the object been populated with HL7 Data.
HTSQLHL7Field Field(Integer) - Retrieve a field object from the segment. Parameter 1: Integer - fieldIndex. The ordinal position within the segment of the field object you wish, a value between 1 and FieldCount.
NOTE: Will return Null and LastException will be set if fieldIndex is invalid.
String FieldValue(Integer) - The full raw HL7 formatted value of the field. Parameter 1: Integer - fieldIndex. The ordinal position within the segment of the field object you wish the value for, a value between 1 and FieldCount.
NOTE: Will return an empty String "" if fieldIndex is invalid. |
Exception Handling: Follows the Common Exceptions Interface.