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

@ -1,22 +1,25 @@
Validator: Validator:
* Add support for $index on aggregators in FHIRPath * Add support for $index on aggregators in FHIRPath
* don't fail with an exception if an unknown resource type appears in contained resource * don't fail with an exception if an unknown resource type appears in contained resource
* improved validation for some value sets that are based on unknown code systems * improved validation for some value sets that are based on unknown code systems
* add the -verbose parameter, and add additional verbose messages * add the -verbose parameter, and add additional verbose messages
* CDA: Fix erroneous type validation on CDA templates * CDA: Fix erroneous type validation on CDA templates
Snapshot generator: Conversion code:
* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types * Ignoring abatementBoolean when converting from dstu2 to r4
Other code changes: Snapshot generator:
* Fix rendering of slices so type on slicer is not hidden * CDA: Suppress erroneous "Expansion" text appearing in view
* Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render) * CDA: Don't delete binding information in snapshot for CDA bindable data types
* Fix NPE rendering code systems with some kinds of properties
* Improve rendering of questionnaires (icons, option sets) Other code changes:
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information * Fix rendering of slices so type on slicer is not hidden
* Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render)
* Fix NPE rendering code systems with some kinds of properties
* 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())); tgt.setSeverity(VersionConvertor_10_40.convertCodeableConcept(src.getSeverity()));
if (src.hasOnset()) if (src.hasOnset())
tgt.setOnset(VersionConvertor_10_40.convertType(src.getOnset())); 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())); tgt.setAbatement(VersionConvertor_10_40.convertType(src.getAbatement()));
if (src.hasStage()) if (src.hasStage())
tgt.setStage(convertConditionStageComponent(src.getStageFirstRep())); tgt.setStage(convertConditionStageComponent(src.getStageFirstRep()));