...
The ADL 1.5 converted archetypes are here in the same repo.
Simple Example
ADL 1.4 | ADL 1.5 |
---|
Code Block |
---|
archetype (adl_version=1.4)
CEN-EN13606-ENTRY.Farmacia.v1
concept
[at0000]
language
original_language = <[ISO_639-1::es]>
description
original_author = <
["email"] = <"jamaldo@upv.es">
["name"] = <"Grupo de Informática Médica (IBIME)">
["organisation"] = <"Universitat Politècnica de Valencia">
["date"] = <"20131108">
>
lifecycle_state = <"Draft">
other_contributors = <"Arturo Romero, Ministerio de Sanidad, Servicios Sociales e Igualdad","Pablo Serrano, Hospital de Fuenlabrada">
details = <
["es"] = <
language = <[ISO_639-1::es]>
keywords = <"CMDIC">
>
>
definition
ENTRY[at0000] occurrences matches {1..1} matches { -- Farmacia
items existence matches {0..1} cardinality matches {0..*; unordered} matches {
ELEMENT[at0001] occurrences matches {0..1} matches { -- NIF/CIF
value existence matches {0..1} matches {
SIMPLE_TEXT[at0002] occurrences matches {0..1} matches { -- SIMPLE_TEXT
originalText existence matches {0..1} matches {/.*/}
}
}
}
ELEMENT[at0003] occurrences matches {0..1} matches { -- Nombre
value existence matches {0..1} matches {
SIMPLE_TEXT[at0004] occurrences matches {0..1} matches { -- SIMPLE_TEXT
originalText existence matches {0..1} matches {/.*/}
}
}
}
}
}
ontology
term_definitions = <
["es"] = <
items = <
["at0000"] = <
text = <"Farmacia">
description = <"Farmacia">
>
["at0001"] = <
text = <"NIF/CIF">
description = <"">
>
["at0002"] = <
text = <"SIMPLE_TEXT">
description = <"">
>
["at0003"] = <
text = <"Nombre">
description = <"">
>
["at0004"] = <
text = <"SIMPLE_TEXT">
description = <"">
>
>
>
>
constraint_definitions = <
>
term_binding = <
>
constraint_binding = <
>
|
| Code Block |
---|
archetype (adl_version=1.5.1; generated)
CEN-EN13606-ENTRY.Farmacia.v1.0.0
language
original_language = <[ISO_639-1::es]>
description
original_author = <
["email"] = <"jamaldo@upv.es">
["name"] = <"Grupo de Informática Médica (IBIME)">
["organisation"] = <"Universitat Politècnica de Valencia">
["date"] = <"20131108">
>
details = <
["es"] = <
language = <[ISO_639-1::es]>
purpose = <"???">
keywords = <"CMDIC", ...>
>
>
lifecycle_state = <"unstable">
other_contributors = <"Arturo Romero, Ministerio de Sanidad, Servicios Sociales e Igualdad", "Pablo Serrano, Hospital de Fuenlabrada">
definition
ENTRY[id1] occurrences matches {1} matches { -- Farmacia
items matches {
ELEMENT[id2] occurrences matches {0..1} matches { -- NIF/CIF
value matches {
SIMPLE_TEXT[id3] occurrences matches {0..1} matches { -- SIMPLE_TEXT
originalText matches {/.*/}
}
}
}
ELEMENT[id4] occurrences matches {0..1} matches { -- Nombre
value matches {
SIMPLE_TEXT[id5] occurrences matches {0..1} matches { -- SIMPLE_TEXT
originalText matches {/.*/}
}
}
}
}
}
terminology
term_definitions = <
["es"] = <
["id1"] = <
text = <"Farmacia">
description = <"Farmacia">
>
["id2"] = <
text = <"NIF/CIF">
description = <"">
>
["id3"] = <
text = <"SIMPLE_TEXT">
description = <"">
>
["id4"] = <
text = <"Nombre">
description = <"">
>
["id5"] = <
text = <"SIMPLE_TEXT">
description = <"">
>
>
>
|
|
Improvements
In the above we can see the following changes:
...