source: ruby/trunk/lib/adl_parser/test/adl/adl-test-ENTRY.basic_types_fail.v1.adl@ 323

Last change on this file since 323 was 323, checked in by Tatsukawa, Akimichi, 15 years ago

commit at the timing of leaving Pittsburgh

File size: 1.1 KB
Line 
1archetype
2 adl-test-ENTRY.basic_types_fail.v1
3
4concept
5 [at0000] -- test entry
6
7description
8 original_author = <
9 ["name"] = <"Thomas Beale">
10 >
11 lifecycle_state = <"draft">
12 details = <
13 ["en"] = <
14 language = <"en">
15 purpose = <"test structure">
16 keywords = <"ADL", "test">
17 copyright = <"copyright (c) 2004 The openEHR Foundation">
18 >
19 >
20
21definition
22 ENTRY[at0000] matches { -- test entry
23 -- string_attr3 matches {/cardio.*//}
24 string_attr5 matches {"and", "something", "else" "ERROR"}
25 boolean_attr3 matches {True, False, False}
26 integer_attr1 matches {55 !}
27 integer_attr2 matches {10 20, 30}
28 integer_attr4 matches {> 10|}
29 date_attr1 matches {pyyyy-mm-dd}
30 date_attr2 matches {yyyy-Q?--??}
31 date_attr5 matches {1983-0012-25}
32 date_attr6 matches {2000-0101}
33 time_attr2 matches {Ph:Tm:XX}
34 time_attr3 matches {hh:??XX}
35 }
36
37ontology
38 primary_language = <"en">
39 languages_available = <"en", ...>
40 terminologies_available = <"adl_test", ...>
41 term_definitions = <
42 ["en"] = <
43 items = <
44 ["at0000"] = <
45 description = <"test entry">
46 text = <"test entry">
47 >
48 >
49 >
50 >
Note: See TracBrowser for help on using the repository browser.