openehr 1.1.1 → 1.1.2
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.
- data/History.txt +3 -0
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/lib/openehr/parser/adl_grammar.tt +4 -2
- data/openehr.gemspec +6 -3
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-abdomen.v1.adl +195 -211
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterine_cervix.v1.adl +462 -251
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-CLUSTER.exam-uterus.v1.adl +171 -177
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.operation_record.v1.adl +454 -0
- data/spec/lib/openehr/parser/adl14/openEHR-EHR-OBSERVATION.uterine_contractions.v1.adl +440 -0
- data/spec/lib/openehr/parser/empty_use_spec.rb +41 -0
- metadata +133 -40
@@ -1,6 +1,6 @@
|
|
1
|
-
archetype (adl_version=1.4)
|
1
|
+
archetype (adl_version=1.4)
|
2
2
|
openEHR-EHR-CLUSTER.exam-uterus.v1
|
3
|
-
|
3
|
+
specialise
|
4
4
|
openEHR-EHR-CLUSTER.exam.v1
|
5
5
|
|
6
6
|
concept
|
@@ -11,8 +11,8 @@ description
|
|
11
11
|
original_author = <
|
12
12
|
["name"] = <"Sam Heard">
|
13
13
|
["organisation"] = <"Ocean Informatics">
|
14
|
+
["email"] = <"sam.heard@oceaninformatics.com">
|
14
15
|
["date"] = <"08/04/2007">
|
15
|
-
["email"] = <"sam.heard@oceaninformatics.biz">
|
16
16
|
>
|
17
17
|
details = <
|
18
18
|
["en"] = <
|
@@ -21,272 +21,266 @@ description
|
|
21
21
|
use = <"">
|
22
22
|
keywords = <"examination", "physical", "uterus", "pregnancy">
|
23
23
|
misuse = <"">
|
24
|
+
copyright = <"© openEHR Foundation">
|
24
25
|
>
|
25
26
|
>
|
26
|
-
lifecycle_state = <"
|
27
|
+
lifecycle_state = <"AuthorDraft">
|
27
28
|
other_contributors = <>
|
29
|
+
other_details = <
|
30
|
+
["MD5-CAM-1.0.1"] = <"8DC03436AB8E13BDA1F013485E53C77E">
|
31
|
+
["references"] = <"">
|
32
|
+
>
|
28
33
|
|
29
|
-
definition
|
30
|
-
CLUSTER[at0000.1] matches { -- Examination of the uterus
|
31
|
-
items cardinality matches {
|
32
|
-
CLUSTER[at0004] occurrences matches {0..1} matches { -- Normal statements
|
33
|
-
items cardinality matches {
|
34
|
-
ELEMENT[at0005] occurrences matches {0..*} matches { -- Normal statement
|
35
|
-
value matches {
|
36
|
-
DV_TEXT matches {*}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
ELEMENT[at0002] occurrences matches {0..1} matches { -- Clinical description
|
42
|
-
value matches {
|
43
|
-
DV_TEXT matches {*}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
CLUSTER[at0008] occurrences matches {0..1} matches { -- Findings
|
47
|
-
items cardinality matches {
|
48
|
-
allow_archetype CLUSTER occurrences matches {0..*} matches {
|
49
|
-
include
|
50
|
-
archetype_id/value matches {/palpation
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
}
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
media_type matches {
|
148
|
-
[openEHR::
|
149
|
-
426,
|
150
|
-
427,
|
151
|
-
429]
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}
|
156
|
-
}
|
157
|
-
}
|
34
|
+
definition
|
35
|
+
CLUSTER[at0000.1] matches { -- Examination of the uterus
|
36
|
+
items cardinality matches {1..*; unordered} matches {
|
37
|
+
CLUSTER[at0004] occurrences matches {0..1} matches { -- Normal statements
|
38
|
+
items cardinality matches {1..*; unordered} matches {
|
39
|
+
ELEMENT[at0005] occurrences matches {0..*} matches { -- Normal statement
|
40
|
+
value matches {
|
41
|
+
DV_TEXT matches {*}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
ELEMENT[at0002] occurrences matches {0..1} matches { -- Clinical description
|
47
|
+
value matches {
|
48
|
+
DV_TEXT matches {*}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
CLUSTER[at0008.1] occurrences matches {0..1} matches { -- Findings
|
52
|
+
items cardinality matches {1..*; unordered} matches {
|
53
|
+
allow_archetype CLUSTER[at0009] occurrences matches {0..*} matches { -- Detail
|
54
|
+
include
|
55
|
+
archetype_id/value matches {/openEHR-EHR-CLUSTER\.exam-generic(-[a-zA-Z0-9_]+)*\.v1|openEHR-EHR-CLUSTER\.palpation(-[a-zA-Z0-9_]+)*\.v1/}
|
56
|
+
}
|
57
|
+
ELEMENT[at0.24] occurrences matches {0..1} matches { -- Position
|
58
|
+
value matches {
|
59
|
+
DV_CODED_TEXT matches {
|
60
|
+
defining_code matches {
|
61
|
+
[local::
|
62
|
+
at0.26, -- Anteverted
|
63
|
+
at0.27] -- Retroverted
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
CLUSTER[at0.1] occurrences matches {0..1} matches { -- Size
|
69
|
+
items cardinality matches {1..*; unordered} matches {
|
70
|
+
ELEMENT[at0.2] occurrences matches {0..1} matches { -- Fundal height
|
71
|
+
value matches {
|
72
|
+
C_DV_QUANTITY <
|
73
|
+
property = <[openehr::122]>
|
74
|
+
list = <
|
75
|
+
["1"] = <
|
76
|
+
units = <"cm">
|
77
|
+
magnitude = <|0.0..100.0|>
|
78
|
+
precision = <|1|>
|
79
|
+
>
|
80
|
+
>
|
81
|
+
>
|
82
|
+
}
|
83
|
+
}
|
84
|
+
allow_archetype CLUSTER[at0.31] occurrences matches {0..1} matches { -- Size
|
85
|
+
include
|
86
|
+
archetype_id/value matches {/openEHR-EHR-CLUSTER\.physical_properties(-[a-zA-Z0-9_]+)*\.v1/}
|
87
|
+
}
|
88
|
+
ELEMENT[at0.3] occurrences matches {0..1} matches { -- Weeks of gestation
|
89
|
+
value matches {
|
90
|
+
DV_DURATION matches {
|
91
|
+
value matches {PW}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
ELEMENT[at0.20] occurrences matches {0..1} matches { -- Relative to anatomical markers
|
96
|
+
value matches {
|
97
|
+
DV_CODED_TEXT matches {
|
98
|
+
defining_code matches {
|
99
|
+
[local::
|
100
|
+
at0.21, -- At symphisis pubis
|
101
|
+
at0.22, -- At umbilicus
|
102
|
+
at0.23] -- At xiphisternum
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
ELEMENT[at0.4] occurrences matches {0..1} matches { -- Assessment of liquor volume
|
110
|
+
value matches {
|
111
|
+
-3|[local::at0.5], -- Markedly reduced
|
112
|
+
-2|[local::at0.6], -- Reduced
|
113
|
+
-1|[local::at0.7], -- Slightly reduced
|
114
|
+
0|[local::at0.8], -- Normal
|
115
|
+
1|[local::at0.9], -- Slightly increased
|
116
|
+
2|[local::at0.10], -- Increased
|
117
|
+
3|[local::at0.11] -- Markedly increased
|
118
|
+
}
|
119
|
+
}
|
120
|
+
ELEMENT[at0.12] occurrences matches {0..1} matches { -- Number of fetuses
|
121
|
+
value matches {
|
122
|
+
DV_COUNT matches {
|
123
|
+
magnitude matches {|>=0|}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
CLUSTER[at0.18] occurrences matches {0..1} matches { -- Fetus
|
128
|
+
items cardinality matches {1..*; unordered} matches {
|
129
|
+
allow_archetype CLUSTER[at0.30] occurrences matches {0..*} matches { -- Fetal detail
|
130
|
+
include
|
131
|
+
archetype_id/value matches {/openEHR-EHR-CLUSTER\.exam-fetus\.v1/}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
ELEMENT[at0006] occurrences matches {0..*} matches { -- Image
|
138
|
+
value matches {
|
139
|
+
DV_MULTIMEDIA matches {
|
140
|
+
media_type matches {
|
141
|
+
[openEHR::
|
142
|
+
426,
|
143
|
+
427,
|
144
|
+
429]
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
158
152
|
|
159
153
|
ontology
|
160
154
|
term_definitions = <
|
161
155
|
["en"] = <
|
162
156
|
items = <
|
163
157
|
["at0.1"] = <
|
164
|
-
description = <"Information about the size of the object for examination">
|
165
158
|
text = <"Size">
|
159
|
+
description = <"Information about the size of the object for examination.">
|
166
160
|
>
|
167
161
|
["at0.10"] = <
|
168
|
-
description = <"The amount of liquor is definitely increased">
|
169
162
|
text = <"Increased">
|
163
|
+
description = <"The amount of liquor is definitely increased.">
|
170
164
|
>
|
171
165
|
["at0.11"] = <
|
172
|
-
description = <"The amount of liquor is greatly increased compared to normal for gestation">
|
173
166
|
text = <"Markedly increased">
|
167
|
+
description = <"The amount of liquor is greatly increased compared to normal for gestation.">
|
174
168
|
>
|
175
169
|
["at0.12"] = <
|
176
|
-
description = <"The number of foetuses that are in the uterus">
|
177
170
|
text = <"Number of fetuses">
|
171
|
+
description = <"The number of foetuses that are in the uterus.">
|
178
172
|
>
|
179
173
|
["at0.18"] = <
|
180
|
-
description = <"Information about one or more foetuses">
|
181
174
|
text = <"Fetus">
|
182
|
-
|
183
|
-
["at0.19"] = <
|
184
|
-
description = <"An optional identifier of the fetus">
|
185
|
-
text = <"Identifier">
|
175
|
+
description = <"Information about one or more foetuses.">
|
186
176
|
>
|
187
177
|
["at0.2"] = <
|
188
|
-
description = <"The height of the uterine fundus measured from the symphysis pubis">
|
189
178
|
text = <"Fundal height">
|
179
|
+
description = <"The height of the uterine fundus measured from the symphysis pubis.">
|
190
180
|
>
|
191
181
|
["at0.20"] = <
|
192
|
-
description = <"Relative size of uterus related to anatomy of person">
|
193
182
|
text = <"Relative to anatomical markers">
|
183
|
+
description = <"Relative size of uterus related to anatomy of person.">
|
194
184
|
>
|
195
185
|
["at0.21"] = <
|
196
|
-
description = <"*">
|
197
186
|
text = <"At symphisis pubis">
|
187
|
+
description = <"*">
|
198
188
|
>
|
199
189
|
["at0.22"] = <
|
200
|
-
description = <"*">
|
201
190
|
text = <"At umbilicus">
|
191
|
+
description = <"*">
|
202
192
|
>
|
203
193
|
["at0.23"] = <
|
204
|
-
description = <"*">
|
205
194
|
text = <"At xiphisternum">
|
195
|
+
description = <"*">
|
206
196
|
>
|
207
197
|
["at0.24"] = <
|
208
|
-
description = <"Position of uterus">
|
209
|
-
text = <"Position">
|
210
|
-
>
|
211
|
-
["at0.25"] = <
|
212
|
-
description = <"Position of uterus">
|
213
198
|
text = <"Position">
|
199
|
+
description = <"Position of uterus.">
|
214
200
|
>
|
215
201
|
["at0.26"] = <
|
216
|
-
description = <"Uterine fundus is tipped forward">
|
217
202
|
text = <"Anteverted">
|
203
|
+
description = <"Uterine fundus is tipped forward.">
|
218
204
|
>
|
219
205
|
["at0.27"] = <
|
220
|
-
description = <"Uterine fundus is tipped backward">
|
221
206
|
text = <"Retroverted">
|
222
|
-
|
223
|
-
["at0.28"] = <
|
224
|
-
description = <"*">
|
225
|
-
text = <"New element">
|
207
|
+
description = <"Uterine fundus is tipped backward.">
|
226
208
|
>
|
227
209
|
["at0.3"] = <
|
228
|
-
description = <"The size in terms of weeks of pregnancy">
|
229
210
|
text = <"Weeks of gestation">
|
211
|
+
description = <"The size in terms of weeks of pregnancy.">
|
212
|
+
>
|
213
|
+
["at0.30"] = <
|
214
|
+
text = <"Fetal detail">
|
215
|
+
description = <"Detailed information about one or more foetuses.">
|
216
|
+
>
|
217
|
+
["at0.31"] = <
|
218
|
+
text = <"Size">
|
219
|
+
description = <"Details of uterine size.">
|
230
220
|
>
|
231
221
|
["at0.4"] = <
|
232
|
-
description = <"The relative amount of liquor present in the uterus">
|
233
222
|
text = <"Assessment of liquor volume">
|
223
|
+
description = <"The relative amount of liquor present in the uterus.">
|
234
224
|
>
|
235
225
|
["at0.5"] = <
|
236
|
-
description = <"The amount of liquor is much less than expected">
|
237
226
|
text = <"Markedly reduced">
|
227
|
+
description = <"The amount of liquor is much less than expected.">
|
238
228
|
>
|
239
229
|
["at0.6"] = <
|
240
|
-
description = <"The amount of liquor is definitely reduced">
|
241
230
|
text = <"Reduced">
|
231
|
+
description = <"The amount of liquor is definitely reduced.">
|
242
232
|
>
|
243
233
|
["at0.7"] = <
|
244
|
-
description = <"The amount of liquor is slightly reduced">
|
245
234
|
text = <"Slightly reduced">
|
235
|
+
description = <"The amount of liquor is slightly reduced.">
|
246
236
|
>
|
247
237
|
["at0.8"] = <
|
248
|
-
description = <"The amount of liquor is normal for gestation">
|
249
238
|
text = <"Normal">
|
239
|
+
description = <"The amount of liquor is normal for gestation.">
|
250
240
|
>
|
251
241
|
["at0.9"] = <
|
252
|
-
description = <"The amount of liquor is slightly increased">
|
253
242
|
text = <"Slightly increased">
|
243
|
+
description = <"The amount of liquor is slightly increased.">
|
254
244
|
>
|
255
245
|
["at0000"] = <
|
256
|
-
description = <"Generic examination cluster for describing a finding on physical examination">
|
257
246
|
text = <"Examination">
|
247
|
+
description = <"Generic examination cluster for describing a finding on physical examination.">
|
258
248
|
>
|
259
249
|
["at0000.1"] = <
|
260
|
-
description = <"For recording findings of the uterus including when pregnant">
|
261
250
|
text = <"Examination of the uterus">
|
251
|
+
description = <"For recording findings of the uterus including when pregnant.">
|
262
252
|
>
|
263
253
|
["at0001"] = <
|
264
|
-
description = <"The object of the examination">
|
265
254
|
text = <"Object">
|
255
|
+
description = <"The object of the examination.">
|
266
256
|
>
|
267
257
|
["at0002"] = <
|
268
|
-
description = <"Textural description of the part examined">
|
269
258
|
text = <"Clinical description">
|
270
|
-
|
271
|
-
["at0003"] = <
|
272
|
-
description = <"More focused examination findings">
|
273
|
-
text = <"Detail">
|
259
|
+
description = <"Textural description of the part examined.">
|
274
260
|
>
|
275
261
|
["at0004"] = <
|
276
|
-
description = <"A group of statements about the normality of the examination">
|
277
262
|
text = <"Normal statements">
|
263
|
+
description = <"A group of statements about the normality of the examination.">
|
278
264
|
>
|
279
265
|
["at0005"] = <
|
280
|
-
description = <"A specific statement of normality">
|
281
266
|
text = <"Normal statement">
|
267
|
+
description = <"A specific statement of normality.">
|
282
268
|
>
|
283
269
|
["at0006"] = <
|
284
|
-
description = <"Drawing or image of the area examined">
|
285
270
|
text = <"Image">
|
271
|
+
description = <"Drawing or image of the area examined.">
|
286
272
|
>
|
287
273
|
["at0008"] = <
|
288
|
-
description = <"Clinical findings">
|
289
274
|
text = <"Findings">
|
275
|
+
description = <"Clinical findings.">
|
276
|
+
>
|
277
|
+
["at0008.1"] = <
|
278
|
+
text = <"Findings">
|
279
|
+
description = <"Clinical findings.">
|
280
|
+
>
|
281
|
+
["at0009"] = <
|
282
|
+
text = <"Detail">
|
283
|
+
description = <"More focused examination findings">
|
290
284
|
>
|
291
285
|
>
|
292
286
|
>
|