Mercurial > hg > orthanc-databases
diff PostgreSQL/Plugins/PostgreSQLIndex.cpp @ 88:eb08ec14fb04 db-changes
new extension implemented: TagMostRecentPatient
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Jan 2019 21:10:50 +0100 |
parents | 1012fe77241c |
children | e61587582cef |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp Thu Jan 10 20:39:36 2019 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp Tue Jan 15 21:10:50 2019 +0100 @@ -381,6 +381,9 @@ result.patientId = ReadInteger64(statement, 4); result.studyId = ReadInteger64(statement, 5); result.seriesId = ReadInteger64(statement, 6); + + // TODO - Move this to the stored procedure + TagMostRecentPatient(result.patientId); } } #endif