Skip to content

Commit 7b99903

Browse files
chore: add link for schmea validation
1 parent 4097347 commit 7b99903

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/src/guide/query.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ The catalogue can either be:
1717
- a local file included in your project, or
1818
- fetched dynamically via a REST call.
1919

20+
**⚠️Important:** While it is technically possible to retrieve and modify the catalogue at runtime, this is not recommended.
21+
22+
The structure of the catalogue is defined in [schema](https://samply.github.io/lens/docs/types/AstBottomLayerValue.html) and [type](https://samply.github.io/lens/docs/types/Catalogue.html). Valdiating your catalogue can be done within VS Code with the schema, see [here](https://frontaid.io/blog/json-schema-vscode/).
23+
2024
### Subgroups
2125

2226
The catalogue supports the definition of [subgroups](https://samply.github.io/lens/docs/types/Criteria.html#subgroup). For example, you might group all patients with diabetes at the top level, while also distinguishing between different types of diabetes. If a user wants to find patients with _any_ form of diabetes, this can be expressed using subgroups in the catalogue.
@@ -73,10 +77,6 @@ const jsonPromises: Promise<{
7377
{/await}
7478
```
7579

76-
The structure of the catalogue is defined in [schema](https://samply.github.io/lens/docs/types/AstBottomLayerValue.html).
77-
78-
**Important:** While it is technically possible to retrieve and modify the catalogue at runtime, this is not recommended.
79-
8080
---
8181

8282
## Query Data

0 commit comments

Comments
 (0)