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