diff options
author | wolandscat <wolandscat@gmail.com> | 2015-07-01 20:10:26 +0100 |
---|---|---|
committer | wolandscat <wolandscat@gmail.com> | 2015-07-01 20:10:26 +0100 |
commit | c5d48852040f8cf2200b41907121fcc285990d4c (patch) | |
tree | 072d2e4315c51a7bf0cc81262cb973e0755eaa45 /tests/examplefiles/test.odin | |
parent | c8c042e3f06e4caea4f0e07318343dbc2eba8176 (diff) | |
download | pygments-c5d48852040f8cf2200b41907121fcc285990d4c.tar.gz |
Add lexer and test files for the Archetype Definition Language (ADL) and sub-sytaxes. See
http://www.openehr.org/programs/specification/releases/currentbaseline for ADL, AOM specifications.
Diffstat (limited to 'tests/examplefiles/test.odin')
-rw-r--r-- | tests/examplefiles/test.odin | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/examplefiles/test.odin b/tests/examplefiles/test.odin new file mode 100644 index 00000000..05b01d22 --- /dev/null +++ b/tests/examplefiles/test.odin @@ -0,0 +1,43 @@ +-- +-- Example of a fragment of an openEHR Archetype, written in the Object Data Instance Notation (ODIN) +-- Definition available here: https://github.com/openEHR/odin +-- Author: Thomas Beale +-- + + original_author = < + ["name"] = <"Dr J Joyce"> + ["organisation"] = <"NT Health Service"> + ["date"] = <2003-08-03> + > + term_bindings = < + ["umls"] = < + ["id1"] = <http://umls.nlm.edu/id/C124305> -- apgar result + ["id2"] = <http://umls.nlm.edu/id/0000000> -- 1-minute event + > + > + lifecycle_state = <"initial"> + resource_package_uri = <"http://www.aihw.org.au/data_sets/diabetic_archetypes.html"> + + details = < + ["en"] = < + language = <[iso_639-1::en]> + purpose = <"archetype for diabetic patient review"> + use = <"used for all hospital or clinic-based diabetic reviews, + including first time. Optional sections are removed according to the particular review" + > + misuse = <"not appropriate for pre-diagnosis use"> + original_resource_uri = <"http://www.healthdata.org.au/data_sets/diabetic_review_data_set_1.html"> + > + ["de"] = < + language = <[iso_639-1::de]> + purpose = <"Archetyp für die Untersuchung von Patienten mit Diabetes"> + use = <"wird benutzt für alle Diabetes-Untersuchungen im + Krankenhaus, inklusive der ersten Vorstellung. Optionale + Abschnitte werden in Abhängigkeit von der speziellen + Vorstellung entfernt." + > + misuse = <"nicht geeignet für Benutzung vor Diagnosestellung"> + original_resource_uri = <"http://www.healthdata.org.au/data_sets/diabetic_review_data_set_1.html"> + > + > + |