001package org.hl7.fhir.convertors.conv14_30.datatypes14_30; 002 003import org.hl7.fhir.convertors.context.ConversionContext14_30; 004import org.hl7.fhir.exceptions.FHIRException; 005 006public class BackboneElement14_30 { 007 static public void copyBackboneElement( 008 org.hl7.fhir.dstu2016may.model.BackboneElement src, 009 org.hl7.fhir.dstu3.model.BackboneElement tgt, 010 String ... extensionUrlsToIgnore) throws FHIRException { 011 ConversionContext14_30.INSTANCE.getVersionConvertor_14_30().copyElement(src, tgt, extensionUrlsToIgnore); 012 for (org.hl7.fhir.dstu2016may.model.Extension e : src.getModifierExtension()) { 013 tgt.addModifierExtension(Extension14_30.convertExtension(e)); 014 } 015 } 016 017 static public void copyBackboneElement( 018 org.hl7.fhir.dstu3.model.BackboneElement src, 019 org.hl7.fhir.dstu2016may.model.BackboneElement tgt, 020 String ... extensionUrlsToIgnore) throws FHIRException { 021 ConversionContext14_30.INSTANCE.getVersionConvertor_14_30().copyElement(src, tgt, extensionUrlsToIgnore); 022 for (org.hl7.fhir.dstu3.model.Extension e : src.getModifierExtension()) { 023 tgt.addModifierExtension(Extension14_30.convertExtension(e)); 024 } 025 } 026}