/** * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist */ public ContactDetail getContactFirstRep() { if (getContact().isEmpty()) { addContact(); } return getContact().get(0); }
this.publisher = castToString(value); // StringType } else if (name.equals("contact")) { this.getContact().add(castToContactDetail(value)); } else if (name.equals("description")) { this.description = castToMarkdown(value); // MarkdownType
/** * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist */ public ContactDetail getContactFirstRep() { if (getContact().isEmpty()) { addContact(); } return getContact().get(0); }
return value; case 951526432: // contact this.getContact().add(castToContactDetail(value)); // ContactDetail return value; case -1724546052: // description
tgt.setDate(src.getDate()); tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.r4.model.ContactDetail t : src.getContact()) tgt.addContact(convertOperationDefinitionContactComponent(t)); tgt.setDescription(src.getDescription());
this.publisher = castToString(value); // StringType } else if (name.equals("contact")) { this.getContact().add(castToContactDetail(value)); } else if (name.equals("description")) { this.description = castToMarkdown(value); // MarkdownType
if (src.hasPublisher()) tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.r4.model.ContactDetail t : src.getContact()) tgt.addContact(convertOperationDefinitionContactComponent(t)); if (src.hasDescription())
return value; case 951526432: // contact this.getContact().add(castToContactDetail(value)); // ContactDetail return value; case -1724546052: // description
tgt.setDate(src.getDate()); tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.r4.model.ContactDetail t : src.getContact()) tgt.addContact(convertOperationDefinitionContactComponent(t)); tgt.setDescription(src.getDescription());
if (src.hasPublisher()) tgt.setPublisher(src.getPublisher()); for (org.hl7.fhir.r4.model.ContactDetail t : src.getContact()) tgt.addContact(convertOperationDefinitionContactComponent(t)); if (src.hasDescription())