ruby-hl7 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b36535802bbf6b5f122e2322a668d970429ee65
4
- data.tar.gz: db078ec7a69b6b049b2097a0422ce2e611dbd06f
3
+ metadata.gz: f8f63eebddc15165ad878ecb3b78935ce3892131
4
+ data.tar.gz: 134b5d4f57b5ff439921b3f4d8f509a49f7ec4d2
5
5
  SHA512:
6
- metadata.gz: 4aa4d504557aed652061c0f7c0a1f63302f6d43337c29158f1b67ab8902ec3afde62b7d927dbbdaa2f1982b0aae3cc6700bb9d040368cef5da1f7a0c32a1269e
7
- data.tar.gz: 1d284a74ceb3b7d6bab0d05e2036b7bf7d2b374d211efdba1122eae86b654ac4a96f92e0fd9247b0978075634bb256d3add1e18cf0abc97d68bdf31bdd0710c3
6
+ metadata.gz: 0a72a3aebd6f19860238bb8bd9a60c09dedcf5dc54dc0a40812eaed0598cfd38c339432b20b6f09a51cf758f03440e086bc24ca72ca2dfefd3b962f3191487cc
7
+ data.tar.gz: f254e4d43d6696bd135e01a6415d856b4e4f58ec4bcedeeb51f0afe21335f33a4fe9e88019ac2c82220d50ce0c0be945c14054811676773351dfe7b9957b45ab
@@ -21,7 +21,7 @@ require 'stringio'
21
21
  require 'date'
22
22
 
23
23
  module HL7 # :nodoc:
24
- VERSION = '1.2.2'
24
+ VERSION = '1.2.3'
25
25
  def self.ParserConfig
26
26
  @parser_cfg ||= { :empty_segment_is_error => true }
27
27
  end
@@ -0,0 +1,21 @@
1
+ class HL7::Message::Segment::AIG < HL7::Message::Segment
2
+ weight 1
3
+ add_field :set_id
4
+ add_field :segment_action_code
5
+ add_field :resource_id
6
+ add_field :resource_type
7
+ add_field :resource_group
8
+ add_field :resource_quantity
9
+ add_field :resource_quantity_units
10
+ add_field :start_time
11
+ add_field :start_time_offset
12
+ add_field :start_time_offset_units
13
+ add_field :duration
14
+ add_field :duration_units
15
+ add_field :allow_subsitution_code
16
+ add_field :filler_status_status
17
+
18
+ alias_field :start_date, :start_time
19
+ alias_field :start_date_offset, :start_time_offset
20
+ alias_field :start_date_offset_units, :start_time_offset_units
21
+ end
@@ -1,15 +1,15 @@
1
1
  class HL7::Message::Segment::AIL < HL7::Message::Segment
2
- weight 0
3
- add_field :set_id
4
- add_field :segment_action_code
5
- add_field :location_resource_id
6
- add_field :location_type
7
- add_field :location_group
8
- add_field :start_date_time
9
- add_field :start_date_time_offset
10
- add_field :start_date_time_offset_units
11
- add_field :duration
12
- add_field :duration_units
13
- add_field :allow_substitution_code
14
- add_field :filler_status_code
15
- end
2
+ weight 0
3
+ add_field :set_id
4
+ add_field :segment_action_code
5
+ add_field :location_resource_id
6
+ add_field :location_type
7
+ add_field :location_group
8
+ add_field :start_date_time
9
+ add_field :start_date_time_offset
10
+ add_field :start_date_time_offset_units
11
+ add_field :duration
12
+ add_field :duration_units
13
+ add_field :allow_substitution_code
14
+ add_field :filler_status_code
15
+ end
@@ -0,0 +1,19 @@
1
+ class HL7::Message::Segment::AIS < HL7::Message::Segment
2
+ weight 1
3
+ add_field :set_id
4
+ add_field :segment_action_code
5
+ add_field :universal_service_identifier
6
+ add_field :start_time
7
+ add_field :start_time_offset
8
+ add_field :start_time_offset_units
9
+ add_field :duration
10
+ add_field :duration_units
11
+ add_field :allow_subsitution_code
12
+ add_field :filler_status_code
13
+ add_field :placer_supplemental_service_information
14
+ add_field :filler_supplemental_service_information
15
+
16
+ alias_field :start_date, :start_time
17
+ alias_field :start_date_offset, :start_time_offset
18
+ alias_field :start_date_offset_units, :start_time_offset_units
19
+ end
@@ -50,4 +50,8 @@ class HL7::Message::Segment::IN1 < HL7::Message::Segment
50
50
  add_field :coverage_type
