From 0dd8f14c6edd0e6edcd8dae6712be673bdcc7844 Mon Sep 17 00:00:00 2001 From: Itay Goren Date: Mon, 14 Jun 2021 09:50:08 +0300 Subject: [PATCH 1/2] can not convert boolean abatement from dstu2 to r4 --- .../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 46edcd7fe..07eee6434 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 @@ -30,7 +30,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.r4.model.BooleanType)) tgt.setAbatement(VersionConvertor_10_40.convertType(src.getAbatement())); if (src.hasStage()) tgt.setStage(convertConditionStageComponent(src.getStageFirstRep())); From 2d44b34b768b1e821f298512d976b701f6eca6b3 Mon Sep 17 00:00:00 2001 From: Itay Goren Date: Mon, 14 Jun 2021 09:52:08 +0300 Subject: [PATCH 2/2] add to release notes --- RELEASE_NOTES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e69de29bb..6b0a40d51 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -0,0 +1 @@ +* Ignoring abatementBoolean when converting from dstu2 to r4