From dd8d5965de0d31f84ce20733867b99170d7eef06 Mon Sep 17 00:00:00 2001 From: markiantorno Date: Mon, 10 Feb 2020 16:29:18 -0500 Subject: [PATCH] wip --- .../convertors/conv30_50/CapabilityStatement30_50.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 0b91ed387..18271cff9 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 @@ -538,8 +538,8 @@ public class CapabilityStatement30_50 { VersionConvertor_30_50.copyElement(src, tgt); if (src.hasNameElement()) tgt.setNameElement((org.hl7.fhir.dstu3.model.StringType) VersionConvertor_30_50.convertType(src.getNameElement())); - if (src.hasDefinitionElement()) - tgt.setDefinitionElement((org.hl7.fhir.dstu3.model.UriType) VersionConvertor_30_50.convertType(src.getDefinitionElement())); + if (src.hasDefinition()) + tgt.setDefinition(src.getDefinition()); if (src.hasType()) tgt.setType(VersionConvertor_30_50.convertSearchParamType(src.getType())); if (src.hasDocumentation()) @@ -554,8 +554,8 @@ public class CapabilityStatement30_50 { VersionConvertor_30_50.copyElement(src, tgt); if (src.hasNameElement()) tgt.setNameElement((org.hl7.fhir.r5.model.StringType) VersionConvertor_30_50.convertType(src.getNameElement())); - if (src.hasDefinitionElement()) - tgt.setDefinitionElement((org.hl7.fhir.r5.model.CanonicalType) VersionConvertor_30_50.convertType(src.getDefinitionElement())); + if (src.hasDefinition()) + tgt.setDefinition(src.getDefinition()); if (src.hasType()) tgt.setType(VersionConvertor_30_50.convertSearchParamType(src.getType())); if (src.hasDocumentation())