ruby-hl7-extensions 0.0.5 → 0.0.51
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/VERSION +1 -1
- data/VERSION.yml +1 -1
- data/lib/core_ext/message.rb +1 -2
- data/ruby-hl7-extensions.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b2979059a3985c143c185edec3c87ff49f98ec7
|
|
4
|
+
data.tar.gz: 07346768dfb69c8771cd8d2a44da6f8f46651d36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ee27b6b4c5ccf190a0b0f1e97af2df0125de37a2dc6c798ff28a53b7e761cd416ac65784364420718a8b3686319f366963a257cbc726f4491041eb933e7aa2c
|
|
7
|
+
data.tar.gz: a7b9ceb1e894597fb8fb2e28381b9000cde8e0298f3b4efa2690b177e123ff976884f9b9032813487e6908f0e51d678654a8da5c25a5edfeddbe9ef829ae3e16
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.51
|
data/VERSION.yml
CHANGED
data/lib/core_ext/message.rb
CHANGED
|
@@ -96,8 +96,7 @@ module Extensions
|
|
|
96
96
|
@hash[:message][:content][segment_name.to_sym]["array"] << segment.to_hash
|
|
97
97
|
|
|
98
98
|
@hash[:message][:content][segment_name.to_sym]["array"]
|
|
99
|
-
|
|
100
|
-
if last_segment = "ORC"
|
|
99
|
+
if last_segment == "ORC"
|
|
101
100
|
@hash[:message][:content]["ORC"]["array"].last["OBR"] ||= {}
|
|
102
101
|
@hash[:message][:content]["ORC"]["array"].last["OBR"]["array"] ||= []
|
|
103
102
|
@hash[:message][:content]["ORC"]["array"].last["OBR"]["array"] << segment.to_hash
|
data/ruby-hl7-extensions.gemspec
CHANGED