/** * Gets the first repetition for <b>identifier</b> (Business identifier), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * Identifier for the List assigned for business purposes outside the context of FHIR. * </p> */ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /**
/** * Sets the value(s) for <b>mode</b> (working | snapshot | changes) * * <p> * <b>Definition:</b> * How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted * </p> */ public ListResource setMode(ListModeEnum theValue) { getMode().setValueAsEnum(theValue); return this; }
/** * Adds and returns a new value for <b>identifier</b> (Business identifier) * * <p> * <b>Definition:</b> * Identifier for the List assigned for business purposes outside the context of FHIR. * </p> */ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; }
/** * Adds and returns a new value for <b>entry</b> (Entries in the list) * * <p> * <b>Definition:</b> * Entries in this list * </p> */ public Entry addEntry() { Entry newType = new Entry(); getEntry().add(newType); return newType; }