# ECL examples

The [Expression Constraint Language - Specification and Guide](broken://spaces/sOJBD7YbxAy9bD1Ko9L9/pages/V7TAAramwXseIdqJEzP6) provides detailed background and further information on ECL. Its Appendices contain many examples of expressions, covering both valid and invalid expressions, direct aliases and Reference Set fields, as well as an ECL Quick Reference:

* [Appendix A - Examples of Valid Expressions](/snomed-ct-specifications/snomed-ct-expression-constraint-language/appendices/appendix-a-examples-of-valid-expressions.md)
* [Appendix B - Examples of Invalid Expressions](/snomed-ct-specifications/snomed-ct-expression-constraint-language/appendices/appendix-b-examples-of-invalid-expressions.md)
* [Appendix C - Direct Aliases](/snomed-ct-specifications/snomed-ct-expression-constraint-language/appendices/appendix-c-dialect-aliases.md)
* [Appendix D - ECL Quick Reference](/snomed-ct-specifications/snomed-ct-expression-constraint-language/appendices/appendix-d-ecl-quick-reference.md)
* [Appendix E - Reference Set Fields](/snomed-ct-specifications/snomed-ct-expression-constraint-language/appendices/appendix-e-reference-set-fields.md)

<a href="https://docs.google.com/forms/d/e/1FAIpQLScTmbZIf0UEQwYDkY27EEWBkaiYkHSbR0_9DmFrMLXoQLyL7Q/viewform?usp=pp_url&#x26;entry.1767247133=Browser+User+Guide&#x26;entry.670899847=ECL%20examples" class="button primary">Provide Feedback</a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snomed.org/snomed-ct-user-guides/snomed-ct-browser-guide/tips-and-tricks/ecl-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
