Update ScreenChestCT CalcCACS.

This commit is contained in:
sdk-team
2022-06-20 10:03:15 +00:00
parent 36855118de
commit 720c4910dd
4 changed files with 8 additions and 1 deletions

View File

@@ -56,6 +56,9 @@ void CalcCACSResult::parse(const std::string &payload)
detectionsItemObject.calciumScore = std::stof(dataNodeDetectionsdetectionsItem["CalciumScore"].asString());
if(!dataNodeDetectionsdetectionsItem["CalciumVolume"].isNull())
detectionsItemObject.calciumVolume = std::stof(dataNodeDetectionsdetectionsItem["CalciumVolume"].asString());
auto allCalciumCenter = value["CalciumCenter"]["calciumCenter"];
for (auto value : allCalciumCenter)
detectionsItemObject.calciumCenter.push_back(value.asString());
data_.detections.push_back(detectionsItemObject);
}
if(!value["Code"].isNull())