Scalable Medical Record Systems: Example DIABCARD Core Application System