/** * @return The first repetition of repeating field {@link #reasonCode}, creating it if it does not already exist */ public CodeableConcept getReasonCodeFirstRep() { if (getReasonCode().isEmpty()) { addReasonCode(); } return getReasonCode().get(0); }
this.performer = castToReference(value); // Reference } else if (name.equals("reasonCode")) { this.getReasonCode().add(castToCodeableConcept(value)); } else if (name.equals("reasonReference")) { this.getReasonReference().add(castToReference(value));
return value; case 722137681: // reasonCode this.getReasonCode().add(castToCodeableConcept(value)); // CodeableConcept return value; case -1146218137: // reasonReference
/** * @return The first repetition of repeating field {@link #reasonCode}, creating it if it does not already exist */ public CodeableConcept getReasonCodeFirstRep() { if (getReasonCode().isEmpty()) { addReasonCode(); } return getReasonCode().get(0); }
this.performer = castToReference(value); // Reference } else if (name.equals("reasonCode")) { this.getReasonCode().add(castToCodeableConcept(value)); } else if (name.equals("reasonReference")) { this.getReasonReference().add(castToReference(value));
return value; case 722137681: // reasonCode this.getReasonCode().add(castToCodeableConcept(value)); // CodeableConcept return value; case -1146218137: // reasonReference