Skip to main content

X12 Service Type Code Mapping

When working with the Solum Eligibility API, service types are returned as human-readable snake_case values (e.g., mental_health, physical_therapy). These map directly to the official X12 271 Eligibility Benefit Inquiry service type codes used in EDI transactions. This reference shows how each X12 code translates to its Solum service_type value.

General & Plan-Level

X12 CodeSolum Service TypeDescription
1medical_careMedical Care
9other_medicalOther Medical
30health_benefit_plan_coverageHealth Benefit Plan Coverage
32plan_waiting_periodPlan Waiting Period
55major_medicalMajor Medical
60general_benefitsGeneral Benefits

Surgical

X12 CodeSolum Service TypeDescription
2surgicalSurgical
7anesthesiaAnesthesia
8surgical_assistanceSurgical Assistance
20second_surgical_opinionSecond Surgical Opinion
21third_surgical_opinionThird Surgical Opinion
97anesthesiologistAnesthesiologist
CCsurgical_benefits_professionalSurgical Benefits - Professional
CDsurgical_benefits_facilitySurgical Benefits - Facility

Diagnostic & Lab

X12 CodeSolum Service TypeDescription
4diagnostic_x_rayDiagnostic X-Ray
5diagnostic_labDiagnostic Lab
62mri_cat_scanMRI/CAT Scan
66pathologyPathology
73diagnostic_medicalDiagnostic Medical
CKscreening_x_rayScreening X-Ray
CLscreening_laboratoryScreening Laboratory
CMmammogram_high_risk_patientMammogram - High Risk Patient
CNmammogram_low_risk_patientMammogram - Low Risk Patient

Hospital & Inpatient

X12 CodeSolum Service TypeDescription
47hospitalHospital
48hospital_inpatientHospital - Inpatient
49hospital_room_and_boardHospital - Room and Board
50hospital_outpatientHospital - Outpatient
51hospital_emergency_accidentHospital - Emergency Accident
52hospital_emergency_medicalHospital - Emergency Medical
53hospital_ambulatory_surgicalHospital - Ambulatory Surgical
54long_term_careLong Term Care
ICintensive_careIntensive Care
C1coronary_careCoronary Care
UCurgent_careUrgent Care

Mental Health & Behavioral

X12 CodeSolum Service TypeDescription
MHmental_healthMental Health
A4psychiatricPsychiatric
A5psychiatric_room_and_boardPsychiatric - Room and Board
A6psychotherapyPsychotherapy
A7psychiatric_inpatientPsychiatric - Inpatient
A8psychiatric_outpatientPsychiatric - Outpatient
BBpartial_hospitalization_psychiatricPartial Hospitalization - Psychiatric
BCday_care_psychiatricDay Care - Psychiatric
BDcognitive_therapyCognitive Therapy
CEmental_health_provider_inpatientMental Health Provider - Inpatient
CFmental_health_provider_outpatientMental Health Provider - Outpatient
CGmental_health_facility_inpatientMental Health Facility - Inpatient
CHmental_health_facility_outpatientMental Health Facility - Outpatient
RTresidential_psychiatric_treatmentResidential Psychiatric Treatment
22social_workSocial Work

Substance Abuse

X12 CodeSolum Service TypeDescription
AIsubstance_abuseSubstance Abuse
AJalcoholismAlcoholism
AKdrug_addictionDrug Addiction
CIsubstance_abuse_facility_inpatientSubstance Abuse Facility - Inpatient
CJsubstance_abuse_facility_outpatientSubstance Abuse Facility - Outpatient

Rehabilitation & Therapy

X12 CodeSolum Service TypeDescription
PTphysical_therapyPhysical Therapy
ADoccupational_therapyOccupational Therapy
AFspeech_therapySpeech Therapy
AEphysical_medicinePhysical Medicine
BEmassage_therapyMassage Therapy
A9rehabilitationRehabilitation
AArehabilitation_room_and_boardRehabilitation - Room and Board
ABrehabilitation_inpatientRehabilitation - Inpatient
ACrehabilitation_outpatientRehabilitation - Outpatient
BFpulmonary_rehabilitationPulmonary Rehabilitation
BGcardiac_rehabilitationCardiac Rehabilitation

