openehr 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,454 @@
|
|
1
|
+
archetype (adl_version=1.4)
|
2
|
+
openEHR-EHR-OBSERVATION.operation_record.v1
|
3
|
+
|
4
|
+
concept
|
5
|
+
[at0000] -- Operation Record
|
6
|
+
language
|
7
|
+
original_language = <[ISO_639-1::en]>
|
8
|
+
description
|
9
|
+
original_author = <
|
10
|
+
["name"] = <"unknown">
|
11
|
+
>
|
12
|
+
details = <
|
13
|
+
["en"] = <
|
14
|
+
language = <[ISO_639-1::en]>
|
15
|
+
purpose = <"To record details pertaining to open or keyhole operation performed">
|
16
|
+
use = <"">
|
17
|
+
misuse = <"">
|
18
|
+
copyright = <"© openEHR Foundation">
|
19
|
+
>
|
20
|
+
>
|
21
|
+
lifecycle_state = <"AuthorDraft">
|
22
|
+
other_contributors = <>
|
23
|
+
other_details = <
|
24
|
+
["references"] = <"">
|
25
|
+
>
|
26
|
+
|
27
|
+
definition
|
28
|
+
OBSERVATION[at0000] matches { -- Operation Record
|
29
|
+
data matches {
|
30
|
+
HISTORY[at0001] matches { -- Event Series
|
31
|
+
events cardinality matches {1..*; unordered} matches {
|
32
|
+
EVENT[at0002] occurrences matches {0..1} matches { -- Any event
|
33
|
+
data matches {
|
34
|
+
ITEM_TREE[at0003] matches { -- Tree
|
35
|
+
items cardinality matches {0..*; unordered} matches {
|
36
|
+
CLUSTER[at0004] occurrences matches {0..1} matches { -- Incision
|
37
|
+
items cardinality matches {0..*; unordered} matches {
|
38
|
+
ELEMENT[at0009] occurrences matches {0..1} matches { -- Skin incision
|
39
|
+
value matches {
|
40
|
+
DV_TEXT matches {*}
|
41
|
+
DV_CODED_TEXT matches {
|
42
|
+
defining_code matches {
|
43
|
+
[local::
|
44
|
+
at0010, -- Midline
|
45
|
+
at0011, -- Transverse
|
46
|
+
at0012] -- Classical
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
ELEMENT[at0014] occurrences matches {0..1} matches { -- Location of incision
|
52
|
+
value matches {
|
53
|
+
DV_TEXT matches {*}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
ELEMENT[at0013] occurrences matches {0..1} matches { -- Time of knife to skin
|
57
|
+
value matches {
|
58
|
+
DV_DATE_TIME matches {
|
59
|
+
value matches {yyyy-??-??T??:??:??}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
ELEMENT[at0054] occurrences matches {0..1} matches { -- Comment
|
64
|
+
value matches {
|
65
|
+
DV_TEXT matches {*}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
CLUSTER[at0037] occurrences matches {0..*} matches { -- Operative details
|
71
|
+
items cardinality matches {0..*; unordered} matches {
|
72
|
+
ELEMENT[at0036] occurrences matches {0..1} matches { -- Overall Technique
|
73
|
+
value matches {
|
74
|
+
DV_TEXT matches {*}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
CLUSTER[at0047] occurrences matches {0..1} matches { -- Details of surgery performed
|
78
|
+
items cardinality matches {0..*; unordered} matches {
|
79
|
+
ELEMENT[at0044] occurrences matches {0..1} matches { -- Approach
|
80
|
+
value matches {
|
81
|
+
DV_TEXT matches {*}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
ELEMENT[at0049] occurrences matches {0..1} matches { -- Method
|
85
|
+
value matches {
|
86
|
+
DV_CODED_TEXT matches {
|
87
|
+
defining_code matches {[local::]}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
ELEMENT[at0045] occurrences matches {0..1} matches { -- Description
|
92
|
+
value matches {
|
93
|
+
DV_CODED_TEXT matches {
|
94
|
+
defining_code matches {[local::]}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
ELEMENT[at0050] occurrences matches {0..1} matches { -- Comment
|
99
|
+
value matches {
|
100
|
+
DV_CODED_TEXT matches {
|
101
|
+
defining_code matches {[local::]}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
CLUSTER[at0042] occurrences matches {0..*} matches { -- Haemostasis
|
108
|
+
items cardinality matches {0..*; unordered} matches {
|
109
|
+
ELEMENT[at0043] occurrences matches {0..*} matches { -- Method
|
110
|
+
value matches {
|
111
|
+
DV_TEXT matches {*}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
ELEMENT[at0046] occurrences matches {0..1} matches { -- Comment
|
115
|
+
value matches {
|
116
|
+
DV_CODED_TEXT matches {
|
117
|
+
defining_code matches {[local::]}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
CLUSTER[at0052] occurrences matches {0..*} matches { -- Operation-specific details
|
124
|
+
items cardinality matches {0..*; unordered} matches {
|
125
|
+
allow_archetype CLUSTER[at0055] occurrences matches {0..1} matches {
|
126
|
+
include
|
127
|
+
archetype_id/value matches {/.*/}
|
128
|
+
}
|
129
|
+
ELEMENT[at0053] occurrences matches {0..1} matches { -- Comment
|
130
|
+
value matches {
|
131
|
+
DV_TEXT matches {*}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
ELEMENT[at0038] occurrences matches {0..1} matches { -- Comment
|
137
|
+
value matches {
|
138
|
+
DV_TEXT matches {*}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
CLUSTER[at0005] occurrences matches {0..1} matches { -- Closure
|
144
|
+
items cardinality matches {0..*; unordered} matches {
|
145
|
+
ELEMENT[at0015] occurrences matches {0..1} matches { -- Number of Closure layers
|
146
|
+
value matches {
|
147
|
+
DV_COUNT matches {*}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
CLUSTER[at0016] occurrences matches {0..*} matches { -- Layer closure detail
|
151
|
+
items cardinality matches {0..*; unordered} matches {
|
152
|
+
ELEMENT[at0017] occurrences matches {0..1} matches { -- Layer
|
153
|
+
value matches {
|
154
|
+
DV_CODED_TEXT matches {
|
155
|
+
defining_code matches {
|
156
|
+
[local::
|
157
|
+
at0020, -- Peritoneum
|
158
|
+
at0021, -- Sheath
|
159
|
+
at0022, -- Fat
|
160
|
+
at0023] -- Skin
|
161
|
+
}
|
162
|
+
}
|
163
|
+
DV_TEXT matches {*}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
ELEMENT[at0018] occurrences matches {0..1} matches { -- Method of closure
|
167
|
+
value matches {
|
168
|
+
DV_CODED_TEXT matches {
|
169
|
+
defining_code matches {
|
170
|
+
[local::
|
171
|
+
at0024, -- Suture - continuous
|
172
|
+
at0025, -- Staples
|
173
|
+
at0026, -- Suture - subcutaneous
|
174
|
+
at0027] -- Suture - interrupted
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
ELEMENT[at0019] occurrences matches {0..1} matches { -- Material used
|
180
|
+
value matches {
|
181
|
+
DV_TEXT matches {*}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
ELEMENT[at0030] occurrences matches {0..1} matches { -- Comment
|
185
|
+
value matches {
|
186
|
+
DV_TEXT matches {*}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
CLUSTER[at0032] occurrences matches {0..1} matches { -- Drains
|
192
|
+
items cardinality matches {0..*; unordered} matches {
|
193
|
+
ELEMENT[at0034] occurrences matches {0..1} matches { -- Type
|
194
|
+
value matches {
|
195
|
+
DV_TEXT matches {*}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
ELEMENT[at0033] occurrences matches {0..1} matches { -- Location
|
199
|
+
value matches {
|
200
|
+
DV_TEXT matches {*}
|
201
|
+
}
|
202
|
+
}
|
203
|
+
ELEMENT[at0035] occurrences matches {0..1} matches { -- Comment
|
204
|
+
value matches {
|
205
|
+
DV_CODED_TEXT matches {
|
206
|
+
defining_code matches {[local::]}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
ELEMENT[at0051] occurrences matches {0..1} matches { -- Comment
|
213
|
+
value matches {
|
214
|
+
DV_TEXT matches {*}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
CLUSTER[at0006] occurrences matches {0..1} matches { -- Intra-Operative Issues
|
220
|
+
items cardinality matches {0..*; unordered} matches {
|
221
|
+
ELEMENT[at0007] occurrences matches {0..1} matches { -- Complication
|
222
|
+
value matches {
|
223
|
+
DV_TEXT matches {*}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
ELEMENT[at0008] occurrences matches {0..1} matches { -- Issue or difficulty
|
227
|
+
value matches {
|
228
|
+
DV_TEXT matches {*}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
ELEMENT[at0031] occurrences matches {0..1} matches { -- Comment
|
232
|
+
value matches {
|
233
|
+
DV_TEXT matches {*}
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
|
248
|
+
ontology
|
249
|
+
term_definitions = <
|
250
|
+
["en"] = <
|
251
|
+
items = <
|
252
|
+
["at0000"] = <
|
253
|
+
text = <"Operation Record">
|
254
|
+
description = <"Record of details pertaining to open or keyhole operation performed">
|
255
|
+
>
|
256
|
+
["at0001"] = <
|
257
|
+
text = <"Event Series">
|
258
|
+
description = <"@ internal @">
|
259
|
+
>
|
260
|
+
["at0002"] = <
|
261
|
+
text = <"Any event">
|
262
|
+
description = <"*">
|
263
|
+
>
|
264
|
+
["at0003"] = <
|
265
|
+
text = <"Tree">
|
266
|
+
description = <"@ internal @">
|
267
|
+
>
|
268
|
+
["at0004"] = <
|
269
|
+
text = <"Incision">
|
270
|
+
description = <"*">
|
271
|
+
>
|
272
|
+
["at0005"] = <
|
273
|
+
text = <"Closure">
|
274
|
+
description = <"*">
|
275
|
+
>
|
276
|
+
["at0006"] = <
|
277
|
+
text = <"Intra-Operative Issues">
|
278
|
+
description = <"*">
|
279
|
+
>
|
280
|
+
["at0007"] = <
|
281
|
+
text = <"Complication">
|
282
|
+
description = <"Identify any complications incurred in performing the surgery">
|
283
|
+
>
|
284
|
+
["at0008"] = <
|
285
|
+
text = <"Issue or difficulty">
|
286
|
+
description = <"Identify any issue or difficulty faced during surgery">
|
287
|
+
>
|
288
|
+
["at0009"] = <
|
289
|
+
text = <"Skin incision">
|
290
|
+
description = <"Details about skin incision">
|
291
|
+
>
|
292
|
+
["at0010"] = <
|
293
|
+
text = <"Midline">
|
294
|
+
description = <"*">
|
295
|
+
>
|
296
|
+
["at0011"] = <
|
297
|
+
text = <"Transverse">
|
298
|
+
description = <"*">
|
299
|
+
>
|
300
|
+
["at0012"] = <
|
301
|
+
text = <"Classical">
|
302
|
+
description = <"*">
|
303
|
+
>
|
304
|
+
["at0013"] = <
|
305
|
+
text = <"Time of knife to skin">
|
306
|
+
description = <"*">
|
307
|
+
>
|
308
|
+
["at0014"] = <
|
309
|
+
text = <"Location of incision">
|
310
|
+
description = <"Location of incision">
|
311
|
+
>
|
312
|
+
["at0015"] = <
|
313
|
+
text = <"Number of Closure layers">
|
314
|
+
description = <"*">
|
315
|
+
>
|
316
|
+
["at0016"] = <
|
317
|
+
text = <"Layer closure detail">
|
318
|
+
description = <"*">
|
319
|
+
>
|
320
|
+
["at0017"] = <
|
321
|
+
text = <"Layer">
|
322
|
+
description = <"Name of layer">
|
323
|
+
>
|
324
|
+
["at0018"] = <
|
325
|
+
text = <"Method of closure">
|
326
|
+
description = <"Method of closure">
|
327
|
+
>
|
328
|
+
["at0019"] = <
|
329
|
+
text = <"Material used">
|
330
|
+
description = <"Details about closure material">
|
331
|
+
>
|
332
|
+
["at0020"] = <
|
333
|
+
text = <"Peritoneum">
|
334
|
+
description = <"*">
|
335
|
+
>
|
336
|
+
["at0021"] = <
|
337
|
+
text = <"Sheath">
|
338
|
+
description = <"*">
|
339
|
+
>
|
340
|
+
["at0022"] = <
|
341
|
+
text = <"Fat">
|
342
|
+
description = <"*">
|
343
|
+
>
|
344
|
+
["at0023"] = <
|
345
|
+
text = <"Skin">
|
346
|
+
description = <"*">
|
347
|
+
>
|
348
|
+
["at0024"] = <
|
349
|
+
text = <"Suture - continuous">
|
350
|
+
description = <"*">
|
351
|
+
>
|
352
|
+
["at0025"] = <
|
353
|
+
text = <"Staples">
|
354
|
+
description = <"*">
|
355
|
+
>
|
356
|
+
["at0026"] = <
|
357
|
+
text = <"Suture - subcutaneous">
|
358
|
+
description = <"*">
|
359
|
+
>
|
360
|
+
["at0027"] = <
|
361
|
+
text = <"Suture - interrupted">
|
362
|
+
description = <"*">
|
363
|
+
>
|
364
|
+
["at0030"] = <
|
365
|
+
text = <"Comment">
|
366
|
+
description = <"Additional comment about closure">
|
367
|
+
>
|
368
|
+
["at0031"] = <
|
369
|
+
text = <"Comment">
|
370
|
+
description = <"Additional comment about operative issues">
|
371
|
+
>
|
372
|
+
["at0032"] = <
|
373
|
+
text = <"Drains">
|
374
|
+
description = <"Detail about drains inserted">
|
375
|
+
>
|
376
|
+
["at0033"] = <
|
377
|
+
text = <"Location">
|
378
|
+
description = <"Location of drain">
|
379
|
+
>
|
380
|
+
["at0034"] = <
|
381
|
+
text = <"Type">
|
382
|
+
description = <"Type of drain">
|
383
|
+
>
|
384
|
+
["at0035"] = <
|
385
|
+
text = <"Comment">
|
386
|
+
description = <"Comment about drains">
|
387
|
+
>
|
388
|
+
["at0036"] = <
|
389
|
+
text = <"Overall Technique">
|
390
|
+
description = <"Details of operative technique performed">
|
391
|
+
>
|
392
|
+
["at0037"] = <
|
393
|
+
text = <"Operative details">
|
394
|
+
description = <"*">
|
395
|
+
>
|
396
|
+
["at0038"] = <
|
397
|
+
text = <"Comment">
|
398
|
+
description = <"Overall comment about the operation performed">
|
399
|
+
>
|
400
|
+
["at0042"] = <
|
401
|
+
text = <"Haemostasis">
|
402
|
+
description = <"Details about haemostasis methods used">
|
403
|
+
>
|
404
|
+
["at0043"] = <
|
405
|
+
text = <"Method">
|
406
|
+
description = <"Method of haemostasis">
|
407
|
+
>
|
408
|
+
["at0044"] = <
|
409
|
+
text = <"Approach">
|
410
|
+
description = <"Surgical approach">
|
411
|
+
>
|
412
|
+
["at0045"] = <
|
413
|
+
text = <"Description">
|
414
|
+
description = <"Details of surgery performed">
|
415
|
+
>
|
416
|
+
["at0046"] = <
|
417
|
+
text = <"Comment">
|
418
|
+
description = <"*">
|
419
|
+
>
|
420
|
+
["at0047"] = <
|
421
|
+
text = <"Details of surgery performed">
|
422
|
+
description = <"*">
|
423
|
+
>
|
424
|
+
["at0049"] = <
|
425
|
+
text = <"Method">
|
426
|
+
description = <"Details of method performed">
|
427
|
+
>
|
428
|
+
["at0050"] = <
|
429
|
+
text = <"Comment">
|
430
|
+
description = <"Comments about surgery performed">
|
431
|
+
>
|
432
|
+
["at0051"] = <
|
433
|
+
text = <"Comment">
|
434
|
+
description = <"Comments about closure">
|
435
|
+
>
|
436
|
+
["at0052"] = <
|
437
|
+
text = <"Operation-specific details">
|
438
|
+
description = <"Further details about operation that are very specific to purpose">
|
439
|
+
>
|
440
|
+
["at0053"] = <
|
441
|
+
text = <"Comment">
|
442
|
+
description = <"Comment on operation-specific details">
|
443
|
+
>
|
444
|
+
["at0054"] = <
|
445
|
+
text = <"Comment">
|
446
|
+
description = <"Comment about the incision and opening phase of surgical operation">
|
447
|
+
>
|
448
|
+
["at0055"] = <
|
449
|
+
text = <"Any operation-specific details">
|
450
|
+
description = <"Cluster for further details about operation that are very specific to purpose">
|
451
|
+
>
|
452
|
+
>
|
453
|
+
>
|
454
|
+
>
|