Added default operator type EQUALS

This commit is contained in:
Matti Uusitalo 2018-11-08 13:52:06 +02:00
parent e2cdb7bbe6
commit 3b1c1dc9f4
1 changed files with 4 additions and 2 deletions

View File

@ -16304,8 +16304,10 @@ public class VersionConvertor_30_40 {
tgt.setOperator(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemOperator.EXISTS);
tgt.setAnswer(convertType(src.getHasAnswerElement()));
}
else if (src.hasAnswer())
else if (src.hasAnswer()) {
tgt.setOperator(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemOperator.EQUAL);
tgt.setAnswer(convertType(src.getAnswer()));
}
return tgt;
}