/** * @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); }
this.getImplementationGuide().add(castToUri(value)); } else if (name.equals("profile")) { this.getProfile().add(castToReference(value)); } else if (name.equals("rest")) { this.getRest().add((CapabilityStatementRestComponent) value);
for (org.hl7.fhir.dstu3.model.CodeType t : src.getFormat()) tgt.addFormat(t.getValue()); for (org.hl7.fhir.dstu3.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestComponent t : src.getRest())
for (org.hl7.fhir.dstu3.model.CodeType t : src.getFormat()) tgt.addFormat(t.getValue()); for (org.hl7.fhir.dstu3.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestComponent t : src.getRest())
return value; case -309425751: // profile this.getProfile().add(castToReference(value)); // Reference return value; case 3496916: // rest
for (org.hl7.fhir.dstu3.model.CodeType t : src.getFormat()) tgt.addFormat(t.getValue()); for (org.hl7.fhir.dstu3.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestComponent t : src.getRest())
for (org.hl7.fhir.dstu3.model.CodeType t : src.getFormat()) tgt.addFormat(t.getValue()); for (org.hl7.fhir.dstu3.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.dstu3.model.CapabilityStatement.CapabilityStatementRestComponent t : src.getRest())