Bug Radiopharmaceutical Radiation Dose Contstraint Checker

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Luuk
Posts: 8
Joined: Thu, 2005-08-18, 13:00

Bug Radiopharmaceutical Radiation Dose Contstraint Checker

#1 Post by Luuk »

Hi all,

In OFBool DSRRadiopharmaceuticalRadiationDoseConstraintChecker::checkContentRelationship the following code can be found:

Code: Select all

        /* row 5 of the table */
        else if ((relationshipType == RT_hasProperties) &&
            ((sourceValueType == VT_Text) || (sourceValueType == VT_Code) || (sourceValueType == VT_Num) || (targetValueType == VT_PName)))
I think it should be the following as row 5 of table A.35.14-2 has TEXT, CODE, NUM and PNAME as Source Value Type (change "(targetValueType == VT_PName)" in "(sourceValueType == VT_PName)")

Code: Select all

        /* row 5 of the table */
        else if ((relationshipType == RT_hasProperties) &&
            ((sourceValueType == VT_Text) || (sourceValueType == VT_Code) || (sourceValueType == VT_Num) || (sourceValueType == VT_PName)))

J. Riesmeier
DCMTK Developer
Posts: 2506
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Bug Radiopharmaceutical Radiation Dose Contstraint Check

#2 Post by J. Riesmeier »

You are right. Thank you for the report. I'll fix it and push the commit to the public git repository (should be visible tomorrow).

J. Riesmeier
DCMTK Developer
Posts: 2506
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Bug Radiopharmaceutical Radiation Dose Contstraint Check

#3 Post by J. Riesmeier »


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest