ruby-hl7-extensions 0.4.6 → 0.4.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de95280003256738fb4cdec6f49660e49434eee5826a980149b67d806b92bff4
4
- data.tar.gz: bc5ff1e65b493df6baafa2e0bc3f02752a058adebdda5c71f6904a38becfcb79
3
+ metadata.gz: c1af7800da743f01291334301f64973df004b9ff40c28e2fc3b7ec1ef9d745b9
4
+ data.tar.gz: 9f03c92678e2956a7878e515559adb753414f7a3f4074ae972569838571c2d55
5
5
  SHA512:
6
- metadata.gz: 2a5a4b047fc4d8c884cc34632ccaf1fa9061bb504b261cdd0133b3e45b6b05ae974b70ba5b71b2f1052485be15f891c398ca824531fe229cc3487eb6c44b0a86
7
- data.tar.gz: 5e0fee7f398d7733f973ea04b598220b268205559fea58331606cdcf8093693fce4a4a98e2df42376d5b12e95c0fa35cc7bc8d3311118958e6d011bd8ec80d6f
6
+ metadata.gz: e6f37c42c4a8f945ee9f05081978e637c531fc6bc9f18fa4f2781f99f3da3ed691e23f354ddada4bb30bbd3dcf4f15fee4e97b501007987f5817cd9bc25b9958
7
+ data.tar.gz: e48afc415df739a240d9e3905a7d0b90f977b7c9a75a939edc8dd27558dc64403edffe0b19ee159df75d0ef230baa76d2af4a192b4842a0f149e3ede47247534
data/lib/segments/dg1.rb CHANGED
@@ -3,29 +3,29 @@ require 'ruby-hl7'
3
3
 
4
4
  class HL7::Message::Segment::DG1 < HL7::Message::Segment
5
5
  weight 100
6
- add_field :set_id
7
- add_field :diagnosis_coding_method
8
- add_field :diagnosis_code
9
- add_field :diagnosis_description
10
- add_field :diagnosis_date_time do |value|
6
+ add_field :set_id, { :idx => 1}
7
+ add_field :diagnosis_coding_method, { :idx => 2}
8
+ add_field :diagnosis_code, { :idx => 3}
9
+ add_field :diagnosis_description, { :idx => 4}
10
+ add_field :diagnosis_date_time, { :idx => 5} do |value|
11
11
  convert_to_ts(value)
12
12
  end
13
- add_field :diagnosis_type
14
- add_field :major_diagnostic_category
15
- add_field :diagnostic_related_group
16
- add_field :drg_approval_indicator
17
- add_field :drg_grouper_review_code
18
- add_field :outlier_type
19
- add_field :outlier_days
20
- add_field :outlier_cost
21
- add_field :grouper_version_and_type
22
- add_field :diagnosis_priority
23
- add_field :diagnosing_clinician
24
- add_field :diagnosis_classification
25
- add_field :confidential_indicator
26
- add_field :attestation_date_time do |value|
13
+ add_field :diagnosis_type, { :idx => 6}
14
+ add_field :major_diagnostic_category, { :idx => 7}
15
+ add_field :diagnostic_related_group, { :idx => 8}
16
+ add_field :drg_approval_indicator, { :idx => 9}
17
+ add_field :drg_grouper_review_code, { :idx => 10}
18
+ add_field :outlier_type, { :idx => 11}
19
+ add_field :outlier_days, { :idx => 12}
20
+ add_field :outlier_cost, { :idx => 13}
21
+ add_field :grouper_version_and_type, { :idx => 14}
22
+ add_field :diagnosis_priority, { :idx => 15}
23
+ add_field :diagnosing_clinician, { :idx => 16}
24
+ add_field :diagnosis_classification, { :idx => 17}
25
+ add_field :confidential_indicator, { :idx => 18}
26
+ add_field :attestation_date_time, { :idx => 19} do |value|
27
27
  convert_to_ts(value)
28
28
  end
29
- add_field :diagnosis_identifier
30
- add_field :diagnosis_action_code
29
+ add_field :diagnosis_identifier, { :idx => 20}
30
+ add_field :diagnosis_action_code, { :idx => 21}
31
31
  end
data/lib/segments/drf.rb CHANGED
@@ -3,14 +3,14 @@ require 'ruby-hl7'
3
3
 
4
4
  class HL7::Message::Segment::DRF < HL7::Message::Segment
