Structure definition error fixed.

This commit is contained in:
markiantorno 2020-02-10 15:26:40 -05:00
parent eb09015abb
commit 44c9fd596e
2 changed files with 5 additions and 5 deletions

View File

@ -105,8 +105,8 @@ public class StructureDefinition30_50 {
}
if (src.hasType())
tgt.setType(src.getType());
if (src.hasBaseDefinitionElement())
tgt.setBaseDefinitionElement((org.hl7.fhir.r5.model.CanonicalType) VersionConvertor_30_50.convertType(src.getBaseDefinitionElement()));
if (src.hasBaseDefinition())
tgt.setBaseDefinition(src.getBaseDefinition());
if (src.hasDerivation())
tgt.setDerivation(convertTypeDerivationRule(src.getDerivation()));
if (src.hasSnapshot())
@ -184,8 +184,8 @@ public class StructureDefinition30_50 {
}
if (src.hasType())
tgt.setType(src.getType());
if (src.hasBaseDefinitionElement())
tgt.setBaseDefinitionElement((org.hl7.fhir.dstu3.model.UriType) VersionConvertor_30_50.convertType(src.getBaseDefinitionElement()));
if (src.hasBaseDefinition())
tgt.setBaseDefinition(src.getBaseDefinition());
if (src.hasDerivation())
tgt.setDerivation(convertTypeDerivationRule(src.getDerivation()));
if (src.hasSnapshot())

View File

@ -978,7 +978,7 @@ This period may be different to the coveragePeriod which is the duration of time
return this.name != null && !this.name.isEmpty();
}
public boolean hasName() {
public boolean hasName() {
return this.name != null && !this.name.isEmpty();
}