eggbird
software development and
knowledge engineering

Mail

ClaM - A Classification Manager

ClaML - <Fragment>

(attributes:class, usage, type(item|list)) Default type is item

Fragments have been introduced to offer a framework for representing complex list structures. These are for example the infamous curly bracketted lists from ICD10, and the numerous point lists. Fragments with their coherent structure contribute to coherent rendering of documents. It excludes mixed usage of spaces and tabs, mixing decimal points with other dot-like symbol characters, etc.

Example: Point list

Punktlista

<Fragment type="list">Diabetisk</Fragment><Fragment type="list">hypoglykemiskt koma</Fragment>
<Fragment type="list">Diabetisk</Fragment><Fragment type="list">koma med ketoacidos</Fragment>
<Fragment type="list">Diabetisk</Fragment><Fragment type="list">koma utan ketoacidos</Fragment>

In the ClaM editor there is an easy shorthand notation for Point list:

head::item

Example: Curly Bracket

CurlyBracket

<Fragment type="list">Diabetisk</Fragment><Fragment type="list">acidos</Fragment><Fragment>utan uppgift om koma</Fragment>
<Fragment type="list">Diabetisk</Fragment><Fragment type="list">ketoacidos</Fragment><Fragment>utan uppgift om koma</Fragment>

As you can see from the last fragment, the type=item can be omitted because it is the default value.

In the ClaM editor there is an easy shorthand notation for Curly Brackets:

head::item||tail

Example: Double Curly Bracket

In the ClaM editor there is an easy shorthand notation for Double Curly Bracket:

head::item||tail||extra