/** * @return The first repetition of repeating field {@link #profile}, creating it if it does not already exist */ public Reference getProfileFirstRep() { if (getProfile().isEmpty()) { addProfile(); } return getProfile().get(0); }
tgt.addFormat(t.getValue()); for (org.hl7.fhir.instance.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.instance.model.Conformance.ConformanceRestComponent t : src.getRest()) tgt.addRest(convertConformanceRestComponent(t));
tgt.addFormat(t.getValue()); for (org.hl7.fhir.dstu2016may.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent t : src.getRest()) tgt.addRest(convertConformanceRestComponent(t));
case 172338783: return addPatchFormatElement(); case 156966506: return addImplementationGuideElement(); case -309425751: return addProfile(); case 3496916: return addRest(); case -1440008444: return addMessaging();
tgt.addFormat(t.getValue()); for (org.hl7.fhir.instance.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.instance.model.Conformance.ConformanceRestComponent t : src.getRest()) tgt.addRest(convertConformanceRestComponent(t));
tgt.addFormat(t.getValue()); for (org.hl7.fhir.dstu2016may.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.dstu2016may.model.Conformance.ConformanceRestComponent t : src.getRest()) tgt.addRest(convertConformanceRestComponent(t));