/** * Gets the first repetition for <b>type</b> (Role of participant in the appointment), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * * </p> */ public BoundCodeableConceptDt<ParticipantTypeEnum> getTypeFirstRep() { if (getType().size() == 0) { addType(); } return getType().get(0); }
/** * Sets the value(s), and clears any existing value(s) for <b>type</b> (Role of participant in the appointment) * * <p> * <b>Definition:</b> * * </p> */ public Participant setType(ParticipantTypeEnum theValue) { getType().clear(); addType(theValue); return this; }