☰ Scenario Validation of the search parameter definitions in the CapabilityStatement
When Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains definition of search parameter "patient" of type "reference" for resource "Observation"
INFO
rest.where(mode = 'server').resource.where(type = 'Observation' and searchParam.where(name = 'patient' and type = 'reference').exists()).exists()
["BooleanType[true]"]