public query function getConditionRecord( required string conditionId )
Returns a query record of the condition matched by the given id