ruby-hl7 1.3.3 → 1.4.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.
- checksums.yaml +4 -4
- data/lib/configuration.rb +30 -0
- data/lib/core_ext/date_time.rb +19 -15
- data/lib/core_ext/string.rb +2 -0
- data/lib/helpers/time_formatter_helper.rb +42 -0
- data/lib/message.rb +72 -75
- data/lib/message_parser.rb +17 -15
- data/lib/ruby-hl7.rb +26 -16
- data/lib/segment.rb +63 -47
- data/lib/segment_default.rb +6 -4
- data/lib/segment_fields.rb +27 -25
- data/lib/segment_generator.rb +12 -15
- data/lib/segment_list_storage.rb +15 -14
- data/lib/segments/aig.rb +2 -0
- data/lib/segments/ail.rb +2 -0
- data/lib/segments/aip.rb +2 -0
- data/lib/segments/ais.rb +2 -0
- data/lib/segments/dg1.rb +2 -10
- data/lib/segments/err.rb +2 -0
- data/lib/segments/evn.rb +2 -1
- data/lib/segments/ft1.rb +13 -13
- data/lib/segments/fts.rb +2 -0
- data/lib/segments/gt1.rb +4 -6
- data/lib/segments/in1.rb +2 -1
- data/lib/segments/mfe.rb +2 -0
- data/lib/segments/mfi.rb +2 -0
- data/lib/segments/mrg.rb +2 -0
- data/lib/segments/msa.rb +2 -2
- data/lib/segments/msh.rb +3 -2
- data/lib/segments/nk1.rb +48 -8
- data/lib/segments/nte.rb +6 -5
- data/lib/segments/obr.rb +4 -3
- data/lib/segments/obx.rb +2 -1
- data/lib/segments/orc.rb +8 -10
- data/lib/segments/oru.rb +2 -1
- data/lib/segments/pid.rb +19 -10
- data/lib/segments/prd.rb +2 -1
- data/lib/segments/prt.rb +23 -0
- data/lib/segments/pv1.rb +2 -1
- data/lib/segments/pv2.rb +64 -51
- data/lib/segments/qrd.rb +2 -1
- data/lib/segments/qrf.rb +2 -1
- data/lib/segments/rf1.rb +2 -1
- data/lib/segments/rgs.rb +2 -0
- data/lib/segments/rol.rb +22 -0
- data/lib/segments/sch.rb +2 -0
- data/lib/segments/sft.rb +2 -0
- data/lib/segments/spm.rb +2 -0
- data/lib/segments/tq1.rb +2 -0
- data/lib/segments/txa.rb +2 -0
- data/lib/test/hl7_messages.rb +118 -117
- data/lib/version.rb +5 -0
- metadata +14 -163
- data/.gitignore +0 -7
- data/.rubocop.yml +0 -127
- data/.travis.yml +0 -20
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -65
- data/LICENSE +0 -19
- data/NOTES.md +0 -151
- data/README.rdoc +0 -47
- data/Rakefile +0 -76
- data/VERSION +0 -1
- data/VERSION.yml +0 -4
- data/examples/proxy_server.rb +0 -26
- data/ruby-hl7.gemspec +0 -39
- data/spec/ail_segment_spec.rb +0 -28
- data/spec/aip_segment_spec.rb +0 -31
- data/spec/basic_parsing_spec.rb +0 -319
- data/spec/batch_parsing_spec.rb +0 -52
- data/spec/child_segment_spec.rb +0 -66
- data/spec/core_ext/date_time_spec.rb +0 -43
- data/spec/default_segment_spec.rb +0 -31
- data/spec/dg1_spec.rb +0 -42
- data/spec/dynamic_segment_def_spec.rb +0 -37
- data/spec/err_segment_spec.rb +0 -26
- data/spec/evn_segment_spec.rb +0 -23
- data/spec/ft1_segment_spec.rb +0 -35
- data/spec/fts_segment_spec.rb +0 -19
- data/spec/gt1_segment_spec.rb +0 -32
- data/spec/in1_segment_spec.rb +0 -34
- data/spec/message_spec.rb +0 -53
- data/spec/messages_spec.rb +0 -24
- data/spec/mfe_segment_spec.rb +0 -28
- data/spec/mfi_segment_spec.rb +0 -28
- data/spec/msa_segment_spec.rb +0 -27
- data/spec/msh_segment_spec.rb +0 -28
- data/spec/nk1_segment_spec.rb +0 -26
- data/spec/obr_segment_spec.rb +0 -45
- data/spec/obx_segment_spec.rb +0 -68
- data/spec/orc_segment_spec.rb +0 -27
- data/spec/pid_segment_spec.rb +0 -78
- data/spec/prd_segment_spec.rb +0 -29
- data/spec/pv1_segment_spec.rb +0 -23
- data/spec/rf1_segment_spec.rb +0 -29
- data/spec/sch_segment_spec.rb +0 -32
- data/spec/segment_field_spec.rb +0 -110
- data/spec/segment_generator_spec.rb +0 -32
- data/spec/segment_list_storage_spec.rb +0 -47
- data/spec/segment_spec.rb +0 -38
- data/spec/sft_segment_spec.rb +0 -26
- data/spec/spec_helper.rb +0 -13
- data/spec/speed_parsing_spec.rb +0 -19
- data/spec/spm_segment_spec.rb +0 -26
- data/spec/txa_segment_spec.rb +0 -72
data/lib/version.rb
ADDED
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-hl7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Guzman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-06 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'
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: rake
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,105 +17,23 @@ dependencies:
|
|
45
17
|
- - ">="
|
46
18
|
- !ruby/object:Gem::Version
|
47
19
|
version: 12.3.3
|
48
|
-
type: :
|
20
|
+
type: :runtime
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - ">="
|
53
25
|
- !ruby/object:Gem::Version
|
54
26
|
version: 12.3.3
|
55
|
-
- !ruby/object:Gem::Dependency
|
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
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 3.9.0
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::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'
|
125
27
|
description: A simple library to parse and generate HL7 2.x messages
|
126
|
-
email:
|
28
|
+
email:
|
127
29
|
executables: []
|
128
30
|
extensions: []
|
129
|
-
extra_rdoc_files:
|
130
|
-
- LICENSE
|
131
|
-
- README.rdoc
|
31
|
+
extra_rdoc_files: []
|
132
32
|
files:
|
133
|
-
-
|
134
|
-
- ".rubocop.yml"
|
135
|
-
- ".travis.yml"
|
136
|
-
- Gemfile
|
137
|
-
- Gemfile.lock
|
138
|
-
- LICENSE
|
139
|
-
- NOTES.md
|
140
|
-
- README.rdoc
|
141
|
-
- Rakefile
|
142
|
-
- VERSION
|
143
|
-
- VERSION.yml
|
144
|
-
- examples/proxy_server.rb
|
33
|
+
- lib/configuration.rb
|
145
34
|
- lib/core_ext/date_time.rb
|
146
35
|
- lib/core_ext/string.rb
|
36
|
+
- lib/helpers/time_formatter_helper.rb
|
147
37
|
- lib/message.rb
|
148
38
|
- lib/message_parser.rb
|
149
39
|
- lib/ruby-hl7.rb
|
@@ -176,58 +66,21 @@ files:
|
|
176
66
|
- lib/segments/oru.rb
|
177
67
|
- lib/segments/pid.rb
|
178
68
|
- lib/segments/prd.rb
|
69
|
+
- lib/segments/prt.rb
|
179
70
|
- lib/segments/pv1.rb
|
180
71
|
- lib/segments/pv2.rb
|
181
72
|
- lib/segments/qrd.rb
|
182
73
|
- lib/segments/qrf.rb
|
183
74
|
- lib/segments/rf1.rb
|
184
75
|
- lib/segments/rgs.rb
|
76
|
+
- lib/segments/rol.rb
|
185
77
|
- lib/segments/sch.rb
|
186
78
|
- lib/segments/sft.rb
|
187
79
|
- lib/segments/spm.rb
|
188
80
|
- lib/segments/tq1.rb
|
189
81
|
- lib/segments/txa.rb
|
190
82
|
- lib/test/hl7_messages.rb
|
191
|
-
-
|
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
|
83
|
+
- lib/version.rb
|
231
84
|
- test_data/adt_a01.hl7
|
232
85
|
- test_data/cerner/cerner_bordetella.hl7
|
233
86
|
- test_data/cerner/cerner_en.hl7
|
@@ -258,13 +111,11 @@ files:
|
|
258
111
|
- test_data/rqi_r04.hl7
|
259
112
|
- test_data/test.hl7
|
260
113
|
- test_data/test2.hl7
|
261
|
-
homepage:
|
262
|
-
licenses:
|
263
|
-
- MIT
|
114
|
+
homepage: https://github.com/ruby-hl7/ruby-hl7
|
115
|
+
licenses: []
|
264
116
|
metadata: {}
|
265
117
|
post_install_message:
|
266
|
-
rdoc_options:
|
267
|
-
- "--charset=UTF-8"
|
118
|
+
rdoc_options: []
|
268
119
|
require_paths:
|
269
120
|
- lib
|
270
121
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -278,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
278
129
|
- !ruby/object:Gem::Version
|
279
130
|
version: '0'
|
280
131
|
requirements: []
|
281
|
-
rubygems_version: 3.
|
132
|
+
rubygems_version: 3.5.11
|
282
133
|
signing_key:
|
283
134
|
specification_version: 4
|
284
135
|
summary: Ruby HL7 Library
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,127 +0,0 @@
|
|
1
|
-
# Copied from bundler :)
|
2
|
-
|
3
|
-
AllCops:
|
4
|
-
TargetRubyVersion: 1.9
|
5
|
-
Exclude:
|
6
|
-
- tmp/**/*
|
7
|
-
DisplayCopNames: true
|
8
|
-
|
9
|
-
# They are idiomatic
|
10
|
-
Lint/AssignmentInCondition:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
Lint/EndAlignment:
|
14
|
-
EnforcedStyleAlignWith: variable
|
15
|
-
AutoCorrect: true
|
16
|
-
|
17
|
-
Lint/UnusedMethodArgument:
|
18
|
-
Enabled: false
|
19
|
-
|
20
|
-
# Style
|
21
|
-
|
22
|
-
Style/AccessModifierIndentation:
|
23
|
-
EnforcedStyle: outdent
|
24
|
-
|
25
|
-
Style/Alias:
|
26
|
-
EnforcedStyle: prefer_alias_method
|
27
|
-
|
28
|
-
Style/AlignParameters:
|
29
|
-
EnforcedStyle: with_fixed_indentation
|
30
|
-
|
31
|
-
Style/FrozenStringLiteralComment:
|
32
|
-
EnforcedStyle: always
|
33
|
-
|
34
|
-
Style/MultilineBlockChain:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
Style/MultilineOperationIndentation:
|
38
|
-
EnforcedStyle: indented
|
39
|
-
|
40
|
-
Style/PerlBackrefs:
|
41
|
-
Enabled: false
|
42
|
-
|
43
|
-
Style/SingleLineBlockParams:
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
Style/SpaceInsideBlockBraces:
|
47
|
-
SpaceBeforeBlockParameters: false
|
48
|
-
|
49
|
-
Style/TrivialAccessors:
|
50
|
-
Enabled: false
|
51
|
-
|
52
|
-
# We adopted raise instead of fail.
|
53
|
-
Style/SignalException:
|
54
|
-
EnforcedStyle: only_raise
|
55
|
-
|
56
|
-
Style/StringLiterals:
|
57
|
-
EnforcedStyle: double_quotes
|
58
|
-
|
59
|
-
Style/StringLiteralsInInterpolation:
|
60
|
-
EnforcedStyle: double_quotes
|
61
|
-
|
62
|
-
# Having these make it easier to *not* forget to add one when adding a new
|
63
|
-
# value and you can simply copy the previous line.
|
64
|
-
Style/TrailingCommaInLiteral:
|
65
|
-
EnforcedStyleForMultiline: comma
|
66
|
-
|
67
|
-
Style/TrailingUnderscoreVariable:
|
68
|
-
Enabled: false
|
69
|
-
|
70
|
-
# `String.new` is preferred style with enabled frozen string literal
|
71
|
-
Style/EmptyLiteral:
|
72
|
-
Enabled: false
|
73
|
-
|
74
|
-
# 1.8.7 support
|
75
|
-
|
76
|
-
Style/HashSyntax:
|
77
|
-
EnforcedStyle: hash_rockets
|
78
|
-
|
79
|
-
Style/Lambda:
|
80
|
-
Enabled: false
|
81
|
-
|
82
|
-
Style/DotPosition:
|
83
|
-
EnforcedStyle: trailing
|
84
|
-
|
85
|
-
Style/EachWithObject:
|
86
|
-
Enabled: false
|
87
|
-
|
88
|
-
Style/SpecialGlobalVars:
|
89
|
-
Enabled: false
|
90
|
-
|
91
|
-
Style/TrailingCommaInArguments:
|
92
|
-
Enabled: false
|
93
|
-
|
94
|
-
Performance/FlatMap:
|
95
|
-
Enabled: false
|
96
|
-
|
97
|
-
# Metrics
|
98
|
-
|
99
|
-
# We've chosen to use Rubocop only for style, and not for complexity or quality checks.
|
100
|
-
Metrics/ClassLength:
|
101
|
-
Enabled: false
|
102
|
-
|
103
|
-
Metrics/ModuleLength:
|
104
|
-
Enabled: false
|
105
|
-
|
106
|
-
Metrics/MethodLength:
|
107
|
-
Enabled: false
|
108
|
-
|
109
|
-
Metrics/BlockNesting:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
Metrics/AbcSize:
|
113
|
-
Enabled: false
|
114
|
-
|
115
|
-
Metrics/CyclomaticComplexity:
|
116
|
-
Enabled: false
|
117
|
-
|
118
|
-
Metrics/ParameterLists:
|
119
|
-
Enabled: false
|
120
|
-
|
121
|
-
Metrics/BlockLength:
|
122
|
-
Enabled: false
|
123
|
-
|
124
|
-
# It will be obvious which code is complex, Rubocop should only lint simple
|
125
|
-
# rules for us.
|
126
|
-
Metrics/PerceivedComplexity:
|
127
|
-
Enabled: false
|
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
ruby-hl7 (1.3.3)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
coderay (1.1.2)
|
10
|
-
diff-lcs (1.3)
|
11
|
-
docile (1.3.2)
|
12
|
-
ffi (1.12.2-java)
|
13
|
-
json (2.5.1)
|
14
|
-
json (2.5.1-java)
|
15
|
-
method_source (0.9.2)
|
16
|
-
pry (0.12.2)
|
17
|
-
coderay (~> 1.1.0)
|
18
|
-
method_source (~> 0.9.0)
|
19
|
-
pry (0.12.2-java)
|
20
|
-
coderay (~> 1.1.0)
|
21
|
-
method_source (~> 0.9.0)
|
22
|
-
spoon (~> 0.0)
|
23
|
-
rake (13.0.1)
|
24
|
-
rake-contrib (1.0.0)
|
25
|
-
rake
|
26
|
-
rdoc (6.3.1)
|
27
|
-
rspec (3.9.0)
|
28
|
-
rspec-core (~> 3.9.0)
|
29
|
-
rspec-expectations (~> 3.9.0)
|
30
|
-
rspec-mocks (~> 3.9.0)
|
31
|
-
rspec-core (3.9.1)
|
32
|
-
rspec-support (~> 3.9.1)
|
33
|
-
rspec-expectations (3.9.0)
|
34
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.9.0)
|
36
|
-
rspec-mocks (3.9.1)
|
37
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.9.0)
|
39
|
-
rspec-support (3.9.2)
|
40
|
-
simplecov (0.16.1)
|
41
|
-
docile (~> 1.1)
|
42
|
-
json (>= 1.8, < 3)
|
43
|
-
simplecov-html (~> 0.10.0)
|
44
|
-
simplecov-html (0.10.2)
|
45
|
-
spoon (0.0.6)
|
46
|
-
ffi
|
47
|
-
|
48
|
-
PLATFORMS
|
49
|
-
java
|
50
|
-
ruby
|
51
|
-
x86-mingw32
|
52
|
-
|
53
|
-
DEPENDENCIES
|
54
|
-
bundler (~> 1.17)
|
55
|
-
pry
|
56
|
-
rake (>= 12.3.3)
|
57
|
-
rake-contrib
|
58
|
-
rdoc (~> 6.3)
|
59
|
-
rspec (>= 3.9.0)
|
60
|
-
ruby-hl7!
|
61
|
-
simplecov (= 0.16.1)
|
62
|
-
simplecov-html (~> 0.10.0)
|
63
|
-
|
64
|
-
BUNDLED WITH
|
65
|
-
1.17.2
|
data/LICENSE
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
= License
|
2
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
3
|
-
a copy of this software and associated documentation files (the
|
4
|
-
"Software"), to deal in the Software without restriction, including
|
5
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
6
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
7
|
-
permit persons to whom the Software is furnished to do so, subject to
|
8
|
-
the following conditions:
|
9
|
-
|
10
|
-
The above copyright notice and this permission notice shall be
|
11
|
-
included in all copies or substantial portions of the Software.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
14
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
15
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
16
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
17
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
18
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
19
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/NOTES.md
DELETED
@@ -1,151 +0,0 @@
|
|
1
|
-
## Overview
|
2
|
-
|
3
|
-
**Version 1.3.3**
|
4
|
-
Update RDoc
|
5
|
-
Added TXA segment
|
6
|
-
|
7
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/118
|
8
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/117
|
9
|
-
|
10
|
-
Thanks to:
|
11
|
-
@Stratus3D and @rodrigofhm
|
12
|
-
|
13
|
-
**Version 1.3.2**
|
14
|
-
Added GT1 segment
|
15
|
-
Updated dependencies
|
16
|
-
|
17
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/111
|
18
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/108
|
19
|
-
|
20
|
-
Thanks to:
|
21
|
-
@gusIreland
|
22
|
-
|
23
|
-
**Version 1.3.1**
|
24
|
-
Added FT1 segment
|
25
|
-
Updated gemspec dependencies
|
26
|
-
|
27
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/102
|
28
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/94
|
29
|
-
|
30
|
-
Thanks to:
|
31
|
-
@raulperezalejo @anujbiyani
|
32
|
-
|
33
|
-
**Version 1.3.0**
|
34
|
-
Removed ZCF segment
|
35
|
-
Renamed PID-12 from country_code to county_code (deprecation warnings)
|
36
|
-
Bumped gem dependency versions
|
37
|
-
|
38
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/90
|
39
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/91
|
40
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/93
|
41
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/95
|
42
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/97
|
43
|
-
|
44
|
-
Thanks to:
|
45
|
-
@mogox @rclavel @mullican
|
46
|
-
|
47
|
-
**Version 1.2.3**
|
48
|
-
New Segments:
|
49
|
-
AIG
|
50
|
-
AIS
|
51
|
-
MRG
|
52
|
-
RGS
|
53
|
-
TQ1
|
54
|
-
IN1
|
55
|
-
|
56
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/86
|
57
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/87
|
58
|
-
|
59
|
-
|
60
|
-
Thanks to:
|
61
|
-
@finnhowell, @rclavel
|
62
|
-
|
63
|
-
**Version 1.2.2**
|
64
|
-
New segments:
|
65
|
-
AIL
|
66
|
-
AIP
|
67
|
-
SCH
|
68
|
-
|
69
|
-
Feature Updates
|
70
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/69
|
71
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/79
|
72
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/81
|
73
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/82
|
74
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/83
|
75
|
-
|
76
|
-
Thanks to @finnhowell, @myokoym, and @mogox for contributions.
|
77
|
-
|
78
|
-
**Version 1.2.1**
|
79
|
-
New segments:
|
80
|
-
DG1
|
81
|
-
|
82
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/61
|
83
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/66
|
84
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/68
|
85
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/72
|
86
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/74
|
87
|
-
|
88
|
-
Thanks to:
|
89
|
-
@caseyprovost, @adamjubert, @vadeolu
|
90
|
-
|
91
|
-
**Version 1.2.0**
|
92
|
-
Included in this release:
|
93
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/52
|
94
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/56
|
95
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/58
|
96
|
-
https://github.com/ruby-hl7/ruby-hl7/pull/59
|
97
|
-
|
98
|
-
Thanks to:
|
99
|
-
@adamstegman, @clausti, @evanmthw, @mitch-lindsay
|
100
|
-
|
101
|
-
**Version 1.1.1**
|
102
|
-
Included in this release:
|
103
|
-
|
104
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/48
|
105
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/44
|
106
|
-
|
107
|
-
**Version 1.1.0**
|
108
|
-
Included in this release:
|
109
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/7
|
110
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/9
|
111
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/10
|
112
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/13
|
113
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/17
|
114
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/18
|
115
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/19
|
116
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/20
|
117
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/21
|
118
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/22
|
119
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/23
|
120
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/24
|
121
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/25
|
122
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/27
|
123
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/28
|
124
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/33
|
125
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/34
|
126
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/35
|
127
|
-
- https://github.com/ruby-hl7/ruby-hl7/pull/41
|
128
|
-
|
129
|
-
Thanks to:
|
130
|
-
@untoldone, @tomsabin, @patricksrobertson, @rojotek, @calebwoods and @jdee
|
131
|
-
|
132
|
-
|
133
|
-
**Version 1.0.3**
|
134
|
-
The ruby-hl7 gem removes some sample messages.
|
135
|
-
|
136
|
-
## Release Date
|
137
|
-
|
138
|
-
January 25, 2011
|
139
|
-
|
140
|
-
## In this release
|
141
|
-
|
142
|
-
* Sample messages from Cerner were removed.
|
143
|
-
* Some gem dependencies were updated.
|
144
|
-
|
145
|
-
### Bug fixes
|
146
|
-
|
147
|
-
There are no bug fixes in this release.
|
148
|
-
|
149
|
-
## Known Issues
|
150
|
-
|
151
|
-
There are currently no known open issues with the ruby-hl7 gem.
|
data/README.rdoc
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
= Ruby HL7 Library README
|
2
|
-
|
3
|
-
{<img src="https://travis-ci.org/ruby-hl7/ruby-hl7.png?branch=master" alt="Build Status" />}[https://travis-ci.org/ruby-hl7/ruby-hl7]
|
4
|
-
{<img src="https://codeclimate.com/github/ruby-hl7/ruby-hl7.png" />}[https://codeclimate.com/github/ruby-hl7/ruby-hl7]
|
5
|
-
|
6
|
-
A simple way to parse and create HL7 2.x messages with Ruby.
|
7
|
-
|
8
|
-
Examples can be found in HL7::Message.
|
9
|
-
|
10
|
-
The version id can be found in the HL7::VERSION constant.
|
11
|
-
|
12
|
-
* Git: http://github.com/ruby-hl7/ruby-hl7.git
|
13
|
-
* Docs: http://rubydoc.info/gems/ruby-hl7/1.0.3/frames
|
14
|
-
* Rubygems: https://rubygems.org/gems/ruby-hl7
|
15
|
-
|
16
|
-
Lists
|
17
|
-
|
18
|
-
* Google group: http://groups.google.com/group/ruby-hl7
|
19
|
-
|
20
|
-
Copyright (C) 2006-2014 Mark Guzman
|
21
|
-
|
22
|
-
Maintained by:
|
23
|
-
|
24
|
-
* http://csinitiative.com
|
25
|
-
* http://trisano.org
|
26
|
-
* http://github.com/csinitiative/trisano
|
27
|
-
* http://onemedical.com
|
28
|
-
|
29
|
-
== Download and Installation
|
30
|
-
|
31
|
-
=== Rubygems
|
32
|
-
Install the gem using the following command:
|
33
|
-
|
34
|
-
gem install ruby-hl7
|
35
|
-
|
36
|
-
=== Bundler
|
37
|
-
In your Gemfile:
|
38
|
-
|
39
|
-
gem 'ruby-hl7'
|
40
|
-
|
41
|
-
=== Migrating from 1.2.3 to 1.3.0
|
42
|
-
|
43
|
-
The ZCF segment has been removed, as it is not standard.
|
44
|
-
To continue using it, please use the {ruby-hl7-zcf gem}[https://github.com/doctolib/ruby-hl7-zcf].
|
45
|
-
|
46
|
-
== License
|
47
|
-
See the LICENSE file.
|