Sha256: 7fb1d25d67b541c2f94a90b001e8601318c0566c4ae9f2d419c6d2710e01110e
Contents?: true
Size: 461 Bytes
Versions: 52
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/feeds" module Renalware module Feeds # Responsible for parsing a raw HL7 message as a string and creates a # message object. # class MessageParser def self.parse(*args) new.parse(*args) end def parse(message_string) lines = message_string.split("\n").join("\r").lines HL7Message.new(::HL7::Message.new(lines)) end end end end
Version data entries
52 entries across 52 versions & 1 rubygems