CapabilityStatement30_50 fix

This commit is contained in:
markiantorno 2020-02-10 17:01:34 -05:00
parent 3ec55be629
commit a15b436891
1 changed files with 8 additions and 8 deletions

View File

@ -191,8 +191,8 @@ public class CapabilityStatement30_50 {
return null; return null;
org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementImplementationComponent tgt = new org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementImplementationComponent(); org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementImplementationComponent tgt = new org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementImplementationComponent();
VersionConvertor_30_50.copyElement(src, tgt); VersionConvertor_30_50.copyElement(src, tgt);
if (src.hasDescriptionElement()) if (src.hasDescription())
tgt.setDescriptionElement((org.hl7.fhir.r5.model.StringType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); tgt.setDescription(src.getDescription());
if (src.hasUrlElement()) if (src.hasUrlElement())
tgt.setUrlElement((org.hl7.fhir.r5.model.UrlType) VersionConvertor_30_50.convertType(src.getUrlElement())); tgt.setUrlElement((org.hl7.fhir.r5.model.UrlType) VersionConvertor_30_50.convertType(src.getUrlElement()));
return tgt; return tgt;
@ -203,8 +203,8 @@ public class CapabilityStatement30_50 {
return null; return null;
org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementImplementationComponent tgt = new org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementImplementationComponent(); org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementImplementationComponent tgt = new org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementImplementationComponent();
VersionConvertor_30_50.copyElement(src, tgt); VersionConvertor_30_50.copyElement(src, tgt);
if (src.hasDescriptionElement()) if (src.hasDescription())
tgt.setDescriptionElement((org.hl7.fhir.dstu3.model.StringType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); tgt.setDescription(src.getDescription());
if (src.hasUrlElement()) if (src.hasUrlElement())
tgt.setUrlElement((org.hl7.fhir.dstu3.model.UriType) VersionConvertor_30_50.convertType(src.getUrlElement())); tgt.setUrlElement((org.hl7.fhir.dstu3.model.UriType) VersionConvertor_30_50.convertType(src.getUrlElement()));
return tgt; return tgt;
@ -573,8 +573,8 @@ public class CapabilityStatement30_50 {
if (src.hasService()) { if (src.hasService()) {
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getService()) tgt.addService(VersionConvertor_30_50.convertCodeableConcept(t)); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getService()) tgt.addService(VersionConvertor_30_50.convertCodeableConcept(t));
} }
if (src.hasDescriptionElement()) if (src.hasDescription())
tgt.setDescriptionElement((org.hl7.fhir.dstu3.model.StringType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); tgt.setDescription(src.getDescription());
return tgt; return tgt;
} }
@ -588,8 +588,8 @@ public class CapabilityStatement30_50 {
if (src.hasService()) { if (src.hasService()) {
for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getService()) tgt.addService(VersionConvertor_30_50.convertCodeableConcept(t)); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getService()) tgt.addService(VersionConvertor_30_50.convertCodeableConcept(t));
} }
if (src.hasDescriptionElement()) if (src.hasDescription())
tgt.setDescriptionElement((org.hl7.fhir.r5.model.MarkdownType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); tgt.setDescription(src.getDescription());
return tgt; return tgt;
} }