/** * Adds and returns a new value for <b>participant</b> (List of participants involved in the appointment) * * <p> * <b>Definition:</b> * * </p> */ public Participant addParticipant() { Participant newType = new Participant(); getParticipant().add(newType); return newType; }
/** * 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); }
/** * Adds and returns a new value for <b>individual</b> (A Person of device that is participating in the appointment) * * <p> * <b>Definition:</b> * * </p> */ public ResourceReferenceDt addIndividual() { ResourceReferenceDt newType = new ResourceReferenceDt(); getIndividual().add(newType); return newType; }
/** * Add a value for <b>type</b> (Role of participant in the appointment) using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addType()} method. * * <p> * <b>Definition:</b> * * </p> */ public BoundCodeableConceptDt<ParticipantTypeEnum> addType(ParticipantTypeEnum theValue) { BoundCodeableConceptDt<ParticipantTypeEnum> retVal = new BoundCodeableConceptDt<ParticipantTypeEnum>(ParticipantTypeEnum.VALUESET_BINDER, theValue); getType().add(retVal); return retVal; }
/** * Add a value for <b>type</b> (Role of participant in the appointment) * * <p> * <b>Definition:</b> * * </p> */ public BoundCodeableConceptDt<ParticipantTypeEnum> addType() { BoundCodeableConceptDt<ParticipantTypeEnum> retVal = new BoundCodeableConceptDt<ParticipantTypeEnum>(ParticipantTypeEnum.VALUESET_BINDER); getType().add(retVal); return retVal; }
/** * Adds and returns a new value for <b>observation</b> (Observations that lead to the creation of this appointment. (Is this 80%)) * * <p> * <b>Definition:</b> * * </p> */ public ResourceReferenceDt addObservation() { ResourceReferenceDt newType = new ResourceReferenceDt(); getObservation().add(newType); return newType; }