☰ Scenario Validation of the search parameter definitions in the CapabilityStatement
And CapabilityStatement contains definition of search parameter "patient" of type "reference" for resource "AllergyIntolerance"
INFO
rest.where(mode = 'server').resource.where(type = 'AllergyIntolerance' and searchParam.where(name = 'patient' and type = 'reference').exists()).exists()
["BooleanType[true]"]