openEHR Test IG
1.6.6 - International flag

openEHR Test IG, published by HL7 FHIR Product Director. This guide is not an authorized publication; it is the continuous build for version 1.6.6 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/openehr-test/ and changes regularly. See the Directory of published versions

:

Raw json | Download

{
  "templateId" : "Diabetes - Annual care review",
  "version" : "2.3",
  "defaultLanguage" : "en",
  "languages" : [
    "en"
  ],
  "tree" : {
    "id" : "diabetes_annual_review",
    "name" : "Diabetes Annual review",
    "localizedName" : "Diabetes Annual review",
    "rmType" : "COMPOSITION",
    "nodeId" : "openEHR-EHR-COMPOSITION.encounter.v1",
    "min" : "1",
    "max" : "1",
    "localizedNames" : [
      null
    ],
    "localizedDescriptions" : [
      null
    ],
    "aqlPath" : "",
    "children" : [
      {
        "id" : "context",
        "rmType" : "EVENT_CONTEXT",
        "nodeId" : "",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/context",
        "children" : [
          {
            "id" : "start_time",
            "name" : "Start_time",
            "rmType" : "DV_DATE_TIME",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/context/start_time",
            "inContext" : true,
            "inputs" : [
              {
                "type" : "DATETIME"
              }
            ]
          },
          {
            "id" : "setting",
            "name" : "Setting",
            "rmType" : "DV_CODED_TEXT",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/context/setting",
            "inContext" : true,
            "inputs" : [
              {
                "suffix" : "code",
                "type" : "TEXT"
              },
              {
                "suffix" : "value",
                "type" : "TEXT"
              }
            ]
          }
        ]
      },
      {
        "id" : "body_mass_metrics",
        "name" : "Body mass metrics",
        "localizedName" : "Body mass metrics",
        "rmType" : "SECTION",
        "nodeId" : "openEHR-EHR-SECTION.adhoc.v1",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']",
        "children" : [
          {
            "id" : "height",
            "name" : "Height",
            "localizedName" : "Height",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.height.v2",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "annotations" : {
              "comment" : "Height is measured with the individual in a standing position and body length in a recumbent position."
            },
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']",
            "children" : [
              {
                "id" : "height",
                "name" : "Height",
                "localizedName" : "Height",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0004",
                "min" : "1",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/data[at0001]/events[at0002]/data[at0003]/items[at0004,'Height']/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL"
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "cm",
                        "label" : "cm"
                      },
                      {
                        "value" : "[in_i]",
                        "label" : "[in_i]",
                        "localizedLabels" : [
                          null
                        ]
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "LOINC" : {
                    "value" : "[LOINC::8302-2]",
                    "terminologyId" : "LOINC"
                  },
                  "value" : {
                    "value" : "[LOINC::8302-2]",
                    "terminologyId" : "LOINC"
                  }
                }
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/data[at0001]/events[at0002]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.height.v2,'Height']/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          },
          {
            "id" : "weight",
            "name" : "Weight",
            "localizedName" : "Weight",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.body_weight.v2",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']",
            "children" : [
              {
                "id" : "weight",
                "name" : "Weight",
                "localizedName" : "Weight",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0004",
                "min" : "1",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL"
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "kg",
                        "label" : "kg"
                      },
                      {
                        "value" : "[lb_av]",
                        "label" : "[lb_av]",
                        "localizedLabels" : [
                          null
                        ]
                      },
                      {
                        "value" : "g",
                        "label" : "g"
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "LOINC" : {
                    "value" : "[LOINC::29463-7]",
                    "terminologyId" : "LOINC"
                  },
                  "value" : {
                    "value" : "[LOINC::29463-7]",
                    "terminologyId" : "LOINC"
                  }
                }
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/data[at0002]/events[at0003]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_weight.v2,'Weight']/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          },
          {
            "id" : "body_mass_index",
            "name" : "Body mass index",
            "localizedName" : "Body mass index",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.body_mass_index.v2",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "annotations" : {
              "comment" : "Body Mass Index is a calculated ratio describing how an individual's body weight relates to the weight that is regarded as normal, or desirable, for the individual's height."
            },
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]",
            "children" : [
              {
                "id" : "body_mass_index",
                "name" : "Body mass index",
                "localizedName" : "Body mass index",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0004",
                "min" : "1",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/data[at0001]/events[at0002]/data[at0003]/items[at0004]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL"
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "kg/m2",
                        "label" : "kg/m2",
                        "localizedLabels" : [
                          null
                        ]
                      },
                      {
                        "value" : "[lb_av]/[in_i]2",
                        "label" : "[lb_av]/[in_i]2"
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "SNOMED-CT" : {
                    "value" : "[SNOMED-CT::60621009]",
                    "terminologyId" : "SNOMED-CT"
                  },
                  "value" : {
                    "value" : "[SNOMED-CT::60621009]",
                    "terminologyId" : "SNOMED-CT"
                  },
                  "LOINC" : {
                    "value" : "[LOINC::39156-5]",
                    "terminologyId" : "LOINC"
                  },
                  "value" : {
                    "value" : "[LOINC::39156-5]",
                    "terminologyId" : "LOINC"
                  }
                }
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/data[at0001]/events[at0002]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Body mass metrics']/items[openEHR-EHR-OBSERVATION.body_mass_index.v2]/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "id" : "cardiovascular",
        "name" : "Cardiovascular",
        "localizedName" : "Cardiovascular",
        "rmType" : "SECTION",
        "nodeId" : "openEHR-EHR-SECTION.adhoc.v1",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']",
        "children" : [
          {
            "id" : "standing_bp",
            "name" : "Standing BP",
            "localizedName" : "Standing BP",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.blood_pressure.v2",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "annotations" : {
              "comment" : "Most commonly, use of the term 'blood pressure' refers to measurement of brachial artery pressure in the upper arm."
            },
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']",
            "termBindings" : {
              "SNOMED-CT" : {
                "value" : "[SNOMED-CT(2003)::364090009]",
                "terminologyId" : "SNOMED-CT"
              },
              "value" : {
                "value" : "[SNOMED-CT(2003)::364090009]",
                "terminologyId" : "SNOMED-CT"
              }
            },
            "children" : [
              {
                "id" : "systolic",
                "name" : "Systolic",
                "localizedName" : "Systolic",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0004",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL",
                    "validation" : {
                      "range" : {
                        "minOp" : ">=",
                        "min" : 0.0,
                        "maxOp" : "<",
                        "max" : 1000.0
                      },
                      "precision" : {
                        "minOp" : ">=",
                        "min" : 0,
                        "maxOp" : "<=",
                        "max" : 0
                      }
                    }
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "mm[Hg]",
                        "label" : "mm[Hg]",
                        "localizedLabels" : [
                          null
                        ]
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "SNOMED-CT" : {
                    "value" : "[SNOMED-CT(2003)::271649006]",
                    "terminologyId" : "SNOMED-CT"
                  },
                  "value" : {
                    "value" : "[SNOMED-CT(2003)::271649006]",
                    "terminologyId" : "SNOMED-CT"
                  }
                }
              },
              {
                "id" : "diastolic",
                "name" : "Diastolic",
                "localizedName" : "Diastolic",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0005",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/data[at0003]/items[at0005]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL",
                    "validation" : {
                      "range" : {
                        "minOp" : ">=",
                        "min" : 0.0,
                        "maxOp" : "<",
                        "max" : 1000.0
                      },
                      "precision" : {
                        "minOp" : ">=",
                        "min" : 0,
                        "maxOp" : "<=",
                        "max" : 0
                      }
                    }
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "mm[Hg]",
                        "label" : "mm[Hg]",
                        "localizedLabels" : [
                          null
                        ]
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "SNOMED-CT" : {
                    "value" : "[SNOMED-CT(2003)::271650006]",
                    "terminologyId" : "SNOMED-CT"
                  },
                  "value" : {
                    "value" : "[SNOMED-CT(2003)::271650006]",
                    "terminologyId" : "SNOMED-CT"
                  }
                }
              },
              {
                "id" : "position",
                "name" : "Position",
                "localizedName" : "Position",
                "rmType" : "DV_CODED_TEXT",
                "nodeId" : "at0008",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/state[at0007]/items[at0008]/value",
                "inputs" : [
                  {
                    "suffix" : "code",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at1000",
                        "label" : "Standing",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/data[at0001]/events[at0006]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Standing BP']/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          },
          {
            "id" : "pulse_rate",
            "name" : "Pulse rate",
            "localizedName" : "Pulse rate",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.pulse.v2",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']",
            "children" : [
              {
                "id" : "rate",
                "name" : "Rate",
                "localizedName" : "Rate",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0004",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/data[at0002]/events[at0003]/data[at0001]/items[at0004]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL",
                    "validation" : {
                      "range" : {
                        "minOp" : ">=",
                        "min" : 0.0,
                        "maxOp" : "<",
                        "max" : 1000.0
                      },
                      "precision" : {
                        "minOp" : ">=",
                        "min" : 0,
                        "maxOp" : "<=",
                        "max" : 0
                      }
                    }
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "/min",
                        "label" : "/min"
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/data[at0002]/events[at0003]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.pulse.v2,'Pulse rate']/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          },
          {
            "id" : "sitting_lying_bp",
            "name" : "Sitting / lying BP",
            "localizedName" : "Sitting / lying BP",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.blood_pressure.v2",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "annotations" : {
              "comment" : "Most commonly, use of the term 'blood pressure' refers to measurement of brachial artery pressure in the upper arm."
            },
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']",
            "termBindings" : {
              "SNOMED-CT" : {
                "value" : "[SNOMED-CT(2003)::364090009]",
                "terminologyId" : "SNOMED-CT"
              },
              "value" : {
                "value" : "[SNOMED-CT(2003)::364090009]",
                "terminologyId" : "SNOMED-CT"
              }
            },
            "children" : [
              {
                "id" : "systolic",
                "name" : "Systolic",
                "localizedName" : "Systolic",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0004",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/data[at0003]/items[at0004]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL",
                    "validation" : {
                      "range" : {
                        "minOp" : ">=",
                        "min" : 0.0,
                        "maxOp" : "<",
                        "max" : 1000.0
                      },
                      "precision" : {
                        "minOp" : ">=",
                        "min" : 0,
                        "maxOp" : "<=",
                        "max" : 0
                      }
                    }
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "mm[Hg]",
                        "label" : "mm[Hg]",
                        "localizedLabels" : [
                          null
                        ]
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "SNOMED-CT" : {
                    "value" : "[SNOMED-CT(2003)::271649006]",
                    "terminologyId" : "SNOMED-CT"
                  },
                  "value" : {
                    "value" : "[SNOMED-CT(2003)::271649006]",
                    "terminologyId" : "SNOMED-CT"
                  }
                }
              },
              {
                "id" : "diastolic",
                "name" : "Diastolic",
                "localizedName" : "Diastolic",
                "rmType" : "DV_QUANTITY",
                "nodeId" : "at0005",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/data[at0003]/items[at0005]/value",
                "inputs" : [
                  {
                    "suffix" : "magnitude",
                    "type" : "DECIMAL",
                    "validation" : {
                      "range" : {
                        "minOp" : ">=",
                        "min" : 0.0,
                        "maxOp" : "<",
                        "max" : 1000.0
                      },
                      "precision" : {
                        "minOp" : ">=",
                        "min" : 0,
                        "maxOp" : "<=",
                        "max" : 0
                      }
                    }
                  },
                  {
                    "suffix" : "unit",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "mm[Hg]",
                        "label" : "mm[Hg]",
                        "localizedLabels" : [
                          null
                        ]
                      }
                    ]
                  }
                ],
                "termBindings" : {
                  "SNOMED-CT" : {
                    "value" : "[SNOMED-CT(2003)::271650006]",
                    "terminologyId" : "SNOMED-CT"
                  },
                  "value" : {
                    "value" : "[SNOMED-CT(2003)::271650006]",
                    "terminologyId" : "SNOMED-CT"
                  }
                }
              },
              {
                "id" : "position",
                "name" : "Position",
                "localizedName" : "Position",
                "rmType" : "DV_CODED_TEXT",
                "nodeId" : "at0008",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/state[at0007]/items[at0008]/value",
                "inputs" : [
                  {
                    "suffix" : "code",
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at1001",
                        "label" : "Sitting",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at1003",
                        "label" : "Lying",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/data[at0001]/events[at0006]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Cardiovascular']/items[openEHR-EHR-OBSERVATION.blood_pressure.v2,'Sitting / lying BP']/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "id" : "visual_acuity",
        "name" : "Visual Acuity",
        "localizedName" : "Visual Acuity",
        "rmType" : "SECTION",
        "nodeId" : "openEHR-EHR-SECTION.adhoc.v1",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']",
        "children" : [
          {
            "id" : "visual_acuity",
            "name" : "Visual acuity",
            "localizedName" : "Visual acuity",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.visual_acuity.v0",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']",
            "children" : [
              {
                "id" : "any_event",
                "name" : "Any event",
                "localizedName" : "Any event",
                "rmType" : "POINT_EVENT",
                "nodeId" : "at0134",
                "min" : "0",
                "max" : "-1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]",
                "children" : [
                  {
                    "id" : "result_details",
                    "name" : "Result details",
                    "localizedName" : "Result details",
                    "rmType" : "CLUSTER",
                    "nodeId" : "at0053",
                    "min" : "0",
                    "max" : "2",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]",
                    "children" : [
                      {
                        "id" : "eye_examined",
                        "name" : "Eye examined",
                        "localizedName" : "Eye examined",
                        "rmType" : "DV_CODED_TEXT",
                        "nodeId" : "at0007",
                        "min" : "1",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0007]/value",
                        "inputs" : [
                          {
                            "suffix" : "code",
                            "type" : "CODED_TEXT",
                            "list" : [
                              {
                                "value" : "at0012",
                                "label" : "Left eye",
                                "localizedLabels" : [
                                  null
                                ],
                                "localizedDescriptions" : [
                                  null
                                ],
                                "termBindings" : {
                                  "SNOMED-CT" : {
                                    "value" : "[SNOMED-CT::362503005]",
                                    "terminologyId" : "SNOMED-CT"
                                  },
                                  "value" : {
                                    "value" : "[SNOMED-CT::362503005]",
                                    "terminologyId" : "SNOMED-CT"
                                  }
                                }
                              },
                              {
                                "value" : "at0013",
                                "label" : "Right eye",
                                "localizedLabels" : [
                                  null
                                ],
                                "localizedDescriptions" : [
                                  null
                                ],
                                "termBindings" : {
                                  "SNOMED-CT" : {
                                    "value" : "[SNOMED-CT::362502000]",
                                    "terminologyId" : "SNOMED-CT"
                                  },
                                  "value" : {
                                    "value" : "[SNOMED-CT::362502000]",
                                    "terminologyId" : "SNOMED-CT"
                                  }
                                }
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id" : "notation",
                        "name" : "Notation",
                        "localizedName" : "Notation",
                        "rmType" : "CLUSTER",
                        "nodeId" : "at0028",
                        "min" : "0",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]",
                        "children" : [
                          {
                            "id" : "metric_snellen",
                            "name" : "Metric Snellen",
                            "localizedName" : "Metric Snellen",
                            "rmType" : "DV_PROPORTION",
                            "nodeId" : "at0056",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "annotations" : {
                              "comment" : "Examples: '6/6, '6/12', '6/5'"
                            },
                            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0056]/value",
                            "inputs" : [
                              {
                                "suffix" : "numerator",
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 1,
                                    "maxOp" : "<=",
                                    "max" : 6
                                  }
                                }
                              },
                              {
                                "suffix" : "denominator",
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 4,
                                    "maxOp" : "<=",
                                    "max" : 60
                                  }
                                }
                              }
                            ],
                            "termBindings" : {
                              "SNOMED-CT" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              },
                              "value" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              }
                            }
                          },
                          {
                            "id" : "us_snellen",
                            "name" : "US Snellen",
                            "localizedName" : "US Snellen",
                            "rmType" : "DV_PROPORTION",
                            "nodeId" : "at0009",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "annotations" : {
                              "comment" : "Examples: '20/20' , '20/40', '20/18'"
                            },
                            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0009]/value",
                            "inputs" : [
                              {
                                "suffix" : "numerator",
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 3,
                                    "maxOp" : "<=",
                                    "max" : 20
                                  }
                                }
                              },
                              {
                                "suffix" : "denominator",
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 2,
                                    "maxOp" : "<=",
                                    "max" : 200
                                  }
                                }
                              }
                            ],
                            "termBindings" : {
                              "SNOMED-CT" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              },
                              "value" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              }
                            }
                          },
                          {
                            "id" : "decimal_snellen",
                            "name" : "Decimal Snellen",
                            "localizedName" : "Decimal Snellen",
                            "rmType" : "DV_PROPORTION",
                            "nodeId" : "at0057",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0057]/value",
                            "inputs" : [
                              {
                                "suffix" : "numerator",
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 0,
                                    "maxOp" : "<=",
                                    "max" : 2
                                  }
                                }
                              },
                              {
                                "suffix" : "denominator",
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 1,
                                    "maxOp" : "<=",
                                    "max" : 1
                                  }
                                }
                              }
                            ],
                            "termBindings" : {
                              "SNOMED-CT" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              },
                              "value" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              }
                            }
                          },
                          {
                            "id" : "etdrs_letters",
                            "name" : "ETDRS Letters",
                            "localizedName" : "ETDRS Letters",
                            "rmType" : "DV_COUNT",
                            "nodeId" : "at0011",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0011]/value",
                            "inputs" : [
                              {
                                "type" : "INTEGER",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : 1,
                                    "maxOp" : "<=",
                                    "max" : 120
                                  }
                                }
                              }
                            ]
                          },
                          {
                            "id" : "logmar",
                            "name" : "logMar",
                            "localizedName" : "logMar",
                            "rmType" : "DV_QUANTITY",
                            "nodeId" : "at0046",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0046]/value",
                            "inputs" : [
                              {
                                "suffix" : "magnitude",
                                "type" : "DECIMAL",
                                "validation" : {
                                  "range" : {
                                    "minOp" : ">=",
                                    "min" : -0.5,
                                    "maxOp" : "<=",
                                    "max" : 2.0
                                  },
                                  "precision" : {
                                    "minOp" : ">=",
                                    "min" : 1,
                                    "maxOp" : "<=",
                                    "max" : 1
                                  }
                                }
                              },
                              {
                                "suffix" : "unit",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "1",
                                    "label" : "1"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id" : "low_vision_score",
                            "name" : "Low Vision Score",
                            "localizedName" : "Low Vision Score",
                            "rmType" : "DV_ORDINAL",
                            "nodeId" : "at0015",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0028]/items[at0015]/value",
                            "inputs" : [
                              {
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0016",
                                    "label" : "NPL - No perception of light",
                                    "ordinal" : "1",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  },
                                  {
                                    "value" : "at0017",
                                    "label" : "PL -  Perception of light",
                                    "ordinal" : "2",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  },
                                  {
                                    "value" : "at0018",
                                    "label" : "HM - Hand movement",
                                    "ordinal" : "3",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  },
                                  {
                                    "value" : "at0019",
                                    "label" : "CF - Count fingers",
                                    "ordinal" : "4",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id" : "interpretation",
                        "name" : "Interpretation",
                        "localizedName" : "Interpretation",
                        "rmType" : "DV_TEXT",
                        "nodeId" : "at0066",
                        "min" : "0",
                        "max" : "-1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "annotations" : {
                          "comment" : "Example: 'Visual Acuity 20/20' or 'Jaeger 'J2' score'."
                        },
                        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0066]/value",
                        "inputs" : [
                          {
                            "type" : "TEXT",
                            "list" : [
                              {
                                "value" : "Partially sighted",
                                "label" : "Partially sighted"
                              },
                              {
                                "value" : "Blind",
                                "label" : "Blind"
                              }
                            ],
                            "listOpen" : false
                          }
                        ],
                        "termBindings" : {
                          "SNOMED-CT" : {
                            "value" : "[SNOMED-CT::363983007]",
                            "terminologyId" : "SNOMED-CT"
                          },
                          "value" : {
                            "value" : "[SNOMED-CT::363983007]",
                            "terminologyId" : "SNOMED-CT"
                          }
                        }
                      },
                      {
                        "id" : "no_test_result",
                        "name" : "No test result",
                        "localizedName" : "No test result",
                        "rmType" : "DV_BOOLEAN",
                        "nodeId" : "at0055",
                        "min" : "0",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "annotations" : {
                          "comment" : "Record as True if the clinician was unable to record a result for the test eye."
                        },
                        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0055]/value",
                        "inputs" : [
                          {
                            "type" : "BOOLEAN",
                            "list" : [
                              {
                                "value" : "true",
                                "label" : "true"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id" : "reason_for_no_test_result",
                        "name" : "Reason for no test result",
                        "localizedName" : "Reason for no test result",
                        "rmType" : "DV_CODED_TEXT",
                        "nodeId" : "at0140",
                        "min" : "0",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "annotations" : {
                          "comment" : "For example, patient was not cooperative; patient was not capable; ran out of time."
                        },
                        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/data[at0003]/items[at0053]/items[at0140]/value",
                        "inputs" : [
                          {
                            "suffix" : "code",
                            "type" : "CODED_TEXT",
                            "terminology" : "SNOMED-CT",
                            "list" : [
                              {
                                "value" : "246916009",
                                "label" : "Absent eyeball",
                                "localizedLabels" : [
                                  null
                                ]
                              }
                            ],
                            "listOpen" : true
                          },
                          {
                            "suffix" : "other",
                            "type" : "TEXT"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "id" : "time",
                    "name" : "Time",
                    "rmType" : "DV_DATE_TIME",
                    "min" : "1",
                    "max" : "1",
                    "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/data[at0001]/events[at0134]/time",
                    "inContext" : true,
                    "inputs" : [
                      {
                        "type" : "DATETIME"
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "visual_acuity_status",
                "name" : "Visual acuity status",
                "localizedName" : "Visual acuity status",
                "rmType" : "CLUSTER",
                "nodeId" : "openEHR-EHR-CLUSTER.visual_acuity_status.v0",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]",
                "children" : [
                  {
                    "id" : "registered_blind",
                    "name" : "Registered blind",
                    "localizedName" : "Registered blind",
                    "rmType" : "DV_CODED_TEXT",
                    "nodeId" : "at0001",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]/items[at0001]/value",
                    "inputs" : [
                      {
                        "suffix" : "code",
                        "type" : "CODED_TEXT",
                        "list" : [
                          {
                            "value" : "at0002",
                            "label" : "Yes",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ]
                          },
                          {
                            "value" : "at0003",
                            "label" : "No",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "id" : "attends_diabetic_eye_screening",
                    "name" : "Attends diabetic eye screening",
                    "localizedName" : "Attends diabetic eye screening",
                    "rmType" : "DV_CODED_TEXT",
                    "nodeId" : "at0004",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]/items[at0004]/value",
                    "inputs" : [
                      {
                        "suffix" : "code",
                        "type" : "CODED_TEXT",
                        "list" : [
                          {
                            "value" : "at0005",
                            "label" : "Yes",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ]
                          },
                          {
                            "value" : "at0006",
                            "label" : "No",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ]
                          },
                          {
                            "value" : "at0007",
                            "label" : "Not required",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "id" : "eye_absent",
                    "name" : "Eye absent",
                    "localizedName" : "Eye absent",
                    "rmType" : "DV_CODED_TEXT",
                    "nodeId" : "at0008",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/protocol[at0020]/items[openEHR-EHR-CLUSTER.visual_acuity_status.v0]/items[at0008]/value",
                    "inputs" : [
                      {
                        "suffix" : "code",
                        "type" : "CODED_TEXT",
                        "list" : [
                          {
                            "value" : "at0009",
                            "label" : "Right eye",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "termBindings" : {
                              "SNOMED-CT" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              },
                              "value" : {
                                "value" : "[SNOMED-CT::422673001]",
                                "terminologyId" : "SNOMED-CT"
                              }
                            }
                          },
                          {
                            "value" : "at0010",
                            "label" : "Left eye",
                            "localizedLabels" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Visual Acuity']/items[openEHR-EHR-OBSERVATION.visual_acuity.v0,'Visual acuity']/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "id" : "urine_assessment",
        "name" : "Urine assessment",
        "localizedName" : "Urine assessment",
        "rmType" : "SECTION",
        "nodeId" : "openEHR-EHR-SECTION.adhoc.v1",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']",
        "children" : [
          {
            "id" : "urinalysis",
            "name" : "Urinalysis",
            "localizedName" : "Urinalysis",
            "rmType" : "OBSERVATION",
            "nodeId" : "openEHR-EHR-OBSERVATION.urinalysis.v1",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]",
            "children" : [
              {
                "id" : "glucose",
                "name" : "Glucose",
                "localizedName" : "Glucose",
                "rmType" : "DV_ORDINAL",
                "nodeId" : "at0050",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0050]/value",
                "inputs" : [
                  {
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at0115",
                        "label" : "Negative",
                        "ordinal" : "1",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0116",
                        "label" : "Trace",
                        "ordinal" : "2",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0117",
                        "label" : "1+",
                        "ordinal" : "3",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0118",
                        "label" : "2+",
                        "ordinal" : "4",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0119",
                        "label" : "3+",
                        "ordinal" : "5",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0120",
                        "label" : "4+",
                        "ordinal" : "6",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "ketones",
                "name" : "Ketones",
                "localizedName" : "Ketones",
                "rmType" : "DV_ORDINAL",
                "nodeId" : "at0037",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0037]/value",
                "inputs" : [
                  {
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at0109",
                        "label" : "Negative",
                        "ordinal" : "1",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0110",
                        "label" : "Trace",
                        "ordinal" : "2",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0111",
                        "label" : "Small",
                        "ordinal" : "3",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0112",
                        "label" : "Moderate",
                        "ordinal" : "4",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0113",
                        "label" : "Large",
                        "ordinal" : "5",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0114",
                        "label" : "Large+",
                        "ordinal" : "6",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "blood",
                "name" : "Blood",
                "localizedName" : "Blood",
                "rmType" : "DV_ORDINAL",
                "nodeId" : "at0032",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0032]/value",
                "inputs" : [
                  {
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at0102",
                        "label" : "Negative",
                        "ordinal" : "1",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0103",
                        "label" : "Non-haemolysed Trace",
                        "ordinal" : "2",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0104",
                        "label" : "Non-haemolysed Moderate",
                        "ordinal" : "3",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0105",
                        "label" : "Haemolysed Trace",
                        "ordinal" : "4",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0106",
                        "label" : "1+",
                        "ordinal" : "5",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0107",
                        "label" : "2+",
                        "ordinal" : "6",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0108",
                        "label" : "3+",
                        "ordinal" : "7",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "protein",
                "name" : "Protein",
                "localizedName" : "Protein",
                "rmType" : "DV_ORDINAL",
                "nodeId" : "at0095",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0095]/value",
                "inputs" : [
                  {
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at0096",
                        "label" : "Negative",
                        "ordinal" : "1",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0097",
                        "label" : "Trace",
                        "ordinal" : "2",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0098",
                        "label" : "1+",
                        "ordinal" : "3",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0099",
                        "label" : "2+",
                        "ordinal" : "4",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0100",
                        "label" : "3+",
                        "ordinal" : "5",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0101",
                        "label" : "4+",
                        "ordinal" : "6",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "nitrite",
                "name" : "Nitrite",
                "localizedName" : "Nitrite",
                "rmType" : "DV_ORDINAL",
                "nodeId" : "at0043",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0043]/value",
                "inputs" : [
                  {
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at0159",
                        "label" : "Negative",
                        "ordinal" : "1",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0160",
                        "label" : "Positive",
                        "ordinal" : "2",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "leukocytes",
                "name" : "Leukocytes",
                "localizedName" : "Leukocytes",
                "rmType" : "DV_ORDINAL",
                "nodeId" : "at0068",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0068]/value",
                "inputs" : [
                  {
                    "type" : "CODED_TEXT",
                    "list" : [
                      {
                        "value" : "at0135",
                        "label" : "Negative",
                        "ordinal" : "1",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0136",
                        "label" : "Trace",
                        "ordinal" : "2",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0137",
                        "label" : "1+",
                        "ordinal" : "3",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0138",
                        "label" : "2+",
                        "ordinal" : "4",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      },
                      {
                        "value" : "at0139",
                        "label" : "3+",
                        "ordinal" : "5",
                        "localizedLabels" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "id" : "time",
                "name" : "Time",
                "rmType" : "DV_DATE_TIME",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/data[at0001]/events[at0002]/time",
                "inContext" : true,
                "inputs" : [
                  {
                    "type" : "DATETIME"
                  }
                ]
              },
              {
                "id" : "language",
                "name" : "Language",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/language",
                "inContext" : true
              },
              {
                "id" : "encoding",
                "name" : "Encoding",
                "rmType" : "CODE_PHRASE",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/encoding",
                "inContext" : true
              },
              {
                "id" : "subject",
                "name" : "Subject",
                "rmType" : "PARTY_PROXY",
                "min" : "1",
                "max" : "1",
                "aqlPath" : "/content[openEHR-EHR-SECTION.adhoc.v1,'Urine assessment']/items[openEHR-EHR-OBSERVATION.urinalysis.v1]/subject",
                "inContext" : true,
                "inputs" : [
                  {
                    "suffix" : "id",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_scheme",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "id_namespace",
                    "type" : "TEXT"
                  },
                  {
                    "suffix" : "name",
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "id" : "visual_certification_uk",
        "name" : "Visual certification UK",
        "localizedName" : "Visual certification UK",
        "rmType" : "ADMIN_ENTRY",
        "nodeId" : "openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]",
        "children" : [
          {
            "id" : "certified_impairment",
            "name" : "Certified impairment",
            "localizedName" : "Certified impairment",
            "rmType" : "DV_CODED_TEXT",
            "nodeId" : "at0002",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/data[at0001]/items[at0002]/value",
            "inputs" : [
              {
                "suffix" : "code",
                "type" : "CODED_TEXT",
                "list" : [
                  {
                    "value" : "at0003",
                    "label" : "Sight not severely impaired",
                    "localizedLabels" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ]
                  },
                  {
                    "value" : "at0004",
                    "label" : "Sight impaired",
                    "localizedLabels" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ]
                  },
                  {
                    "value" : "at0005",
                    "label" : "Severely sight impaired",
                    "localizedLabels" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ]
                  }
                ]
              }
            ]
          },
          {
            "id" : "date_assessed",
            "name" : "Date assessed",
            "localizedName" : "Date assessed",
            "rmType" : "DV_DATE_TIME",
            "nodeId" : "at0006",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/data[at0001]/items[at0006]/value",
            "inputs" : [
              {
                "type" : "DATETIME"
              }
            ]
          },
          {
            "id" : "language",
            "name" : "Language",
            "rmType" : "CODE_PHRASE",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/language",
            "inContext" : true
          },
          {
            "id" : "encoding",
            "name" : "Encoding",
            "rmType" : "CODE_PHRASE",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/encoding",
            "inContext" : true
          },
          {
            "id" : "subject",
            "name" : "Subject",
            "rmType" : "PARTY_PROXY",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.visual_certification_uk.v0]/subject",
            "inContext" : true,
            "inputs" : [
              {
                "suffix" : "id",
                "type" : "TEXT"
              },
              {
                "suffix" : "id_scheme",
                "type" : "TEXT"
              },
              {
                "suffix" : "id_namespace",
                "type" : "TEXT"
              },
              {
                "suffix" : "name",
                "type" : "TEXT"
              }
            ]
          }
        ]
      },
      {
        "id" : "category",
        "rmType" : "DV_CODED_TEXT",
        "nodeId" : "",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/category",
        "inContext" : true,
        "inputs" : [
          {
            "suffix" : "code",
            "type" : "CODED_TEXT",
            "terminology" : "openehr",
            "list" : [
              {
                "value" : "433",
                "label" : "event",
                "localizedLabels" : [
                  null
                ]
              }
            ]
          }
        ]
      },
      {
        "id" : "language",
        "name" : "Language",
        "rmType" : "CODE_PHRASE",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/language",
        "inContext" : true
      },
      {
        "id" : "territory",
        "name" : "Territory",
        "rmType" : "CODE_PHRASE",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/territory",
        "inContext" : true
      },
      {
        "id" : "composer",
        "name" : "Composer",
        "rmType" : "PARTY_PROXY",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/composer",
        "inContext" : true,
        "inputs" : [
          {
            "suffix" : "id",
            "type" : "TEXT"
          },
          {
            "suffix" : "id_scheme",
            "type" : "TEXT"
          },
          {
            "suffix" : "id_namespace",
            "type" : "TEXT"
          },
          {
            "suffix" : "name",
            "type" : "TEXT"
          }
        ]
      }
    ]
  }
}