Professional Visits

X12 CodeSolum Service TypeDescription
3consultationConsultation
96professional_physicianProfessional (Physician)
98professional_visit_officeProfessional Visit - Office
99professional_visit_inpatientProfessional Visit - Inpatient
A0professional_visit_outpatientProfessional Visit - Outpatient
A1professional_visit_nursing_homeProfessional Visit - Nursing Home
A2professional_visit_skilled_nursing_facilityProfessional Visit - Skilled Nursing Facility
A3professional_visit_homeProfessional Visit - Home
BYphysician_visit_office_sickPhysician Visit - Office (Sick)
BZphysician_visit_office_wellPhysician Visit - Office (Well)
81routine_physicalRoutine Physical
AQnonmedically_necessary_physicalNonmedically Necessary Physical
BAindependent_medical_evaluationIndependent Medical Evaluation

Preventive & Wellness

X12 CodeSolum Service TypeDescription
17pre_admission_testingPre-Admission Testing
19pneumonia_vaccinePneumonia Vaccine
67smoking_cessationSmoking Cessation
68well_baby_careWell Baby Care
79allergy_testingAllergy Testing
80immunizationsImmunizations
COflu_vaccinationFlu Vaccination
GYallergyAllergy

Maternity & Reproductive

X12 CodeSolum Service TypeDescription
61in_vitro_fertilizationIn Vitro Fertilization
65newborn_careNewborn Care
69maternityMaternity
82family_planningFamily Planning
83infertilityInfertility
84abortionAbortion
BTgynecologicalGynecological
BUobstetricalObstetrical
BVobstetrical_gynecologicalObstetrical/Gynecological
BInurseryNursery
NIneonatal_intensive_careNeonatal Intensive Care
TNtransitional_nursery_careTransitional Nursery Care

Dental

X12 CodeSolum Service TypeDescription
23diagnostic_dentalDiagnostic Dental
24periodonticsPeriodontics
25restorativeRestorative
26endodonticsEndodontics
27maxillofacial_prostheticsMaxillofacial Prosthetics
28adjunctive_dental_servicesAdjunctive Dental Services
33chiropracticChiropractic
34chiropractic_office_visitsChiropractic - Office Visits
35dental_careDental Care
36dental_crownsDental Crowns
37dental_accidentDental Accident
38orthodonticsOrthodontics
39prosthodonticsProsthodontics
40oral_surgeryOral Surgery
41routine_preventive_dentalRoutine Preventive Dental

Vision

X12 CodeSolum Service TypeDescription
ALvision_optometryVision (Optometry)
AMframesFrames
ANroutine_examRoutine Exam
AOlensesLenses
BReyeEye
CPeyewear_and_accessoriesEyewear and Accessories

Pharmacy & Prescriptions

X12 CodeSolum Service TypeDescription
88pharmacyPharmacy
89free_standing_prescription_drugFree Standing Prescription Drug
90mail_order_prescription_drugMail Order Prescription Drug
91brand_name_prescription_drugBrand Name Prescription Drug
92generic_prescription_drugGeneric Prescription Drug
B2brand_name_prescription_drug_formularyBrand Name Prescription Drug - Formulary
B3brand_name_prescription_drug_non_formularyBrand Name Prescription Drug - Non-Formulary
BWmail_order_prescription_drug_brand_nameMail Order Prescription Drug - Brand Name
BXmail_order_prescription_drug_genericMail Order Prescription Drug - Generic
GFgeneric_prescription_drug_formularyGeneric Prescription Drug - Formulary
GNgeneric_prescription_drug_non_formularyGeneric Prescription Drug - Non-Formulary
ARexperimental_drug_therapyExperimental Drug Therapy

DME & Supplies

