Module: RBEDI::Codes::PER

Extended by:
CodeSet
Defined in:
lib/rbedi/codes/per.rb

Constant Summary collapse

SEGMENT_POSITIONS =
{
  1 => :contact_function_code,
  2 => :name,
  3 => :communication_number_qualifier_1,
  4 => :communication_number_1,
  5 => :communication_number_qualifier_2,
  6 => :communication_number_2,
  7 => :communication_number_qualifier_3,
  8 => :communication_number_3,
  9 => :contact_inquiry_reference
}
CODES =
{
  1 => {
					"1a" => :reviewrepricing_contact,
					"1b" => :preferred_provider_organization_ppo_contact,
					"1c" => :health_maintenance_organization_hmo_contact,
					"1d" => :thirdparty_administrator_tpa_contact,
					"1e" => :new_business_processing,
					"1f" => :physician,
					"1g" => :service_team,
					"1h" => :underwriter,
					"1i" => :local_contact,
					"3a" => :automated_clearinghouse_ach_contact,
					"a1" => :claim_approver,
					"a2" => :applicant,
					"a3" => :interviewer,
					"a4" => :owner_representative,
					"a5" => :appointment_scheduler,
					"a6" => :concurrent_employer_contact,
					"aa" => :authorized_representative,
					"ab" => :appraiser,
					"ac" => :administrative_contracting_officer,
					"ad" => :accounting_department,
					"ae" => :corporate_purchasing_agent,
					"af" => :authorized_financial_contact,
					"ag" => :agent,
					"ah" => :afterhours_contact,
					"ai" => :additional_insurance_information_contact,
					"aj" => :primary_contact,
					"al" => :alternate_contactperson_to_be_contacted_when_the_main_contact_is_not_available,
					"am" => :administrator,
					"an" => :attentionto_partyparty_to_whose_attention_information_is_sent_via_us_post_office__us_mail,
					"ap" => :accounts_payable_department,
					"ar" => :accounts_receivable_department,
					"as" => :authorized_signature,
					"at" => :material_safety_data_sheet_contact,
					"au" => :report_authorizer,
					"av" => :advisor,
					"aw" => :coinvestigator,
					"ax" => :additional_contact_points_at_institutions,
					"ba" => :broker,
					"bb" => :local_purchasing_agent,
					"bc" => :broker_contact,
					"bd" => :buyer_name_or_department,
					"bi" => :bill_inquiry_contactservice_provider_contact_for_making_inquires_about_information_on_the_invoice,
					"bj" => :operations,
					"bk" => :marketing_department,
					"bl" => :technical_department,
					"bm" => :work_broker_maintenance_manager,
					"bp" => :school_principal,
					"bs" => :board_staff,
					"bu" => :business_unit_manager,
					"c1" => :carrier_contact,
					"c2" => :coborrower,
					"ca" => :customer_contact_granting_appointment,
					"cb" => :changed_by,
					"cc" => :computer_systems_contact,
					"cd" => :contract_contact,
					"ce" => :certifier,
					"cf" => :customer_engineera_person_who_maintains_or_repairs_computer_hardware_or_software,
					"cg" => :chief_executive_officer,
					"ch" => :change_order_approver,
					"ci" => :chief_financial_officer,
					"cj" => :chief_information_officer,
					"ck" => :chairman_of_the_board,
					"cl" => :chief_operating_officer,
					"cm" => :container_manager,
					"cn" => :general_contact,
					"co" => :component_engineer,
					"cp" => :cost_and_schedule_coordinator,
					"cr" => :customer_relations,
					"cs" => :cadcam_specialist,
					"ct" => :claimant,
					"cu" => :auditing_contact,
					"cv" => :clearinghouse_contact,
					"cw" => :confirmed_with,
					"cx" => :payers_claim_officelocation_responsible_for_paying_bills_related_to_medical_care_received,
					"cy" => :case_manager,
					"cz" => :claim_recipient,
					"da" => :directory_advertising_contactservice_provider_contact_for_questions_about_and_changes_to_directory_advertising,
					"dc" => :delivery_contact,
					"dd" => :division_director,
					"de" => :design_engineer,
					"df" => :director,
					"di" => :delivery_instructions_contact,
					"dm" => :division_manager,
					"dn" => :dental_school_admissions_office,
					"dv" => :development,
					"e1" => :estimator,
					"e2" => :evening_programs_office,
					"ea" => :edi_coordinator,
					"eb" => :entered_by,
					"ec" => :emergency_contactshipper,
					"ed" => :emergency_contactconsignee,
					"ef" => :emergency_contactmilitary_traffic_management_command_mtmc,
					"eg" => :engineering,
					"em" => :emergency_contact,
					"en" => :engineer,
					"eo" => :executive_officer,
					"ep" => :employer_contact,
					"es" => :electronic_submission_recipient,
					"ev" => :executive_vicepresident,
					"ex" => :expeditor,
					"fa" => :financial_aid_office,
					"fb" => :coordinator,
					"fc" => :forwarder_contact,
					"fd" => :primary_control_point,
					"ff" => :licensee,
					"fl" => :foreclosing_lender_administrative_contact,
					"fm" => :functional_manager,
					"fn" => :joint_work_agent,
					"fo" => :office_manager,
					"fp" => :marketing_director,
					"fq" => :staff,
					"fr" => :compliance_officer,
					"ga" => :graduate_fine_arts_office,
					"gb" => :graduate_business_office,
					"gc" => :guidance_counselor,
					"ge" => :graduate_engineering_office,
					"gr" => :graduate_admissions_office,
					"hm" => :hazardous_material_contact,
					"hr" => :human_resources,
					"ic" => :information_contact,
					"io" => :issuing_officer,
					"ip" => :insured_party,
					"is" => :law_firm,
					"ka" => :authorized_negotiator,
					"kb" => :preaward_survey_manager,
					"kc" => :accepting_official,
					"kp" => :attorney,
					"kt" => :clerk_of_court,
					"ld" => :law_school_admissions_office,
					"lg" => :logistics_contact,
					"ma" => :maintenance_contactservice_provider_contact_for_requesting_service_maintenance_or_reporting_problems,
					"mb" => :mayor,
					"mc" => :medical_contact,
					"md" => :medical_admissions_office,
					"me" => :manufacturing,
					"mg" => :manager,
					"mk" => :multiple_listing_service_staff,
					"ml" => :multiple_listing_service_vendor,
					"mm" => :customer_maintenance_manager,
					"na" => :national_agent,
					"nc" => :numerical_control_engineer,
					"np" => :notary_public,
					"nt" => :notification_contact,
					"oa" => :other_adult,
					"oc" => :order_contact,
					"od" => :order_department,
					"os" => :office_staff,
					"ow" => :owner,
					"pa" => :president,
					"pb" => :plant_manager,
					"pc" => :purchasing_contracting_officer_pcoperson_to_whom_a_warrant_has_been_issued_authorizing_that_person_to_obligate_funds_on_behalf_of_the_government,
					"pd" => :project_director,
					"pe" => :process_engineer,
					"pf" => :price_administration,
					"pg" => :program_director,
					"ph" => :providerentity_providing_health_care_services,
					"pi" => :preparera_firm_organization_or_individual_who_determines_the_tax_liability_from_information_supplied_by_the_taxpayer,
					"pj" => :project_manager,
					"pk" => :performance_evaluation_committee,
					"pl" => :manufacturing_plant_contact,
					"pm" => :product_manager,
					"pn" => :probation_or_legal_officer,
					"po" => :production_representativean_industrial_specialist_assigned_to_a_contract_administration_office_and_charged_with_production_surveillance_of_government_contracts_being_performed_in_the_plant_or_plants_under_the_production_representatives_cognizance,
					"pp" => :program_manager,
					"pq" => :parent_or_guardian,
					"pr" => :prototype_coordinator,
					"ps" => :personnel_department,
					"pt" => :partner,
					"pu" => :report_preparer,
					"pv" => :participating_laboratory_contact,
					"pw" => :principal_study_contact_or_author,
					"px" => :purchase_service_providerentity_from_which_medical_supplies_may_be_bought,
					"py" => :packager,
					"pz" => :patientindividual_receiving_medical_care,
					"qa" => :quality_assurance_contact,
					"qc" => :quality_coordinator,
					"qi" => :quality_inspector,
					"qm" => :quality_manager,
					"qp" => :quoting_partythe_party_that_actually_submitted_a_quote_in_response_to_a_request_for_quotation,
					"qr" => :ordering_officeran_individual_authorized_to_place_orders_against_existing_contracts,
					"qy" => :port_engineer,
					"ra" => :rental_company_administrative_contact,
					"rb" => :real_estate_property_occupant,
					"rc" => :rebatechargeback_contact,
					"rd" => :receiving_dock,
					"re" => :receiving_contact,
					"rf" => :real_estate_property_key_holder,
					"rg" => :registrar,
					"rp" => :responsible_person,
					"rq" => :requestor,
					"rs" => :rate_supervisor_or_clerk,
					"rz" => :respondant,
					"sa" => :sales_administration,
					"sb" => :student,
					"sc" => :schedule_contact,
					"sd" => :shipping_department,
					"se" => :service_organization,
					"sf" => :student_in_absentia,
					"sg" => :secretary,
					"sh" => :shipper_contact,
					"si" => :investigator,
					"sj" => :spouse,
					"sk" => :school_clerk,
					"sl" => :collector,
					"sm" => :submitting_contact,
					"sn" => :study_submitter_contact,
					"so" => :service_order_writer,
					"sp" => :special_program_contact,
					"sq" => :systems_administrator,
					"sr" => :sales_representative_or_department,
					"ss" => :supervisor,
					"st" => :service_technician,
					"su" => :supplier_contact,
					"sv" => :service_manager,
					"sw" => :social_services_worker,
					"sy" => :secondary_taxpayertaxpayer_who_is_filing_jointly_with_the_primary_taxpayer,
					"ta" => :traffic_administrator,
					"tb" => :telephone_answering_service_contact,
					"tc" => :college_of_education_admissions_office,
					"td" => :tender_developer,
					"te" => :treasurer,
					"th" => :school_of_theology_admissions_office,
					"tm" => :transmitterthe_firm_organization_or_individual_who_transmits_returns_electronically_to_a_taxing_authority,
					"tn" => :tenant,
					"tp" => :primary_taxpayertaxpayer_whose_social_security_number_or_employer_identification_number_is_used_as_the_primary_identification_number_for_the_filing,
					"tr" => :technical_marketing_representative,
					"ty" => :platform_maintenance_manager,
					"ug" => :undergraduate_admissions_office,
					"up" => :union_president,
					"uq" => :processor,
					"ur" => :ultimate_receiver,
					"vm" => :school_of_veterinary_medicine_admissions_office,
					"vp" => :vice_president,
					"wh" => :warehouse,
					"wi" => :witness,
					"wr" => :technical_writer,
					"wv" => :waiver_application_contact,
					"zz" => :mutually_defined,
  },
  3 => {
    "aa" => :international_telephone_access_codedialing_code_required_to_call_another_country_in_addition_to_the_number,
    "ab" => :joint_facsimile_and_phone_number,
    "ac" => :message_only_voice_numbertelephone_number_which_provides_automated_messages_only,
    "ad" => :delivery_location_phone,
    "ae" => :area_code,
    "ap" => :alternate_telephone,
    "as" => :answering_service,
    "au" => :defense_switched_networkdepartment_of_defense_telecommunications_system_and_successor_of_the_automatic_voice_network_autovon,
    "bn" => :beeper_number,
    "bt" => :btx_numbergerman_communications_number_for_online_service_provided_through_the_deutsche_bundespost,
    "ca" => :cable,
    "cp" => :cellular_phone,
    "dn" => :defense_data_network_ddndepartment_of_defense_dod_data_communications_system,
    "ea" => :internet_email_addressinternet_based_electronic_mail_address_with_a_structure_of_addressee__domain_name__domain_name_extension,
    "ed" => :electronic_data_interchange_access_number,
    "em" => :electronic_mail,
    "ex" => :telephone_extension,
    "ft" => :federal_telecommunications_system_fts,
    "fu" => :facsimile_user_identifier,
    "fx" => :facsimile,
    "hf" => :home_facsimile_number,
    "hp" => :home_phone_number,
    "it" => :international_telephone,
    "mn" => :modem_number,
    "np" => :night_telephone,
    "of" => :other_residential_facsimile_number,
    "ot" => :other_residential_telephone_number,
    "pa" => :appointment_phone,
    "pc" => :personal_cellular,
    "pp" => :personal_phone,
    "ps" => :packet_switching,
    "sp" => :showing_phonephone_number_to_call_for_information_about_a_property_showing,
    "te" => :telephone,
    "tl" => :telex,
    "tm" => :telemail,
    "tn" => :teletex_numberteletex_is_specific_type_of_telex_service_provided_by_deutsche_bundespost,
    "tx" => :twx,
    "ur" => :uniform_resource_locator_url,
    "vm" => :voice_mail,
    "wc" => :work_cellular,
    "wf" => :work_facsimile_number,
    "wp" => :work_phone_number,
  }
}

Method Summary

Methods included from CodeSet

code, segment_position