A simple HL7 parser and query language