The Archetype Definition Language (ADL) is a formal language for defining archetypes. Archetypes are a key part of the openEHR specifications, and are used to define the structure and semantics of clinical information.
I've built this tool to create an environment for editing and inspecting ADL files online.
untitled.adls — ADL Editor
1
archetype (adl_version=2.0.5; rm_release=1.1.5)
2
adl-test-instrument.guitar.v1.0.4
3
4
language
5
original_language = <[iso_639-1::en]>
6
7
description
8
original_author = <
9
["name"] = <"John Doe">
10
["organisation"] = <"ACME Inc.">
11
["date"] = <2022-07-25>
12
>
13
14
definition
15
INSTRUMENT[id1] matches {
16
sizematches {|60..120|} -- size in cm
17
date_of_manufacturematches {yyyy-mm-??} -- year & month ok