This commit is contained in:
Grahame Grieve 2021-06-17 17:24:18 +10:00
commit 831265d0e3
2 changed files with 26 additions and 23 deletions

View File

@ -6,7 +6,12 @@ Validator:
* add the -verbose parameter, and add additional verbose messages
* CDA: Fix erroneous type validation on CDA templates
Conversion code:
* Ignoring abatementBoolean when converting from dstu2 to r4
Snapshot generator:
* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types
@ -18,5 +23,3 @@ Other code changes:
* Improve rendering of questionnaires (icons, option sets)
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information

View File

@ -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()));