Ticket #8 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

Warning message from msh.rb

Reported by: qstevenson@… Owned by: segfault
Priority: minor Milestone: Version 0.3
Component: HL7 Library Version: 0.3
Keywords: Cc:

Description

When I run the sample in the README (modified to use my hl7 file), I get a the following warning.

/usr/lib/ruby/gems/1.8/gems/ruby-hl7-0.2.50/lib/segments/msh.rb:4: warning: ambiguous first argument; put parentheses or even spaces

This isn't really a big deal, but is does wind up dumping this information every time I run a script.

The script I'm running is pasted below

#! /usr/bin/ruby -w

require 'rubygems' require 'ruby-hl7'

raw_input = open( "ADT_A01_decode_input.txt" ).readlines msg = HL7::Message.new( raw_input )

puts "message type: %s" % msg[:MSH].message_type

Attachments

Change History

Changed 11 months ago by segfault

  • status changed from new to assigned

I'll commit this later this week, thanks.

Changed 11 months ago by segfault

  • status changed from assigned to closed
  • resolution set to fixed

closed by [59]. -1 is apparently bad for dsl's.

Add/Change #8 (Warning message from msh.rb)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.