Another Create Index request

CREATE INDEX ix1 ON default( DISTINCT ARRAY
                                        (DISTINCT ARRAY
                                                  (DISTINCT ARRAY
                                                            c1.code
                                                            FOR c1 IN c.code.coding
                                                            END)
                                                  FOR c IN e.resource.contained
                                                  END)
                                         FOR e IN entry
                                         END)
WHER type = "searchset";

SELECT *
FROM default d
WHERE d.type = "searchset"
      AND ANY e IN d.entry
          SATISFIES (ANY c IN e.resource.contained
                     SATISFIES c.resourceType = "Observation" AND (ANY c1 IN c.code.coding
                                                                   SATISFIES c1.code = "xyz"
                                                                   END)
                     END)
          END;