/** * Gets the first repetition for <b>identifier</b> (External Ids for this item), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) * </p> */ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /**
/** * Gets the first repetition for <b>participant</b> (List of participants involved in the appointment), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * * </p> */ public Participant getParticipantFirstRep() { if (getParticipant().isEmpty()) { return addParticipant(); } return getParticipant().get(0); }
/** * Adds and returns a new value for <b>slot</b> (The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot) * * <p> * <b>Definition:</b> * * </p> */ public ResourceReferenceDt addSlot() { ResourceReferenceDt newType = new ResourceReferenceDt(); getSlot().add(newType); return newType; }
/** * Adds and returns a new value for <b>identifier</b> (External Ids for this item) * * <p> * <b>Definition:</b> * This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) * </p> */ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; }
/** * 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; }