51
51
  add_field :handicap
52
52
  add_field :insureds_id_number
53
+ add_field :signature_code
54
+ add_field :signature_code_date
55
+ add_field :insureds_birth_place
56
+ add_field :vip_indicator
53
57
  end
@@ -0,0 +1,10 @@
1
+ class HL7::Message::Segment::MRG < HL7::Message::Segment
2
+ weight 4
3
+ add_field :prior_patient_identifier_list
4
+ add_field :prior_alternate_patient_id
5
+ add_field :prior_patient_account_number
6
+ add_field :prior_patient_id
7
+ add_field :prior_visit_number
8
+ add_field :prior_alternate_visit_id
9
+ add_field :prior_patient_name
10
+ end
@@ -0,0 +1,6 @@
1
+ class HL7::Message::Segment::RGS < HL7::Message::Segment
2
+ weight 3
3
+ add_field :set_id
4
+ add_field :segment_action_code
5
+ add_field :resource_group_id
6
+ end
@@ -25,4 +25,6 @@ class HL7::Message::Segment::SCH < HL7::Message::Segment
25
25
  add_field :parent_placer_appointment_id
26
26
  add_field :parent_filler_appointment_id
27
27
  add_field :filler_status_code
28
+ add_field :placer_order_number
29
+ add_field :filler_order_number
28
30
  end
@@ -0,0 +1,20 @@
1
+ class HL7::Message::Segment::TQ1 < HL7::Message::Segment
2
+ weight 2
3
+ add_field :set_id
4
+ add_field :quantity
5
+ add_field :repeat_pattern
6
+ add_field :explicit_time
7
+ add_field :relative_time_and_units
8
+ add_field :service_duration
9
+ add_field :start_time
10
+ add_field :end_time
11
+ add_field :priority
12
+ add_field :condition_text
13
+ add_field :text_instruction
14
+ add_field :conjunction
15
+ add_field :occurrence_duration
16
+ add_field :total_occurrences
17
+
18
+ alias_field :start_date, :start_time
19
+ alias_field :end_date, :end_time
20
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-hl7
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Guzman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-30 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,8 +58,10 @@ files:
58
58
  - lib/segment_fields.rb
59
59
  - lib/segment_generator.rb
60
60
  - lib/segment_list_storage.rb
61
+ - lib/segments/aig.rb
61
62
  - lib/segments/ail.rb
62
63
  - lib/segments/aip.rb
64
+ - lib/segments/ais.rb
63
65
  - lib/segments/dg1.rb
64
66
  - lib/segments/err.rb
65
67
  - lib/segments/evn.rb
@@ -67,6 +69,7 @@ files:
67
69
  - lib/segments/in1.rb
68
70
  - lib/segments/mfe.rb
69
71
  - lib/segments/mfi.rb
72
+ - lib/segments/mrg.rb
70
73
  - lib/segments/msa.rb
71
74
  - lib/segments/msh.rb
72
75
  - lib/segments/nk1.rb
@@ -82,9 +85,11 @@ files:
82
85
  - lib/segments/qrd.rb
83
86
  - lib/segments/qrf.rb
84
87
  - lib/segments/rf1.rb
88
+ - lib/segments/rgs.rb
85
89
  - lib/segments/sch.rb
86
90
  - lib/segments/sft.rb
87
91
  - lib/segments/spm.rb
92
+ - lib/segments/tq1.rb
88
93
  - lib/segments/zcf.rb
89
94
  - lib/test/hl7_messages.rb
90
95
  - test_data/adt_a01.hl7
@@ -136,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
141
  version: '0'
137
142
  requirements: []
138
143
  rubyforge_project: ruby-hl7
139
- rubygems_version: 2.6.3
144
+ rubygems_version: 2.6.11
140
145
  signing_key:
141
146
  specification_version: 4
142
147
  summary: Ruby HL7 Library