Skip to content

Commit 2bfe526

Browse files
committed
remove UC check for InfectionOrigin
1 parent b31d36a commit 2bfe526

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

model/Clinical/CMDecisionTree.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -714,9 +714,6 @@ const CMDecisionTree& CMDTCaseType::create( const scnXml::DTCaseType& node, bool
714714
}
715715

716716
const CMDecisionTree& CMDTInfectionOrigin::create( const scnXml::DTInfectionOrigin& node, bool isUC ){
717-
if( !isUC ){
718-
throw util::xml_scenario_error( "decision tree: caseType can only be used for uncomplicated cases" );
719-
}
720717
return save_decision( new CMDTInfectionOrigin(
721718
CMDecisionTree::create( node.getImported(), isUC ),
722719
CMDecisionTree::create( node.getIntroduced(), isUC ),

0 commit comments

Comments
 (0)