ImportBVCodeSetController

Print
Apex classe Details
Name ImportBVCodeSetController
Label ImportBVCodeSetController
Status Active
Api Version 54
Apex Code
/**
 * @description       : 
 * @author            : ChangeMeIn@UserSettingsUnder.SFDoc
 * @group             : 
 * @last modified on  : 07-15-2021
 * @last modified by  : ChangeMeIn@UserSettingsUnder.SFDoc
 * Modifications Log 
 * Ver   Date         Author                               Modification
 * 1.0   07-15-2021   ChangeMeIn@UserSettingsUnder.SFDoc   Initial Version
**/
public class ImportBVCodeSetController {
    private static final String codeSetType = 'Service Type Codes';
    
    public void importData() {
        List<List<String>> codeSetData = new List<List<String>>{
            new String[]{'1', 'Medical Care', 'Medical services to diagnose and/or treat a medical condition, illness, or injury'},
            new String[]{'2', 'Surgical', 'Surgical services provided by a healthcare provider'},
            new String[]{'3', 'Consultation', 'Counseling and/or coordination of care with other Physicians, other qualified Healthcare Providers or agencies'},
            new String[]{'4', 'Diagnostic X-Ray', 'Diagnostic x-ray provided by a healthcare provider'},
            new String[]{'5', 'Diagnostic Lab', 'Diagnostic lab provided by a healthcare provider'},
            new String[]{'6', 'Radiation Therapy', 'Radiation therapy provided by a healthcare provider'},
            new String[]{'7', 'Anesthesia', 'Anesthesia services provided by a healthcare provider'},
            new String[]{'8', 'Surgical Assistance', 'Assistant surgeon/surgical assistance provided by a healthcare provider if required because of the complexity of the surgical procedures'},
            new String[]{'10', 'Blood', 'The allotment of whole blood, blood plasma, or blood derivatives'},
            new String[]{'11', 'Durable Medical Equipment Used', 'Used equipment needed for medical reasons to be used by a person that is ill or injured and is ordered by a health care provider for use in the home.'},
            new String[]{'12', 'Durable Medical Equipment Purchased', 'Purchased equipment needed for medical reasons to be used by a person that is ill or injured and is ordered by a healthcare provider for use in the home.'},
            new String[]{'14', 'Renal Supplies', 'Supplies to support treatment of kidneys, or bladder functions. (Example: Dialysis Supplies and/or catheters)'},
            new String[]{'17', 'Pre-Admission Testing', 'Services related to the preparation for admission to establish the patients current health status.'},
            new String[]{'18', 'Durable Medical Equipment Rental', 'Rental equipment needed for medical reasons to be used by a person that is ill or injured and is ordered by a healthcare provider for use in the home.'},
            new String[]{'19', 'Pneumonia Vaccine', 'Services provided by a physician or other healthcare provider related to administration of Pneumococcal Pneumonia vaccination.'},
            new String[]{'20', 'Second Surgical Opinion', 'Second professional opinion sought to verify or confirm the necessity for surgical procedures'},
            new String[]{'21', 'Third Surgical Opinion', 'Third professional opinion sought to verify or confirm the necessity for surgical procedures'},
            new String[]{'22', 'Social Work', 'Services related to a systematic way of helping individuals and groups towards better adaptation to society'},
            new String[]{'23', 'Diagnostic Dental', 'The translation of data gathered by clinical and radiographic examination into an organized, classified definition of conditions present.'},
            new String[]{'24', 'Periodontics', 'The art and science of examination, diagnosis, and treatment of diseases affecting the periodontium; a study of the supporting structures of the teeth, normal anatomy and physiology and the deviations.'},
            new String[]{'25', 'Restorative', 'Broad term applied to any restorations to the tooth/teeth structure(s). Anterior teeth include up to five surface classifications - Mesial, Distal, Incisal, Lingual and Labial. Posterior teeth include up to five surface classifications: Mesial, Distal, Occlusal, Lingual and Buccal.'},
            new String[]{'26', 'Endodontics', 'The branch of dentistry that is concerned with the morphology, physiology and pathology of the dental pulp and periradicular (gum) tissues.'},
            new String[]{'27', 'Maxillofacial Prosthetics', 'The branch of prosthetics is concerned with the restoration of stomatognathic and associated facial structure that have been affected by disease, injury, surgery, or congenital defect.'},
            new String[]{'28', 'Adjunctive Dental Services', 'Typically these services involve a drug such as anesthesia or other substances that serve as a supplemental purpose in dental therapy.'},
            new String[]{'30', 'Plan Coverage and General Benefits', 'Plan coverage and general benefits for the member\'s policy or contract.'},
            new String[]{'32', 'Plan Waiting Period', 'Plan Waiting Period'},
            new String[]{'33', 'Chiropractic', 'Manipulations and modalities provided by a healthcare provider'},
            new String[]{'35', 'Dental Care', 'The treatment of the teeth and their supporting structures.'},
            new String[]{'36', 'Dental Crowns', 'An artificial replacement for the natural crown of the tooth covering all five surfaces (Anterior teeth surface classifications - Mesial, Distal, Incisal, Lingual and Labial. Posterior teeth surface classifications: Mesial, Distal, Occlusal, Lingual and Buccal.'},
            new String[]{'37', 'Dental Accident', 'Supplies or appliances for care of teeth due to accidental injury provided by healthcare provider'},
            new String[]{'38', 'Orthodontics', 'The area of dentistry concerned with the supervision, guidance, and correction of the growing and mature orofacial structures. This includes conditions that require movement of the teeth or correction of the malrelationships and malformations of related structures by the adjustment of relationships between and among teeth and facial bones by the application of forces or the stimulation and redirection of functional forces within the craniofacial complex.'},
            new String[]{'39', 'Prosthodontics', 'The part of dentistry pertaining to the restoration and maintenance of oral function, comfort, appearance and health of the patient by replacement of missing teeth and contiguous tissues with artificial substitutes. It has three main branches: removable prosthodontics, fixed prosthodontics and maxillofacial prosthetics.'},
            new String[]{'40', 'Oral Surgery', 'Diagnosis and treatment of disorders of the mouth, teeth, jaws and facial structure provided by a healthcare provider'},
            new String[]{'41', 'Preventive Dental', 'The dental procedures in dental practice and health programs that prevent the occurrence of oral diseases.'},
            new String[]{'42', 'Home Health Care', 'Healthcare services rendered in the home by a healthcare provider'},
            new String[]{'43', 'Home Health Prescriptions', 'Home Health Prescriptions'},
            new String[]{'45', 'Hospice', 'An integrated set of services and supplies to provide palliative and supportive care to terminally ill patients.'},
            new String[]{'46', 'Respite Care', 'Services related to temporary care of a dependent elderly, ill, or handicapped person, providing relief for their usual caregivers'},
            new String[]{'47', 'Hospitalization', 'Hospital Inpatient and Outpatient services and supplies for a patient who may or may not have been admitted to a hospital, for the purpose of receiving medical care or other health services.'},
            new String[]{'49', 'Hospital - Room and Board', 'Hospital - Room and Board'},
            new String[]{'54', 'Long Term Care', 'Care provided for an individual when they cannot care for themselves within the home or in a facility'},
            new String[]{'55', 'Major Medical', 'Major Medical'},
            new String[]{'56', 'Medically Related Transportation', 'Ambulance, Ambulate or other Medical transport services'},
            new String[]{'60', 'Plan Coverage', 'Indicates whether a patient has active or inactive coverage for the service date requested.'},
            new String[]{'61', 'In-vitro Fertilization', 'Services to treat infertility'},
            new String[]{'62', 'MRI Scan', 'Diagnostic MRI (Magnetic Resonance Imaging) services.'},
            new String[]{'63', 'Donor Procedures', 'Services related to the collection of tissues, organs, or fluids for use in the treatment for another person'},
            new String[]{'64', 'Acupuncture', 'A system of alternative treatment that involves pricking the skin or tissues with needles'},
            new String[]{'65', 'Newborn Care', 'Management of the infant during the transition to extra uterine life and subsequent period of stabilization'},
            new String[]{'66', 'Pathology', 'Creation of slides from tissues and its interpretation provided by a healthcare provider'},
            new String[]{'67', 'Smoking Cessation', 'Treatment to assist in the discontinuation of the use of nicotine'},
            new String[]{'68', 'Well Baby Care', 'Medical services and physician visits which are recommended by the American Pediatric Association as appropriate and routine care for a child to a specific age limit.'},
            new String[]{'69', 'Maternity', 'Services related to maternity care including related conditions resulting in childbirth when provided, or ordered and billed by a physician or nurse midwife'},
            new String[]{'70', 'Transplants', 'Services related to the transfer of living organs or tissue from one body to another.'},
            new String[]{'71', 'Audiology', 'Services related to hearing disorders, including evaluation of hearing function and rehabilitation of patients with hearing impairment'},
            new String[]{'72', 'Inhalation Therapy', 'Services related to the use of inhaled agents to treat respiratory diseases and conditions'},
            new String[]{'73', 'Diagnostic Medical', 'Services required to determine the diagnose to treat a medical condition, illness, or injury'},
            new String[]{'74', 'Private Duty Nursing', 'A nurse who is hired to provide focused care to an individual patient in a hospital, clinic, nursing home or patient\'s home'},
            new String[]{'75', 'Prosthetics', 'A device that is used to replace a part of the body that is missing.'},
            new String[]{'76', 'Dialysis', 'The process by which uric acid and urea are removed from circulating blood by means of a dialyzer'},
            new String[]{'77', 'Otology', 'Services related to diagnosis and treatment of the ear and related structures'},
            new String[]{'78', 'Chemotherapy', 'The treatment of disease by means of chemicals that have a specific toxic effect upon the disease-producing microorganisms or that selectively destroy cancerous tissue.'},
            new String[]{'79', 'Allergy Testing', 'A skin or blood test to determine what substance, or allergen, may trigger an allergic response in a person'},
            new String[]{'80', 'Immunizations', 'The introduction of a vaccine with the goal of producing immunity'},
            new String[]{'81', 'Routine Physical', 'A physical examination performed on asymptomatic patients for medical screening purposes.'},
            new String[]{'82', 'Family Planning', 'Educational services that assists individuals and couples to anticipate and attain their desired number of children and the spacing and timing of their births. It is achieved through use of contraceptive methods and the treatment of involuntary infertility.'},
            new String[]{'83', 'Infertility', 'Services to diagnose and/or treat infertility. Covered services may include assisted reproductive technology procedures.'},
            new String[]{'84', 'Abortion', 'Services related to the elective termination of a pregnancy'},
            new String[]{'85', 'HIV - AIDS Treatment', 'Services related to diagnosis and treatment of HIV - AIDS'},
            new String[]{'86', 'Emergency Services', 'Services provided by healthcare providers for the treatment of a sudden and unexpected medical condition or injury which requires immediate medical attention'},
            new String[]{'87', 'Cancer Treatment', 'Services related to diagnosis and treatment of cancer not performed by an Oncologist'},
            new String[]{'88', 'Retail/Independent Pharmacy', 'A licensed entity that dispenses prescription drugs and provides professional pharmacy services, such as clinical pharmacy consulting respective to the dispensing function. The entity may be a retail/chain or independent pharmacy or any other entity which dispenses prescription drugs.'},
            new String[]{'89', 'Free Standing Prescription Drug', 'Members have separate cost sharing for prescription drugs and medical coverage.'},
            new String[]{'90', 'Mail Order Pharmacy', 'A mail order pharmacy delivers medications directly to patients through the mail.'},
            new String[]{'91', 'Brand Name Prescription Drug', 'The original formulation of a prescription drug, approved by the FDA for distribution.'},
            new String[]{'92', 'Generic Prescription Drug', 'Generic drugs are copies of brand-name drugs that have exactly the same dosage, intended use, effects, side effects, route of administration, risks, safety, and strength as the original drug. In other words, their pharmacological effects are exactly the same as those of their brand-name counterparts.'},
            new String[]{'93', 'Podiatry', 'Professional services of a physician or other healthcare provider for the care or treatment of conditions of the foot.'},
            new String[]{'94', 'Dental and prediagnostic tests and examinations', 'Refer to the American Dental Association Code on Dental Procedures and Nomenclature (CDT Code).'},
            new String[]{'95', 'Periodontal Surgical Services', 'Refer to the American Dental Association Code on Dental Procedures and Nomenclature (CDT Code).'},
            new String[]{'96', 'Adjustment to dentures/repairs to complete dentures, denture rebase procedures, and denture reline procedures', 'Refer to the American Dental Association Code on Dental Procedures and Nomenclature (CDT Code).'},
            new String[]{'97', 'Dental, non-surgical extractions', 'Refer to the American Dental Association Code on Dental Procedures and Nomenclature (CDT Code).'},
            new String[]{'98', 'Prescription Drug', 'Prescription Drug'},
            new String[]{'99', 'Bariatric services', 'Services that deal with the causes, education, prevention and treatment of obesity.'},
            new String[]{'A4', 'Psychiatric', 'Services related to the diagnosis or treatment of mental health.'},
            new String[]{'A6', 'Psychotherapy', 'Professional services, including individual or group therapy by providers such as psychiatrists, psychologists, clinical social workers, or psychiatric nurses.'},
            new String[]{'A7', 'Psychiatric - Inpatient', 'Psychiatric - Inpatient'},
            new String[]{'A8', 'Psychiatric - Outpatient', 'Psychiatric - Outpatient'},
            new String[]{'A9', 'Rehabilitation', 'Services related to facilitate the process of recovery from injury, illness, or disease to as normal a condition as possible'},
            new String[]{'AB', 'Rehabilitation - Inpatient', 'Rehabilitation - Inpatient'},
            new String[]{'AC', 'Rehabilitation - Outpatient', 'Rehabilitation - Outpatient'},
            new String[]{'AD', 'Occupational Therapy', 'Professional and facility occupational therapy services performed by an occupational therapist, physician or other healthcare provider at a hospital, office or other covered facility.'},
            new String[]{'AE', 'Physical Medicine', 'Services related to the diagnosis, evaluation, and management of persons of all ages with physical and/or cognitive impairment and disability.'},
            new String[]{'AF', 'Speech Therapy', 'Professional and facility speech therapy services performed by a speech therapist, physician or other healthcare provider at a hospital, office or other covered facility.'},
            new String[]{'AG', 'Skilled Nursing Care', 'Services for a patient in a skilled nursing facility for the purpose of receiving medical care or other health services.'},
            new String[]{'AI', 'Substance Abuse', 'Services provided at a hospital, office or other covered facility as they are related to the diagnosis and treatment of Substance Abuse.'},
            new String[]{'AJ', 'Alcoholism Treatment', 'Services related to the management of Alcohol dependencies or addiction'},
            new String[]{'AK', 'Drug Addiction', 'Services related to the management of Drug dependencies or addiction, excluding Alcohol'},
            new String[]{'AL', 'Optometry', 'Routine vision services furnished by an optometrist. May include coverage for eyeglasses, contact lenses, routine eye exams, and/or vision testing for the prescribing or fitting of eyeglasses or contact lenses.'},
            new String[]{'AM', 'Frames', 'The framework for a pair of eyeglasses'},
            new String[]{'AO', 'Lenses', 'A piece of transparent substance having two opposite surfaces either both curved or one curved and one plane, used in an optical device in correcting defects of vision.'},
            new String[]{'AP', 'Routine Eye Exam', 'A series of tests to evaluate an individual\'s vision and check for eye diseases.'},
            new String[]{'AQ', 'Nonmedically Necessary Physical (These physicals are required by other entities e.g., insurance application, pilot license, employment or school)', 'A physical examination performed on asymptomatic patients for medical screening purposes.'},
            new String[]{'AR', 'Experimental Drug Therapy', 'Treatment of a physical or mental condition using non-generally accepted drugs, such as not FDA approved, Clinical Trial.'},
            new String[]{'B1', 'Burn Care', 'Services related to the treatment of Burns'},
            new String[]{'B2', 'Brand Name Prescription Drug - Formulary', 'Lists of brand name drugs covered and published by the health plan/payer/processor/PBM to help physicians reach clinically and economically appropriate prescribing decisions for patients.'},
            new String[]{'B3', 'Brand Name Prescription Drug - Non-Formulary', 'A brand name drug that is not listed on the covered and published list of the health plan/payer/processor/PBM.'},
            new String[]{'BA', 'Independent Medical Evaluation', 'Services when a doctor/physical therapist/chiropractor/psychologist/neuropsychologist who has not previously been involved in a person\'s care examines an individual. There is no doctor/therapist-patient relationship.'},
            new String[]{'BB', 'Psychiatric Treatment Partial Hospitalization', 'A step-down transition from acute inpatient care or an alternative to inpatient treatment for the practice or science of diagnosing and treating mental disorders.'},
            new String[]{'BC', 'Day Care (Psychiatric)', 'A step-down transition from acute inpatient care or an alternative to inpatient treatment for the practice or science of diagnosing and treating mental disorders.'},
            new String[]{'BD', 'Cognitive Therapy', 'A type of psychotherapy in which negative patterns of thought, are challenged in order to alter unwanted behavior patterns or treat mood disorders.'},
            new String[]{'BE', 'Massage Therapy', 'The manipulation of muscles and other soft tissues of the body by a therapist for the treatment of health conditions such as pain, cancer, fibromyalgia, HIV/AIDS, depression.'},
            new String[]{'BF', 'Pulmonary Rehabilitation', 'Services and instructional guidance administered to an individual suffering from respiratory disease in an attempt to improve the quality of life for the patient.'},
            new String[]{'BG', 'Cardiac Rehabilitation', 'Services and instructional guidance rendered by a physician or other healthcare provider in a hospital or covered facility that are designed to help an individual recover from a cardiovascular event'},
            new String[]{'BH', 'Pediatric', 'Treatment or care related to infants, children, and adolescents'},
            new String[]{'BI', 'Nursery Room and Board', 'Treatment or care related to newborns'},
            new String[]{'BK', 'Orthopedic', 'Services related to the correction or prevention of deformities, disorders, or injuries of the skeleton and associated structures.'},
            new String[]{'BL', 'Cardiac', 'Services of or relating to the heart'},
            new String[]{'BM', 'Lymphatic', 'Services related to a lymph, lymph node, or a lymphatic vessel'},
            new String[]{'BN', 'Gastrointestinal', 'Services to treat disorders of the stomach and intestines, and related systems'},
            new String[]{'BP', 'Endocrine', 'Services related to the systems that secrete hormones'},
            new String[]{'BQ', 'Neurology', 'Services related to the treatment of the nerves or nervous system.'},
            new String[]{'BT', 'Gynecological', 'Medical care and management of the female reproductive system and associated disorders provided by a physician or other healthcare provider.'},
            new String[]{'BU', 'Obstetrical', 'Medical care and management related to the care of a woman prior, during and after pregnancy, provided by a physician or other healthcare provider.'},
            new String[]{'BV', 'Obstetrical/Gynecological', 'Obstetrical/Gynecological'},
            new String[]{'BY', 'Physician Visit - Sick', 'Professional services rendered by a physician or other healthcare provider during a non-routine visit related to a illness.'},
            new String[]{'BZ', 'Physician Visit - Well', 'Professional services rendered by a physician or other healthcare provider during a routine or preventative care visit.'},
            new String[]{'C1', 'Coronary Care', 'Treatment of diseases of the arteries of the heart'},
            new String[]{'CK', 'Screening X-ray', 'X-ray services provided by a physician or other healthcare provider for the purpose of preventative care.'},
            new String[]{'CL', 'Screening laboratory', 'Laboratory services provided by a physician or other healthcare provider for the purpose of preventative care.'},
            new String[]{'CM', 'Mammogram, High Risk Patient', 'Mammography services for patients that have been identified with a greater than normal risk for breast cancers and related diseases.'},
            new String[]{'CN', 'Mammogram, Low Risk Patient', 'Mammography services for patients that have been identified with a normal risk for breast cancers and related diseases.'},
            new String[]{'CO', 'Flu Vaccination', 'Services provided by a physician or other healthcare provider related to the administration of influenza virus vaccination.'},
            new String[]{'CP', 'Eyewear Accessories', 'Services related to Eyewear and Eyewear Accessories'},
            new String[]{'CQ', 'Case Management', 'Services that assesses, plans, implements, coordinates, monitors, and evaluates the options and services required to meet the client\'s health and human service needs'},
            new String[]{'DG', 'Dermatology', 'Services provided by a physician or other healthcare provider involving the skin and its diseases.'},
            new String[]{'DM', 'Durable Medical Equipment', 'Durable medical equipment that can withstand repeated use and is primarily and customarily used to serve a medical purpose and generally is not useful to a person in the absence of an illness or injury.'},
            new String[]{'DS', 'Diabetic Supplies', 'Blood sugar (glucose) test strips, monitors, insulin, lancet devices and lancets, glucose control solutions used to monitor and assist in the treatment of diabetes.'},
            new String[]{'E0', 'Applied Behavioral Analysis Therapy', 'Services related to the assessment and treatment of learning and/or developmental disabilities to include techniques and principles to bring about meaningful and positive changes in behavior, improve attention, focus, memory, academics and/or increase language, communication and social skills.'},
            new String[]{'E1', 'Non-Medical Equipment (non DME)', 'Durable equipment that can withstand repeated use and serves to augment or replace impaired functionality, environmental control and facilitate a patient\'s independent living.'},
            new String[]{'E2', 'Psychiatric Emergency', 'Emergency services related to the diagnosis or treatment of mental disease.'},
            new String[]{'E3', 'Step Down Unit', 'A hospital unit providing a level of care between intensive and routine.'},
            new String[]{'E4', 'Skilled Nursing Facility Head Level of Care', 'Services directly related to care associated with severe brain injuries requiring a skilled level of care.'},
            new String[]{'E5', 'Skilled Nursing Facility Ventilator Level of Care', 'Services directly related to care associated with ventilator dependent respiratory conditions requiring a skilled level of care.'},
            new String[]{'E6', 'Level of Care 1', 'Skilled Care - Skilled Nursing Care in a regular hospital bed'},
            new String[]{'E7', 'Level of Care 2', 'Comprehensive Care - Skilled Nursing Care Level II includes attributes of prior level plus services such as Wound Care (Stage 3), Tracheotomy Care, etc.'},
            new String[]{'E8', 'Level of Care 3', 'Complex Care - Skilled Nursing Care Level III include attributes of prior levels plus services such as Ventilator Care, Specialty Beds, Peritoneal Dialysis, etc.'},
            new String[]{'E9', 'Level of Care 4', 'Level of Care 4'},
            new String[]{'E10', 'Radiographs', 'An image or picture produced on a radiation-sensitive film emulsion by exposure to ionizing radiation direct through an area, region, or substance of interest, followed by chemical processing of the film'},
            new String[]{'E11', 'Diagnostic Imaging', 'The use of radiographic, sonographic, and other technologies to create a graphic depiction of the body parts in question.'},
            new String[]{'E14', 'Fixed Prosthodontics', 'The branch of prosthodontics concerned with the replacement or restoration of teeth by artificial substitutes that are not readily removable such as fixed partial dentures, pontics and abutments.'},
            new String[]{'E15', 'Removable Prosthodontics', 'The branch of prosthodontics concerned with the replacement or restoration of teeth by artificial substitutes that are readily removable such as a denture, partial denture and interim prosthesis.'},
            new String[]{'E16', 'Intraoral Images - Complete Series', 'Complete set of images using radiographic, sonographic, and other technologies representing an image or set of images within the oral cavity.'},
            new String[]{'E17', 'Oral Evaluation', 'The art and science of evaluation to make a clinical judgment or appraisal of a patient\'s dental health or condition.'},
            new String[]{'E18', 'Dental Prophylaxis', 'A series of procedures where plaque, calculus, and stain are removed from the teeth often referred to as "prophy" or teeth cleaning.'},
            new String[]{'E19', 'Panoramic Images', 'A tomogram of the jaws, taken with a specialized machine designed to present a panoramic view of the full circumferential length of the jaws on a single film.'},
            new String[]{'E20', 'Sealants', 'A resinous material designed for application to the occlusal surfaces of posterior teeth to seal the surface irregularities and prevent the carious process.'},
            new String[]{'E21', 'Fluoride Treatments', 'A separate process from dental prophylaxis of applying prescription strength fluoride product designed to prevent caries.'},
            new String[]{'E22', 'Dental Implants', 'A device, usually alloplastic, that is surgically inserted into or onto the oral tissue. To be used as a prosthodontic abutment, it should remain quiescent and purely secondary to local tissue physiology.'},
            new String[]{'E23', 'Temporomandibular Joint Dysfunction', 'Services related to the Impaired function of the temporomandibular articulation of the jaw.'},
            new String[]{'E25', 'Long Term Care Pharmacy', 'Long term care pharmacy serve the residents of nursing homes, assisted care facilities, extended care facilities, retirement homes, or post acute care. These are considered "closed door pharmacies"'},
            new String[]{'E26', 'Comprehensive Medication Therapy Management Review', 'A holistic review of medical care provided by pharmacists whose aim is to optimize drug therapy and improve therapeutic outcomes for patients'},
            new String[]{'E27', 'Targeted Medication Therapy Management Review', 'A targeted medication therapy management (MTM) review is consultation with a patient about their medication therapy related to a specific diagnosis, disease state or medication'},
            new String[]{'E28', 'Dietary/Nutritional Services', 'Nutrition and diet counseling such as: weight management, eating disorders, pregnancy, pediatric, food allergy, diabetes, celiac disease'},
            new String[]{'E33', 'Intensive Cardiac Rehabilitation', 'A group of physical activities designed to help a patient recover from a cardiovascular event'},
            new String[]{'E36', 'Convenience Care', 'A category of walk-in clinic located in retail stores, supermarkets and pharmacies that treat uncomplicated minor illnesses'},
            new String[]{'E37', 'Telemedicine', 'Services provided via telecommunication and/or information technology venues to provide clinical health services.'},
            new String[]{'E38', 'Pharmacist Services', 'Clinical services provided by a pharmacist'},
            new String[]{'E39', 'Diabetic Education', 'Patient educational program designed to bring awareness of diabetes, what it takes to treat it, and the necessary changes that should be made to improve their lifestyle.'},
            new String[]{'E40', 'Early Intervention', 'Services related to treatment for babies or toddlers with developmental delays or disabilities.'},
            new String[]{'EA', 'Preventive Services', 'Preventive services such as check-ups, patient counseling and screenings to prevent illness, disease and other health-related problems.'},
            new String[]{'EB', 'Specialty Pharmacy', 'Specialty pharmacies are designed to efficiently deliver medications with specialized handling, storage, and distribution requirements. Specialty pharmacies are also designed to improve clinical and economic outcomes for patients with complex, often chronic and rare conditions, with close contact and management by clinicians.'},
            new String[]{'EC', 'Durable Medical Equipment New', 'New equipment needed for medical reasons to be used by a person that is ill or injured and is ordered by a health care provider for use in the home.'},
            new String[]{'ED', 'CAT Scan', 'A multi-dimensional diagnostic image of a cross section of the body that is useful in diagnosing disease'},
            new String[]{'EE', 'Ophthalmology', 'Services related to diagnosis and treatment of the eye and related structures including surgical services.'},
            new String[]{'EF', 'Contact Lenses', 'A thin lens placed directly on the surface of the eye. Contact Lenses are considered medical devices'},
            new String[]{'F1', 'Medical Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F2', 'Social Work Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F3', 'Dental Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F4', 'Hearing Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F5', 'Prescription Drug Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F6', 'Vision Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F7', 'Orthodontia Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'F8', 'Mental Health Coverage', 'This code will be used by the payer on the 271 response to show coverage type. This code cannot be submitted with the 270 Inquiry.'},
            new String[]{'GF', 'Generic Prescription Drug - Formulary', 'Lists of generic drugs covered and published by the health plan/payer/processor/PBM to help physicians reach clinically and economically appropriate prescribing decisions for patients.'},
            new String[]{'GN', 'Generic Prescription Drug - Non-Formulary', 'A generic drug that is not listed on the covered and published list of the health plan/payer/processor/PBM.'},
            new String[]{'GY', 'Allergy', 'Services for conditions caused by abnormal hypersensitivity of the immune system to medications, chemical or food substances, and/or environmental factors.'},
            new String[]{'IC', 'Intensive Care', 'Continuous and closely monitored health care services provided in a hospital to critically ill patients.'},
            new String[]{'MH', 'Mental Health', 'Mental Health services provided by a physician or other healthcare providers who are trained and educated to perform services related to mental health and may be licensed or practice within the scope or licensure or training.'},
            new String[]{'NI', 'Neonatal Intensive Care', 'Continuous and closely monitored health care services provided in a hospital to critically ill newborn/neonatal patients.'},
            new String[]{'ON', 'Oncology', 'Services related to diagnosis and treatment of cancer provided by an Oncology provider'},
            new String[]{'PE', 'Positron Emission Tomography (PET) Scan', 'A nuclear imaging examination which reveals molecular function and activity.'},
            new String[]{'PT', 'Physical Therapy', 'Services and care related to evaluation and treatment of injury or disorders'},
            new String[]{'PU', 'Pulmonary', 'Services related to the diagnosis and treatment of respiratory conditions.'},
            new String[]{'RN', 'Renal', 'Services related to the diagnosis and treatment of kidney conditions.'},
            new String[]{'RT', 'Residential Psychiatric Treatment', 'Psychiatry services provided at a live-in facility to a person with emotional disorders who requires continuous medication and/or supervision or relief from environmental stresses'},
            new String[]{'SMH', 'Serious Mental Health', 'Services for disorders characterized by severe deficits and pervasive impairment in multiple areas of development.'},
            new String[]{'TC', 'Transitional Care', 'Services related to the coordination and continuity of heath care during a movement from one health care setting to another or to home.'},
            new String[]{'TN', 'Transitional Nursery Care', 'Services related to the coordination and continuity of heath care for a newborn during a movement from one health care setting to another or to home.'},
            new String[]{'UC', 'Urgent Care', 'Medical services and supplies provided by physicians or other healthcare providers for the treatment of an urgent medical condition or injury which requires medical attention.'}
        };

        try {
            List<CodeSet> codeSetList = new List<CodeSet>(); 
            for (String[] row : codeSetData) {
                System.debug(row[0] + ';' + row[1] + ';' + row[2]);
                CodeSet codeSetObj = new CodeSet();
                codeSetObj.CodeSetType = codeSetType;
                codeSetObj.Code = row[0];
                codeSetObj.CodeSetKey  = row[0];
                codeSetObj.Name  = row[1];
                codeSetObj.CodeDescription = row[2];

                codeSetList.add(codeSetObj);
            }
            
            if(codeSetList.size() > 0) {
                //insert codeSetList;
                Database.SaveResult[] result = Database.Insert(codeSetList, false);
            }
        } catch (Exception e) {
            System.debug('An exception occurred: ' + e.getMessage());
        }
    }
}