if (token.startsWith(VIEW + "/edit")) {
String[] parts = token.split("/");
String id = null;
if(diagnosisEditView == null)
diagnosisEditView = new DiagnosisEditViewImpl();
// is a edit statement?
if(parts.length > 3) id = parts[parts.length - 1];
new DiagnosisEditPresenter(diagnosisEditView, id).
go(view.getContent());
} else if (token.startsWith(VIEW + "/new")) {//invoked from patient screen
String[] parts = token.split("/");
String id = null;
if(diagnosisEditView == null)
diagnosisEditView = new DiagnosisEditViewImpl();
// is a edit statement?
if(parts.length > 3) id = parts[parts.length - 1];
new DiagnosisEditPresenter(diagnosisEditView, null, id).