ruby-hl7 1.2.3 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +7 -0
- data/.rubocop.yml +127 -0
- data/.travis.yml +20 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +65 -0
- data/NOTES.md +151 -0
- data/README.rdoc +5 -0
- data/Rakefile +76 -0
- data/VERSION +1 -0
- data/VERSION.yml +4 -0
- data/examples/proxy_server.rb +26 -0
- data/lib/ruby-hl7.rb +1 -1
- data/lib/segments/ft1.rb +63 -0
- data/lib/segments/gt1.rb +75 -0
- data/lib/segments/pid.rb +13 -1
- data/lib/segments/txa.rb +28 -0
- data/ruby-hl7.gemspec +39 -0
- data/spec/ail_segment_spec.rb +28 -0
- data/spec/aip_segment_spec.rb +31 -0
- data/spec/basic_parsing_spec.rb +319 -0
- data/spec/batch_parsing_spec.rb +52 -0
- data/spec/child_segment_spec.rb +66 -0
- data/spec/core_ext/date_time_spec.rb +43 -0
- data/spec/default_segment_spec.rb +31 -0
- data/spec/dg1_spec.rb +42 -0
- data/spec/dynamic_segment_def_spec.rb +37 -0
- data/spec/err_segment_spec.rb +26 -0
- data/spec/evn_segment_spec.rb +23 -0
- data/spec/ft1_segment_spec.rb +35 -0
- data/spec/fts_segment_spec.rb +19 -0
- data/spec/gt1_segment_spec.rb +32 -0
- data/spec/in1_segment_spec.rb +34 -0
- data/spec/message_spec.rb +53 -0
- data/spec/messages_spec.rb +24 -0
- data/spec/mfe_segment_spec.rb +28 -0
- data/spec/mfi_segment_spec.rb +28 -0
- data/spec/msa_segment_spec.rb +27 -0
- data/spec/msh_segment_spec.rb +28 -0
- data/spec/nk1_segment_spec.rb +26 -0
- data/spec/obr_segment_spec.rb +45 -0
- data/spec/obx_segment_spec.rb +68 -0
- data/spec/orc_segment_spec.rb +27 -0
- data/spec/pid_segment_spec.rb +78 -0
- data/spec/prd_segment_spec.rb +29 -0
- data/spec/pv1_segment_spec.rb +23 -0
- data/spec/rf1_segment_spec.rb +29 -0
- data/spec/sch_segment_spec.rb +32 -0
- data/spec/segment_field_spec.rb +110 -0
- data/spec/segment_generator_spec.rb +32 -0
- data/spec/segment_list_storage_spec.rb +47 -0
- data/spec/segment_spec.rb +38 -0
- data/spec/sft_segment_spec.rb +26 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/speed_parsing_spec.rb +19 -0
- data/spec/spm_segment_spec.rb +26 -0
- data/spec/txa_segment_spec.rb +72 -0
- metadata +155 -18
- data/lib/segments/zcf.rb +0 -22
metadata
CHANGED
@@ -1,53 +1,147 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-hl7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Guzman
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rake
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
16
44
|
requirements:
|
17
45
|
- - ">="
|
18
46
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
47
|
+
version: 12.3.3
|
48
|
+
type: :development
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
52
|
- - ">="
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
54
|
+
version: 12.3.3
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
56
|
+
name: rdoc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '6.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '6.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
30
72
|
requirements:
|
31
73
|
- - ">="
|
32
74
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
75
|
+
version: 3.9.0
|
34
76
|
type: :development
|
35
77
|
prerelease: false
|
36
78
|
version_requirements: !ruby/object:Gem::Requirement
|
37
79
|
requirements:
|
38
80
|
- - ">="
|
39
81
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
82
|
+
version: 3.9.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.16.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.16.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov-html
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.10.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.10.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake-contrib
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
41
125
|
description: A simple library to parse and generate HL7 2.x messages
|
42
126
|
email: ruby-hl7@googlegroups.com
|
43
127
|
executables: []
|
44
128
|
extensions: []
|
45
129
|
extra_rdoc_files:
|
46
|
-
- README.rdoc
|
47
130
|
- LICENSE
|
131
|
+
- README.rdoc
|
48
132
|
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rubocop.yml"
|
135
|
+
- ".travis.yml"
|
136
|
+
- Gemfile
|
137
|
+
- Gemfile.lock
|
49
138
|
- LICENSE
|
139
|
+
- NOTES.md
|
50
140
|
- README.rdoc
|
141
|
+
- Rakefile
|
142
|
+
- VERSION
|
143
|
+
- VERSION.yml
|
144
|
+
- examples/proxy_server.rb
|
51
145
|
- lib/core_ext/date_time.rb
|
52
146
|
- lib/core_ext/string.rb
|
53
147
|
- lib/message.rb
|
@@ -65,7 +159,9 @@ files:
|
|
65
159
|
- lib/segments/dg1.rb
|
66
160
|
- lib/segments/err.rb
|
67
161
|
- lib/segments/evn.rb
|
162
|
+
- lib/segments/ft1.rb
|
68
163
|
- lib/segments/fts.rb
|
164
|
+
- lib/segments/gt1.rb
|
69
165
|
- lib/segments/in1.rb
|
70
166
|
- lib/segments/mfe.rb
|
71
167
|
- lib/segments/mfi.rb
|
@@ -90,8 +186,48 @@ files:
|
|
90
186
|
- lib/segments/sft.rb
|
91
187
|
- lib/segments/spm.rb
|
92
188
|
- lib/segments/tq1.rb
|
93
|
-
- lib/segments/
|
189
|
+
- lib/segments/txa.rb
|
94
190
|
- lib/test/hl7_messages.rb
|
191
|
+
- ruby-hl7.gemspec
|
192
|
+
- spec/ail_segment_spec.rb
|
193
|
+
- spec/aip_segment_spec.rb
|
194
|
+
- spec/basic_parsing_spec.rb
|
195
|
+
- spec/batch_parsing_spec.rb
|
196
|
+
- spec/child_segment_spec.rb
|
197
|
+
- spec/core_ext/date_time_spec.rb
|
198
|
+
- spec/default_segment_spec.rb
|
199
|
+
- spec/dg1_spec.rb
|
200
|
+
- spec/dynamic_segment_def_spec.rb
|
201
|
+
- spec/err_segment_spec.rb
|
202
|
+
- spec/evn_segment_spec.rb
|
203
|
+
- spec/ft1_segment_spec.rb
|
204
|
+
- spec/fts_segment_spec.rb
|
205
|
+
- spec/gt1_segment_spec.rb
|
206
|
+
- spec/in1_segment_spec.rb
|
207
|
+
- spec/message_spec.rb
|
208
|
+
- spec/messages_spec.rb
|
209
|
+
- spec/mfe_segment_spec.rb
|
210
|
+
- spec/mfi_segment_spec.rb
|
211
|
+
- spec/msa_segment_spec.rb
|
212
|
+
- spec/msh_segment_spec.rb
|
213
|
+
- spec/nk1_segment_spec.rb
|
214
|
+
- spec/obr_segment_spec.rb
|
215
|
+
- spec/obx_segment_spec.rb
|
216
|
+
- spec/orc_segment_spec.rb
|
217
|
+
- spec/pid_segment_spec.rb
|
218
|
+
- spec/prd_segment_spec.rb
|
219
|
+
- spec/pv1_segment_spec.rb
|
220
|
+
- spec/rf1_segment_spec.rb
|
221
|
+
- spec/sch_segment_spec.rb
|
222
|
+
- spec/segment_field_spec.rb
|
223
|
+
- spec/segment_generator_spec.rb
|
224
|
+
- spec/segment_list_storage_spec.rb
|
225
|
+
- spec/segment_spec.rb
|
226
|
+
- spec/sft_segment_spec.rb
|
227
|
+
- spec/spec_helper.rb
|
228
|
+
- spec/speed_parsing_spec.rb
|
229
|
+
- spec/spm_segment_spec.rb
|
230
|
+
- spec/txa_segment_spec.rb
|
95
231
|
- test_data/adt_a01.hl7
|
96
232
|
- test_data/cerner/cerner_bordetella.hl7
|
97
233
|
- test_data/cerner/cerner_en.hl7
|
@@ -122,11 +258,13 @@ files:
|
|
122
258
|
- test_data/rqi_r04.hl7
|
123
259
|
- test_data/test.hl7
|
124
260
|
- test_data/test2.hl7
|
125
|
-
homepage:
|
126
|
-
licenses:
|
261
|
+
homepage: http://github.com/ruby-hl7/ruby-hl7
|
262
|
+
licenses:
|
263
|
+
- MIT
|
127
264
|
metadata: {}
|
128
|
-
post_install_message:
|
129
|
-
rdoc_options:
|
265
|
+
post_install_message:
|
266
|
+
rdoc_options:
|
267
|
+
- "--charset=UTF-8"
|
130
268
|
require_paths:
|
131
269
|
- lib
|
132
270
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -140,9 +278,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
278
|
- !ruby/object:Gem::Version
|
141
279
|
version: '0'
|
142
280
|
requirements: []
|
143
|
-
|
144
|
-
|
145
|
-
signing_key:
|
281
|
+
rubygems_version: 3.1.6
|
282
|
+
signing_key:
|
146
283
|
specification_version: 4
|
147
284
|
summary: Ruby HL7 Library
|
148
285
|
test_files: []
|
data/lib/segments/zcf.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
class HL7::Message::Segment::ZCF < HL7::Message::Segment
|
2
|
-
add_field :custom_field_1
|
3
|
-
add_field :custom_field_2
|
4
|
-
add_field :custom_field_3
|
5
|
-
add_field :custom_field_4
|
6
|
-
add_field :custom_field_5
|
7
|
-
add_field :custom_field_6
|
8
|
-
add_field :custom_field_7
|
9
|
-
add_field :custom_field_8
|
10
|
-
add_field :custom_field_9
|
11
|
-
add_field :custom_field_10
|
12
|
-
add_field :custom_field_11
|
13
|
-
add_field :custom_field_12
|
14
|
-
add_field :custom_field_13
|
15
|
-
add_field :custom_field_14
|
16
|
-
add_field :custom_field_15
|
17
|
-
add_field :custom_field_16
|
18
|
-
add_field :custom_field_17
|
19
|
-
add_field :custom_field_18
|
20
|
-
add_field :custom_field_19
|
21
|
-
add_field :custom_field_20
|
22
|
-
end
|