Merge pull request #543 from ItayGoren/abatament-condition
fix condition abatament bool
This commit is contained in:
commit
d07da31206
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue