Grouping
Version vom 11. August 2021, 10:51 Uhr von Billig (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Resource grouping is required for structuring resources within the frontend. It is based on a loose coupling between resources (code systems and value sets) an…“)
Resource grouping is required for structuring resources within the frontend. It is based on a loose coupling between resources (code systems and value sets) and the group hierarchy.
Structure
The content hierarchy is defined by the following json structure
1 {
2 "groups": [
3 {
4 // content hierarchy for code systems
5 "_id": "csvGroups",
6 "children": [
7 {
8 // top level items
9 "name": "Example",
10 "children": [
11 // children items
12 {
13 // name displayed in the frontend
14 "name": "Codesystems",
15 // related resources by group
16 // name to be displayed; these group names have
17 // to be used when uploading
18 "relGroup": [
19 "EXA",
20 "not-exists"
21 ]
22 }
23 ]
24 }
25 ]
26 },
27 {
28 // content hierarchy for value sets
29 "_id": "vsGroups",
30 "children": [
31 {
32 "name": "Example",
33 "relGroup": "EXA-vs"
34 }
35 ]
36 }
37 ]
38 }