Sha256: 295cf5f880cdf33d80f8bd00c68ff4ac6edd5619272cbe964ce108c6ad1dcb46
Contents?: true
Size: 602 Bytes
Versions: 4
Compression:
Stored size: 602 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe HL7::Message::Segment::EVN do context 'general' do before :all do @base = "EVN|A04|20060705000000" end it 'allows access to an EVN segment' do evn = HL7::Message::Segment::EVN.new @base expect(evn.type_code).to eq "A04" end it 'allows creation of an EVN segment' do evn = HL7::Message::Segment::EVN.new evn.event_facility="A Facility" expect(evn.event_facility).to eq 'A Facility' evn.recorded_date = Date.new 2001,2,3 expect(evn.recorded_date).to eq "20010203" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-hl7-1.3.3 | spec/evn_segment_spec.rb |
ruby-hl7-1.3.2 | spec/evn_segment_spec.rb |
ruby-hl7-1.3.1 | spec/evn_segment_spec.rb |
ruby-hl7-1.3.0 | spec/evn_segment_spec.rb |