public static boolean hasIssues ( FhirContext theCtx , IBaseOperationOutcome theOutcome ) { if ( theOutcome == null ) { return false ; } RuntimeResourceDefinition ooDef = theCtx . getResourceDefinition ( theOutcome ) ; BaseRuntimeChildDefinition issueChild = ooDef . getChildByName ( "issue" ) ; return issueChild . getAccessor ( ) . getValues ( theOutcome ) . size ( ) > 0 ; }
Returns true if the given OperationOutcome has 1 or more Operation . issue repetitions