This commit is contained in:
Grahame Grieve 2021-06-25 04:35:54 +10:00
commit 96994badb9
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class Condition10_40 {
tgt.setSeverity(VersionConvertor_10_40.convertCodeableConcept(src.getSeverity()));
if (src.hasOnset())
tgt.setOnset(VersionConvertor_10_40.convertType(src.getOnset()));
if (src.hasAbatement())
if (src.hasAbatement() && !(src.getAbatement() instanceof org.hl7.fhir.dstu2.model.BooleanType))
tgt.setAbatement(VersionConvertor_10_40.convertType(src.getAbatement()));
if (src.hasStage())
tgt.addStage(convertConditionStageComponent(src.getStage()));