File size: 1,821 Bytes
910db18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "templateId": "sample_template",
  "tree": {
    "id": "sample_root",
    "name": "Sample Web Template",
    "localizedNames": {
      "en": "Sample Web Template",
      "de": "Beispiel Web-Vorlage"
    },
    "localizedDescriptions": {
      "en": "This is a sample web template for demonstration purposes",
      "de": "Dies ist eine Beispiel-Web-Vorlage zu Demonstrationszwecken"
    },
    "nodeId": "sample_node_id",
    "children": [
      {
        "id": "sample_section",
        "name": "Sample Section",
        "localizedNames": {
          "en": "Sample Section",
          "de": "Beispielabschnitt"
        },
        "rmType": "SECTION",
        "nodeId": "sample_section_id",
        "aqlPath": "/content[openEHR-EHR-SECTION.sample_section.v1]",
        "children": [
          {
            "id": "sample_element",
            "name": "Sample Element",
            "localizedNames": {
              "en": "Sample Element",
              "de": "Beispielelement"
            },
            "rmType": "DV_CODED_TEXT",
            "nodeId": "sample_element_id",
            "aqlPath": "/content[openEHR-EHR-SECTION.sample_section.v1]/items[openEHR-EHR-ELEMENT.sample_element.v1]/value",
            "inputs": [
              {
                "type": "CODED_TEXT",
                "list": [
                  {
                    "value": "option1",
                    "label": {
                      "en": "Option 1",
                      "de": "Option 1"
                    }
                  },
                  {
                    "value": "option2",
                    "label": {
                      "en": "Option 2",
                      "de": "Option 2"
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}