5
5
  weight 100
6
- add_field :set_id
7
- add_field :field2
8
- add_field :field3
9
- add_field :field4
10
- add_field :field5
11
- add_field :field6
12
- add_field :field7
13
- add_field :field8
14
- add_field :field9
15
- add_field :field10
6
+ add_field :set_id, { :idx => 1}
7
+ add_field :field2, { :idx => 2}
8
+ add_field :field3, { :idx => 3}
9
+ add_field :field4, { :idx => 4}
10
+ add_field :field5, { :idx => 5}
11
+ add_field :field6, { :idx => 6}
12
+ add_field :field7, { :idx => 7}
13
+ add_field :field8, { :idx => 8}
14
+ add_field :field9, { :idx => 9}
15
+ add_field :field10, { :idx => 10}
16
16
  end
data/lib/segments/mrg.rb CHANGED
@@ -2,11 +2,11 @@ require 'ruby-hl7'
2
2
 
3
3
  class HL7::Message::Segment::MRG < HL7::Message::Segment
4
4
  weight 4
5
- add_field :prior_patient_identifier_list
6
- add_field :prior_alternate_patient_id
7
- add_field :prior_patient_account_number
8
- add_field :prior_patient_id
9
- add_field :prior_visit_number
10
- add_field :prior_alternate_visit_id
11
- add_field :prior_patient_name
5
+ add_field :prior_patient_identifier_list, { :idx => 1}
6
+ add_field :prior_alternate_patient_id, { :idx => 2}
7
+ add_field :prior_patient_account_number, { :idx => 3}
8
+ add_field :prior_patient_id, { :idx => 4}
9
+ add_field :prior_visit_number, { :idx => 5}
10
+ add_field :prior_alternate_visit_id, { :idx => 6}
11
+ add_field :prior_patient_name, { :idx => 7}
12
12
  end
data/lib/segments/zdrf.rb CHANGED
@@ -1,26 +1,26 @@
1
1
  require 'ruby-hl7'
2
2
 
3
3
  class HL7::Message::Segment::ZDRF < HL7::Message::Segment
4
- add_field :custom_field_1
5
- add_field :custom_field_2
6
- add_field :custom_field_3
7
- add_field :custom_field_4
8
- add_field :custom_field_5
9
- add_field :custom_field_6
10
- add_field :custom_field_7
11
- add_field :custom_field_8
12
- add_field :custom_field_9
13
- add_field :custom_field_10
14
- add_field :custom_field_11
15
- add_field :custom_field_12
16
- add_field :custom_field_13
17
- add_field :custom_field_14
18
- add_field :custom_field_15
19
- add_field :custom_field_16
20
- add_field :custom_field_17
21
- add_field :custom_field_18
22
- add_field :custom_field_19
23
- add_field :custom_field_20
4
+ add_field :custom_field_1, { :idx => 1}
5
+ add_field :custom_field_2, { :idx => 2}
6
+ add_field :custom_field_3, { :idx => 3}
7
+ add_field :custom_field_4, { :idx => 4}
8
+ add_field :custom_field_5, { :idx => 5}
9
+ add_field :custom_field_6, { :idx => 6}
10
+ add_field :custom_field_7, { :idx => 7}
11
+ add_field :custom_field_8, { :idx => 8}
12
+ add_field :custom_field_9, { :idx => 9}
13
+ add_field :custom_field_10, { :idx => 10}
14
+ add_field :custom_field_11, { :idx => 11}
15
+ add_field :custom_field_12, { :idx => 12}
16
+ add_field :custom_field_13, { :idx => 13}
17
+ add_field :custom_field_14, { :idx => 14}
18
+ add_field :custom_field_15, { :idx => 15}
19
+ add_field :custom_field_16, { :idx => 16}
20
+ add_field :custom_field_17, { :idx => 17}
21
+ add_field :custom_field_18, { :idx => 18}
22
+ add_field :custom_field_19, { :idx => 19}
23
+ add_field :custom_field_20, { :idx => 20}
24
24
 
25
25
  def to_hash
26
26
  return @hash if @hash
data/lib/segments/znp.rb CHANGED
@@ -1,25 +1,25 @@
1
1
  require 'ruby-hl7'
2
2
  class HL7::Message::Segment::ZNP < HL7::Message::Segment
