public static org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryResponseComponent convertBundleEntryResponseComponent(org.hl7.fhir.dstu3.model.Bundle.BundleEntryResponseComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryResponseComponent tgt = new org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryResponseComponent(); copyElement(src, tgt); tgt.setStatus(src.getStatus()); if (src.hasLocation()) tgt.setLocation(src.getLocation()); if (src.hasEtag()) tgt.setEtag(src.getEtag()); if (src.hasLastModified()) tgt.setLastModified(src.getLastModified()); return tgt; }
public boolean hasResponse() { return this.response != null && !this.response.isEmpty(); }
public org.hl7.fhir.instance.model.Bundle.BundleEntryResponseComponent convertBundleEntryResponseComponent(org.hl7.fhir.dstu3.model.Bundle.BundleEntryResponseComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Bundle.BundleEntryResponseComponent tgt = new org.hl7.fhir.instance.model.Bundle.BundleEntryResponseComponent(); copyElement(src, tgt); tgt.setStatus(src.getStatus()); tgt.setLocation(src.getLocation()); tgt.setEtag(src.getEtag()); tgt.setLastModified(src.getLastModified()); return tgt; }
public static org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryResponseComponent convertBundleEntryResponseComponent(org.hl7.fhir.dstu3.model.Bundle.BundleEntryResponseComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryResponseComponent tgt = new org.hl7.fhir.dstu2016may.model.Bundle.BundleEntryResponseComponent(); copyElement(src, tgt); tgt.setStatus(src.getStatus()); if (src.hasLocation()) tgt.setLocation(src.getLocation()); if (src.hasEtag()) tgt.setEtag(src.getEtag()); if (src.hasLastModified()) tgt.setLastModified(src.getLastModified()); return tgt; }
public org.hl7.fhir.instance.model.Bundle.BundleEntryResponseComponent convertBundleEntryResponseComponent(org.hl7.fhir.dstu3.model.Bundle.BundleEntryResponseComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Bundle.BundleEntryResponseComponent tgt = new org.hl7.fhir.instance.model.Bundle.BundleEntryResponseComponent(); copyElement(src, tgt); tgt.setStatus(src.getStatus()); tgt.setLocation(src.getLocation()); tgt.setEtag(src.getEtag()); tgt.setLastModified(src.getLastModified()); return tgt; }