ADL Editor
About the tool
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.
Demo
untitled.adls — ADL Editor
1
archetype (adl_version=2.0.5; rm_release=1.1.5)2
adl-test-instrument.guitar.v1.0.45
original_language = <[iso_639-1::en]>9
["name"] = <"John Doe">10
["organisation"] = <"ACME Inc.">11
["date"] = <2022-07-25>15
INSTRUMENT[id1] matches {16
size matches {|60..120|} -- size in cm17
date_of_manufacture matches {yyyy-mm-??} -- year & month ok18
parts cardinality matches {0..*} matches {19
PART[id2] matches { -- neck20
material matches {[ac1]} -- timber or nickel alloy22
PART[id3] matches { -- body23
material matches {[at3]} -- timber33
description = <"stringed instrument">37
description = <"neck of guitar">41
description = <"body of guitar">45
description = <"straight, seasoned timber">48
text = <"nickel alloy">;49
description = <"frets">