From a15b436891ef3c4a083c7afd36636677ff07d958 Mon Sep 17 00:00:00 2001 From: markiantorno Date: Mon, 10 Feb 2020 17:01:34 -0500 Subject: [PATCH] CapabilityStatement30_50 fix --- .../conv30_50/CapabilityStatement30_50.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50.java index 18271cff9..735e9f423 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/CapabilityStatement30_50.java @@ -191,8 +191,8 @@ public class CapabilityStatement30_50 { return null; org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementImplementationComponent tgt = new org.hl7.fhir.r5.model.CapabilityStatement.CapabilityStatementImplementationComponent(); VersionConvertor_30_50.copyElement(src, tgt); - if (src.hasDescriptionElement()) - tgt.setDescriptionElement((org.hl7.fhir.r5.model.StringType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); + if (src.hasDescription()) + tgt.setDescription(src.getDescription()); if (src.hasUrlElement()) tgt.setUrlElement((org.hl7.fhir.r5.model.UrlType) VersionConvertor_30_50.convertType(src.getUrlElement())); return tgt; @@ -203,8 +203,8 @@ public class CapabilityStatement30_50 { return null; org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementImplementationComponent tgt = new org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementImplementationComponent(); VersionConvertor_30_50.copyElement(src, tgt); - if (src.hasDescriptionElement()) - tgt.setDescriptionElement((org.hl7.fhir.dstu3.model.StringType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); + if (src.hasDescription()) + tgt.setDescription(src.getDescription()); if (src.hasUrlElement()) tgt.setUrlElement((org.hl7.fhir.dstu3.model.UriType) VersionConvertor_30_50.convertType(src.getUrlElement())); return tgt; @@ -573,8 +573,8 @@ public class CapabilityStatement30_50 { if (src.hasService()) { for (org.hl7.fhir.r5.model.CodeableConcept t : src.getService()) tgt.addService(VersionConvertor_30_50.convertCodeableConcept(t)); } - if (src.hasDescriptionElement()) - tgt.setDescriptionElement((org.hl7.fhir.dstu3.model.StringType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); + if (src.hasDescription()) + tgt.setDescription(src.getDescription()); return tgt; } @@ -588,8 +588,8 @@ public class CapabilityStatement30_50 { if (src.hasService()) { for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getService()) tgt.addService(VersionConvertor_30_50.convertCodeableConcept(t)); } - if (src.hasDescriptionElement()) - tgt.setDescriptionElement((org.hl7.fhir.r5.model.MarkdownType) VersionConvertor_30_50.convertType(src.getDescriptionElement())); + if (src.hasDescription()) + tgt.setDescription(src.getDescription()); return tgt; }