evaluateToBoolean

fun evaluateToBoolean(resources: List<Resource>?, conditionalFhirPathExpression: String, matchAll: Boolean = false): Boolean

This function returns a true or false value if any ( matchAll= false) or all ( matchAll= true) of the resources satisfy the conditionalFhirPathExpression provided

resources List of resources the expressions are run against conditionalFhirPathExpression An expression to run against the provided resources matchAll When true the function checks whether all of the resources fulfill the expression provided

    When false the function checks whether any of the resources fulfills the expression provided