Class: HL7::Message::Segment::ZNP
- Inherits:
-
HL7::Message::Segment
- Object
- HL7::Message::Segment
- HL7::Message::Segment::ZNP
- Defined in:
- lib/segments/znp.rb
Instance Method Summary collapse
Instance Method Details
#provider_hash(key, code) ⇒ Object
33 34 35 |
# File 'lib/segments/znp.rb', line 33 def provider_hash(key,code) to_hash.merge({"providerType"=>code}) end |
#to_hash ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/segments/znp.rb', line 24 def to_hash return @hash if @hash hash = super.to_hash hash["id"] = hash["customField2"] hash["npi"] = hash["customField2"] hash end |