Class: HL7::Message::Segment::PV2
- Inherits:
-
HL7::Message::Segment
- Object
- HL7::Message::Segment
- HL7::Message::Segment::PV2
- Defined in:
- lib/segments/pv2.rb
Constant Summary
Constants inherited from HL7::Message::Segment
METHOD_MISSING_FOR_INITIALIZER
Instance Attribute Summary
Attributes inherited from HL7::Message::Segment
#element_delim, #item_delim, #segment_parent, #segment_weight
Attributes included from HL7::Message::SegmentListStorage
Instance Method Summary collapse
Methods inherited from HL7::Message::Segment
#<=>, #each, #elements_from_segment, #has_children?, #initialize, #is_child_segment=, #is_child_segment?, #length, #method_missing, #to_info, #to_s, #weight
Methods included from HL7::Message::SegmentListStorage
Methods included from TimeFormatterHelper
#hl7_formatted_date, #hl7_formatted_timestamp
Methods included from HL7::Message::SegmentFields
#[], #[]=, #field_info, included, #read_field, #write_field
Constructor Details
This class inherits a constructor from HL7::Message::Segment
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HL7::Message::Segment
Instance Method Details
#military_non_availibility_code ⇒ Object
55 56 57 58 59 60 |
# File 'lib/segments/pv2.rb', line 55 def military_non_availibility_code warn "DEPRECATION WARNING: PV2-35 is defined as 'military_non_availability_code'; " \ "the 'military_non_availibility_code' alias is retained for backwards compatibility only." military_non_availability_code end |
#military_non_availibility_code=(code) ⇒ Object
62 63 64 65 66 67 |
# File 'lib/segments/pv2.rb', line 62 def military_non_availibility_code=(code) warn "DEPRECATION WARNING: PV2-35 is defined as 'military_non_availability_code'; " \ "the 'military_non_availibility_code' alias is retained for backwards compatibility only." self.military_non_availability_code = code end |