From 73925c451bb02c4cc8faea71cf5b37d24a334ffe Mon Sep 17 00:00:00 2001 From: Itay Goren Date: Wed, 23 Jun 2021 12:59:19 +0300 Subject: [PATCH] fix condition abatament bool --- .../java/org/hl7/fhir/convertors/conv10_40/Condition10_40.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_40/Condition10_40.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_40/Condition10_40.java index 07eee6434..acb32181e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_40/Condition10_40.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_40/Condition10_40.java @@ -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()));