open_ehr 0.6.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. data/Gemfile +10 -2
  2. data/Gemfile.lock +58 -18
  3. data/Guardfile +2 -1
  4. data/History.txt +10 -3
  5. data/Manifest.txt +3 -5
  6. data/README.rdoc +36 -32
  7. data/Rakefile +1 -1
  8. data/VERSION +1 -1
  9. data/bin/adl_validator.rb +84 -0
  10. data/lib/open_ehr/am/archetype/constraint_model/primitive.rb +11 -7
  11. data/lib/open_ehr/am/archetype/constraint_model.rb +4 -16
  12. data/lib/open_ehr/am/archetype/ontology.rb +37 -6
  13. data/lib/open_ehr/am/archetype.rb +6 -7
  14. data/lib/open_ehr/am/open_ehr_profile/data_types/text.rb +5 -2
  15. data/lib/open_ehr/parser/adl.rb +19 -0
  16. data/lib/open_ehr/parser/adl_grammar.tt +155 -0
  17. data/lib/open_ehr/parser/adl_parser.rb +48 -0
  18. data/lib/open_ehr/parser/cadl_grammar.tt +803 -0
  19. data/lib/open_ehr/parser/dadl.rb +13 -0
  20. data/lib/open_ehr/parser/dadl_grammar.tt +358 -0
  21. data/lib/open_ehr/parser/exception.rb +68 -0
  22. data/lib/open_ehr/parser/scanner/adl_scanner.rb +819 -0
  23. data/lib/open_ehr/parser/shared_token_grammar.tt +1200 -0
  24. data/lib/open_ehr/parser/validator.rb +20 -0
  25. data/lib/open_ehr/parser.rb +16 -12
  26. data/lib/open_ehr.rb +1 -0
  27. data/open_ehr.gemspec +364 -0
  28. data/spec/lib/open_ehr/am/archetype/archetype_spec.rb +7 -2
  29. data/spec/lib/open_ehr/am/archetype/constraint_model/c_multiple_attribute_spec.rb +0 -6
  30. data/spec/lib/open_ehr/am/archetype/constraint_model/c_object_spec.rb +10 -10
  31. data/spec/lib/open_ehr/am/archetype/constraint_model/c_single_attribute_spec.rb +0 -6
  32. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_boolean_spec.rb +5 -0
  33. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_date_time_spec.rb +5 -0
  34. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_duration_spec.rb +5 -0
  35. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_integer_spec.rb +5 -0
  36. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_primitive_spec.rb +8 -6
  37. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_real_spec.rb +7 -2
  38. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_string_spec.rb +5 -0
  39. data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_time_spec.rb +5 -0
  40. data/spec/lib/open_ehr/am/archetype/ontology/archetype_ontology_spec.rb +27 -7
  41. data/spec/lib/open_ehr/am/archetype/ontology/archetype_term_spec.rb +3 -3
  42. data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.assumed_types.v1.adl +88 -0
  43. data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.basic_types.v1.adl +143 -0
  44. data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.basic_types_fail.v1.adl +50 -0
  45. data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.most_minimal.v1.adl +27 -0
  46. data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.structure_test1.v1.adl +46 -0
  47. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ACTION.imaging.v1.adl +275 -0
  48. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ACTION.referral.v1.adl +351 -0
  49. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.auscultation-chest.v1.adl +765 -0
  50. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.auscultation.v1.adl +217 -0
  51. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.dimensions-circumference.v1.adl +134 -0
  52. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.dimensions.v1.adl +241 -0
  53. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-abdomen.v1.adl +321 -0
  54. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-chest.v1.adl +379 -0
  55. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-fetus.v1.adl +577 -0
  56. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic-joint.v1.adl +146 -0
  57. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic-lymphnode.v1.adl +176 -0
  58. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic-mass.v1.adl +221 -0
  59. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic.v1.adl +139 -0
  60. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl +116 -0
  61. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-uterine_cervix.v1.adl +420 -0
  62. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-uterus.v1.adl +293 -0
  63. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-COMPOSITION.discharge.v1draft.adl +53 -0
  64. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-COMPOSITION.encounter.v1draft.adl +45 -0
  65. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-EVALUATION.adverse.v1.adl +411 -0
  66. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-INSTRUCTION.medication.v1.adl +88 -0
  67. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-INSTRUCTION.referral.v1.adl +84 -0
  68. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.Laboratory_request.v1.adl +492 -0
  69. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.follow_up.v1draft.adl +94 -0
  70. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.imaging.v1.adl +127 -0
  71. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.medication-formulation.v1.adl +457 -0
  72. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.medication.v1.adl +869 -0
  73. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.referral.v1.adl +494 -0
  74. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-OBSERVATION.apgar.v1.adl +545 -0
  75. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-OBSERVATION.blood_pressure.v1.adl +673 -0
  76. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-OBSERVATION.body_mass_index.v1.adl +166 -0
  77. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.findings.v1.adl +47 -0
  78. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.reason_for_encounter.v1.adl +51 -0
  79. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.summary.v1.adl +52 -0
  80. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.vital_signs.v1.adl +54 -0
  81. data/spec/lib/open_ehr/parser/adl/openEHR-EHR-cadl_sample.v1.adl +9 -0
  82. data/spec/lib/open_ehr/parser/adl_parser_spec.rb +210 -0
  83. data/spec/lib/open_ehr/parser/base_spec.rb +19 -0
  84. data/spec/spec.opts +2 -1
  85. data/spec/spec_helper.rb +3 -0
  86. metadata +166 -52
  87. data/doc/README_rdoc.html +0 -148
  88. data/doc/created.rid +0 -2
  89. data/doc/images/brick.png +0 -0
  90. data/doc/images/brick_link.png +0 -0
  91. data/doc/images/bug.png +0 -0
  92. data/doc/images/bullet_black.png +0 -0
  93. data/doc/images/bullet_toggle_minus.png +0 -0
  94. data/doc/images/bullet_toggle_plus.png +0 -0
  95. data/doc/images/date.png +0 -0
  96. data/doc/images/find.png +0 -0
  97. data/doc/images/loadingAnimation.gif +0 -0
  98. data/doc/images/macFFBgHack.png +0 -0
  99. data/doc/images/package.png +0 -0
  100. data/doc/images/page_green.png +0 -0
  101. data/doc/images/page_white_text.png +0 -0
  102. data/doc/images/page_white_width.png +0 -0
  103. data/doc/images/plugin.png +0 -0
  104. data/doc/images/ruby.png +0 -0
  105. data/doc/images/tag_green.png +0 -0
  106. data/doc/images/wrench.png +0 -0
  107. data/doc/images/wrench_orange.png +0 -0
  108. data/doc/images/zoom.png +0 -0
  109. data/doc/index.html +0 -54
  110. data/doc/js/darkfish.js +0 -116
  111. data/doc/js/jquery.js +0 -32
  112. data/doc/js/quicksearch.js +0 -114
  113. data/doc/js/thickbox-compressed.js +0 -10
  114. data/doc/rdoc.css +0 -706
  115. data/lib/#open_ehr.rb# +0 -11
