/** * Adds and returns a new value for <b>issue</b> (A single issue associated with the action) * * <p> * <b>Definition:</b> * An error, warning or information message that results from a system action * </p> */ public Issue addIssue() { Issue newType = new Issue(); getIssue().add(newType); return newType; }
/** * Gets the first repetition for <b>location</b> (XPath of element(s) related to issue), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. * </p> */ public StringDt getLocationFirstRep() { if (getLocation().isEmpty()) { return addLocation(); } return getLocation().get(0); } /**
/** * Adds and returns a new value for <b>location</b> (XPath of element(s) related to issue) * * <p> * <b>Definition:</b> * A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. * </p> */ public StringDt addLocation() { StringDt newType = new StringDt(); getLocation().add(newType); return newType; }
/** * This method actually populated {@link #setDetails(String) OperationOutcome.details} but * it is provided for consistency with DSTU2+ */ @Override public BaseIssue setDiagnostics(String theString) { return setDetails(theString); }
/** * Sets the value(s) for <b>severity</b> (fatal | error | warning | information) * * <p> * <b>Definition:</b> * Indicates whether the issue indicates a variation from successful processing * </p> */ public Issue setSeverity(IssueSeverityEnum theValue) { getSeverity().setValueAsEnum(theValue); return this; }