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 +4 -4
- data/lib/ruby-hl7.rb +1 -1
- data/lib/segments/aig.rb +21 -0
- data/lib/segments/ail.rb +14 -14
- data/lib/segments/ais.rb +19 -0
- data/lib/segments/in1.rb +4 -0
- data/lib/segments/mrg.rb +10 -0
- data/lib/segments/rgs.rb +6 -0
- data/lib/segments/sch.rb +2 -0
- data/lib/segments/tq1.rb +20 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8f63eebddc15165ad878ecb3b78935ce3892131
|
4
|
+
data.tar.gz: 134b5d4f57b5ff439921b3f4d8f509a49f7ec4d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a72a3aebd6f19860238bb8bd9a60c09dedcf5dc54dc0a40812eaed0598cfd38c339432b20b6f09a51cf758f03440e086bc24ca72ca2dfefd3b962f3191487cc
|
7
|
+
data.tar.gz: f254e4d43d6696bd135e01a6415d856b4e4f58ec4bcedeeb51f0afe21335f33a4fe9e88019ac2c82220d50ce0c0be945c14054811676773351dfe7b9957b45ab
|
data/lib/ruby-hl7.rb
CHANGED
data/lib/segments/aig.rb
ADDED
@@ -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
|
data/lib/segments/ail.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
class HL7::Message::Segment::AIL < HL7::Message::Segment
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
data/lib/segments/ais.rb
ADDED
@@ -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
|
data/lib/segments/in1.rb
CHANGED
@@ -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
|
data/lib/segments/mrg.rb
ADDED
@@ -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
|
data/lib/segments/rgs.rb
ADDED
data/lib/segments/sch.rb
CHANGED
data/lib/segments/tq1.rb
ADDED
@@ -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.
|
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-
|
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.
|
144
|
+
rubygems_version: 2.6.11
|
140
145
|
signing_key:
|
141
146
|
specification_version: 4
|
142
147
|
summary: Ruby HL7 Library
|