lib/segments/pid.rb in ruby-hl7-0.3 vs lib/segments/pid.rb in ruby-hl7-1.0

- old
+ new

@@ -1,9 +1,10 @@ -# $Id$ +# encoding: UTF-8 require 'ruby-hl7' class HL7::Message::Segment::PID < HL7::Message::Segment weight 1 + has_children [:NK1,:NTE,:PV1,:PV2] add_field :set_id add_field :patient_id add_field :patient_id_list add_field :alt_patient_id add_field :patient_name @@ -25,10 +26,10 @@ add_field :primary_language add_field :marital_status add_field :religion add_field :account_number add_field :social_security_num - add_field :mothers_id + add_field :mothers_id, :idx => 21 add_field :ethnic_group add_field :birthplace add_field :multi_birth add_field :birth_order add_field :citizenship