Added default operator type EQUALS
This commit is contained in:
parent
16a4004f02
commit
58afc3444b
|
@ -16304,8 +16304,10 @@ public class VersionConvertor_30_40 {
|
||||||
tgt.setOperator(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemOperator.EXISTS);
|
tgt.setOperator(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemOperator.EXISTS);
|
||||||
tgt.setAnswer(convertType(src.getHasAnswerElement()));
|
tgt.setAnswer(convertType(src.getHasAnswerElement()));
|
||||||
}
|
}
|
||||||
else if (src.hasAnswer())
|
else if (src.hasAnswer()) {
|
||||||
tgt.setAnswer(convertType(src.getAnswer()));
|
tgt.setOperator(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemOperator.EQUAL);
|
||||||
|
tgt.setAnswer(convertType(src.getAnswer()));
|
||||||
|
}
|
||||||
return tgt;
|
return tgt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue