Mercurial > hg > orthanc
comparison OrthancServer/Database/Compatibility/ICreateInstance.h @ 3124:c0d7aee8c3f8 db-changes
Fix issue #58 (Patient recycling order should be defined by their received last instance)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Jan 2019 21:09:33 +0100 |
parents | f86ebf971a72 |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3121:f86ebf971a72 | 3124:c0d7aee8c3f8 |
---|---|
50 ResourceType type) = 0; | 50 ResourceType type) = 0; |
51 | 51 |
52 virtual void AttachChild(int64_t parent, | 52 virtual void AttachChild(int64_t parent, |
53 int64_t child) = 0; | 53 int64_t child) = 0; |
54 | 54 |
55 virtual void TagAsMostRecentPatient(int64_t patientId) = 0; | 55 virtual void TagMostRecentPatient(int64_t patientId) = 0; |
56 | 56 |
57 static bool Apply(ICreateInstance& database, | 57 static bool Apply(ICreateInstance& database, |
58 IDatabaseWrapper::CreateInstanceResult& result, | 58 IDatabaseWrapper::CreateInstanceResult& result, |
59 int64_t& instanceId, | 59 int64_t& instanceId, |
60 const std::string& patient, | 60 const std::string& patient, |