fixed queryService call in HL7 lib