3
- add_field :custom_field_1
4
- add_field :custom_field_2
5
- add_field :custom_field_3
6
- add_field :custom_field_4
7
- add_field :custom_field_5
8
- add_field :custom_field_6
9
- add_field :custom_field_7
10
- add_field :custom_field_8
11
- add_field :custom_field_9
12
- add_field :custom_field_10
13
- add_field :custom_field_11
14
- add_field :custom_field_12
15
- add_field :custom_field_13
16
- add_field :custom_field_14
17
- add_field :custom_field_15
18
- add_field :custom_field_16
19
- add_field :custom_field_17
20
- add_field :custom_field_18
21
- add_field :custom_field_19
22
- add_field :custom_field_20
3
+ add_field :custom_field_1, { :idx => 1}
4
+ add_field :custom_field_2, { :idx => 2}
5
+ add_field :custom_field_3, { :idx => 3}
6
+ add_field :custom_field_4, { :idx => 4}
7
+ add_field :custom_field_5, { :idx => 5}
8
+ add_field :custom_field_6, { :idx => 6}
9
+ add_field :custom_field_7, { :idx => 7}
10
+ add_field :custom_field_8, { :idx => 8}
11
+ add_field :custom_field_9, { :idx => 9}
12
+ add_field :custom_field_10, { :idx => 10}
13
+ add_field :custom_field_11, { :idx => 11}
14
+ add_field :custom_field_12, { :idx => 12}
15
+ add_field :custom_field_13, { :idx => 13}
16
+ add_field :custom_field_14, { :idx => 14}
17
+ add_field :custom_field_15, { :idx => 15}
18
+ add_field :custom_field_16, { :idx => 16}
19
+ add_field :custom_field_17, { :idx => 17}
20
+ add_field :custom_field_18, { :idx => 18}
21
+ add_field :custom_field_19, { :idx => 19}
22
+ add_field :custom_field_20, { :idx => 20}
23
23
 
24
24
  def to_hash
25
25
  return @hash if @hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ruby-hl7-extensions"
6
- s.version = "0.4.6"
6
+ s.version = "0.4.8"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
@@ -59,14 +59,14 @@ Gem::Specification.new do |s|
59
59
  s.specification_version = 3
60
60
 
61
61
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
- s.add_runtime_dependency(%q<rake>, ["~> 10.0.0"])
63
- s.add_runtime_dependency(%q<rubyforge>, ["~> 2.0.4"])
62
+ s.add_runtime_dependency(%q<rake>, ["~> 13.0"])
63
+ s.add_runtime_dependency(%q<rubyforge>, ["~> 2.0"])
64
64
  else
65
- s.add_dependency(%q<rake>, ["~> 10.0.0"])
66
- s.add_dependency(%q<rubyforge>, ["~> 2.0.4"])
65
+ s.add_dependency(%q<rake>, ["~> 13.0"])
66
+ s.add_dependency(%q<rubyforge>, ["~> 2.0"])
67
67
  end
68
68
  else
69
- s.add_dependency(%q<rake>, ["~> 10.0.0"])
70
- s.add_dependency(%q<rubyforge>, ["~> 2.0.4"])
69
+ s.add_dependency(%q<rake>, ["~> 13.0"])
70
+ s.add_dependency(%q<rubyforge>, ["~> 2.0"])
71
71
  end
72
72
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-hl7-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Lega
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-11-11 00:00:00.000000000 Z
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 10.0.0
19
+ version: '13.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 10.0.0
26
+ version: '13.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubyforge
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.0.4
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.0.4
40
+ version: '2.0'
41
41
  description: A simple library to parse and generate HL7 2.x json
42
42
  email: ruby-hl7-json@googlegroups.com
43
43
  executables: []
@@ -85,7 +85,7 @@ files:
85
85
  homepage: http://github.com/nmlynl/ruby-hl7-extensions
86
86
  licenses: []
87
87
  metadata: {}
88
- post_install_message:
88
+ post_install_message:
89
89
  rdoc_options:
90
90
  - "--charset=UTF-8"
91
91
  require_paths:
@@ -101,9 +101,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubyforge_project: ruby-hl7-extensions
105
- rubygems_version: 2.7.6
106
- signing_key:
104
+ rubygems_version: 3.4.18
105
+ signing_key:
107
106
  specification_version: 3
108
107
  summary: Ruby HL7 Library w/Extensions
109
108
  test_files: []