Class: HL7::Message::Segment::PID
- Inherits:
-
HL7::Message::Segment
- Object
- HL7::Message::Segment
- HL7::Message::Segment::PID
- Defined in:
- lib/segments/pid.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
- #country_code ⇒ Object
- #country_code=(country_code) ⇒ Object
- #id_readability_code ⇒ Object
- #id_readability_code=(code) ⇒ Object
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
#country_code ⇒ Object
54 55 56 57 58 |
# File 'lib/segments/pid.rb', line 54 def country_code warn "DEPRECATION WARNING: PID-12 is defined as 'county_code'; " \ "the 'country_code' alias is retained for backwards compatibility only." county_code end |
#country_code=(country_code) ⇒ Object
60 61 62 63 64 |
# File 'lib/segments/pid.rb', line 60 def country_code=(country_code) warn "DEPRECATION WARNING: PID-12 is defined as 'county_code'; " \ "the 'country_code' alias is retained for backwards compatibility only." self.county_code = country_code end |
#id_readability_code ⇒ Object
66 67 68 69 70 |
# File 'lib/segments/pid.rb', line 66 def id_readability_code warn "DEPRECATION WARNING: PID-32 is defined as 'id_reliability_code'; " \ "the 'id_readability_code' alias is retained for backwards compatibility only." id_reliability_code end |
#id_readability_code=(code) ⇒ Object
72 73 74 75 76 |
# File 'lib/segments/pid.rb', line 72 def id_readability_code=(code) warn "DEPRECATION WARNING: PID-32 is defined as 'id_reliability_code'; " \ "the 'id_readability_code' alias is retained for backwards compatibility only." self.id_reliability_code = code end |