Added default operator type EQUALS

This commit is contained in:
Matti Uusitalo 2018-11-08 13:52:06 +02:00 committed by Eeva Turkka
parent 16a4004f02
commit 58afc3444b
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;
}