fix: Mpps action when patient has no accession.
This commit is contained in:
@@ -68,7 +68,11 @@ MPPSManager* MPPSManager::getInstance()
|
||||
void MPPSManager::sendMPPS()
|
||||
{
|
||||
AccessionInformation* accession = ScanProcessSequence::getInstance()->topAccession().first;
|
||||
if (accession != nullptr && JsonObject::Instance()->getMppsOpen() && !accession->mSPSID.isEmpty() && accession->mMPPSUID.isEmpty())
|
||||
if(accession == nullptr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (JsonObject::Instance()->getMppsOpen() && !accession->mSPSID.isEmpty() && accession->mMPPSUID.isEmpty())
|
||||
{
|
||||
action->setAccession(accession);
|
||||
action->execute();
|
||||
|
||||
Reference in New Issue
Block a user