Duco Dokter - 2004-05-17

There is some demand for toString methods returing string representations for the segment and the field in a segment. On first thought it seems like a getFieldAsString method in the Net::HL7::Segment would be a good solution. However, this would sever the API, since the separators that are part of the string representation are essentially part of the message, not of the segment. A possible solution is a getSegmentAsString and getFieldAsString method for the Net::HL7::Message.
Ideas more than welcome, so I can implement this functionality.