/** * Gets the first repetition for <b>characteristic</b> (Trait of group members), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Identifies the traits shared by members of the group * </p> */ public Characteristic getCharacteristicFirstRep() { if (getCharacteristic().isEmpty()) { return addCharacteristic(); } return getCharacteristic().get(0); }
/** * Sets the value(s) for <b>type</b> (person | animal | practitioner | device | medication | substance) * * <p> * <b>Definition:</b> * Identifies the broad classification of the kind of resources the group includes * </p> */ public Group setType(GroupTypeEnum theValue) { getType().setValueAsEnum(theValue); return this; }
/** * Adds and returns a new value for <b>member</b> (Who is in group) * * <p> * <b>Definition:</b> * Identifies the resource instances that are members of the group. * </p> */ public ResourceReferenceDt addMember() { ResourceReferenceDt newType = new ResourceReferenceDt(); getMember().add(newType); return newType; }
/** * Adds and returns a new value for <b>characteristic</b> (Trait of group members) * * <p> * <b>Definition:</b> * Identifies the traits shared by members of the group * </p> */ public Characteristic addCharacteristic() { Characteristic newType = new Characteristic(); getCharacteristic().add(newType); return newType; }