/** * Add an issue to an OperationOutcome * * @param theCtx * The fhir context * @param theOperationOutcome * The OO resource to add to * @param theSeverity * The severity (fatal | error | warning | information) * @param theDetails * The details string * @param theCode */ public static void addIssue(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theDetails, String theLocation, String theCode) { IBase issue = createIssue(theCtx, theOperationOutcome); populateDetails(theCtx, issue, theSeverity, theDetails, theLocation, theCode); }
/** * Add an issue to an OperationOutcome * * @param theCtx * The fhir context * @param theOperationOutcome * The OO resource to add to * @param theSeverity * The severity (fatal | error | warning | information) * @param theDetails * The details string * @param theCode */ public static void addIssue(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome, String theSeverity, String theDetails, String theLocation, String theCode) { IBase issue = createIssue(theCtx, theOperationOutcome); populateDetails(theCtx, issue, theSeverity, theDetails, theLocation, theCode); }