X12 CodeSolum Service TypeDescription
DMdurable_medical_equipmentDurable Medical Equipment
11used_durable_medical_equipmentUsed Durable Medical Equipment
12durable_medical_equipment_purchaseDurable Medical Equipment - Purchase
18durable_medical_equipment_rentalDurable Medical Equipment - Rental
75prosthetic_deviceProsthetic Device
DSdiabetic_suppliesDiabetic Supplies

Home Health & Nursing

X12 CodeSolum Service TypeDescription
42home_health_careHome Health Care
43home_health_prescriptionsHome Health Prescriptions
44home_health_visitsHome Health Visits
45hospiceHospice
46respite_careRespite Care
74private_duty_nursingPrivate Duty Nursing
AGskilled_nursing_careSkilled Nursing Care
AHskilled_nursing_care_room_and_boardSkilled Nursing Care - Room and Board
CAprivate_duty_nursing_inpatientPrivate Duty Nursing - Inpatient
CBprivate_duty_nursing_homePrivate Duty Nursing - Home

Specialty Care

X12 CodeSolum Service TypeDescription
6radiation_therapyRadiation Therapy
10blood_chargesBlood Charges
64acupunctureAcupuncture
70transplantsTransplants
71audiology_examAudiology Exam
72inhalation_therapyInhalation Therapy
77otological_examOtological Exam
78chemotherapyChemotherapy
85aidsAIDS
86emergency_servicesEmergency Services
87cancerCancer
93podiatryPodiatry
94podiatry_office_visitsPodiatry - Office Visits
95podiatry_nursing_home_visitsPodiatry - Nursing Home Visits
B1burn_careBurn Care
BHpediatricPediatric
BJskinSkin
BKorthopedicOrthopedic
BLcardiacCardiac
BMlymphaticLymphatic
BNgastrointestinalGastrointestinal
BPendocrineEndocrine
BQneurologyNeurology
BSinvasive_proceduresInvasive Procedures
CQcase_managementCase Management
DGdermatologyDermatology
ONoncologyOncology
PUpulmonaryPulmonary
RNrenalRenal

Renal & Dialysis

X12 CodeSolum Service TypeDescription
14renal_supplies_in_homeRenal Supplies in Home
15alternate_method_dialysisAlternate Method Dialysis
16chronic_renal_disease_equipmentChronic Renal Disease Equipment
76dialysisDialysis

Transportation

X12 CodeSolum Service TypeDescription
56medically_related_transportationMedically Related Transportation
57air_transportationAir Transportation
58cabulanceCabulance
59licensed_ambulanceLicensed Ambulance

Transitional Care

X12 CodeSolum Service TypeDescription
13ambulatory_service_center_facilityAmbulatory Service Center Facility
63donor_proceduresDonor Procedures
TCtransitional_careTransitional Care

Usage in the API

Service types appear in eligibility check responses under extracted_data.services. Each entry includes the Solum service_type, the original X12 service_type_code, and per-network benefit details:
{
  "extracted_data": {
    "services": [
      {
        "service_type": "mental_health",
        "service_type_code": "MH",
        "copay_in_network": 25.0,
        "copay_out_network": null,
        "co_insurance_in_network": 20.0,
        "co_insurance_out_network": 40.0,
        "visit_limit_in_network": 52.0,
        "visit_limit_out_network": null,
        "visit_limit_remaining_in_network": 38.0,
        "visit_limit_remaining_out_network": null,
        "has_matching_benefits": true
      },
      {
        "service_type": "physical_therapy",
        "service_type_code": "PT",
        "copay_in_network": 40.0,
        "copay_out_network": null,
        "co_insurance_in_network": null,
        "co_insurance_out_network": null,
        "visit_limit_in_network": 30.0,
        "visit_limit_out_network": null,
        "visit_limit_remaining_in_network": 18.0,
        "visit_limit_remaining_out_network": null,
        "has_matching_benefits": true
      }
    ]
  }
}
When an unknown X12 code is encountered during eligibility processing, Solum defaults to health_benefit_plan_coverage (code 30).