
001package org.hl7.fhir.convertors.conv43_50.resources43_50; 002 003import org.hl7.fhir.convertors.context.ConversionContext43_50; 004import org.hl7.fhir.convertors.conv43_50.datatypes43_50.general43_50.Annotation43_50; 005import org.hl7.fhir.convertors.conv43_50.datatypes43_50.general43_50.CodeableConcept43_50; 006import org.hl7.fhir.convertors.conv43_50.datatypes43_50.general43_50.Identifier43_50; 007import org.hl7.fhir.convertors.conv43_50.datatypes43_50.primitive43_50.Canonical43_50; 008import org.hl7.fhir.convertors.conv43_50.datatypes43_50.primitive43_50.DateTime43_50; 009import org.hl7.fhir.convertors.conv43_50.datatypes43_50.primitive43_50.Uri43_50; 010import org.hl7.fhir.convertors.conv43_50.datatypes43_50.special43_50.Reference43_50; 011import org.hl7.fhir.exceptions.FHIRException; 012import org.hl7.fhir.r5.model.CodeableReference; 013import org.hl7.fhir.r5.model.Enumeration; 014import org.hl7.fhir.r5.model.Enumerations; 015 016/* 017 Copyright (c) 2011+, HL7, Inc. 018 All rights reserved. 019 020 Redistribution and use in source and binary forms, with or without modification, 021 are permitted provided that the following conditions are met: 022 023 * Redistributions of source code must retain the above copyright notice, this 024 list of conditions and the following disclaimer. 025 * Redistributions in binary form must reproduce the above copyright notice, 026 this list of conditions and the following disclaimer in the documentation 027 and/or other materials provided with the distribution. 028 * Neither the name of HL7 nor the names of its contributors may be used to 029 endorse or promote products derived from this software without specific 030 prior written permission. 031 032 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 033 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 034 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 035 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 036 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 037 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 038 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 039 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 040 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 041 POSSIBILITY OF SUCH DAMAGE. 042 043*/ 044// Generated on Sun, Feb 24, 2019 11:37+1100 for FHIR v4.0.0 045public class DeviceRequest43_50 { 046 047 public static org.hl7.fhir.r5.model.DeviceRequest convertDeviceRequest(org.hl7.fhir.r4b.model.DeviceRequest src) throws FHIRException { 048 if (src == null) 049 return null; 050 org.hl7.fhir.r5.model.DeviceRequest tgt = new org.hl7.fhir.r5.model.DeviceRequest(); 051 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyDomainResource(src, tgt); 052 for (org.hl7.fhir.r4b.model.Identifier t : src.getIdentifier()) 053 tgt.addIdentifier(Identifier43_50.convertIdentifier(t)); 054 for (org.hl7.fhir.r4b.model.CanonicalType t : src.getInstantiatesCanonical()) 055 tgt.getInstantiatesCanonical().add(Canonical43_50.convertCanonical(t)); 056 for (org.hl7.fhir.r4b.model.UriType t : src.getInstantiatesUri()) 057 tgt.getInstantiatesUri().add(Uri43_50.convertUri(t)); 058 for (org.hl7.fhir.r4b.model.Reference t : src.getBasedOn()) tgt.addBasedOn(Reference43_50.convertReference(t)); 059// for (org.hl7.fhir.r4b.model.Reference t : src.getPriorRequest()) 060// tgt.addPriorRequest(Reference43_50.convertReference(t)); 061 if (src.hasGroupIdentifier()) 062 tgt.setGroupIdentifier(Identifier43_50.convertIdentifier(src.getGroupIdentifier())); 063 if (src.hasStatus()) 064 tgt.setStatusElement(convertDeviceRequestStatus(src.getStatusElement())); 065 if (src.hasIntent()) 066 tgt.setIntentElement(convertRequestIntent(src.getIntentElement())); 067 if (src.hasPriority()) 068 tgt.setPriorityElement(convertRequestPriority(src.getPriorityElement())); 069 if (src.hasCodeCodeableConcept()) 070 tgt.getCode().setConcept(CodeableConcept43_50.convertCodeableConcept(src.getCodeCodeableConcept())); 071 else if (src.hasCodeReference()) 072 tgt.getCode().setReference(Reference43_50.convertReference(src.getCodeReference())); 073 074 for (org.hl7.fhir.r4b.model.DeviceRequest.DeviceRequestParameterComponent t : src.getParameter()) 075 tgt.addParameter(convertDeviceRequestParameterComponent(t)); 076 if (src.hasSubject()) 077 tgt.setSubject(Reference43_50.convertReference(src.getSubject())); 078 if (src.hasEncounter()) 079 tgt.setEncounter(Reference43_50.convertReference(src.getEncounter())); 080 if (src.hasOccurrence()) 081 tgt.setOccurrence(ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().convertType(src.getOccurrence())); 082 if (src.hasAuthoredOn()) 083 tgt.setAuthoredOnElement(DateTime43_50.convertDateTime(src.getAuthoredOnElement())); 084 if (src.hasRequester()) 085 tgt.setRequester(Reference43_50.convertReference(src.getRequester())); 086 if (src.hasPerformerType()) 087 tgt.getPerformer().setConcept(CodeableConcept43_50.convertCodeableConcept(src.getPerformerType())); 088 if (src.hasPerformer()) 089 tgt.getPerformer().setReference(Reference43_50.convertReference(src.getPerformer())); 090 for (org.hl7.fhir.r4b.model.CodeableConcept t : src.getReasonCode()) 091 tgt.addReason(CodeableConcept43_50.convertCodeableConceptToCodeableReference(t)); 092 for (org.hl7.fhir.r4b.model.Reference t : src.getReasonReference()) 093 tgt.addReason(Reference43_50.convertReferenceToCodeableReference(t)); 094 for (org.hl7.fhir.r4b.model.Reference t : src.getInsurance()) tgt.addInsurance(Reference43_50.convertReference(t)); 095 for (org.hl7.fhir.r4b.model.Reference t : src.getSupportingInfo()) 096 tgt.addSupportingInfo(Reference43_50.convertReference(t)); 097 for (org.hl7.fhir.r4b.model.Annotation t : src.getNote()) tgt.addNote(Annotation43_50.convertAnnotation(t)); 098 for (org.hl7.fhir.r4b.model.Reference t : src.getRelevantHistory()) 099 tgt.addRelevantHistory(Reference43_50.convertReference(t)); 100 return tgt; 101 } 102 103 public static org.hl7.fhir.r4b.model.DeviceRequest convertDeviceRequest(org.hl7.fhir.r5.model.DeviceRequest src) throws FHIRException { 104 if (src == null) 105 return null; 106 org.hl7.fhir.r4b.model.DeviceRequest tgt = new org.hl7.fhir.r4b.model.DeviceRequest(); 107 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyDomainResource(src, tgt); 108 for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) 109 tgt.addIdentifier(Identifier43_50.convertIdentifier(t)); 110 for (org.hl7.fhir.r5.model.CanonicalType t : src.getInstantiatesCanonical()) 111 tgt.getInstantiatesCanonical().add(Canonical43_50.convertCanonical(t)); 112 for (org.hl7.fhir.r5.model.UriType t : src.getInstantiatesUri()) 113 tgt.getInstantiatesUri().add(Uri43_50.convertUri(t)); 114 for (org.hl7.fhir.r5.model.Reference t : src.getBasedOn()) tgt.addBasedOn(Reference43_50.convertReference(t)); 115// for (org.hl7.fhir.r5.model.Reference t : src.getPriorRequest()) 116// tgt.addPriorRequest(Reference43_50.convertReference(t)); 117 if (src.hasGroupIdentifier()) 118 tgt.setGroupIdentifier(Identifier43_50.convertIdentifier(src.getGroupIdentifier())); 119 if (src.hasStatus()) 120 tgt.setStatusElement(convertDeviceRequestStatus(src.getStatusElement())); 121 if (src.hasIntent()) 122 tgt.setIntentElement(convertRequestIntent(src.getIntentElement())); 123 if (src.hasPriority()) 124 tgt.setPriorityElement(convertRequestPriority(src.getPriorityElement())); 125 if (src.getCode().hasConcept()) 126 tgt.setCode(ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().convertType(src.getCode().getConcept())); 127 if (src.getCode().hasReference()) 128 tgt.setCode(ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().convertType(src.getCode().getReference())); 129 for (org.hl7.fhir.r5.model.DeviceRequest.DeviceRequestParameterComponent t : src.getParameter()) 130 tgt.addParameter(convertDeviceRequestParameterComponent(t)); 131 if (src.hasSubject()) 132 tgt.setSubject(Reference43_50.convertReference(src.getSubject())); 133 if (src.hasEncounter()) 134 tgt.setEncounter(Reference43_50.convertReference(src.getEncounter())); 135 if (src.hasOccurrence()) 136 tgt.setOccurrence(ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().convertType(src.getOccurrence())); 137 if (src.hasAuthoredOn()) 138 tgt.setAuthoredOnElement(DateTime43_50.convertDateTime(src.getAuthoredOnElement())); 139 if (src.hasRequester()) 140 tgt.setRequester(Reference43_50.convertReference(src.getRequester())); 141 if (src.getPerformer().hasConcept()) 142 tgt.setPerformerType(CodeableConcept43_50.convertCodeableConcept(src.getPerformer().getConcept())); 143 if (src.getPerformer().hasReference()) 144 tgt.setPerformer(Reference43_50.convertReference(src.getPerformer().getReference())); 145 for (CodeableReference t : src.getReason()) 146 if (t.hasConcept()) 147 tgt.addReasonCode(CodeableConcept43_50.convertCodeableConcept(t.getConcept())); 148 for (CodeableReference t : src.getReason()) 149 if (t.hasReference()) 150 tgt.addReasonReference(Reference43_50.convertReference(t.getReference())); 151 for (org.hl7.fhir.r5.model.Reference t : src.getInsurance()) tgt.addInsurance(Reference43_50.convertReference(t)); 152 for (org.hl7.fhir.r5.model.Reference t : src.getSupportingInfo()) 153 tgt.addSupportingInfo(Reference43_50.convertReference(t)); 154 for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(Annotation43_50.convertAnnotation(t)); 155 for (org.hl7.fhir.r5.model.Reference t : src.getRelevantHistory()) 156 tgt.addRelevantHistory(Reference43_50.convertReference(t)); 157 return tgt; 158 } 159 160 static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.RequestStatus> convertDeviceRequestStatus(org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestStatus> src) throws FHIRException { 161 if (src == null || src.isEmpty()) 162 return null; 163 Enumeration<Enumerations.RequestStatus> tgt = new Enumeration<>(new Enumerations.RequestStatusEnumFactory()); 164 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyElement(src, tgt); 165 if (src.getValue() == null) { 166 tgt.setValue(null); 167 } else { 168 switch (src.getValue()) { 169 case DRAFT: 170 tgt.setValue(Enumerations.RequestStatus.DRAFT); 171 break; 172 case ACTIVE: 173 tgt.setValue(Enumerations.RequestStatus.ACTIVE); 174 break; 175 case ONHOLD: 176 tgt.setValue(Enumerations.RequestStatus.ONHOLD); 177 break; 178 case REVOKED: 179 tgt.setValue(Enumerations.RequestStatus.REVOKED); 180 break; 181 case COMPLETED: 182 tgt.setValue(Enumerations.RequestStatus.COMPLETED); 183 break; 184 case ENTEREDINERROR: 185 tgt.setValue(Enumerations.RequestStatus.ENTEREDINERROR); 186 break; 187 case UNKNOWN: 188 tgt.setValue(Enumerations.RequestStatus.UNKNOWN); 189 break; 190 default: 191 tgt.setValue(Enumerations.RequestStatus.NULL); 192 break; 193 } 194 } 195 return tgt; 196 } 197 198 static public org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestStatus> convertDeviceRequestStatus(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.RequestStatus> src) throws FHIRException { 199 if (src == null || src.isEmpty()) 200 return null; 201 org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestStatus> tgt = new org.hl7.fhir.r4b.model.Enumeration<>(new org.hl7.fhir.r4b.model.Enumerations.RequestStatusEnumFactory()); 202 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyElement(src, tgt); 203 if (src.getValue() == null) { 204 tgt.setValue(null); 205 } else { 206 switch (src.getValue()) { 207 case DRAFT: 208 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.DRAFT); 209 break; 210 case ACTIVE: 211 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.ACTIVE); 212 break; 213 case ONHOLD: 214 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.ONHOLD); 215 break; 216 case REVOKED: 217 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.REVOKED); 218 break; 219 case COMPLETED: 220 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.COMPLETED); 221 break; 222 case ENTEREDINERROR: 223 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.ENTEREDINERROR); 224 break; 225 case UNKNOWN: 226 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.UNKNOWN); 227 break; 228 default: 229 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestStatus.NULL); 230 break; 231 } 232 } 233 return tgt; 234 } 235 236 static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.RequestIntent> convertRequestIntent(org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestIntent> src) throws FHIRException { 237 if (src == null || src.isEmpty()) 238 return null; 239 Enumeration<Enumerations.RequestIntent> tgt = new Enumeration<>(new Enumerations.RequestIntentEnumFactory()); 240 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyElement(src, tgt); 241 if (src.getValue() == null) { 242 tgt.setValue(null); 243 } else { 244 switch (src.getValue()) { 245 case PROPOSAL: 246 tgt.setValue(Enumerations.RequestIntent.PROPOSAL); 247 break; 248 case PLAN: 249 tgt.setValue(Enumerations.RequestIntent.PLAN); 250 break; 251 case DIRECTIVE: 252 tgt.setValue(Enumerations.RequestIntent.DIRECTIVE); 253 break; 254 case ORDER: 255 tgt.setValue(Enumerations.RequestIntent.ORDER); 256 break; 257 case ORIGINALORDER: 258 tgt.setValue(Enumerations.RequestIntent.ORIGINALORDER); 259 break; 260 case REFLEXORDER: 261 tgt.setValue(Enumerations.RequestIntent.REFLEXORDER); 262 break; 263 case FILLERORDER: 264 tgt.setValue(Enumerations.RequestIntent.FILLERORDER); 265 break; 266 case INSTANCEORDER: 267 tgt.setValue(Enumerations.RequestIntent.INSTANCEORDER); 268 break; 269 case OPTION: 270 tgt.setValue(Enumerations.RequestIntent.OPTION); 271 break; 272 default: 273 tgt.setValue(Enumerations.RequestIntent.NULL); 274 break; 275 } 276 } 277 return tgt; 278 } 279 280 static public org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestIntent> convertRequestIntent(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.RequestIntent> src) throws FHIRException { 281 if (src == null || src.isEmpty()) 282 return null; 283 org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestIntent> tgt = new org.hl7.fhir.r4b.model.Enumeration<>(new org.hl7.fhir.r4b.model.Enumerations.RequestIntentEnumFactory()); 284 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyElement(src, tgt); 285 if (src.getValue() == null) { 286 tgt.setValue(null); 287 } else { 288 switch (src.getValue()) { 289 case PROPOSAL: 290 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.PROPOSAL); 291 break; 292 case PLAN: 293 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.PLAN); 294 break; 295 case DIRECTIVE: 296 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.DIRECTIVE); 297 break; 298 case ORDER: 299 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.ORDER); 300 break; 301 case ORIGINALORDER: 302 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.ORIGINALORDER); 303 break; 304 case REFLEXORDER: 305 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.REFLEXORDER); 306 break; 307 case FILLERORDER: 308 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.FILLERORDER); 309 break; 310 case INSTANCEORDER: 311 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.INSTANCEORDER); 312 break; 313 case OPTION: 314 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.OPTION); 315 break; 316 default: 317 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestIntent.NULL); 318 break; 319 } 320 } 321 return tgt; 322 } 323 324 static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.RequestPriority> convertRequestPriority(org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestPriority> src) throws FHIRException { 325 if (src == null || src.isEmpty()) 326 return null; 327 Enumeration<Enumerations.RequestPriority> tgt = new Enumeration<>(new Enumerations.RequestPriorityEnumFactory()); 328 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyElement(src, tgt); 329 if (src.getValue() == null) { 330 tgt.setValue(null); 331 } else { 332 switch (src.getValue()) { 333 case ROUTINE: 334 tgt.setValue(Enumerations.RequestPriority.ROUTINE); 335 break; 336 case URGENT: 337 tgt.setValue(Enumerations.RequestPriority.URGENT); 338 break; 339 case ASAP: 340 tgt.setValue(Enumerations.RequestPriority.ASAP); 341 break; 342 case STAT: 343 tgt.setValue(Enumerations.RequestPriority.STAT); 344 break; 345 default: 346 tgt.setValue(Enumerations.RequestPriority.NULL); 347 break; 348 } 349 } 350 return tgt; 351 } 352 353 static public org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestPriority> convertRequestPriority(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.RequestPriority> src) throws FHIRException { 354 if (src == null || src.isEmpty()) 355 return null; 356 org.hl7.fhir.r4b.model.Enumeration<org.hl7.fhir.r4b.model.Enumerations.RequestPriority> tgt = new org.hl7.fhir.r4b.model.Enumeration<>(new org.hl7.fhir.r4b.model.Enumerations.RequestPriorityEnumFactory()); 357 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyElement(src, tgt); 358 if (src.getValue() == null) { 359 tgt.setValue(null); 360 } else { 361 switch (src.getValue()) { 362 case ROUTINE: 363 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestPriority.ROUTINE); 364 break; 365 case URGENT: 366 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestPriority.URGENT); 367 break; 368 case ASAP: 369 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestPriority.ASAP); 370 break; 371 case STAT: 372 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestPriority.STAT); 373 break; 374 default: 375 tgt.setValue(org.hl7.fhir.r4b.model.Enumerations.RequestPriority.NULL); 376 break; 377 } 378 } 379 return tgt; 380 } 381 382 public static org.hl7.fhir.r5.model.DeviceRequest.DeviceRequestParameterComponent convertDeviceRequestParameterComponent(org.hl7.fhir.r4b.model.DeviceRequest.DeviceRequestParameterComponent src) throws FHIRException { 383 if (src == null) 384 return null; 385 org.hl7.fhir.r5.model.DeviceRequest.DeviceRequestParameterComponent tgt = new org.hl7.fhir.r5.model.DeviceRequest.DeviceRequestParameterComponent(); 386 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyBackboneElement(src, tgt); 387 if (src.hasCode()) 388 tgt.setCode(CodeableConcept43_50.convertCodeableConcept(src.getCode())); 389 if (src.hasValue()) 390 tgt.setValue(ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().convertType(src.getValue())); 391 return tgt; 392 } 393 394 public static org.hl7.fhir.r4b.model.DeviceRequest.DeviceRequestParameterComponent convertDeviceRequestParameterComponent(org.hl7.fhir.r5.model.DeviceRequest.DeviceRequestParameterComponent src) throws FHIRException { 395 if (src == null) 396 return null; 397 org.hl7.fhir.r4b.model.DeviceRequest.DeviceRequestParameterComponent tgt = new org.hl7.fhir.r4b.model.DeviceRequest.DeviceRequestParameterComponent(); 398 ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().copyBackboneElement(src, tgt); 399 if (src.hasCode()) 400 tgt.setCode(CodeableConcept43_50.convertCodeableConcept(src.getCode())); 401 if (src.hasValue()) 402 tgt.setValue(ConversionContext43_50.INSTANCE.getVersionConvertor_43_50().convertType(src.getValue())); 403 return tgt; 404 } 405}