@@ -0,0 +1,217 @@
1
+ archetype (adl_version=1.4)
2
+ openEHR-EHR-CLUSTER.auscultation.v1
3
+
4
+ concept
5
+ [at0000] -- Auscultation
6
+ language
7
+ original_language = <[ISO_639-1::en]>
8
+ description
9
+ original_author = <
10
+ ["name"] = <"Sam Heard">
11
+ ["organisation"] = <"Ocean Informatics">
12
+ ["date"] = <"7/04/2007">
13
+ ["email"] = <"sam.heard@oceaninformatics.biz">
14
+ >
15
+ details = <
16
+ ["en"] = <
17
+ language = <[ISO_639-1::en]>
18
+ purpose = <"To record data found on examination by auscultation/listening">
19
+ use = <"To be embedded in an openEHR-EHR-OBSERVATION.exam cluster to express findings determined by auscultation">
20
+ keywords = <"auscultate", "listen", "auscultation", "listening", "bruit", "bowel sounds", "sounds">
21
+ misuse = <"Not for use in any other context at present">
22
+ >
23
+ >
24
+ lifecycle_state = <"OrganisationDraft">
25
+ other_contributors = <"Heather Leslie", ...>
26
+
27
+ definition
28
+ CLUSTER[at0000] matches { -- Auscultation
29
+ items cardinality matches {0..*; unordered} matches {
30
+ CLUSTER[at0001] occurrences matches {0..1} matches { -- Normal Statements
31
+ items cardinality matches {0..*; unordered} matches {
32
+ ELEMENT[at0003] occurrences matches {0..*} matches { -- Normal Statement
33
+ value matches {
34
+ DV_CODED_TEXT matches {
35
+ defining_code matches {
36
+ [local::
37
+ at0056, -- No murmur
38
+ at0057, -- No bruit
39
+ at0073, -- Normal bowel sounds
40
+ at0085] -- No abnormality detected
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ ELEMENT[at0004] occurrences matches {0..1} matches { -- Clinical Description
48
+ value matches {
49
+ DV_TEXT matches {*}
50
+ }
51
+ }
52
+ CLUSTER[at0002] occurrences matches {0..1} matches { -- Findings
53
+ items cardinality matches {0..*; unordered} matches {
54
+ CLUSTER[at0009] occurrences matches {0..1} matches { -- Bowel sounds
55
+ items cardinality matches {0..*; unordered} matches {
56
+ ELEMENT[at0074] occurrences matches {0..*} matches { -- Specific Findings
57
+ value matches {
58
+ DV_CODED_TEXT matches {
59
+ defining_code matches {
60
+ [local::
61
+ at0078, -- Absent bowel sounds
62
+ at0079, -- Decreased bowel sounds
63
+ at0080, -- Increased bowel sounds
64
+ at0081] -- Tinkling bowel sounds
65
+ }
66
+ }
67
+ }
68
+ }
69
+ use_node ELEMENT /items[at0004]
70
+ }
71
+ }
72
+ CLUSTER[at0010] occurrences matches {0..1} matches { -- Vessel bruit
73
+ items cardinality matches {0..*; unordered} matches {
74
+ ELEMENT[at0088] matches { -- Vessel name
75
+ value matches {
76
+ DV_TEXT matches {*}
77
+ }
78
+ }
79
+ ELEMENT[at0030] occurrences matches {0..1} matches { -- Maximal Location
80
+ value matches {
81
+ DV_TEXT matches {*}
82
+ }
83
+ }
84
+ ELEMENT[at0091] occurrences matches {0..1} matches { -- Description
85
+ value matches {
86
+ DV_TEXT matches {*}
87
+ }
88
+ }
89
+ }
90
+ }
91
+ CLUSTER[at0089] occurrences matches {0..1} matches { -- Other sounds
92
+ items cardinality matches {0..*; unordered} matches {
93
+ ELEMENT[at0090] matches { -- Description
94
+ value matches {
95
+ DV_TEXT matches {*}
96
+ }
97
+ }
98
+ use_node ELEMENT /items[at0002]/items[at0010]/items[at0030]
99
+ }
100
+ }
101
+ CLUSTER[at0086] occurrences matches {0..*} matches { -- Localised auscultation
102
+ items cardinality matches {0..*; unordered} matches {
103
+ ELEMENT[at0087] matches { -- Site or region
104
+ value matches {
105
+ DV_TEXT matches {*}
106
+ }
107
+ }
108
+ allow_archetype CLUSTER occurrences matches {0..1} matches {
109
+ include
110
+ archetype_id/value matches {/auscultation\.v1/}
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+
119
+ ontology
120
+ term_definitions = <
121
+ ["en"] = <
122
+ items = <
123
+ ["at0000"] = <
124
+ description = <"Findings on Auscultation">
125
+ text = <"Auscultation">
126
+ >
127
+ ["at0001"] = <
128
+ description = <"A group of statements about the normality of auscultation">
129
+ text = <"Normal Statements">
130
+ >
131
+ ["at0002"] = <
132
+ description = <"Findings on auscultation">
133
+ text = <"Findings">
134
+ >
135
+ ["at0003"] = <
136
+ description = <"Statements about the normality of the auscultation">
137
+ text = <"Normal Statement">
138
+ >
139
+ ["at0004"] = <
140
+ description = <"Detailed clinical description of the findings on auscultation">
141
+ text = <"Clinical Description">
142
+ >
143
+ ["at0009"] = <
144
+ description = <"Group of findings about auscultation of the bowel">
145
+ text = <"Bowel sounds">
146
+ >
147
+ ["at0010"] = <
148
+ description = <"Group of findings about auscultation of a major blood vessel">
149
+ text = <"Vessel bruit">
150
+ >
151
+ ["at0030"] = <
152
+ description = <"Site where finding is heard maximally">
153
+ text = <"Maximal Location">
154
+ >
155
+ ["at0056"] = <
156
+ description = <"No murmur is heard">
157
+ text = <"No murmur">
158
+ >
159
+ ["at0057"] = <
160
+ description = <"No bruit is heard">
161
+ text = <"No bruit">
162
+ >
163
+ ["at0073"] = <
164
+ description = <"Bowel sounds are normal in intensity and character">
165
+ text = <"Normal bowel sounds">
166
+ >
167
+ ["at0074"] = <
168
+ description = <"Specific auscultatory findings related to examination of the bowels">
169
+ text = <"Specific Findings">
170
+ >
171
+ ["at0078"] = <
172
+ description = <"No bowel sounds can be heard">
173
+ text = <"Absent bowel sounds">
174
+ >
175
+ ["at0079"] = <
176
+ description = <"Bowel sounds are less than normal">
177
+ text = <"Decreased bowel sounds">
178
+ >
179
+ ["at0080"] = <
180
+ description = <"Bowel sounds are more intense than normal">
181
+ text = <"Increased bowel sounds">
182
+ >
183
+ ["at0081"] = <
184
+ description = <"High pitched and very frequent bowel sounds can be heard">
185
+ text = <"Tinkling bowel sounds">
186
+ >
187
+ ["at0085"] = <
188
+ description = <"Nothing abnormal on auscultation">
189
+ text = <"No abnormality detected">
190
+ >
191
+ ["at0086"] = <
192
+ description = <"Auscultation in a particular site">
193
+ text = <"Localised auscultation">
194
+ >
195
+ ["at0087"] = <
196
+ description = <"The site of the localised findings">
197
+ text = <"Site or region">
198
+ >
199
+ ["at0088"] = <
200
+ description = <"The name of the vessel to which is being listened">
201
+ text = <"Vessel name">
202
+ >
203
+ ["at0089"] = <
204
+ description = <"Recording of sounds of a different nature">
205
+ text = <"Other sounds">
206
+ >
207
+ ["at0090"] = <
208
+ description = <"Description of other sounds">
209
+ text = <"Description">
210
+ >
211
+ ["at0091"] = <
212
+ description = <"Description of the bruit">
213
+ text = <"Description">
214
+ >
215
+ >
216
+ >
217
+ >
@@ -0,0 +1,134 @@
1
+ archetype (adl_version=1.4)
2
+ openEHR-EHR-CLUSTER.dimensions-circumference.v1
3
+ specialize
4
+ openEHR-EHR-CLUSTER.dimensions.v1
5
+
6
+ concept
7
+ [at0000.1] -- Circumference
8
+ language
9
+ original_language = <[ISO_639-1::en]>
10
+ translations = <
11
+ ["de"] = <
12
+ language = <[ISO_639-1::de]>
13
+ author = <
14
+ ["name"] = <"Jasmin Buck, Sebastian Garde">
15
+ ["organisation"] = <"University of Heidelberg, Central Queensland University">
16
+ >
17
+ >
18
+ >
19
+ description
20
+ original_author = <
21
+ ["name"] = <"unknown">
22
+ >
23
+ details = <
24
+ ["de"] = <
25
+ language = <[ISO_639-1::de]>
26
+ purpose = <"Zur Beschreibung der Umfangs eines betrachteten K�rperteils.">
27
+ use = <"Zur Messung des Umfangs von K�rperteilen, wie Taille oder Kopfumfang">
28
+ keywords = <"Umfang", ...>
29
+ misuse = <"">
30
+ >
31
+ ["en"] = <
32
+ language = <[ISO_639-1::en]>
33
+ purpose = <"To describe the circumference of a body part examined">
34
+ use = <"For use when measuring the circumference of body parts such as waist, head circumference">
35
+ keywords = <"circumference", ...>
36
+ misuse = <"">
37
+ >
38
+ >
39
+ lifecycle_state = <"OrganisationDraft">
40
+ other_contributors = <>
41
+
42
+ definition
43
+ CLUSTER[at0000.1] matches { -- Circumference
44
+ items cardinality matches {0..*; unordered} matches {
45
+ ELEMENT[at0001] occurrences matches {0..1} matches { -- Circumference
46
+ value matches {
47
+ C_DV_QUANTITY <
48
+ property = <[openehr::122]>
49
+ list = <
50
+ ["1"] = <
51
+ units = <"cm">
52
+ >
53
+ >
54
+ >
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ ontology
61
+ term_definitions = <
62
+ ["de"] = <
63
+ items = <
64
+ ["at0000"] = <
65
+ description = <"Die Ausma�e eines betrachteten Teils">
66
+ text = <"Ausma�e">
67
+ >
68
+ ["at0000.1"] = <
69
+ description = <"Der Umfang des betrachteten K�rperteils">
70
+ text = <"Umfang">
71
+ >
72
+ ["at0001"] = <
73
+ description = <"Der Umfang des betrachteten Teils">
74
+ text = <"Umfang">
75
+ >
76
+ ["at0002"] = <
77
+ description = <"Die L�nge des betrachteten Teils (longidudinale K�rperachse)">
78
+ text = <"L�nge">
79
+ >
80
+ ["at0003"] = <
81
+ description = <"Die Breite oder Weite (transversale K�rperachse)">
82
+ text = <"Breite">
83
+ >
84
+ ["at0004"] = <
85
+ description = <"Die Tiefe des betrachteten Teils (dorsal-ventrale K�rperachse)">
86
+ text = <"Tiefe">
87
+ >
88
+ ["at0005"] = <
89
+ description = <"Die Fl�che des betrachteten Teils">
90
+ text = <"Fl�che">
91
+ >
92
+ ["at0006"] = <
93
+ description = <"Das Volumen des betrachteten Teils">
94
+ text = <"Volumen">
95
+ >
96
+ >
97
+ >
98
+ ["en"] = <
99
+ items = <
100
+ ["at0000"] = <
101
+ description = <"The physical dimensions of a part examined">
102
+ text = <"Dimensions">
103
+ >
104
+ ["at0000.1"] = <
105
+ description = <"The circumference of the body part examined">
106
+ text = <"Circumference">
107
+ >
108
+ ["at0001"] = <
109
+ description = <"The circumference of the part examined">
110
+ text = <"Circumference">
111
+ >
112
+ ["at0002"] = <
113
+ description = <"The length of the part examined (longitudinal anatomical axis)">
114
+ text = <"Length">
115
+ >
116
+ ["at0003"] = <
117
+ description = <"The width or breadth (transverse anatomical axis)">
118
+ text = <"Breadth">
119
+ >
120
+ ["at0004"] = <
121
+ description = <"The depth of the part examined (dorso-ventral anatomical axis)">
122
+ text = <"Depth">
123
+ >
124
+ ["at0005"] = <
125
+ description = <"The area of the part examined">
126
+ text = <"Area">
127
+ >
128
+ ["at0006"] = <
129
+ description = <"The volume of the part examined">
130
+ text = <"Volume">
131
+ >
132
+ >
133
+ >
134
+ >
@@ -0,0 +1,241 @@
1
+ archetype (adl_version=1.4)
2
+ openEHR-EHR-CLUSTER.dimensions.v1
3
+
4
+ concept
5
+ [at0000] -- Dimensions
6
+ language
7
+ original_language = <[ISO_639-1::en]>
8
+ translations = <
9
+ ["de"] = <
10
+ language = <[ISO_639-1::de]>
11
+ author = <
12
+ ["name"] = <"Jasmin Buck, Sebastian Garde">
13
+ ["organisation"] = <"University of Heidelberg, Central Queensland University">
14
+ >
15
+ >
16
+ >
17
+ description
18
+ original_author = <
19
+ ["name"] = <"unknown">
20
+ >
21
+ details = <
22
+ ["de"] = <
23
+ language = <[ISO_639-1::de]>
24
+ purpose = <"Zur Beschreibung der Ausma�e eines betrachteten Teils.">
25
+ use = <"">
26
+ keywords = <"Gr��e", "Volumen">
27
+ misuse = <"">
28
+ >
29
+ ["en"] = <
30
+ language = <[ISO_639-1::en]>
31
+ purpose = <"To describe the dimensions of a part examined or viewed">
32
+ use = <"">
33
+ keywords = <"size", "volume">
34
+ misuse = <"">
35
+ >
36
+ >
37
+ lifecycle_state = <"Initial">
38
+ other_contributors = <>
39
+
40
+ definition
41
+ CLUSTER[at0000] matches { -- Dimensions
42
+ items cardinality matches {0..*; unordered} matches {
43
+ ELEMENT[at0001] occurrences matches {0..1} matches { -- Circumference
44
+ value matches {
45
+ C_DV_QUANTITY <
46
+ property = <[openehr::122]>
47
+ list = <
48
+ ["1"] = <
49
+ units = <"�m">
50
+ >
51
+ ["2"] = <
52
+ units = <"mm">
53
+ >
54
+ ["3"] = <
55
+ units = <"cm">
56
+ >
57
+ ["4"] = <
58
+ units = <"m">
59
+ >
60
+ >
61
+ >
62
+ }
63
+ }
64
+ ELEMENT[at0002] occurrences matches {0..1} matches { -- Length
65
+ value matches {
66
+ C_DV_QUANTITY <
67
+ property = <[openehr::122]>
68
+ list = <
69
+ ["1"] = <
70
+ units = <"�m">
71
+ >
72
+ ["2"] = <
73
+ units = <"mm">
74
+ >
75
+ ["3"] = <
76
+ units = <"cm">
77
+ >
78
+ ["4"] = <
79
+ units = <"m">
80
+ >
81
+ >
82
+ >
83
+ }
84
+ }
85
+ ELEMENT[at0003] occurrences matches {0..1} matches { -- Breadth
86
+ value matches {
87
+ C_DV_QUANTITY <
88
+ property = <[openehr::122]>
89
+ list = <
90
+ ["1"] = <
91
+ units = <"�m">
92
+ >
93
+ ["2"] = <
94
+ units = <"mm">
95
+ >
96
+ ["3"] = <
97
+ units = <"cm">
98
+ >
99
+ ["4"] = <
100
+ units = <"m">
101
+ >
102
+ >
103
+ >
104
+ }
105
+ }
106
+ ELEMENT[at0004] occurrences matches {0..1} matches { -- Depth
107
+ value matches {
108
+ C_DV_QUANTITY <
109
+ property = <[openehr::122]>
110
+ list = <
111
+ ["1"] = <
112
+ units = <"�m">
113
+ >
114
+ ["2"] = <
115
+ units = <"mm">
116
+ >
117
+ ["3"] = <
118
+ units = <"cm">
119
+ >
120
+ ["4"] = <
121
+ units = <"m">
122
+ >
123
+ >
124
+ >
125
+ }
126
+ }
127
+ ELEMENT[at0005] occurrences matches {0..1} matches { -- Area
128
+ value matches {
129
+ C_DV_QUANTITY <
130
+ property = <[openehr::335]>
131
+ list = <
132
+ ["1"] = <
133
+ units = <"mm2">
134
+ >
135
+ ["2"] = <
136
+ units = <"cm2">
137
+ >
138
+ ["3"] = <
139
+ units = <"% body">
140
+ >
141
+ ["4"] = <
142
+ units = <"% head, neck">
143
+ >
144
+ ["5"] = <
145
+ units = <"% lower limb">
146
+ >
147
+ ["6"] = <
148
+ units = <"% trunk">
149
+ >
150
+ ["7"] = <
151
+ units = <"% upper limb">
152
+ >
153
+ >
154
+ >
155
+ }
156
+ }
157
+ ELEMENT[at0006] occurrences matches {0..1} matches { -- Volume
158
+ value matches {
159
+ C_DV_QUANTITY <
160
+ property = <[openehr::129]>
161
+ list = <
162
+ ["1"] = <
163
+ units = <"mm3">
164
+ >
165
+ ["2"] = <
166
+ units = <"ml">
167
+ >
168
+ >
169
+ >
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ ontology
176
+ term_definitions = <
177
+ ["de"] = <
178
+ items = <
179
+ ["at0000"] = <
180
+ description = <"Die Ausma�e eines betrachteten Teils">
181
+ text = <"Ausma�e">
182
+ >
183
+ ["at0001"] = <
184
+ description = <"Der Umfang des betrachteten Teils">
185
+ text = <"Umfang">
186
+ >
187
+ ["at0002"] = <
188
+ description = <"Die L�nge des betrachteten Teils (longidudinale K�rperachse)">
189
+ text = <"L�nge">
190
+ >
191
+ ["at0003"] = <
192
+ description = <"Die Breite oder Weite (transversale K�rperachse)">
193
+ text = <"Breite">
194
+ >
195
+ ["at0004"] = <
196
+ description = <"Die Tiefe des betrachteten Teils (dorsal-ventrale K�rperachse)">
197
+ text = <"Tiefe">
198
+ >
199
+ ["at0005"] = <
200
+ description = <"Die Fl�che des betrachteten Teils">
201
+ text = <"Fl�che">
202
+ >
203
+ ["at0006"] = <
204
+ description = <"Das Volumen des betrachteten Teils">
205
+ text = <"Volumen">
206
+ >
207
+ >
208
+ >
209
+ ["en"] = <
210
+ items = <
211
+ ["at0000"] = <
212
+ description = <"The physical dimensions of a part examined">
213
+ text = <"Dimensions">
214
+ >
215
+ ["at0001"] = <
216
+ description = <"The circumference of the part examined">
217
+ text = <"Circumference">
218
+ >
219
+ ["at0002"] = <
220
+ description = <"The length of the part examined (longitudinal anatomical axis)">
221
+ text = <"Length">
222
+ >
223
+ ["at0003"] = <
224
+ description = <"The width or breadth (transverse anatomical axis)">
225
+ text = <"Breadth">
226
+ >
227
+ ["at0004"] = <
228
+ description = <"The depth of the part examined (dorso-ventral anatomical axis)">
229
+ text = <"Depth">
230
+ >
231
+ ["at0005"] = <
232
+ description = <"The area of the part examined">
233
+ text = <"Area">
234
+ >
235
+ ["at0006"] = <
236
+ description = <"The volume of the part examined">
237
+ text = <"Volume">
238
+ >
239
+ >
240
+ >
241
+ >