Storage, querying and visualisation of clinical dental records