openehr 1.2.15 → 1.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +15 -18
- data/lib/openehr/am.rb +3 -0
- data/lib/openehr/am/archetype.rb +4 -0
- data/lib/openehr/am/archetype/constraint_model.rb +28 -0
- data/lib/openehr/am/archetype/constraint_model/primitive.rb +1 -1
- data/lib/openehr/am/archetype/ontology.rb +4 -0
- data/lib/openehr/am/template.rb +41 -0
- data/lib/openehr/assumed_library_types.rb +0 -1
- data/lib/openehr/parser.rb +1 -0
- data/lib/openehr/parser/adl_grammar.rb +33909 -0
- data/lib/openehr/parser/adl_grammar.tt +7 -7
- data/lib/openehr/parser/adl_parser.rb +66 -26
- data/lib/openehr/parser/opt_parser.rb +269 -0
- data/lib/openehr/rm/data_structures/history.rb +3 -1
- data/lib/openehr/rm/factory.rb +6 -0
- data/lib/openehr/version.rb +1 -1
- metadata +36 -159
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openehr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinji KOBAYASHI
|
@@ -12,300 +12,174 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2014-08-12 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rake
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: xml-simple
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '0'
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: activesupport
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
|
-
- -
|
49
|
+
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
51
|
version: '0'
|
52
52
|
type: :runtime
|
53
53
|
prerelease: false
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
|
-
- -
|
56
|
+
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: locale
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: builder
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: i18n
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
type: :runtime
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- -
|
98
|
+
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: treetop
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- -
|
105
|
+
- - ">="
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
type: :runtime
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - ">="
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: polyglot
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
|
-
- -
|
119
|
+
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
type: :runtime
|
123
123
|
prerelease: false
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- -
|
126
|
+
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
name: rdoc
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
132
132
|
requirements:
|
133
|
-
- -
|
133
|
+
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
type: :runtime
|
137
137
|
prerelease: false
|
138
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
- !ruby/object:Gem::Dependency
|
144
|
-
name:
|
145
|
-
requirement: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - '>='
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '0'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
requirements:
|
154
|
-
- - '>='
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
version: '0'
|
157
|
-
- !ruby/object:Gem::Dependency
|
158
|
-
name: cucumber
|
144
|
+
name: nokogiri
|
159
145
|
requirement: !ruby/object:Gem::Requirement
|
160
146
|
requirements:
|
161
|
-
- -
|
147
|
+
- - ">="
|
162
148
|
- !ruby/object:Gem::Version
|
163
149
|
version: '0'
|
164
|
-
type: :
|
165
|
-
prerelease: false
|
166
|
-
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
requirements:
|
168
|
-
- - '>='
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '0'
|
171
|
-
- !ruby/object:Gem::Dependency
|
172
|
-
name: guard
|
173
|
-
requirement: !ruby/object:Gem::Requirement
|
174
|
-
requirements:
|
175
|
-
- - '>='
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
version: '0'
|
178
|
-
type: :development
|
179
|
-
prerelease: false
|
180
|
-
version_requirements: !ruby/object:Gem::Requirement
|
181
|
-
requirements:
|
182
|
-
- - '>='
|
183
|
-
- !ruby/object:Gem::Version
|
184
|
-
version: '0'
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: guard-rspec
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - '>='
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '0'
|
192
|
-
type: :development
|
193
|
-
prerelease: false
|
194
|
-
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
requirements:
|
196
|
-
- - '>='
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: '0'
|
199
|
-
- !ruby/object:Gem::Dependency
|
200
|
-
name: guard-cucumber
|
201
|
-
requirement: !ruby/object:Gem::Requirement
|
202
|
-
requirements:
|
203
|
-
- - '>='
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: '0'
|
206
|
-
type: :development
|
207
|
-
prerelease: false
|
208
|
-
version_requirements: !ruby/object:Gem::Requirement
|
209
|
-
requirements:
|
210
|
-
- - '>='
|
211
|
-
- !ruby/object:Gem::Version
|
212
|
-
version: '0'
|
213
|
-
- !ruby/object:Gem::Dependency
|
214
|
-
name: spork
|
215
|
-
requirement: !ruby/object:Gem::Requirement
|
216
|
-
requirements:
|
217
|
-
- - '>='
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
version: '0'
|
220
|
-
type: :development
|
150
|
+
type: :runtime
|
221
151
|
prerelease: false
|
222
152
|
version_requirements: !ruby/object:Gem::Requirement
|
223
153
|
requirements:
|
224
|
-
- -
|
154
|
+
- - ">="
|
225
155
|
- !ruby/object:Gem::Version
|
226
156
|
version: '0'
|
227
157
|
- !ruby/object:Gem::Dependency
|
228
|
-
name:
|
158
|
+
name: rspec
|
229
159
|
requirement: !ruby/object:Gem::Requirement
|
230
160
|
requirements:
|
231
|
-
- -
|
161
|
+
- - ">="
|
232
162
|
- !ruby/object:Gem::Version
|
233
163
|
version: '0'
|
234
164
|
type: :development
|
235
165
|
prerelease: false
|
236
166
|
version_requirements: !ruby/object:Gem::Requirement
|
237
167
|
requirements:
|
238
|
-
- -
|
168
|
+
- - ">="
|
239
169
|
- !ruby/object:Gem::Version
|
240
170
|
version: '0'
|
241
171
|
- !ruby/object:Gem::Dependency
|
242
172
|
name: simplecov
|
243
173
|
requirement: !ruby/object:Gem::Requirement
|
244
174
|
requirements:
|
245
|
-
- -
|
246
|
-
- !ruby/object:Gem::Version
|
247
|
-
version: '0'
|
248
|
-
type: :development
|
249
|
-
prerelease: false
|
250
|
-
version_requirements: !ruby/object:Gem::Requirement
|
251
|
-
requirements:
|
252
|
-
- - '>='
|
253
|
-
- !ruby/object:Gem::Version
|
254
|
-
version: '0'
|
255
|
-
- !ruby/object:Gem::Dependency
|
256
|
-
name: listen
|
257
|
-
requirement: !ruby/object:Gem::Requirement
|
258
|
-
requirements:
|
259
|
-
- - '>='
|
260
|
-
- !ruby/object:Gem::Version
|
261
|
-
version: '0'
|
262
|
-
type: :development
|
263
|
-
prerelease: false
|
264
|
-
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
requirements:
|
266
|
-
- - '>='
|
267
|
-
- !ruby/object:Gem::Version
|
268
|
-
version: '0'
|
269
|
-
- !ruby/object:Gem::Dependency
|
270
|
-
name: rb-kqueue
|
271
|
-
requirement: !ruby/object:Gem::Requirement
|
272
|
-
requirements:
|
273
|
-
- - '>='
|
274
|
-
- !ruby/object:Gem::Version
|
275
|
-
version: '0'
|
276
|
-
type: :development
|
277
|
-
prerelease: false
|
278
|
-
version_requirements: !ruby/object:Gem::Requirement
|
279
|
-
requirements:
|
280
|
-
- - '>='
|
281
|
-
- !ruby/object:Gem::Version
|
282
|
-
version: '0'
|
283
|
-
- !ruby/object:Gem::Dependency
|
284
|
-
name: libnotify
|
285
|
-
requirement: !ruby/object:Gem::Requirement
|
286
|
-
requirements:
|
287
|
-
- - '>='
|
175
|
+
- - ">="
|
288
176
|
- !ruby/object:Gem::Version
|
289
177
|
version: '0'
|
290
178
|
type: :development
|
291
179
|
prerelease: false
|
292
180
|
version_requirements: !ruby/object:Gem::Requirement
|
293
181
|
requirements:
|
294
|
-
- -
|
295
|
-
- !ruby/object:Gem::Version
|
296
|
-
version: '0'
|
297
|
-
- !ruby/object:Gem::Dependency
|
298
|
-
name: rb-inotify
|
299
|
-
requirement: !ruby/object:Gem::Requirement
|
300
|
-
requirements:
|
301
|
-
- - '>='
|
302
|
-
- !ruby/object:Gem::Version
|
303
|
-
version: '0'
|
304
|
-
type: :development
|
305
|
-
prerelease: false
|
306
|
-
version_requirements: !ruby/object:Gem::Requirement
|
307
|
-
requirements:
|
308
|
-
- - '>='
|
182
|
+
- - ">="
|
309
183
|
- !ruby/object:Gem::Version
|
310
184
|
version: '0'
|
311
185
|
description: This project is an implementation of the openEHR specification on Ruby.
|
@@ -315,6 +189,7 @@ extensions: []
|
|
315
189
|
extra_rdoc_files:
|
316
190
|
- README.rdoc
|
317
191
|
files:
|
192
|
+
- README.rdoc
|
318
193
|
- lib/openehr.rb
|
319
194
|
- lib/openehr/am.rb
|
320
195
|
- lib/openehr/am/archetype.rb
|
@@ -325,12 +200,15 @@ files:
|
|
325
200
|
- lib/openehr/am/openehr_profile/data_types/basic.rb
|
326
201
|
- lib/openehr/am/openehr_profile/data_types/quantity.rb
|
327
202
|
- lib/openehr/am/openehr_profile/data_types/text.rb
|
203
|
+
- lib/openehr/am/template.rb
|
328
204
|
- lib/openehr/assumed_library_types.rb
|
329
205
|
- lib/openehr/parser.rb
|
206
|
+
- lib/openehr/parser/adl_grammar.rb
|
330
207
|
- lib/openehr/parser/adl_grammar.tt
|
331
208
|
- lib/openehr/parser/adl_helper.rb
|
332
209
|
- lib/openehr/parser/adl_parser.rb
|
333
210
|
- lib/openehr/parser/exception.rb
|
211
|
+
- lib/openehr/parser/opt_parser.rb
|
334
212
|
- lib/openehr/parser/validator.rb
|
335
213
|
- lib/openehr/parser/xml_parser.rb
|
336
214
|
- lib/openehr/rm.rb
|
@@ -367,7 +245,6 @@ files:
|
|
367
245
|
- lib/openehr/serializer.rb
|
368
246
|
- lib/openehr/version.rb
|
369
247
|
- lib/openehr/writer.rb
|
370
|
-
- README.rdoc
|
371
248
|
homepage: http://openehr.jp
|
372
249
|
licenses:
|
373
250
|
- Apache 2.0
|
@@ -378,17 +255,17 @@ require_paths:
|
|
378
255
|
- lib
|
379
256
|
required_ruby_version: !ruby/object:Gem::Requirement
|
380
257
|
requirements:
|
381
|
-
- -
|
258
|
+
- - ">="
|
382
259
|
- !ruby/object:Gem::Version
|
383
260
|
version: '0'
|
384
261
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
385
262
|
requirements:
|
386
|
-
- -
|
263
|
+
- - ">="
|
387
264
|
- !ruby/object:Gem::Version
|
388
265
|
version: '0'
|
389
266
|
requirements: []
|
390
267
|
rubyforge_project:
|
391
|
-
rubygems_version: 2.
|
268
|
+
rubygems_version: 2.4.1
|
392
269
|
signing_key:
|
393
270
|
specification_version: 4
|
394
271
|
summary: Ruby implementation of the openEHR specification
|